/* ==========================================================================
   Glass export website - design system
   Light theme, blue glass palette. No external dependencies.
   ========================================================================== */

/* Self-hosted Inter (2026-09-09): industrial neo-grotesque, 4 weights x 4 subsets,
   unicode-range keeps each download ~8-36KB; Ar falls back to Noto Sans Arabic. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-cyrillic-ext-400.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-cyrillic-ext-500.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-cyrillic-500.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-cyrillic-ext-600.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-cyrillic-ext-700.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #0e5aa7;
  --primary-dark: #0a4278;
  --primary-light: #e8f1fb;
  --accent: #f0a500;
  --text: #17263a;
  --muted: #55677a;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --border: #e2ebf3;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 42, 67, 0.05), 0 4px 14px rgba(16, 42, 67, 0.05);
  --shadow-lg: 0 10px 30px rgba(16, 42, 67, 0.11), 0 2px 6px rgba(16, 42, 67, 0.05);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans Arabic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
/* Image anti-download: block native drag, text selection and the iOS
   long-press "Save Image" callout. pointer-events are intentionally NOT
   disabled so thumbnail clicks, hover effects and search stay intact.

   TEMPORARILY DISABLED (2026-09-01) for image download/edit/upload
   workflow. To re-enable, remove the comment markers below. */
/* DISABLED-START
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
DISABLED-END */
/* webp <picture> wrappers must not create layout boxes of their own —
   otherwise flex/grid children (e.g. gallery .thumb strip) collapse */
picture { display: contents; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

.container { width: min(1160px, 92vw); margin-inline: auto; }
.container.narrow { width: min(820px, 92vw); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.25;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-lg { padding: 0.95rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.88rem; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 32px;
  padding-block: 0.15rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 68px;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--text); font-size: 1.03rem; letter-spacing: -0.01em; }
.logo-img { display: block; height: 46px; width: auto; }
.logo:hover { color: var(--primary); }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #4b9be0);
  color: #fff; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}
.logo-text { white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 0.2rem; margin-inline-start: auto; }
.main-nav > a, .nav-group > a { padding: 0.55rem 0.78rem; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.main-nav > a:hover, .nav-group > a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav > a.active, .nav-group > a.active { color: var(--primary); font-weight: 600; }
.nav-cta { margin-inline-start: 0.4rem; padding-inline: 0.95rem; }

/* nav dropdowns (Applications & Solutions / About Us) */
.nav-group { position: relative; }
/* 最右侧导航组的下拉右对齐锚定，避免探出视口右缘 */
.main-nav > .nav-group:last-child .nav-dropdown { inset-inline-start: auto; inset-inline-end: 0; }
.nav-dropdown {
  position: absolute; top: 100%; inset-inline-start: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(14, 90, 167, 0.16);
  padding: 0.6rem; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 80;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.8rem; border-radius: 8px; color: var(--text); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.nav-dropdown a span { overflow: hidden; text-overflow: ellipsis; }
/* Miniature of the category card cover at the start of each dropdown item */
.dd-thumb {
  width: 40px; height: 40px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; background: var(--bg-alt); box-shadow: 0 0 0 1px rgba(14, 90, 167, 0.08);
}
.dropdown-divider { height: 1px; background: var(--border); margin: 0.3rem 0.4rem; }
/* Products dropdown: light mega-menu — two compact columns keep the panel
   roughly square instead of one tall skinny list */
.nav-drop-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Column-major fill: first half of categories down the LEFT column,
     second half down the RIGHT (explicit user layout for 8 categories) */
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 2px 6px; min-width: 460px; padding: 0.55rem;
  /* Open leftward: flush right edges with the nav item so the wide panel
     grows toward the page center instead of past it (mirrors in RTL) */
  inset-inline-start: auto; inset-inline-end: 0;
}
.nav-drop-grid .dropdown-divider { grid-column: 1 / -1; grid-row: 5; }
.nav-drop-grid > a[href*="glass-selection-guide"] { grid-column: 1 / -1; grid-row: 6; }
.nav-drop-grid a { padding: 0.5rem 0.55rem; font-size: 0.85rem; gap: 0.5rem; white-space: normal; }
.nav-drop-grid a span { overflow: visible; white-space: normal; line-height: 1.3; }
.nav-drop-grid .dd-thumb { width: 36px; height: 36px; }
/* Chrome quirk: a display:contents <picture> inside a flex container adds a
   spurious gap-sized slot, shifting thumbs ~8px. Give the wrapper a real box
   so every item (wrapped or not) aligns identically. */
.nav-dropdown picture { display: block; }

.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-switcher a {
  padding: 0.28rem 0.55rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
}
.lang-switcher a:hover { background: var(--primary-light); color: var(--primary); }
.lang-switcher a.active { background: var(--primary); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all 0.25s; }

@media (max-width: 960px) {
  .header-inner { padding-block: 0.6rem; }
  .nav-toggle { display: flex; margin-inline-start: auto; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 0.8rem 4%;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-group > a { padding: 0.75rem 0.6rem; border-radius: 8px; }
  .nav-group { display: flex; flex-direction: column; }
  .main-nav .nav-group:has(.nav-mega) { padding-bottom: 0; margin-bottom: 0; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0.1rem 0 0.5rem 1.1rem; min-width: 0;
  }
  .nav-drop-grid { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
  .nav-dropdown a { padding: 0.5rem 0.6rem; }
  .main-nav .nav-mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-top: 0; }
  .main-nav .nav-mega-inner { display: flex; flex-direction: column; width: auto; max-width: none; padding: 0.1rem 0 0.5rem 1.1rem; gap: 2px; }
  .main-nav .nav-mega-apps .nav-mega-inner { display: flex; }
  .main-nav .mm-sub, .main-nav .mm-more, .main-nav .mm-util, .main-nav .mm-banner { display: none; }
  .main-nav .mm-cat { padding: 0.5rem 0.6rem; }
  .nav-cta { margin: 0.4rem 0 0; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Hero — 全幅实拍图 + 藏蓝渐变遮罩 + 底部认证栏（方案 1 · 正统大厂）
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #0a4278; /* 图片加载前兜底 */
  min-height: clamp(560px, 82vh, 800px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-inner {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.6rem 0 3.4rem;
}
.hero-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.72rem 1.5rem;
  background: rgba(14, 90, 167, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  margin-bottom: 1.6rem;
}
[dir="rtl"] .hero-badge { align-self: flex-start; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 1.2rem; max-width: 720px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.65), 0 0 36px rgba(0, 0, 0, 0.45); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 600px; color: #fff; line-height: 1.7; margin-bottom: 2.4rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.65); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-actions .btn-ghost { background: rgba(0, 0, 0, 0.3); border-color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); }
.hero-actions .btn-ghost:hover { background: rgba(0, 0, 0, 0.45); }
.hero-foot {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 66, 120, 0.42);
}
.hero-certs {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.45rem 2.2rem;
  padding: 1.05rem 0;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-certs span:not(:last-child)::after {
  content: "·"; margin-left: 2.2rem; color: rgba(240, 165, 0, 0.85);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.55rem, 3vw, 2.15rem); text-align: center; margin-bottom: 0.8rem; color: var(--text); letter-spacing: -0.02em; }
.section-sub { text-align: center; color: var(--muted); max-width: 660px; margin: 0 auto 2.4rem; font-size: 1.02rem; }

/* stats — understated hairline grid, no card boxes */
.stats-section { padding: 3rem 0 3.4rem; }
.stats-section .section-title { font-size: 1.15rem; font-weight: 600; color: var(--muted); margin-bottom: 1.8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.6rem; }
.stat {
  border-top: 1px solid var(--border);
  padding: 0.85rem 0.1rem 0;
  text-align: start;
}
.stat-num { display: block; font-size: 1.7rem; font-weight: 650; color: var(--primary-dark); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-num sup { font-size: 0.5em; font-weight: 550; color: var(--muted); margin-inline-start: 1px; }
.stat-label { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.03em; }

/* company intro (home) */
.company-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }
.company-text .section-title { text-align: start; }
.company-lead { font-size: 1.2rem; font-weight: 600; color: var(--primary-dark); line-height: 1.5; margin-bottom: 1.1rem; }
.company-text > p { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.section-more { margin-top: 2.6rem; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.cat-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 主页产品分类：每排 4 个；分类数 4n+3 时最后一张卡片跨 2 列铺满末排 */
.cat-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.cat-card--wide { grid-column: span 2; }
/* 宽卡片图片保持与普通卡片相同高度（≈2×列宽 + gap 的等效比例），只拉宽不变高 */
.cat-card--wide .cat-img { aspect-ratio: 2.19 / 1; }
.cat-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s; box-shadow: var(--shadow);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #b7d3ef; }
/* 卡片图片与产品页统一：1.06 方形格（产品主图众数比例）+ 定向拉伸铺满 */
/* （object-fit:fill）；比例极端的图由 build.js 内联样式封顶居中，只留窄边 */
.cat-img { aspect-ratio: 1.06 / 1; overflow: hidden; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.cat-img picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.cat-img img { width: 100%; height: 100%; object-fit: fill; transition: transform 0.4s; }
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-body { padding: 1.05rem 1.15rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { font-size: 1.06rem; margin-bottom: 0.45rem; }
.cat-chips {
  display: flex; flex-wrap: wrap;
  gap: 0.3rem; margin-top: 0.1rem;
}
.cat-chip {
  font-size: 0.72rem; line-height: 1.25; padding: 0.24rem 0.55rem;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--muted); background: #f4f7fb; white-space: nowrap;
  transition: all 0.2s;
}
.cat-card:hover .cat-chip { border-color: #b7d3ef; color: var(--text); }
.cat-chip-custom {
  color: var(--primary); font-weight: 600;
  border: 1px dashed #8fb8de; background: rgba(14, 90, 167, 0.04);
}
/* 计数行：X products 靠左（小号浅色）+ View All 靠右（同排） */
.cat-countrow { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.45rem; }
/* 首页卡片内的计数：保持浅色胶囊外观，仅缩小（勿动下方 .cat-head 里的列表页版） */
.cat-body .cat-count { font-size: 0.74rem; padding: 0.2rem 0.62rem; }

/* View All — premium gradient pill, always the closing action of the chip set */
.cat-viewall {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: 0.32rem;
  color: #fff; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #1c4d8a 0%, #123a6d 55%, #0b2340 100%);
  box-shadow: 0 3px 10px rgba(11, 35, 64, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 0.32rem 0.8rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.cat-viewall svg { width: 12px; height: 12px; flex: none; }
.cat-card:hover .cat-viewall {
  color: #fff;
  background: linear-gradient(135deg, #2560a8 0%, #16457f 55%, #0e2f57 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 35, 64, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
[dir="rtl"] .cat-viewall svg { transform: scaleX(-1); }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2.2rem; }
/* product detail Related Products + category listing (inside cat-main): compact cards, 4-up base */
.product-grid.pd-rel-grid, .cat-main .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.product-grid.pd-rel-grid .product-card, .cat-main .product-grid .product-card { max-width: none; }
@media (max-width: 1120px) { .product-grid.pd-rel-grid, .cat-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid.pd-rel-grid, .cat-main .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .product-grid.pd-rel-grid, .cat-main .product-grid { grid-template-columns: minmax(0, 1fr); } }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s, border-color 0.3s; box-shadow: var(--shadow);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: #a9cdf1;
  box-shadow: 0 20px 44px -18px rgba(10, 50, 100, 0.26), 0 6px 16px rgba(10, 50, 100, 0.10);
}
/* Uniform product card tile (1.06 = modal ratio of our product photos).
   Images fill it by directional stretch (object-fit:fill) — no crop, no gaps.
   Extreme-ratio photos get an inline capped size (see pcImgStyle in build.js)
   and are centered, leaving only a slim neutral margin on the long axis. */
.pc-img {
  aspect-ratio: 1.06 / 1; overflow: hidden; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
}
.pc-img picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.pc-img img { width: 100%; height: 100%; object-fit: fill; transition: transform 0.4s; }
.product-card:hover .pc-img img { transform: scale(1.04); }
.pc-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.pc-body h3 { font-size: 1.06rem; letter-spacing: -0.01em; }
.pc-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.pc-more, .ac-more {
  display: inline-flex; align-items: center; align-self: flex-start; gap: 0.3rem;
  margin-top: 0.25rem; padding: 0.32rem 0.85rem; border-radius: 999px;
  background: rgba(14, 90, 167, 0.08); color: var(--primary);
  font-weight: 600; font-size: 0.82rem;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.product-card:hover .pc-more, .app-card:hover .ac-more {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 12px rgba(14, 90, 167, 0.32);
}

/* application solution cards */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2.2rem; }
.app-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s, border-color 0.3s; box-shadow: var(--shadow);
}
.app-card:hover {
  transform: translateY(-6px);
  border-color: #a9cdf1;
  box-shadow: 0 20px 44px -18px rgba(10, 50, 100, 0.26), 0 6px 16px rgba(10, 50, 100, 0.10);
}
.ac-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.ac-img picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.ac-img img { width: 100%; height: 100%; object-fit: fill; transition: transform 0.4s; }
.app-card:hover .ac-img img { transform: scale(1.04); }
.ac-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.ac-body h3 { font-size: 1.06rem; letter-spacing: -0.01em; }
.ac-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; flex: 1; }

/* full-width mega menu: anchored to the sticky header (nav-group goes static
   so the panel spans the whole header width, content aligned to .container).
   padding-bottom +28px extends the group's hover area to bridge the gap
   between nav link and panel (kills hover flicker); negative margin keeps
   the layout pixel-identical. */
.nav-group:has(.nav-mega) { position: static; padding-bottom: 28px; margin-bottom: -28px; }
.nav-mega {
  position: absolute; top: calc(100% - 8px); padding-top: 8px; inset-inline: 0;
  /* fully transparent base = exit zone: the page shows through on both sides
     beyond the content card, making the click-out areas obvious */
  background: transparent;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  /* hover-intent: slight grace period before closing so diagonal mouse
     moves to the panel never flash it away */
  transition: opacity 0.22s ease 0.14s, transform 0.22s ease 0.14s, visibility 0.22s 0.14s;
  z-index: 80;
}
.nav-group:hover .nav-mega,
.nav-group:focus-within .nav-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-mega-inner {
  max-width: 1160px; width: min(1160px, 92vw); margin-inline: auto;
  padding: 0.8rem 0 0.85rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}
.nav-mega-apps .nav-mega-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* --- mega menu exit affordances: hover-dwell / click on any blank zone + ESC ---
   Exit zones = tinted panel base: side margins, column gaps, frame around the
   white content cards. Cursor hints without any layout shift on open/close. */
.nav-mega, .nav-mega-inner { cursor: pointer; }
.mm-col, .mm-util { cursor: default; }
/* force-closed state (set by JS on side-zone click / ESC); mouseenter clears it */
.nav-group.mm-closed .nav-mega {
  opacity: 0; visibility: hidden; transform: translateY(8px); transition-delay: 0s;
}
@media (max-width: 960px) {
  /* mobile: mega is static inside the collapsed nav — side-zone exit N/A */
  .nav-mega { cursor: default; background: #fff; }
  .main-nav .nav-mega-products .nav-mega-inner,
  .main-nav .nav-mega-apps .nav-mega-inner { background: transparent; box-shadow: none; border-radius: 0; padding-inline: 0; }
  .main-nav .nav-mega-apps .mm-col { border-inline-start: 0; }
  .main-nav .mm-col { background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
  .main-nav .nav-group.mm-closed .nav-mega { opacity: 1; visibility: visible; transform: none; }
}
/* white content cards sit on the transparent exit-zone base */
.mm-col {
  min-width: 0; cursor: default;
  background: #fff; border-radius: 12px; padding: 0.7rem 0.85rem 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(14, 90, 167, 0.09), 0 1px 2px rgba(16, 42, 77, 0.05),
    0 18px 36px -18px rgba(10, 50, 100, 0.25);
}
/* products & apps megas: ONE white content card (inner = container width);
   everything outside it stays transparent so exit zones are obvious */
.nav-mega-products .nav-mega-inner,
.nav-mega-apps .nav-mega-inner {
  background: #fff; border-radius: 14px;
  padding-inline: 1.2rem;
  box-shadow: 0 22px 44px -18px rgba(10, 50, 100, 0.28), inset 0 0 0 1px rgba(14, 90, 167, 0.08);
}
/* apps mega: the 3 category columns melt into the shared card — columns
   turn transparent with a thin divider between neighbours */
.nav-mega-apps .mm-col {
  background: transparent; border-radius: 0; box-shadow: none;
}
.nav-mega-apps .mm-col + .mm-col { border-inline-start: 1px solid var(--border); }
/* apps mega cat-card restyle (2026-09-13): bold title + count pill +
   View All button on one row + sub-apps as chips (reuses .cat-chip set) */
.mm-app-title {
  display: block;
  margin: 0.65rem 0 0.5rem;
  font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
}
.mm-app-title:hover { color: var(--primary); }
.mm-col-apps .cat-countrow { margin-bottom: 0.55rem; }
.main-nav a.cat-chip { text-decoration: none; cursor: pointer; }
.main-nav a.cat-chip:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.main-nav a.cat-viewall:hover { color: #fff; background: linear-gradient(135deg, #1c4d8a 0%, #0b2340 100%); border-color: rgba(255, 255, 255, 0.14); }
@media (prefers-reduced-motion: no-preference) {
  .nav-group:hover .mm-col { animation: mmIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .nav-group:hover .mm-col:nth-child(2) { animation-delay: 0.03s; }
  .nav-group:hover .mm-col:nth-child(3) { animation-delay: 0.06s; }
  .nav-group:hover .mm-col:nth-child(4) { animation-delay: 0.09s; }
  .nav-group:hover .mm-col:nth-child(n + 5) { animation-delay: 0.12s; }
}
@keyframes mmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mm-banner {
  display: block; aspect-ratio: 16 / 7; border-radius: 10px; overflow: hidden;
  background: var(--bg-alt); margin-bottom: 0.5rem;
  box-shadow: inset 0 0 0 1px rgba(14, 90, 167, 0.08);
}
.mm-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.mm-col:hover .mm-banner img { transform: scale(1.045); }
.mm-cat { display: flex; align-items: center; gap: 0.65rem; padding: 0.3rem 0.45rem; border-radius: 9px; }
.mm-cat:hover { background: var(--primary-light); }
.mm-cat .dd-thumb { width: 44px; height: 44px; border-radius: 10px; transition: box-shadow 0.2s; }
.mm-cat:hover .dd-thumb { box-shadow: 0 0 0 2px #b7d3ef; }
.mm-cat-text { min-width: 0; }
.mm-cat-text b { display: block; font-size: 0.94rem; letter-spacing: -0.01em; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-cat-text small {
  display: inline-block; margin-top: 0.18rem;
  font-size: 0.75rem; color: var(--primary); background: rgba(14, 90, 167, 0.08);
  border-radius: 999px; padding: 0.08rem 0.55rem;
}
.mm-cat:hover .mm-cat-text b { color: var(--primary); }
.mm-sub { margin-top: 0.25rem; }
.mm-sub a {
  display: block; padding: 0.24rem 0.45rem 0.24rem 2.75rem;
  font-size: 0.82rem; color: var(--muted); border-radius: 7px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color 0.15s, transform 0.15s, background 0.15s;
}
html[lang="ar"] .mm-sub a { padding-inline-start: 2.75rem; padding-inline-end: 0.45rem; letter-spacing: 0; }
.mm-sub a:hover { color: var(--primary); background: rgba(14, 90, 167, 0.05); transform: translateX(3px); }
html[lang="ar"] .mm-sub a:hover { transform: translateX(-3px); }
.mm-more {
  display: inline-block; margin: 0.3rem 0 0 0.45rem; padding-inline-start: 2.3rem;
  font-size: 0.79rem; font-weight: 600; color: var(--primary);
}
.mm-more:hover { text-decoration: underline; }
/* utility strip closing the panel: hairline divider + tagline + quick actions
   (2026-09-08 polish: no boxed pill — a quiet rule reads more premium) */
.mm-util {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: none; border-radius: 0;
  box-shadow: none; border-top: 1px solid var(--border);
  padding: 0.7rem 0.2rem 0.1rem; margin-top: 0.55rem;
}
.mm-util-tag { font-size: 0.79rem; color: var(--muted); letter-spacing: 0.01em; }
.mm-util-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; }
.mm-util-links a { font-size: 0.86rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.mm-util-links a i {
  font-style: normal; display: inline-block; margin-inline-start: 0.28rem;
  transition: transform 0.18s ease;
}
.mm-util-links a:hover i { transform: translateX(3px); }

/* category listing summary header (eyebrow + title + count pill) */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.cat-head-text { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.cat-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
}
html[lang="ar"] .cat-eyebrow { letter-spacing: 0; }
.cat-head-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.01em; }
.cat-count {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 0.85rem; font-weight: 700; color: var(--primary);
  background: rgba(14, 90, 167, 0.08); border: 1px solid #b7d3ef;
  padding: 0.35rem 0.95rem; border-radius: 999px;
}
/* staggered card entrance */
@media (prefers-reduced-motion: no-preference) {
  .product-grid > *, .app-grid > * { animation: cardIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .product-grid > :nth-child(2), .app-grid > :nth-child(2) { animation-delay: 0.05s; }
  .product-grid > :nth-child(3), .app-grid > :nth-child(3) { animation-delay: 0.1s; }
  .product-grid > :nth-child(4), .app-grid > :nth-child(4) { animation-delay: 0.15s; }
  .product-grid > :nth-child(5), .app-grid > :nth-child(5) { animation-delay: 0.2s; }
  .product-grid > :nth-child(6), .app-grid > :nth-child(6) { animation-delay: 0.25s; }
  .product-grid > :nth-child(7), .app-grid > :nth-child(7) { animation-delay: 0.3s; }
  .product-grid > :nth-child(n + 8), .app-grid > :nth-child(n + 8) { animation-delay: 0.34s; }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .cat-head { flex-direction: column; align-items: flex-start; gap: 0.55rem; } .cat-count { align-self: flex-start; } }

/* why cards */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.why-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.5rem; text-align: center; box-shadow: var(--shadow);
  transition: all 0.25s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #b7d3ef; }
.why-card .icon { width: 46px; height: 46px; color: var(--primary); margin-bottom: 1rem; }
.why-card h3 { font-size: 1.06rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* applications */
.app-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.5rem 1.6rem;
  max-width: 900px; margin-inline: auto;
}
.app-list li { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.7rem; color: var(--text); font-size: 0.95rem; }
.app-list .icon-sm { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* certifications */
/* 首页认证标志：单行左右均布，两端与容器对齐 */
.cert-list {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.9rem 1.2rem;
  margin-top: 2.1rem;
}
.cert-list img {
  height: clamp(38px, 5.5vw, 74px); width: auto;
  object-fit: contain;
  transition: transform 0.25s;
}
.cert-list img:hover { transform: translateY(-3px); }
.cert-slider { position: relative; overflow: hidden; }
.cert-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.2rem 0;
}
.cert-track::-webkit-scrollbar { display: none; }
.cert-item {
  flex: 1 1 160px;
  min-width: 160px;
  height: 100px;
  background: #f4f7fb;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cert-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0.6rem;
}
.cert-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}
.cert-arrow:hover { border-color: var(--primary); color: var(--primary); }
.cert-arrow.prev { left: 0; }
.cert-arrow.next { right: 0; }
.cert-desc { max-width: none; margin: 0 0 1.6rem 0; text-align: justify; text-align-last: center; }
/* arrows only show when the cert track actually overflows (narrow screens) */
.cert-arrow { display: none; }
.cert-slider.has-overflow .cert-arrow { display: flex; }
.cta-section {
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 4.4rem 0; text-align: center;
}
.cta-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.cta-inner p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   Page hero + breadcrumb
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(620px 340px at 85% -10%, rgba(140, 205, 255, 0.25), transparent 60%),
    linear-gradient(120deg, #0a4278, #1779c9);
  color: #fff; padding: 3.6rem 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -0.02em; text-wrap: balance; }
.page-hero p {
  color: rgba(255,255,255,0.92); margin-top: 0.8rem;
  max-width: 700px; margin-inline: auto; font-size: 1.06rem; line-height: 1.7;
  text-wrap: pretty;
}
/* key figures (sizes, codes, years) pop for instant scanning */
.page-hero p b { color: #fff; font-weight: 600; }
/* Hero fact row: editorial meta items (icon + text + hairline dividers) —
   deliberately NOT capsules, to stay visually distinct from the breadcrumb
   chip and the sticky category pill bar further down the page. */
.page-hero .ph-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.3rem 0; margin-top: 1.4rem; }
.page-hero .ph-chips span {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.25rem 1.15rem; position: relative;
  font-size: 0.85rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.92);
  animation: chipIn 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}
.page-hero .ph-chips span:nth-child(1) { animation-delay: 0.05s; }
.page-hero .ph-chips span:nth-child(2) { animation-delay: 0.13s; }
.page-hero .ph-chips span:nth-child(3) { animation-delay: 0.21s; }
.page-hero .ph-chips span:nth-child(4) { animation-delay: 0.29s; }
/* Category-page variant: the hero becomes a FIXED-WIDTH container card
   (same min(1160px,92vw) geometry as the index banners) instead of a
   full-bleed band, and its copy block is clamped to a constant 2-line
   box — so switching between category pages keeps the band pixel-stable:
   same width, same height, same resting layout. Slim paddings keep the
   band's footprint on the page body minimal. */
.page-hero.hero-band {
  width: min(1160px, 92vw); margin: 1.1rem auto 0;
  border-radius: 12px; text-align: start;
  padding: 1.1rem 1.9rem 1rem;
  position: relative; isolation: isolate; overflow: hidden;
}
/* typical-product photo layer (index-banner style): image + dark shade
   keep the copy readable; the base blue gradient stays as loading fallback */
.hero-band-media { position: absolute; inset: 0; z-index: 0; }
.hero-band-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* multi-image collage variant (index pages): equal side-by-side slices,
   one per product family — the shared shade keeps the copy side readable.
   2px paper-white gaps turn N photos into one designed filmstrip */
.hero-band-media.hero-band-cols { display: flex; gap: 2px; background: #fff; }
.hero-band-media.hero-band-cols img { flex: 1 1 0; min-width: 0; width: auto; object-position: center 40%; }
.hero-band-shade {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(6, 34, 64, 0.93) 0%, rgba(6, 34, 64, 0.8) 48%, rgba(6, 34, 64, 0.5) 100%);
}
[dir="rtl"] .hero-band-shade {
  background: linear-gradient(270deg, rgba(6, 34, 64, 0.93) 0%, rgba(6, 34, 64, 0.8) 48%, rgba(6, 34, 64, 0.5) 100%);
}
.page-hero.hero-band .container { position: relative; z-index: 1; width: 100%; margin: 0; padding: 0; }
.page-hero.hero-band h1 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  white-space: normal; overflow: visible; text-overflow: clip;
  text-wrap: balance;
  text-shadow: 0 1px 8px rgba(4, 24, 46, 0.35);
}
/* copy stays on ONE line (no mid-sentence wrap) with ellipsis, exactly like
   the index banners; figure highlights read on the shaded photo */
.page-hero.hero-band p {
  margin-top: 0.4rem; max-width: 100%; margin-inline: 0;
  font-size: 0.97rem; line-height: 1.55;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.page-hero.hero-band p b { color: #fff; font-weight: 600; }
.page-hero.hero-band .ph-chips {
  margin-top: 0.6rem; flex-wrap: nowrap; justify-content: flex-start;
  overflow: hidden;
}
.page-hero.hero-band .ph-chips span {
  padding: 0.15rem 0.95rem; font-size: 0.82rem; white-space: nowrap;
}
.page-hero.hero-band .ph-chips span:first-child { padding-left: 0; }
@media (max-width: 640px) {
  .page-hero.hero-band { padding: 0.9rem 1.1rem 0.85rem; }
  .page-hero.hero-band .ph-chips { flex-wrap: wrap; }
  .page-hero.hero-band p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .page-hero.hero-band h1 { white-space: normal; }
}
@keyframes chipIn { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .page-hero .ph-chips span { animation: none; }
}
/* hairline divider between adjacent meta items (mirrors automatically in RTL) */
.page-hero .ph-chips span + span::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 1.2em;
  background: rgba(255, 255, 255, 0.3);
}
/* luxury editorial typography — uppercase latin tracking (disabled for RTL scripts) */
.page-hero .ph-chips span.has-img {
  font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
html[lang="ar"] .page-hero .ph-chips span.has-img {
  font-size: 0.85rem; letter-spacing: 0;
}
/* key figures pop bright & bold; separators recede */
.page-hero .ph-chips span b { color: #fff; font-weight: 700; }
.page-hero .ph-chips span .ph-sep { font-style: normal; color: rgba(255, 255, 255, 0.5); margin-inline: 0.3em; }
.page-hero .ph-chips span.has-img img {
  width: 30px; height: 30px; border-radius: 999px; object-fit: cover;
  display: block; flex: 0 0 auto;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.45),
    0 2px 6px rgba(4, 32, 66, 0.28);
}
@media (max-width: 640px) {
  .page-hero .ph-chips { flex-direction: column; align-items: stretch; width: max-content; max-width: 100%; margin-inline: auto; }
  .page-hero .ph-chips span { padding: 0.34rem 0; }
  .page-hero .ph-chips span + span::before {
    top: -0.1em; inset-inline-start: 0; transform: none;
    width: 100%; height: 1px; opacity: 0.55;
  }
}
}
.page-container { padding-top: 1.6rem; }
.breadcrumb {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.88rem; color: var(--text);
}
.breadcrumb a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary); font-weight: 600; transition: color 0.2s; }
.breadcrumb a svg { opacity: 0.85; }
/* ---- hero-light: index-page variant (user 2026-09-08) -------------------
   The directory heroes (Our Products / Our Applications) sat on the SAME
   dark-photo style as the category banners right below them — visitors
   could mistake one for the other. This variant flips them to a light,
   editorial look: paper-white card, ink title, bordered pill chips, and the
   photo collage tucked into rounded tiles on the inline-end side. Same
   geometry as hero-band (width/radius/one-line copy), opposite tone. */
.page-hero.hero-band.hero-light {
  background:
    radial-gradient(560px 320px at 16% -22%, rgba(90, 190, 255, 0.35), transparent 62%),
    linear-gradient(100deg, #0a3c70 0%, #0d4a86 58%, #105896 100%);
  border: none;
  box-shadow: 0 12px 28px -22px rgba(15, 60, 120, 0.35);
  padding: 1.15rem 1.9rem;
}
/* 2026-09-10 v2 (user feedback): the hard left "brand plate" clipped longer
   translations — fused design instead: ONE dark gradient across the whole
   card, copy sits directly on it (wide container, nothing clips), and the
   filmstrip melts into the dark via the shared hero-band shade. */
.page-hero.hero-light h1 { color: #fff; text-shadow: none; font-size: clamp(1.5rem, 2.3vw, 2rem); }
.page-hero.hero-light p { color: rgba(255,255,255,0.88); white-space: normal; overflow: visible; }
/* copy block left-aligned (user 2026-09-08); wide enough for ru/fr strings */
.page-hero.hero-light .container {
  width: 46%; min-width: 0; text-align: start; padding: 0;
}
/* narrow copy column: let subtitle wrap naturally (the band-wide 2-line
   clamp + fixed height would truncate it mid-word) */
.page-hero.hero-light p { height: auto; display: block; -webkit-line-clamp: unset; -webkit-box-orient: unset; overflow: visible; font-size: 0.92rem; margin-top: 0.45rem; }
/* ---- stat strip + cert line: pure editorial typography (no boxes, no
   icons) — big dual-weight numerals, a pattern every major B2B site uses for "key facts". Unmistakably
   non-clickable vs the sticky pill bar below. ---- */
.page-hero.hero-light .hero-stats {
  display: flex; justify-content: flex-start; align-items: center;
  margin-top: 1.05rem;
}
.page-hero.hero-light .hero-stats span {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8); white-space: nowrap;
}
.page-hero.hero-light .hero-stats span + span {
  border-inline-start: 1px solid rgba(255,255,255,0.28);
  padding-inline-start: 1.2rem; margin-inline-start: 1.2rem;
}
.page-hero.hero-light .hero-stats b {
  font-size: 2.3rem; font-weight: 760; letter-spacing: -0.02em;
  color: #a5ddff; line-height: 1;
  text-shadow: 0 0 18px rgba(120, 200, 255, 0.35);
}
/* cert/capability lines become glassy pill badges on the navy plate */
.page-hero.hero-light .hero-certs {
  display: flex; justify-content: flex-start; flex-wrap: wrap;
  gap: 0.4rem 0.45rem; margin-top: 0.95rem;
}
.page-hero.hero-light .hero-certs span {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em;
  color: #dbeafe; white-space: nowrap;
  padding: 0.34rem 0.78rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
}
.page-hero.hero-light .hero-certs b { color: #fff; font-weight: 750; }
.page-hero.hero-light .hero-certs .ph-sep { font-style: normal; margin: 0 0.3rem; color: rgba(255,255,255,0.5); }
.hero-light .hero-band-shade { display: block; }
/* full-bleed filmstrip: gaps become dark hairlines so slices melt together
   and into the card gradient — no white seams, no tile borders */
.hero-light .hero-band-media { inset: 0; border-radius: 0; box-shadow: none; }
.hero-light .hero-band-media.hero-band-cols { background: rgba(255,255,255,0.14); }
.hero-light .hero-band-media::before { content: none; }
[dir="rtl"] .hero-light .hero-band-media { inset: 0; }
[dir="rtl"] .hero-light .hero-band-media::before {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 34%);
}
@media (max-width: 760px) {
  .hero-light .hero-band-media { display: none; }
  .page-hero.hero-light .container { width: 100%; text-align: start; padding-inline-end: 0; }
  .page-hero.hero-light .hero-stats,
  .page-hero.hero-light .hero-certs { justify-content: flex-start; }
  .page-hero.hero-light .hero-stats span + span { padding-inline-start: 0.9rem; margin-inline-start: 0.9rem; }
}
.breadcrumb a:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }
.bc-sep { display: inline-flex; color: #a9bccf; }

/* --------------------------------------------------------------------------
   Products index: sticky category nav + per-category sections
   -------------------------------------------------------------------------- */
.pidx-nav {
  position: sticky; top: 96px; z-index: 90;
  /* context console: EXACTLY the content width (min(1160px,92vw)) — the
     breadcrumb row, pill row and the MORE IN drawer all share this one
     bordered card, aligned with the hero card below (user 2026-09-08: the
     old full-bleed rows stuck out past the content width with a stray
     mid-air shadow) */
  width: min(1160px, 92vw); margin-inline: auto;
  background: linear-gradient(180deg, #fdfeff 0%, #f4f8fc 100%);
  border: 1px solid rgba(14, 90, 167, 0.10);
  border-radius: 14px;
  box-shadow: 0 10px 26px -20px rgba(15, 60, 120, 0.4);
  transition: box-shadow 0.25s ease;
}
.pidx-nav.stuck { box-shadow: 0 16px 32px -20px rgba(15, 60, 120, 0.5); }
.pidx-nav .pidx-bc-row,
.pidx-nav .pidx-nav-inner { background: none; }
.pidx-nav .pidx-nav-inner { border-bottom: none; }
.pidx-nav.stuck .pidx-nav-inner { background: none; box-shadow: none; }
/* interior breathing room so pills/breadcrumb clear the rounded border */
.pidx-nav .pidx-bc-row .container { padding-inline: 0.9rem; }
.pidx-nav-inner.container { padding-inline: 0.9rem; }
/* breadcrumb line lives inside the context band; it stays visible at all
   scroll positions (constant band height = zero layout shift while scrolling) */
.pidx-bc-row .container { padding-block: 0.62rem 0.15rem; }
@media (max-width: 640px) {
  .pidx-bc-row .container { padding-block: 0.5rem 0.05rem; }
}
/* 2026-09-08: the same-series overlay drawer (.pidx-sw-row) was removed per
   user request — the band is now breadcrumb + category pills only, two rows.
   Quick prev/next switching lives in the floating side arrows (app.js). */
/* Scroll affordance: soft fades hint more pills beyond each edge */
.pidx-nav::before, .pidx-nav::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 52px; z-index: 2;
  pointer-events: none; opacity: 0.9;
}
.pidx-nav::before { left: 0; background: linear-gradient(90deg, rgba(250, 252, 254, 0.95), rgba(250, 252, 254, 0)); }
.pidx-nav::after { right: 0; background: linear-gradient(270deg, rgba(250, 252, 254, 0.95), rgba(250, 252, 254, 0)); }
.pidx-nav-inner { display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.75rem; -ms-overflow-style: none; }
.pidx-nav-inner::-webkit-scrollbar { display: none; }
.pidx-pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem; border-radius: 999px; border: 1px solid #dfe8f2;
  background: linear-gradient(180deg, #ffffff, #f7fafd); color: var(--text);
  font-size: 0.88rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 2px 5px -3px rgba(15, 60, 120, 0.18);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
[dir="rtl"] .pidx-pill { padding: 0.4rem 0.4rem 0.4rem 0.85rem; }
.pidx-pill-img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid #e3ecf5; background: var(--bg-alt);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pidx-pill-name { padding-inline-start: 0.1rem; }
.pidx-pill b {
  font-size: 0.72rem; font-weight: 700; color: var(--primary);
  background: var(--primary-light); border-radius: 999px; padding: 0.1rem 0.52rem;
  transition: background 0.2s, color 0.2s;
}
.pidx-pill:hover { border-color: #bcd4ea; color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(14, 90, 167, 0.45); }
.pidx-pill:hover .pidx-pill-img { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 90, 167, 0.12); }
.pidx-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 22px -10px rgba(14, 90, 167, 0.65);
}
.pidx-pill.active .pidx-pill-img { border-color: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); }
.pidx-pill.active b { background: rgba(255, 255, 255, 0.24); color: #fff; }
.pidx-body { padding-top: 1.4rem; }
/* the sticky bar's own 12px bottom padding already separates it from the
   page body — a full 4rem section top-pad under it reads as a dead void
   (user report 2026-09-08). Tighten ONLY the section that directly follows
   the bar; other .section blocks keep their rhythm. */
.pidx-nav + .section { padding-top: 1.4rem; }
/* product detail pages: hero gallery rides closer under the bar too */
/* product detail: minimal breathing room under the sticky bar (user 2026-09-08
   "缩到最小"); padding-top is ALSO driven inline by app.js to reserve room for
   the always-on top-of-page drawer, hence the smooth transition */
.pidx-nav + .page-container { padding-top: 0.55rem; transition: padding-top 0.28s ease; }
/* 2026-09-08: first-paint reserve rules removed together with the overlay
   drawer — without a drawer nothing needs reserving, so the load-time jump
   source is gone entirely. */
/* gap between the hero card and the description blocks: slim, not a void */
.pd-detail-section { padding-top: 1.4rem; }
.pidx-sec { margin-bottom: 3.4rem; scroll-margin-top: 150px; transition: opacity 0.55s ease, transform 0.55s ease; }
.pidx-sec.pidx-wait { opacity: 0; transform: translateY(16px); }
/* Category banner: full-width image strip — visually distinct from the small
   pill bar above (large photo + shade + white type vs. compact capsules). */
.pidx-banner {
  position: relative; height: 76px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 24px -16px rgba(10, 40, 90, 0.55);
  display: flex; align-items: stretch; margin-bottom: 1.4rem;
  background: var(--bg-alt); isolation: isolate;
}
.pidx-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; transform: scale(1.001);
  transition: transform 0.6s ease;
}
.pidx-sec:hover .pidx-banner-img { transform: scale(1.045); }
.pidx-banner-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 34, 70, 0.88) 0%, rgba(8, 34, 70, 0.62) 44%, rgba(8, 34, 70, 0.14) 100%);
}
[dir="rtl"] .pidx-banner-shade { background: linear-gradient(270deg, rgba(8, 34, 70, 0.88) 0%, rgba(8, 34, 70, 0.62) 44%, rgba(8, 34, 70, 0.14) 100%); }
.pidx-banner-body {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 0 1.5rem;
}
.pidx-banner-text { min-width: 0; color: #fff; }
.pidx-sec-title {
  font-size: clamp(1.12rem, 1.9vw, 1.38rem); letter-spacing: -0.02em;
  font-weight: 700; line-height: 1.05; color: #fff;
  text-shadow: 0 1px 10px rgba(5, 25, 55, 0.45);
}
.pidx-sec-count {
  margin-left: 0.6rem; font-size: 0.72rem; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px); border-radius: 999px; padding: 0.12rem 0.55rem;
  vertical-align: 2px; white-space: nowrap;
}
.pidx-sec-sub {
  margin-top: 0.04rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.85); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pidx-sec-more {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.34rem 0.95rem; border-radius: 999px; border: 0;
  color: var(--primary-dark); font-size: 0.88rem; font-weight: 700; white-space: nowrap;
  background: #fff; box-shadow: 0 8px 18px -8px rgba(4, 20, 45, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pidx-sec-more i { font-style: normal; transition: transform 0.2s; }
.pidx-sec-more:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -10px rgba(4, 20, 45, 0.6); }
.pidx-sec-more:hover i { transform: translateX(3px); }
[dir="rtl"] .pidx-sec-more:hover i { transform: translateX(-3px); }
@media (max-width: 640px) {
  .pidx-banner { height: 68px; border-radius: 10px; }
  .pidx-banner-body { padding: 0 1rem; }
  .pidx-sec-sub { display: none; }
  .pidx-sec-more { padding: 0.42rem 0.85rem; font-size: 0.84rem; }
  .pidx-sec-count { display: none; }
  .pidx-pill { padding: 0.32rem 0.7rem 0.32rem 0.32rem; font-size: 0.84rem; gap: 0.45rem; }
  [dir="rtl"] .pidx-pill { padding: 0.32rem 0.32rem 0.32rem 0.7rem; }
  .pidx-pill-img { width: 26px; height: 26px; }
  .pidx-pill b { font-size: 0.7rem; padding: 0.08rem 0.42rem; }
  .pidx-nav::before, .pidx-nav::after { width: 30px; }
}
.bc-sep { display: inline-flex; color: #a9bccf; }

/* category tabs */
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.4rem; }
.cat-tabs a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.72rem 0.7rem; border-radius: 9px;
  border: 1.5px solid #b7d3ef; color: var(--primary); font-weight: 700; font-size: 0.9rem;
  background: rgba(14, 90, 167, 0.07); transition: all 0.2s;
}
.cat-tabs a:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14, 90, 167, 0.28);
}
.cat-tabs a.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 4px 12px rgba(14, 90, 167, 0.35);
}
.cat-tabs .icon-sm { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.product-detail {
  /* Image column narrowed (0.6fr): a more compact gallery lets the info
     column keep comfortable reading width. Card stays full container width
     for consistent page margins. */
  display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: 2.6rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 2rem; box-shadow: var(--shadow); align-items: stretch;
}
/* --------------------------------------------------------------------------
   Gallery: main image + thumbnail strip
   -------------------------------------------------------------------------- */
.pd-gallery { display: flex; flex-direction: column; position: relative; align-self: stretch; }
.gallery-main {
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--bg-alt); position: relative;
  /* Template 4:3 frame (2026-09-08, rolled out from the Low Iron Glass
     hero): every product detail shows the same 4:3 box; the image fills it
     by DIRECTIONAL STRETCH. Portrait-imagery products override via
     GALLERY_ASPECT_OVERRIDE (build.js); applications pass an inline 1.06. */
  aspect-ratio: 4 / 3; flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: fill; display: block;
}
/* product pages only: the main frame yields to short viewports so the whole
   card + the always-on top drawer stay inside the first screen ("图文区下延
   不出屏幕", user 2026-09-08). Matters only for tall boxes (square override
   on the stained family / u-glass); standard 4:3 is well under the cap.
   470px = header+bar+drawer reserve+card padding+thumbs. The fill JS re-fits
   the image to whatever box results (blur backdrop covers extreme ratios). */
.page-container .gallery-main { max-height: calc(100vh - 470px); }
/* Blurred self-backdrop: when a photo is too extreme to stretch into the
   frame (beyond the ±cap window), app.js centers the photo and fills the
   leftover bars with a blurred, cover-scaled copy of the SAME photo —
   no flat white/neutral bars, no extra distortion, no cropping. */
.gallery-main img.gallery-blur {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; display: block;
  filter: blur(26px) saturate(1.15) brightness(0.97);
  transform: scale(1.12); /* hide the blur edge vignette */
  pointer-events: none; user-select: none;
}
.gallery-main img[data-gallery-main] { position: relative; z-index: 1; }
/* ---------- 全站图片统一水印：靠右垂直居中、极淡浅色 ---------- */
/* 覆盖：详情页 gallery 主图、产品卡片、分类卡片、应用卡片、About 媒体图。
   纯 CSS 覆盖层，不改变图片文件本身；opacity 极低避免干扰浏览。 */
.pc-img, .cat-img, .ac-img, .about-media, .about-media-item { position: relative; }
/* TEMPORARILY DISABLED (2026-09-01): AUGTON GLASS watermark overlay on all
   site images, for image download/edit/upload workflow.
   To re-enable, remove the comment markers below. */
/* DISABLED-START
.gallery-main::after,
.pc-img::after, .cat-img::after, .ac-img::after,
.about-media::after, .about-media-item::after,
.pd-sec-imgs figure::after {
  content: "AUGTON GLASS";
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: #fff; opacity: 0.28;
  font-size: 1rem; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
  pointer-events: none; user-select: none; z-index: 2;
}
.gallery-main::after { font-size: 1.1rem; right: 16px; }
.pc-img::after, .cat-img::after, .ac-img::after { font-size: 0.82rem; }
.about-media::after { font-size: 0.95rem; }
.about-media-item::after { font-size: 0.72rem; }
DISABLED-END */
/* 详情页组合图（specs/intro/optical/applications/facility 图组）：
   figure 需要相对定位承载水印；全景条较宽字号略大 */
.pd-sec-imgs figure { position: relative; }
.pd-sec-imgs figure::after { font-size: 0.85rem; }
.pd-sec-imgs figure.pano::after { font-size: 1rem; }

.gallery-thumbs {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; flex-shrink: 0;
}
.thumb-track {
  display: flex; gap: 6px; flex: 1;
  flex-wrap: nowrap; overflow-x: auto;
  scroll-behavior: smooth; scrollbar-width: none;
  cursor: grab;
}
.thumb-track::-webkit-scrollbar { display: none; }
.thumb-track.dragging { cursor: grabbing; scroll-behavior: auto; }

.thumb {
  flex: 0 1 76px; min-width: 54px; aspect-ratio: 1 / 1; height: auto;
  object-fit: cover; border-radius: 6px;
  border: 1px solid #e0e0e0; cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  background: #fff;
}
.thumb:hover { transform: scale(1.03); border-color: #bbb; }
.thumb.active { border: 2px solid var(--primary); }

.thumb-arrow {
  width: 24px; height: 24px;
  border: 0; background: none; color: #888;
  font-size: 1.15rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: color 0.2s; padding: 0;
}
.thumb-arrow:hover { color: var(--primary); }
.thumb-arrow.disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* Click a thumbnail -> the main image fades in */
@keyframes imgZoomIn {
  from { opacity: 0.25; }
  to   { opacity: 1; }
}
.gallery-main img.swap { animation: imgZoomIn 0.35s ease; }

/* Quick specs fields */
.pd-field { margin-bottom: 0.55rem; }
.pd-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; letter-spacing: 0.25px; }
.pd-field span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.pd-field .pd-sizes { line-height: 1.6; }
/* Color + Pattern share one row: keeps the right column compact so its bottom
   lines up with the gallery column */
.pd-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.6rem; margin-bottom: 0.55rem; }
.pd-field-row .pd-field { margin-bottom: 0; min-width: 0; }
/* Jumbo Size: label and value on one line */
.pd-field-inline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.45rem; }
.pd-field-inline label { margin-bottom: 0; }
.pd-field-inline span { display: inline; }

.pd-thickness-list { margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.pd-thickness-list li { margin-bottom: 0.2rem; padding-left: 0.25rem; }
.pd-thickness-list li strong { color: var(--text); font-weight: 600; }

.pd-cat { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; margin-bottom: 0.6rem; }
.pd-info { display: flex; flex-direction: column; height: 100%; }
.pd-info h1 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.pd-desc { color: var(--muted); margin-bottom: 1.6rem; font-size: 1.02rem; line-height: 1.7; }
.pd-aliases { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: -0.55rem 0 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.pd-info .btn { margin-top: auto; flex-shrink: 0; }
/* Quick-specs block: auto margins center it in the leftover height so the
   title stays top, the CTA stays bottom, and both columns read as one card. */
.pd-quick { margin-block: auto; }
.pd-quick + .btn { margin-top: 0.75rem; }
/* Short laptop viewports: compress the detail hero so the whole card AND the
   always-on top drawer fit the first screen ("图文区下延不出屏幕", user
   2026-09-08). The info column drives the row height, so the squeeze is on
   its type/margins + card padding. Normal-height desktops are untouched. */
@media (max-height: 870px) {
  .product-detail { padding: 1rem 1.6rem; gap: 1.8rem; }
  .pd-info h1 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.35rem; padding-bottom: 0.35rem; }
  .pd-field { margin-bottom: 0.38rem; }
  .pd-field label { font-size: 0.8rem; margin-bottom: 0.15rem; }
  .pd-field span { font-size: 0.88rem; line-height: 1.38; }
  .pd-field-inline { gap: 0.3rem; }
  .pd-info .btn { padding-block: 0.6rem; }
  .pd-quick + .btn { margin-top: 0.55rem; }
}

.pd-specs .container > :first-child { margin-top: 0; }
/* Specification zone: light background separates it from description & optical blocks */
section.pd-specs { background: var(--bg-alt); }
section.pd-specs .container { padding-block: 0.4rem; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2.2rem; }
.spec-table th, .spec-table td { padding: 0.9rem 1.2rem; text-align: start; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.spec-table th { background: var(--bg-alt); color: var(--primary-dark); font-weight: 700; width: 34%; white-space: nowrap; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.pd-cols { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.4rem; }
.pd-col h3 { font-size: 1.18rem; margin-bottom: 1.1rem; color: var(--primary-dark); letter-spacing: -0.01em; }
/* Key Features: two balanced columns for a compact, aligned list */
.pd-cols .pd-col .check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.4rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.45rem 0; color: var(--text); font-size: 0.95rem; line-height: 1.75; }
.check-list li::before { content: "✓"; color: var(--primary); font-weight: 800; flex-shrink: 0; }
.check-list-center { margin-inline: auto; }
.check-list-center li { justify-content: center; text-align: center; }

/* --------------------------------------------------------------------------
   Product detail: rich content blocks (description / thickness / sizes /
   grouped applications / optical / production & packaging / certificates)
   -------------------------------------------------------------------------- */
.pd-detail-section { padding-top: 2.4rem; padding-bottom: 4.4rem; }
.pd-block-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--text);
  margin-bottom: 1.8rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.pd-para {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
  margin-bottom: 1.4rem;
  text-align: justify;
  text-wrap: pretty;
}
.pd-para:last-child { margin-bottom: 0; }
.pd-para.pd-center { text-align: center; }

.pd-sub-block { margin-top: 2.6rem; }
.pd-sub-block > h3 { font-size: 1.18rem; color: var(--primary-dark); margin-bottom: 1.1rem; letter-spacing: -0.01em; font-weight: 700; }
.pd-note { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.pd-thickness-range strong { color: var(--primary-dark); font-weight: 700; }

.thickness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.thickness-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.thickness-card h4 { font-size: 1.0rem; color: var(--text); margin-bottom: 0.45rem; font-weight: 700; }
.thickness-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; }

.size-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.size-tag {
  display: inline-flex; align-items: center;
  padding: 0.45rem 0.95rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.app-group-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1.15rem 0 0.2rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border);
}
.app-group-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Applications grouped grid: one row, four columns */
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.1rem;
  box-shadow: var(--shadow);
}
.app-card .app-group-title {
  margin: 0 0 0.6rem;
  padding: 0 0 0.6rem;
  border-top: 0;
  border-bottom: 1px solid var(--border);
}
.app-card .check-list li { padding: 0.36rem 0; }
/* Optional leading image card inside apps-grid (fills the 4th slot, e.g. tinted-pattern-glass) */
.app-card.app-card-img { padding: 0; overflow: hidden; }
.app-card.app-card-img img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; }

/* Production / Packaging: cards stacked vertically; inside each card the
   text column sits beside its photo set so copy and images align cleanly */
.facility-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
/* full-stack cards (text + full-width image stack inside) always span the grid */
.facility-card--full { grid-column: 1 / -1; }
.facility-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  align-items: flex-start;
}
.facility-head { flex: 1 1 300px; min-width: 0; }
.facility-head .facility-icon { margin-bottom: 0.9rem; }
.facility-card .facility-media {
  flex: 1 1 340px;
  min-width: 0;
  margin-top: 0;
  align-self: center;
}
.facility-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 0.9rem;
}
.facility-icon svg { width: 24px; height: 24px; }
.facility-card h3 { font-size: 1.08rem; color: var(--text); margin-bottom: 0.55rem; font-weight: 700; }
.facility-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.inquiry-form { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 2rem 1.4rem; box-shadow: var(--shadow); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.inquiry-form label { display: block; margin: 0; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%; padding: 0.72rem 1rem;
  border: 1px solid #d8e0ea; border-radius: 10px;
  font-family: inherit; font-size: 0.9rem; color: var(--text); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-form label:hover > input,
.inquiry-form label:hover > select { border-color: #b9c6d6; }
.inquiry-form select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b7f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3.5px rgba(14, 90, 167, 0.13);
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: #8a93a3; }
.inquiry-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-row + .form-row { margin-top: 0.75rem; }

/* Inquiry item card (2026-10-10, product detail forms): photo + name +
   qty stepper + remove, pre-attached to the product the visitor came
   from. Styled to match the form's white card language. */
.inquiry-items { padding: 0; }
.inquiry-items .inq-item + .inq-item { margin-top: 0.5rem; }
.inq-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.65rem 0.8rem;
  background: var(--primary-light);
  border: 1px solid #cfe2f4;
  border-radius: 12px;
}
.inq-thumb { flex: none; width: 58px; height: 44px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.inq-thumb img, .inq-thumb picture { display: block; width: 100%; height: 100%; }
.inq-thumb picture img { object-fit: cover; }
.inq-body { flex: 1; min-width: 0; }
.inq-body b { display: block; font-size: 0.94rem; color: var(--text); line-height: 1.25; }
.inq-body small { color: var(--muted); font-size: 0.78rem; }
.inq-qty { flex: none; display: flex; align-items: center; background: #fff; border: 1px solid #c3d5ea; border-radius: 9px; overflow: hidden; }
.inq-qty button {
  width: 30px; height: 34px; border: 0; background: none;
  font-size: 1.1rem; line-height: 1; color: var(--primary);
  cursor: pointer; transition: background 0.15s ease;
}
.inq-qty button:hover { background: var(--primary-light); }
.inq-qty input {
  width: 3.6em; height: 34px; border: 0; text-align: center;
  font-size: 0.92rem; color: var(--text); background: #fff;
  -moz-appearance: textfield; appearance: textfield;
}
.inq-qty input:focus { outline: none; }
.inq-qty input::-webkit-outer-spin-button,
.inq-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inq-remove {
  flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: #fff; color: var(--muted); font-size: 1.05rem; line-height: 1;
  cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.inq-remove:hover { background: #fdecec; color: #c0392b; }
/* with the card attached, the free-form quantity/product fields yield:
   country stretches full-width, the two replaced inputs stay hidden until
   the visitor removes the card (app.js toggles .has-inq) */
.form-row-3.has-inq { grid-template-columns: 1fr; }
.form-row-3.has-inq label:nth-child(2),
.form-row-3.has-inq label:nth-child(3) { display: none; }
.form-message textarea { min-height: 118px; }
.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.form-trust { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--muted); font-size: 0.85rem; }
.form-trust svg { color: #2e9e5b; flex: none; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.78rem 2.1rem; border-radius: 10px; font-size: 0.95rem; white-space: nowrap;
}

/* --- inquiry form file upload (2026-09-14, restyled 2026-09-14) --- */
.form-upload { width: 100%; }
.form-upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.55rem; padding: 1.4rem 1.2rem; cursor: pointer; text-align: center;
  border: 1.5px dashed #c4d0de; border-radius: 12px;
  background: color-mix(in srgb, var(--muted) 4%, transparent);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.form-upload-zone:hover, .form-upload-zone:focus-within {
  border-color: var(--primary, #0e5aa7); background: color-mix(in srgb, var(--primary, #0e5aa7) 4%, transparent);
}
.form-upload-zone.is-dragover {
  border-color: var(--primary, #0e5aa7);
  background: color-mix(in srgb, var(--primary, #0e5aa7) 8%, transparent);
  box-shadow: 0 0 0 3.5px rgba(14, 90, 167, 0.12);
}
.form-upload-zone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-upload-ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: color-mix(in srgb, var(--primary, #0e5aa7) 9%, transparent);
  color: var(--primary, #0e5aa7);
  transition: transform 0.15s ease, background 0.15s ease;
}
.form-upload-zone:hover .form-upload-ico { transform: translateY(-2px); background: color-mix(in srgb, var(--primary, #0e5aa7) 14%, transparent); }
.form-upload-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.form-upload-text b { font-size: 0.92rem; font-weight: 600; }
.form-upload-text small { color: var(--muted); font-size: 0.78rem; }
.form-upload-drag { color: var(--primary, #0e5aa7) !important; font-weight: 500; }
.form-upload-btn { flex: none; font-size: 0.85rem; font-weight: 600; color: var(--primary, #0e5aa7); text-decoration: underline; text-underline-offset: 3px; }
.form-upload-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; text-align: left; }
.form-upload-list li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 0.7rem; border: 1px solid var(--border); border-radius: 8px;
  background: var(--card-bg, #fff); font-size: 0.84rem;
}
.form-upload-list .fu-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-upload-list .fu-size { color: var(--muted); flex: none; }
.form-upload-list .fu-remove {
  flex: none; width: 22px; height: 22px; border: none; border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 15%, transparent); color: inherit;
  cursor: pointer; font-size: 0.85rem; line-height: 1;
}
.form-upload-list .fu-remove:hover { background: #d9534f; color: #fff; }
.form-upload-total { margin-top: 0.35rem; font-size: 0.78rem; color: var(--muted); }
.form-upload-total.fu-error { color: #d9534f; font-weight: 600; }

/* --- thank-you page (2026-09-14) --- */
.thankyou-wrap { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.thankyou-icon { color: #2e9e5b; }
.thankyou-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-top: 0.4rem; }

.form-status { margin-top: 1.2rem; }
.form-status-box {
  background: #eaf6ee; border: 1px solid #bfe3c9; border-radius: 10px;
  padding: 1.6rem; text-align: center; color: #1d6b33;
}
.form-status-box h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.form-status-box .btn { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-intro-section { padding-bottom: 0; }
.about-intro p { margin-bottom: 0; color: var(--text); font-size: 1.03rem; line-height: 1.75; }
.about-block { scroll-margin-top: 84px; }
.about-block-head { max-width: 100%; margin: 0 auto 2rem; }
.about-block-head h2 { text-align: center; font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.about-block-head p { color: var(--muted); font-size: 1.02rem; line-height: 1.9; text-align: justify; text-wrap: pretty; }
.about-media { margin: 0 auto 2.4rem; max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.about-media img { display: block; width: 100%; height: auto; object-fit: cover; }
.about-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 auto 2.4rem; max-width: min(1160px, 100%); align-items: start; }
.about-media-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); margin: 0; }
.about-media-item img { display: block; width: 100%; height: auto; object-fit: cover; }
.about-media-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 auto 2.4rem; }
.about-media-row .about-media-item { flex: 0 1 auto; }
.about-media-row .about-media-item img { width: auto; max-width: 100%; height: min(240px, calc(20vw - 12px)); object-fit: contain; }
@media (max-width: 640px) {
  .about-media-row { display: flex; justify-content: center; }
  .about-media-row .about-media-item img { width: auto; height: min(148px, 38vw); }
  /* 移动端水印字号整体收小 */
  .gallery-main::after { font-size: 0.95rem; }
  .pc-img::after, .cat-img::after, .ac-img::after, .about-media-item::after { font-size: 0.68rem; }
  .about-media::after { font-size: 0.85rem; }
  .pd-sec-imgs figure::after { font-size: 0.72rem; }
  .pd-sec-imgs figure.pano::after { font-size: 0.85rem; }
}
@media (max-width: 900px) { .about-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-media-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
.about-media-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-media-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .about-media-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .about-media-grid, .about-media-grid.cols-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .about-media-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.5rem; text-align: center; box-shadow: var(--shadow);
  transition: all 0.25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #b7d3ef; }
.feature-card .icon { width: 46px; height: 46px; color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.06rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.value-card {
  background: #fff; border: 1px solid var(--border);
  border-inline-start: 4px solid var(--primary); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow);
  transition: all 0.25s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.value-card h3 { color: var(--primary-dark); margin-bottom: 0.5rem; font-size: 1.06rem; }
.value-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2.2rem; align-items: stretch; }
.contact-form-col .section-title { text-align: start; }
.contact-info-col .section-title { text-align: start; }
/* 两栏等高：表单框拉伸至与右栏信息卡同高，内容垂直居中 */
.contact-form-col { display: flex; flex-direction: column; }
.contact-form-col .inquiry-form {
  flex: 1; display: flex; flex-direction: column;
  justify-content: space-evenly; gap: 1.1rem;
}
.contact-form-col .form-row + .form-row { margin-top: 0; }
.contact-form-col .form-message textarea { min-height: 150px; max-height: 215px; }
.contact-form-col .form-footer { margin-top: 0; padding-top: 0; border-top: none; }
.contact-form-col .form-trust { display: none; }
.contact-form-col .form-submit { margin-left: auto; padding: 0.72rem 1.8rem; }
/* 右栏信息卡均匀拉满列高，末卡无下边距 */
.contact-info-col { display: flex; flex-direction: column; }
.contact-info-col .section-title { margin-bottom: 1.3rem; }
.contact-info-col .info-card { flex: 1; margin-bottom: 0.8rem; }
.contact-info-col .info-card:last-child { margin-bottom: 0; }
.info-card {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--shadow);
}
.info-card .icon { width: 26px; height: 26px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-card h3 { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 0.15rem; }
.info-card p { font-weight: 600; font-size: 0.96rem; word-break: break-word; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #0d1f30; color: #b9c8d8; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem;
  padding: 3.6rem 0 2.8rem;
}
.site-footer .logo { color: #fff; margin-bottom: 1rem; display: inline-block; }
.footer-logo-img { display: block; height: 58px; width: auto; }
.footer-about p { font-size: 0.92rem; color: #93a6b8; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: 0; }
.footer-col a { display: block; color: #93a6b8; font-size: 0.92rem; padding: 0.3rem 0; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.35rem 0; font-size: 0.9rem; color: #93a6b8; }
.footer-contact .f-label { font-size: 0.78rem; color: #6b7f92; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; }
.footer-bottom p { font-size: 0.85rem; color: #6b7f92; }
.footer-legal { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.footer-legal a { color: #93a6b8; font-size: 0.85rem; }
.footer-legal a:hover { color: #fff; }
.footer-bottom .lang-switcher a { color: #93a6b8; }
.footer-bottom .lang-switcher a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.footer-bottom .lang-switcher a.active { background: var(--primary); color: #fff; }

/* --------------------------------------------------------------------------
   404 page + legal documents (privacy policy)
   -------------------------------------------------------------------------- */
.nf-section { display: flex; align-items: center; min-height: 52vh; }
.nf-box { text-align: center; max-width: 660px; margin: 0 auto; }
.nf-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}
.nf-box h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.9rem; color: var(--text); }
.nf-box p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.nf-actions { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }

.legal-section { max-width: 860px; margin: 0 auto; }
.legal-updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; text-align: center; }
.legal-intro { font-size: 1.05rem; line-height: 1.85; color: var(--text); margin-bottom: 2.2rem; }
.legal-sec { margin-bottom: 2.1rem; }
.legal-sec h2 { font-size: 1.22rem; color: var(--primary-dark); margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.legal-sec p { color: var(--text); line-height: 1.85; margin-bottom: 0.8rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; padding: 1.5rem; }
  .pd-cols { grid-template-columns: minmax(0, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .cat-grid, .cat-grid.cols-3, .cat-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 3.4rem 0; }
  .hero { min-height: min(88vh, 640px); }
}
@media (max-width: 860px) {
  .thickness-grid { grid-template-columns: minmax(0, 1fr); }
  .facility-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-row-3 { grid-template-columns: minmax(0, 1fr); }
  .inquiry-form { padding: 1.2rem 1.1rem; }
  .form-footer { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .form-footer .form-submit { width: 100%; }
  .cat-grid, .cat-grid.cols-3, .cat-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .cat-card--wide { grid-column: span 1; }
  .cat-card--wide .cat-img { aspect-ratio: 1.06 / 1; }
  .apps-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 4.6rem 0 2.6rem; }
  .hero-certs { letter-spacing: 0.07em; gap: 0.4rem 1.4rem; font-size: 0.72rem; }
  .hero-certs span:not(:last-child)::after { margin-left: 1.4rem; }
  .hero-actions .btn { width: 100%; }
  .nf-actions .btn { width: 100%; }
  .cat-more-arrow { margin: 0 0 0.4rem; }
  .thumb { flex: 0 0 70px; width: 70px; height: 52px; aspect-ratio: auto; }
  .thumb-arrow { width: 24px; height: 24px; }
  .pd-info h1 { padding-bottom: 0.75rem; }
  .pd-cols .pd-col .check-list { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Detail images
   -------------------------------------------------------------------------- */
.detail-images { margin-top: 2rem; text-align: center; }
.detail-images img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* Section-scoped detail images (photos attached to a specific content block).
   UNIFORM GRID: every photo sits in a fixed 4:3 frame (inline smart-stretch
   style per image — same rule family as product cards), so all photos in a
   section share one size and rows align perfectly. Panorama strips (>2.2:1)
   span the full row at their own proportions. */
.pd-sec-imgs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.pd-sec-imgs figure {
  margin: 0;
  min-width: 0;
  aspect-ratio: var(--sec-tile, 4 / 3); /* set per-grid from the set's median ratio */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pd-sec-imgs img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  min-width: 0;
}
/* wide panorama strips span the full row */
.pd-sec-imgs figure.pano { grid-column: 1 / -1; }
/* compact variant (features / applications / facility cards) */
.pd-sec-imgs.sm {
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 0.7rem;
  margin-top: 1.3rem;
}
/* per-product forced column count (build.js SEC_GRID_COLS_OVERRIDE): makes
   even rows (e.g. 8 photos -> 4 x 2) flush with the container side margins */
.pd-sec-imgs.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-sec-imgs.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pd-sec-imgs.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-sec-imgs.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* a single photo reads better centered and width-capped than lost in a grid
   (declared after .sm so it also applies to the sm+solo combination) */
.pd-sec-imgs.solo { grid-template-columns: minmax(0, 620px); justify-content: center; }
.pd-sec-imgs.sm.solo { grid-template-columns: minmax(0, 400px); }
/* wide solo (SEC_WIDE_OVERRIDE): a single collage/montage spans the FULL
   container width at its own natural ratio — no crop, no distortion */
.pd-sec-imgs.sm.solo.wide { grid-template-columns: minmax(0, 100%); }
.pd-sec-imgs.solo.wide { grid-template-columns: minmax(0, 100%); }
.pd-sec-imgs.solo.tall.wide { grid-template-columns: minmax(0, 100%); }
/* inside facility cards a solo photo fills the media area next to the text */
.facility-card .pd-sec-imgs.sm.solo { grid-template-columns: minmax(0, 100%); }
/* inside facility cards, scene photos fill the frame by cover — a mild crop
   beats white bands on machinery-line shots; panorama strips keep fill */
.pd-sec-imgs.facility-media figure:not(.pano) img { object-fit: cover; }
/* per-product fill-cover (SEC_FILL_COVER_OVERRIDE): every photo fills its
   frame by cover — no side bands on mixed portrait/landscape sets */
.pd-sec-imgs.fill-cover figure:not(.pano) img { object-fit: cover; }
/* very tall solo photos read better in a narrower column */
.pd-sec-imgs.solo.tall { grid-template-columns: minmax(0, 460px); }
.facility-card .pd-sec-imgs.sm.solo.tall { grid-template-columns: minmax(0, 400px); }
/* fullwidth banner: single photo spans the full container width with cover crop */
.pd-sec-imgs.fullwidth { grid-template-columns: minmax(0, 100%); }
.pd-sec-imgs.fullwidth figure { aspect-ratio: 1160 / 520; }
.pd-sec-imgs.fullwidth img { object-fit: cover; object-position: center; }
/* Stained-glass series composite sheets: one sheet per row, natural ratio
   and natural pixel width, LEFT-aligned with the container (no tile grid,
   no crop) so the product codes and labels inside each sheet stay legible.
   Gap/margin-top match .pd-sec-imgs; figure chrome matches section figures. */
.pd-comp-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-top: 2rem; }
.pd-comp-stack .pd-comp-fig {
  width: 100%;
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pd-comp-stack .pd-comp-fig img { display: block; }
/* full-width stack variant (SEC_STACK_FULL_OVERRIDE): every row spans the
   container, upscaled from native width — used for text-card strips */
.pd-comp-stack.pd-comp-full .pd-comp-fig { max-width: none; width: 100%; }
/* compact one-row strip inside a comp stack (silver-mirror shape diagrams):
   uniform grid cells, diagrams keep their ratio via aspect-ratio + contain */
.pd-comp-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; width: 100%; }
.pd-comp-row .pd-comp-fig { max-width: none; }
@media (max-width: 900px) { .pd-comp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pd-comp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Shared "Application Area" banner under the Applications cards on every
   product detail page (single shared asset, full container width). */
.pd-app-area { margin: 2rem 0 0; }
.pd-app-area img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
/* flush single row (solution-overview photos): equal-width cells sharing one
   aspect-ratio (--row-ar, set inline by build.js from the set's mean ratio)
   -> identical heights, aligned top and bottom, edges flush with the
   container; images fill their cell so the row has no gaps or white bands.
   --ar (each photo's own ratio) is only used once the row stacks on mobile,
   where cells revert to natural proportions and therefore need no stretch. */
.pd-sec-imgs.row-fill {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}
.pd-sec-imgs.row-fill figure {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: var(--row-ar, 1.6);
}
.pd-sec-imgs.row-fill picture {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 640px) {
  .pd-sec-imgs.row-fill { flex-direction: column; }
  /* flex-basis:0 would collapse the height in a column flex container, so
     cells switch to auto-basis and take their height from --ar instead */
  .pd-sec-imgs.row-fill figure { flex: 0 0 auto; aspect-ratio: var(--ar, 1.6); }
}
@media (max-width: 640px) {
  .pd-sec-imgs { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); margin-top: 1.4rem; }
  .pd-sec-imgs.sm { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); }
  .pd-sec-imgs.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-sec-imgs.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-sec-imgs.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-sec-imgs.solo { grid-template-columns: minmax(0, 100%); }
  .pd-sec-imgs.solo.tall { grid-template-columns: minmax(0, 100%); }
  .facility-card .pd-sec-imgs.sm.solo.tall { grid-template-columns: minmax(0, 100%); }
  .pd-sec-imgs.fullwidth figure { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   Optical parameter table
   -------------------------------------------------------------------------- */
.optical-table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.optical-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-inline: auto; }
.optical-table thead th {
  background: #0b4175;
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 0.7rem;
  white-space: nowrap;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.optical-table thead th:last-child { border-right: none; }
.optical-table tbody td {
  padding: 0.6rem 0.55rem;
  text-align: center;
  border-right: 1px solid #e9eef5;
  border-bottom: 1px solid #e9eef5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.optical-table tbody td:first-child { font-weight: 600; background: #f4f7fb; }
.optical-table tbody td:last-child { border-right: none; }
.optical-table tbody tr:nth-child(even) td { background: #f9fbfd; }
.optical-table tbody tr:nth-child(even) td:first-child { background: #e9eef5; }

/* --------------------------------------------------------------------------
   RTL
   -------------------------------------------------------------------------- */
[dir="rtl"] .check-list li::before { content: "✓"; }
[dir="rtl"] .pc-more, [dir="rtl"] .ac-more { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .breadcrumb, [dir="rtl"] .hero-actions { flex-direction: row; }
[dir="rtl"] body { letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Product FAQ (details/summary accordion)
   -------------------------------------------------------------------------- */
.pd-faq-section .faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 0.95rem 1.25rem;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  flex: none;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--primary-light); }
.faq-item[open] summary { color: var(--primary-dark); }
.faq-item p {
  padding: 0 1.25rem 1rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  text-align: justify;
}
[dir="rtl"] .faq-item summary { flex-direction: row-reverse; }

/* --------------------------------------------------------------------------
   Floating chat dock (WhatsApp / Telegram / WeChat) — LEFT side, mid-low
   -------------------------------------------------------------------------- */
.chat-dock {
  position: fixed;
  right: 1.4rem;
  bottom: 19vh;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.chat-mini {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 14px rgba(11, 35, 64, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.chat-mini:hover { transform: translateY(-2px) scale(1.05); }
.chat-whatsapp { background: #25d366; }
.chat-whatsapp:hover { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5); }
.chat-telegram { background: #229ed9; }
.chat-telegram:hover { box-shadow: 0 8px 20px rgba(34, 158, 217, 0.5); }
.chat-wx { background: #07c160; }
.chat-wx:hover { box-shadow: 0 8px 20px rgba(7, 193, 96, 0.5); }
.chat-line { background: #06c755; }
.chat-viber { background: #7360f2; }
.chat-messenger { background: #1877f2; }
.chat-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #0b2340;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.chat-mini:hover .chat-tip, .chat-mini:focus-visible .chat-tip { opacity: 1; visibility: visible; }
/* WeChat popup */
.wx-pop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 35, 64, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wx-pop[hidden] { display: none; }
.wx-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  max-width: min(320px, 92vw);
  text-align: center;
  box-shadow: 0 18px 50px rgba(11, 35, 64, 0.35);
}
.wx-close {
  position: absolute;
  top: 6px; inset-inline-end: 10px;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  color: #5b6b7f; cursor: pointer; padding: 0.2rem;
}
.wx-qr svg, .wx-qr img { display: block; border-radius: 8px; }
.wx-name { font-weight: 700; font-size: 1.05rem; color: #0b2340; }
.wx-id {
  border: 1px dashed var(--line, #ccc);
  background: #f6f9fc;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
  color: #0b2340;
  cursor: pointer;
  font-family: var(--font-mono, monospace);
}
.wx-id.copied { border-color: #25d366; background: #f0fbf5; }
.wx-tip { margin: 0; font-size: 0.8rem; color: var(--muted, #5b6b7f); }
/* Hero CTA row: WhatsApp deep-link on the LEFT, Request a Quote on the RIGHT */
.hero-cta-row { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.hero-cta-row .btn { flex: 1 1 0; min-width: 0; padding-inline: 0.8rem; margin-top: 0; }
.pd-quick + .hero-cta-row { margin-top: 0.75rem; }
@media (max-width: 640px) {
  .hero-cta-row { gap: 0.45rem; }
  .hero-cta-row .btn { font-size: 0.85rem; padding: 0.6rem 0.5rem; }
}
/* Hero WhatsApp deep-link button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  border-radius: 8px;
  padding: 0.62rem 1.05rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-wa:hover { transform: translateY(-1px); filter: brightness(0.94); color: #fff; box-shadow: 0 5px 14px rgba(37, 211, 102, 0.45); }
.btn-wa svg { flex: none; }
/* Inquiry form "prefer chat?" row */
.inq-chat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
}
.inq-chat > span { color: var(--muted, #5b6b7f); }
.inq-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.inq-chat-whatsapp { background: #25d366; }
.inq-chat-telegram { background: #229ed9; }
.inq-chat-wx { background: #07c160; }
.inq-chat-line { background: #06c755; }
.inq-chat-viber { background: #7360f2; }
.inq-chat-messenger { background: #1877f2; }
.inq-chat-link:hover { filter: brightness(0.92); }
@media (max-width: 640px) {
  .chat-dock { right: 0.9rem; gap: 0.45rem; }
  .chat-mini { width: 40px; height: 40px; }
  .chat-mini svg { width: 19px; height: 19px; }
  .chat-tip { display: none; }
}

/* --------------------------------------------------------------------------
   Site search (header toggle + overlay)
   -------------------------------------------------------------------------- */
.search-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex: none;
}
.search-toggle svg { width: 19px; height: 19px; }
.search-toggle:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 22, 38, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 9vh 1rem 2rem;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(640px, 100%);
  background: var(--bg);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.2rem 1.2rem;
  position: relative;
  max-height: 76vh;
  display: flex;
  flex-direction: column;
}
.search-close {
  position: absolute;
  top: 0.7rem;
  inset-inline-end: 0.8rem;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.search-close:hover { color: var(--text); background: var(--bg-alt); }
.search-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  margin-bottom: 0.9rem;
}
.search-box svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.search-results { overflow-y: auto; }
.search-hint { color: var(--muted); text-align: center; padding: 1.2rem 0.5rem; font-size: 0.95rem; }
.search-results-list { display: grid; gap: 0.25rem; padding: 0.25rem 0.35rem 0.5rem; }
/* v2: grouped results with thumbnails + keyboard-active state */
.search-group {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); margin: 0.55rem 0.55rem 0.15rem;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  transition: border-color 0.15s, background 0.15s;
}
.search-result:hover, .search-result.active { border-color: #b7d3ef; background: var(--primary-light); }
.sr-thumb {
  width: 46px; height: 46px; border-radius: 9px; object-fit: cover;
  flex: 0 0 auto; background: #eef4fa; border: 1px solid #e3edf7; display: block;
}
span.sr-letter {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem; color: var(--primary);
}
.sr-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 0.05rem; }
.sr-title { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-desc { font-size: 0.82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-cat {
  flex: 0 0 auto; font-size: 0.72rem; color: var(--muted);
  border: 1px solid var(--border); padding: 0.12rem 0.55rem; border-radius: 999px;
  white-space: nowrap;
}
.sr-meta { display: none; }
body.search-open { overflow: hidden; }

/* product page same-series quick switcher */
.pd-switcher {
  margin: 0 0 1.4rem; padding: 0.85rem 1rem 0.6rem;
  background: #fff; border: 1px solid #e3edf7; border-radius: 14px;
}
.pdsw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.65rem; }
.pdsw-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .pdsw-label { letter-spacing: 0; }
.pdsw-all { font-size: 0.84rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.pdsw-track {
  display: flex; gap: 0.55rem; overflow-x: auto; padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.pdsw-item { flex: 0 0 auto; width: 98px; text-align: center; text-decoration: none; }
.pdsw-img {
  display: block; width: 98px; height: 68px; border-radius: 9px; overflow: hidden;
  border: 2px solid #e3edf7; background: #f2f6fb;
  transition: border-color 0.15s;
}
.pdsw-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdsw-item:hover .pdsw-img { border-color: #b7d3ef; }
.pdsw-name {
  display: block; margin-top: 0.32rem; font-size: 0.73rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pdsw-item.current .pdsw-img { border-color: var(--primary); }
.pdsw-item.current .pdsw-name { color: var(--primary); font-weight: 700; }

/* ==========================================================================
   Technical spec table (product pages), Capabilities, Selection guide,
   Sample request pages  (2026-09-01, bearglass-inspired items 1/2/3/5)
   ========================================================================== */

/* --- Technical specification table on product detail pages --- */
.pd-techspec .spec-table { margin-bottom: 0; }
.spec-table-plain th { width: 240px; }
@media (max-width: 640px) {
  .spec-table-plain th, .spec-table-plain td { display: block; width: 100%; }
  .spec-table-plain th { border-bottom: 0; padding-bottom: 0.15rem; }
  .spec-table-plain td { padding-top: 0; }
  .spec-table-plain tr:last-child td { border-bottom: 0; }
}

/* --- Shared: horizontal scroll wrapper for wide tables --- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Selection guide comparison table --- */
.cmp-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 0.85rem 1rem; text-align: start; border: 1px solid var(--border); font-size: 0.93rem; vertical-align: top; }
.cmp-table thead th { background: var(--primary); color: #fff; font-weight: 600; white-space: nowrap; }
.cmp-table tbody th { background: var(--bg-alt); color: var(--primary-dark); font-weight: 600; width: 20%; }
.cmp-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.cmp-table td { color: var(--text); }

/* --- Selection tips cards --- */
.tip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.tip-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.3rem; box-shadow: var(--shadow); }
.tip-card h3 { font-size: 1.02rem; margin-bottom: 0.45rem; color: var(--primary-dark); }
.tip-card p { color: var(--muted); font-size: 0.93rem; }

/* --- Selection page CTA --- */
.sel-cta { text-align: center; margin: 2.4rem 0 0.5rem; }
.sel-cta p { color: var(--text); font-weight: 600; margin-bottom: 1rem; }

/* --- Capabilities cards --- */
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.cap-card { display: flex; align-items: stretch; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cap-media { flex: 0 0 38%; min-width: 0; }
.cap-media img { width: 100%; height: 100%; object-fit: cover; }
.cap-body { flex: 1 1 auto; min-width: 0; padding: 1.05rem 1.2rem; }
.cap-body h3 { font-size: 1.06rem; margin-bottom: 0.35rem; color: var(--primary-dark); }
.cap-body > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.cap-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem 0.9rem; border-top: 1px dashed var(--border); padding-top: 0.7rem; }
.cap-specs div { min-width: 0; }
.cap-specs dt { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cap-specs dd { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* --- Sample request steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; counter-reset: step; }
.step-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.2rem 1.05rem 1.2rem; box-shadow: var(--shadow); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; }
.step-card h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--primary-dark); }
.step-card p { color: var(--muted); font-size: 0.9rem; }

/* --- Sample form column --- */
.sample-form-wrap { max-width: 860px; }
.sample-form-wrap .inquiry-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }

/* --- Cross-page internal-linking chips --- */
.page-crosslinks { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 2.2rem; }
.crosslink-chip { white-space: nowrap; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card { flex-direction: column; }
  .cap-media { flex: none; aspect-ratio: 16 / 7; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .cap-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Product Description: text left + image right, equal width/height --- */
.pd-intro-split { display: flex; align-items: stretch; gap: 1.5rem; }
.pd-intro-split .pd-intro-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.pd-intro-split .pd-intro-text .pd-para { margin: 0; }
.pd-intro-split .pd-intro-fig { flex: 1 1 0; min-width: 0; margin: 0; }
.pd-intro-split .pd-intro-fig img { display: block; width: 100%; height: auto; }
@media (min-width: 801px) {
  /* 2026-09-06 rework: portrait intro images previously centered inside a 50%
     column left ~80px invisible side margins each (drawn 407px in a 568px box),
     reading as a shrunken, off-balance image. Now the figure column is sized to
     the image ratio (38%) so the photo fills its column edge to edge, framed as
     a card on --bg-alt; row height follows the image instead of a fixed clamp. */
  .pd-intro-split { height: auto; align-items: stretch; }
  /* text is naturally shorter than the tall portrait image: forcing top+bottom
     flush (space-between) blew the paragraph gaps up to ~96px. Center the
     compact text block with a comfortable fixed rhythm instead. */
  .pd-intro-split .pd-intro-text { justify-content: center; gap: 1.6rem; }
  .pd-intro-split .pd-intro-fig {
    flex: 0 0 37%; max-width: 37%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 14px; padding: 14px; box-shadow: var(--shadow);
  }
  /* default: fill the column width at natural ratio (no distortion) */
  .pd-intro-split .pd-intro-fig img { width: 100%; height: auto; display: block; }
  /* user-approved horizontal stretch (~1.2x) for the tinted-pattern color chart */
  .pd-intro-split .pd-intro-fig.pd-intro-stretch img { height: 432px; object-fit: fill; }
}
@media (max-width: 800px) {
  .pd-intro-split { flex-direction: column; }
}


/* ---------------------------------------------------------------------------
   Blog — editorial layout
--------------------------------------------------------------------------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #0e7490, #0891b2); z-index: 999; transition: width .1s linear; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 701px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1021px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { display: flex; flex-direction: column; background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .12); }
.blog-card .bc-img { aspect-ratio: 16 / 9; overflow: hidden; background: #f3f4f6; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .bc-img img { transform: scale(1.04); }
.blog-card .bc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bc-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted, #6b7280); }
.bc-cat { display: inline-block; padding: 2px 10px; border-radius: 999px; background: rgba(14, 116, 144, .1); color: #0e7490; font-weight: 600; letter-spacing: .02em; }
.bc-dot { opacity: .6; }
.blog-card h3 { font-size: 1.08rem; line-height: 1.4; margin: 0; }
.blog-card p { font-size: .9rem; color: var(--muted, #6b7280); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-more { margin-top: auto; font-weight: 600; font-size: .88rem; color: #0e7490; }

/* Hero */
.post-hero { max-width: 900px; text-align: left; padding-top: 40px; }
.post-crumbs { font-size: .82rem; color: var(--muted, #6b7280); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.post-crumbs a { color: #0e7490; text-decoration: none; }
.post-crumbs a:hover { text-decoration: underline; }
.post-crumbs em { font-style: normal; color: var(--body, #374151); }
.post-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.22; margin: 14px 0 14px; font-weight: 700; letter-spacing: -.01em; }
.post-hero .post-lede { font-size: 1.12rem; color: var(--muted, #6b7280); margin: 0; max-width: 760px; line-height: 1.65; }
.post-hero .bc-meta { margin-bottom: 4px; }
.post-fig { max-width: 1100px; margin-top: 30px; }
.post-fig img { width: 100%; border-radius: 16px; display: block; box-shadow: 0 12px 32px rgba(15, 23, 42, .12); aspect-ratio: 21 / 9; object-fit: cover; }

/* In-body article figures: single (natural ratio) + 2-up grid (uniform 4:3) */
.post-figure { margin: 34px 0; }
.post-figure img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 10px 28px rgba(15, 23, 42, .10); }
.post-figure figcaption, .post-figure-grid figcaption { margin-top: 10px; font-size: .84rem; line-height: 1.45; color: var(--muted, #64748b); text-align: center; }
.post-figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 34px 0; }
.post-figure-grid figure { margin: 0; }
.post-figure-grid img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 10px 28px rgba(15, 23, 42, .10); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .post-figure-grid { grid-template-columns: minmax(0, 1fr); } }

/* Two-column: sticky TOC + article */
.post-layout { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; padding-top: 44px; align-items: start; }
@media (min-width: 1101px) { .post-layout { grid-template-columns: 230px minmax(0, 1fr); } }
.post-toc { display: none; }
@media (min-width: 1101px) {
  .post-toc { display: block; position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px 18px 14px; border-left: 3px solid rgba(14, 116, 144, .25); background: rgba(14, 116, 144, .04); border-radius: 0 12px 12px 0; }
}
.toc-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #0e7490; margin-bottom: 10px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.post-toc li { margin: 0 0 2px; counter-increment: toc; }
.post-toc li a { display: block; font-size: .84rem; line-height: 1.45; color: var(--body, #374151); text-decoration: none; padding: 5px 8px; border-radius: 8px; }
.post-toc li a::before { content: counter(toc) ". "; color: #0e7490; font-weight: 600; font-size: .78rem; }
.post-toc li a:hover { background: rgba(14, 116, 144, .1); color: #0e7490; }

/* Article typography */
.post-main { max-width: 760px; min-width: 0; }
.post-sections { counter-reset: sec; }
.post-sections > h2 { counter-increment: sec; font-size: clamp(1.32rem, 2.5vw, 1.62rem); margin: 2.1em 0 .75em; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; padding-top: .55em; border-top: 1px solid var(--line, #e5e7eb); display: flex; align-items: baseline; gap: 12px; scroll-margin-top: 96px; }
.post-sections > h2::before { content: counter(sec, decimal-leading-zero); font-size: .82em; font-weight: 800; color: #0e7490; opacity: .75; font-variant-numeric: tabular-nums; }
.post-main > h2 { font-size: clamp(1.32rem, 2.5vw, 1.62rem); margin: 2.1em 0 .75em; font-weight: 700; line-height: 1.3; scroll-margin-top: 96px; }
.post-main h3 { font-size: 1.14rem; margin: 1.7em 0 .5em; font-weight: 600; }
.post-main p { line-height: 1.8; color: var(--body, #374151); margin: 0 0 1.05em; }
.post-main .post-lede { line-height: 1.7; }
.post-ul { padding-left: 1.25em; margin: 0 0 1.3em; color: var(--body, #374151); line-height: 1.75; }
.post-ul li { margin-bottom: .5em; padding-left: .2em; }
.post-ul li::marker { color: #0e7490; }
.post-ol { padding-left: 1.5em; margin: 0 0 1.3em; color: var(--body, #374151); line-height: 1.75; counter-reset: none; }
.post-ol li { margin-bottom: .55em; padding-left: .25em; }
.post-ol li::marker { color: #0e7490; font-weight: 700; }

/* Key takeaways */
.post-takeaways { margin: 0 0 2em; padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, rgba(14, 116, 144, .09), rgba(14, 116, 144, .03)); border: 1px solid rgba(14, 116, 144, .28); }
.post-takeaways .pt-head { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #0e7490; margin-bottom: 10px; }
.post-takeaways ul { margin: 0; padding-left: 1.2em; line-height: 1.65; color: var(--body, #374151); }
.post-takeaways li { margin-bottom: .45em; }
.post-takeaways li::marker { color: #0e7490; }

/* Callouts & quotes */
.post-callout { display: flex; gap: 14px; margin: 1.6em 0; padding: 16px 18px; border-radius: 12px; line-height: 1.65; }
.post-callout .pc-icon { flex: 0 0 auto; font-size: 1.15rem; line-height: 1.4; }
.post-callout .pc-body p { margin: 0 0 .4em; }
.post-callout .pc-body p:last-child { margin-bottom: 0; }
.pc-info { background: rgba(59, 130, 246, .07); border: 1px solid rgba(59, 130, 246, .25); }
.pc-tip { background: rgba(16, 185, 129, .07); border: 1px solid rgba(16, 185, 129, .3); }
.pc-warn { background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35); }
.post-quote { margin: 1.8em 0; padding: 6px 0 6px 22px; border-left: 4px solid #0e7490; }
.post-quote p { font-size: 1.12rem; font-weight: 500; color: var(--head, #111827); line-height: 1.6; margin: 0 0 .35em; }
.post-quote footer { font-size: .85rem; color: var(--muted, #6b7280); }

/* Tables */
.post-table { margin: 0 0 1.6em; min-width: 0; border-radius: 12px; }
.post-table th { background: rgba(14, 116, 144, .08); font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; color: #155e75; }
.post-table td { font-size: .92rem; }
.post-table tbody tr:nth-child(even) { background: rgba(15, 23, 42, .025); }

/* FAQ */
.post-faq { margin-bottom: 1.6em; }
.post-faq .faq-item { border: 1px solid var(--line, #e5e7eb); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: var(--card, #fff); }
.post-faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; position: relative; list-style: none; line-height: 1.5; }
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: #0e7490; transition: transform .2s ease; }
.post-faq details[open] summary::after { content: "–"; }
.post-faq details[open] summary { color: #0e7490; }
.post-faq .faq-item p { padding: 0 18px 16px; margin: 0; line-height: 1.7; }

/* CTA */
.post-cta { margin-top: 2.6em; padding: 28px; border-radius: 16px; background: linear-gradient(135deg, rgba(14, 116, 144, .1), rgba(14, 116, 144, .03)); border: 1px solid rgba(14, 116, 144, .3); }
.post-cta h2 { margin-top: 0; }
.post-cta .btn { margin-top: 8px; }

/* Related */
.post-related { padding-top: 10px; }
/* Mobile: single column. NOTE: repeat(auto-fill, minmax(0, 1fr)) degenerates
   into dozens of 1px tracks (min 0 lets auto-fill pack infinitely), so the
   explicit minmax(0, 1fr) form is required here. */
.post-related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 701px) { .post-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-related-grid .product-card, .post-related-grid .app-card { margin: 0; }

/* ---------------------------------------------------------------------------
   Blog index — magazine layout (featured band + numbered editorial list)
--------------------------------------------------------------------------- */
.bidx-head { padding: 54px 0 6px; }
.bidx-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #0e7490; margin-bottom: 12px; }
.bidx-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.15; font-weight: 800; margin: 0; }
.bidx-sub { color: var(--muted, #55677a); max-width: 700px; margin: 14px 0 0; font-size: 1.05rem; line-height: 1.65; }

.bidx-feature { background: linear-gradient(118deg, #0b2e44 0%, #0e4a63 55%, #0e7490 135%); color: #fff; padding: 48px 0; margin-top: 30px; }
.bidx-feature-link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 42px; align-items: center; text-decoration: none; color: inherit; }
.bidx-feature-media { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .38); }
.bidx-feature-media img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.bidx-feature-link:hover .bidx-feature-media img { transform: scale(1.045); }
.bidx-flag { position: absolute; top: 14px; left: 14px; background: var(--accent, #f0a500); color: #17263a; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.bidx-feature-body { display: block; }
.bidx-feature-body .bc-meta { color: rgba(255, 255, 255, .78); margin-bottom: 14px; }
.bidx-feature-body .bc-cat { background: rgba(255, 255, 255, .16); color: #fff; }
.bidx-feature-title { display: block; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.22; letter-spacing: -.015em; font-weight: 800; margin-bottom: 12px; }
.bidx-feature-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255, 255, 255, .82); line-height: 1.65; margin-bottom: 20px; }
.bidx-read { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; border-bottom: 2px solid rgba(255, 255, 255, .45); padding-bottom: 3px; }
.bidx-arrow { transition: transform .25s ease; }
.bidx-feature-link:hover .bidx-arrow { transform: translateX(6px); }

.bidx-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 46px; align-items: start; }
@media (min-width: 1021px) { .bidx-grid { grid-template-columns: minmax(0, 1fr) 300px; } }

.bidx-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 8px; }
.bidx-list-head h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.bidx-count { color: var(--muted, #55677a); font-weight: 600; font-size: .9em; }
.bidx-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.bidx-topic { border: 1px solid var(--border, #e2ebf3); background: #fff; color: var(--muted, #55677a); font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: all .2s ease; }
.bidx-topic:hover { border-color: #0e7490; color: #0e7490; }
.bidx-topic.on { background: #0e7490; border-color: #0e7490; color: #fff; }
.bidx-topic .t-n { opacity: .65; font-weight: 500; margin-left: 3px; }

.bidx-list { display: block; }
.bidx-row { display: grid; grid-template-columns: 44px 128px minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--border, #e2ebf3); text-decoration: none; color: inherit; transition: background .2s ease; }
.bidx-row:first-child { border-top: 1px solid var(--border, #e2ebf3); }
.bidx-row.no-num { grid-template-columns: 128px minmax(0, 1fr) 28px; }
.bidx-row:hover { background: rgba(14, 116, 144, .05); }
.br-num { font-size: 1.3rem; font-weight: 800; color: #0e7490; opacity: .32; font-variant-numeric: tabular-nums; transition: opacity .2s ease; }
.bidx-row:hover .br-num { opacity: 1; }
.br-thumb { display: block; width: 128px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #eef4f9; }
.br-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bidx-row:hover .br-thumb img { transform: scale(1.07); }
.br-body { display: block; min-width: 0; }
.br-body .bc-meta { margin-bottom: 7px; }
.br-title { display: block; font-size: 1.06rem; font-weight: 700; line-height: 1.35; margin-bottom: 4px; transition: color .2s ease; }
.bidx-row:hover .br-title { color: #0e7490; }
.br-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; color: var(--muted, #55677a); }
.br-arrow { color: #0e7490; opacity: 0; transform: translateX(-6px); transition: all .25s ease; font-size: 1.15rem; }
.bidx-row:hover .br-arrow { opacity: 1; transform: none; }
.bidx-empty { color: var(--muted, #55677a); padding: 28px 8px; }

/* Sidebar */
.bidx-side { display: grid; gap: 22px; align-content: start; }
.bs-box { border: 1px solid var(--border, #e2ebf3); border-radius: 14px; padding: 20px; background: #fff; }
.bs-title { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #0e7490; margin-bottom: 14px; }
.bidx-pick { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 9px 0; border-bottom: 1px dashed var(--border, #e2ebf3); }
.bidx-pick:last-child { border-bottom: 0; padding-bottom: 0; }
.bidx-pick img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.bidx-pick span { font-size: .87rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bidx-pick:hover span { color: #0e7490; }
.bidx-cta { background: linear-gradient(140deg, #e8f1fb, #f2fbfd); border-color: rgba(14, 116, 144, .28); }
.bidx-cta p { font-size: .9rem; color: var(--muted, #55677a); margin: 0 0 14px; line-height: 1.6; }
.bidx-cta .btn { display: block; width: 100%; text-align: center; }
.bidx-sidelink { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--text, #17263a); text-decoration: none; padding: 8px 0; border-bottom: 1px dashed var(--border, #e2ebf3); }
.bidx-sidelink:last-child { border-bottom: 0; padding-bottom: 0; }
.bidx-sidelink span { color: #0e7490; transition: transform .2s ease; }
.bidx-sidelink:hover { color: #0e7490; }
.bidx-sidelink:hover span { transform: translateX(4px); }

@media (max-width: 700px) {
  .bidx-feature { padding: 34px 0; }
  .bidx-feature-link { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bidx-feature-excerpt { -webkit-line-clamp: 2; }
  .bidx-row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 18px 4px; }
  .br-num, .br-arrow { display: none; }
  .br-thumb { width: 88px; }
  .bidx-head { padding-top: 40px; }
}

/* --------------------------------------------------------------------------
   Back to top button + mobile sticky quote bar (conversion standard for B2B)
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed; z-index: 90;
  bottom: 1.4rem; right: 5.7rem;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--primary); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -8px rgba(10, 50, 100, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s, color 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.to-top svg { width: 18px; height: 18px; }
[dir="rtl"] .to-top { right: auto; left: 5.7rem; }
.mobile-cta {
  position: fixed; z-index: 95; bottom: 0; inset-inline: 0;
  display: none; gap: 8px;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -14px rgba(10, 50, 100, 0.35);
  padding: 0.55rem 4vw calc(0.55rem + env(safe-area-inset-bottom, 0px));
}
.mcta-btn {
  flex: 1; text-align: center; padding: 0.72rem 0.5rem; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: rgba(14, 90, 167, 0.08); color: var(--primary);
}
.mcta-btn.mcta-primary { background: var(--primary); color: #fff; }
.mcta-btn:active { transform: scale(0.97); }
@media (max-width: 960px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 4.6rem; }
  .chat-dock { right: 0.9rem; bottom: calc(4.7rem + env(safe-area-inset-bottom, 0px) + 0.6rem); }
  .to-top { bottom: calc(4.7rem + 2px + env(safe-area-inset-bottom, 0px)); right: calc(1rem + 3.7rem); }
  [dir="rtl"] .to-top { right: auto; left: calc(1rem + 3.7rem); }
}
@media (max-width: 640px) {
  .breadcrumb { font-size: 0.86rem; gap: 0.42rem; }
}

/* ==========================================================================
   Quick nav (detail pages): floating prev/next arrows + progress counter
   + search box keyboard hint. RTL-aware via inset-inline and dir swap in JS.
   ========================================================================== */
.pd-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  opacity: 0.6;
  box-shadow: var(--shadow);
  transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pd-nav-arrow:hover { opacity: 1; color: var(--primary); border-color: var(--primary); }
.pd-nav-arrow[disabled] { opacity: 0.15; pointer-events: none; }
.pd-nav-prev { inset-inline-start: 12px; }
.pd-nav-next { inset-inline-end: 12px; }
body.search-open .pd-nav-arrow { opacity: 0; pointer-events: none; }
/* hide where side gutters are too narrow to fit the 42px circles */
@media (max-width: 1279px), (max-height: 600px) {
  .pd-nav-arrow { display: none; }
}
.pdsw-progress {
  margin-inline-start: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.search-kbd {
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  background: var(--bg-alt);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
@media (hover: none) {
  .search-kbd { display: none; }
}

/* ==========================================================================
   2026-09-08 nav redesign — dual-track mega, header search bar, left rail,
   Glass Finder wizard
   ========================================================================== */

/* Persistent header search bar (desktop) — opens the existing overlay panel */
.header-search {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-inline-start: 0.9rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f4f8fc;
  color: var(--muted);
  font-size: 0.88rem;
  min-width: 160px;
  max-width: 250px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.header-search:hover { border-color: var(--primary); }
.header-search svg { width: 16px; height: 16px; flex: none; }
.header-search .hs-ph { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-search .hs-kbd {
  margin-inline-start: auto;
  font-size: 0.68rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.05rem 0.4rem;
  background: #fff;
  color: var(--muted);
}
@media (min-width: 1281px) {
  .header-search { display: flex; }
  .search-toggle { display: none; }
}
@media (max-width: 1280px) { .header-search { display: none; } }
/* 1181-1280 带：容器比 1160 窄，导航再收一档防溢出 */
@media (max-width: 1280px) and (min-width: 1181px) {
  .header-inner { gap: 0.6rem; }
  .main-nav > a, .nav-group > a { padding-inline: 0.62rem; }
}
@media (hover: none) { .header-search .hs-kbd { display: none; } }

/* Dual-track products mega: category track + application track + finder card
   (2026-09-08 polish: image-driven rows/cards, no boxy borders — the texture
   international B2B panels have) */
.nav-mega-products .nav-mega-inner { display: block; }
.mm-dual { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.4rem; padding: 0.4rem 0.2rem 0.9rem; }
.mm-track { display: flex; flex-direction: column; min-width: 0; }
.mm-track-h {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.55rem;
}
.mm-track-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
/* shared thumbnail chip — sized per track below */
.mm-thumb { flex: none; display: block; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #f2f7fc, #e8f0f9); box-shadow: inset 0 0 0 1px rgba(14, 90, 167, 0.08); }
.mm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.mm-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* category track: two columns of photo rows */
.mm-catlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 0.9rem; }
.mm-catlist a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.42rem 0.6rem; border-radius: 10px;
  color: var(--text); font-weight: 500; font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.mm-catlist .mm-thumb { width: 52px; height: 40px; }
.mm-catlist a:hover { background: var(--primary-light); color: var(--primary); }
.mm-catlist a:hover .mm-thumb img { transform: scale(1.06); }
.mm-catlist a b { font-size: 0.76rem; font-weight: 600; color: var(--muted); }

/* application track: image mini-cards (photo on top, name below) */
.mm-applist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; align-content: start; }
.mm-applist a {
  display: flex; flex-direction: column;
  border-radius: 10px; overflow: hidden;
  background: #f6f9fc; color: var(--text);
  font-size: 0.82rem; font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mm-applist .mm-thumb { width: 100%; height: 58px; border-radius: 0; box-shadow: none; }
.mm-applist .mm-row-name { flex: none; padding: 0.42rem 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 0.55rem; }
.mm-applist .mm-row-txt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-applist .mm-row-name b { flex: none; font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.mm-applist a:hover { background: var(--primary-light); color: var(--primary); box-shadow: 0 8px 16px -10px rgba(15, 60, 120, 0.4); transform: translateY(-1px); }
.mm-applist a:hover .mm-thumb img { transform: scale(1.05); }

/* finder card: gradient + sparkle icon + gliding arrow (+ light sheen sweep);
   sits pinned to the bottom of the LEFT track so both tracks end on one line */
.mm-finder {
  display: flex; align-items: center; gap: 0.7rem;
  margin-top: auto;
  padding: 0.8rem 0.95rem; border-radius: 12px;
  background: linear-gradient(120deg, #eaf3fc 0%, #f8fbfe 55%, #eaf3fc 100%);
  box-shadow: inset 0 0 0 1px rgba(14, 90, 167, 0.14);
  position: relative; overflow: hidden;
}
.mm-finder::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-101%); transition: transform 0.65s ease;
}
.mm-finder:hover::after { transform: translateX(101%); }
.mm-finder-ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -3px rgba(14, 90, 167, 0.5);
}
.mm-finder-ic svg { width: 15px; height: 15px; }
.mm-finder-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.mm-finder-txt b { color: var(--primary); font-size: 0.95rem; }
.mm-finder-txt span { color: var(--muted); font-size: 0.8rem; }
.mm-finder-go { font-style: normal; color: var(--primary); font-size: 1.05rem; transition: transform 0.2s ease; }
.mm-finder:hover .mm-finder-go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .mm-finder::after { display: none; } }

/* Left rail (products index + category pages) */
.cat-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 1.8rem; align-items: start; }
.cat-rail { position: sticky; top: calc(var(--header-h, 76px) + 12px); }
/* product detail pages: the whole page is wrapped in cat-layout, so legacy
   inner .container blocks inside cat-main must not re-constrain the column */
.cat-main .container { width: auto; max-width: none; margin-inline: 0; }
/* detail page rail: current product highlighted inside its opened category */
.rail-kid.current { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.cat-rail-h {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.5rem;
}
.cat-rail-tree { display: flex; flex-direction: column; gap: 1px; }
.rail-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.5rem 0.7rem; border-radius: 9px;
  color: var(--text); font-weight: 500; font-size: 0.92rem;
}
.rail-link b {
  font-size: 0.74rem; font-weight: 600; color: var(--muted);
  background: #eef4fb; border-radius: 999px; padding: 0.05rem 0.5rem;
}
.rail-link:hover { background: var(--primary-light); color: var(--primary); }
.rail-link.active { background: var(--primary-light); color: var(--primary); }
.rail-link.active b { background: #fff; color: var(--primary); }
.rail-filters { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.rail-check {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.42rem 0.7rem; border-radius: 9px; cursor: pointer;
  font-size: 0.9rem; color: var(--text);
}
.rail-check:hover { background: var(--primary-light); }
.rail-check input { accent-color: var(--primary); margin: 0; }
.rail-check span { flex: 1; min-width: 0; }
.rail-check b {
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  background: #eef4fb; border-radius: 999px; padding: 0.05rem 0.5rem;
}
.rail-empty { margin: 0.5rem 0.7rem 0; font-size: 0.85rem; color: var(--muted); }
.cat-rail-finder {
  display: flex; flex-direction: column; gap: 0.15rem;
  margin-top: 1.1rem; padding: 0.7rem 0.9rem;
  border: 2px solid var(--primary); border-radius: 12px; background: var(--primary-light);
}
.cat-rail-finder b { color: var(--primary); font-size: 0.9rem; }
.cat-rail-finder span { color: var(--muted); font-size: 0.78rem; }
.cat-rail-finder:hover { background: #e2eefb; }
@media (max-width: 960px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-rail { position: static; }
  /* 2026-10-20 (user report: "tapped the category tree on my phone and could
     not reach a product page"): app.js used to cap .cat-rail with an inline
     max-height on EVERY viewport. On phones the rail is a static block in the
     page flow, so that cap turned the tree into a ~620px window into a ~1300px
     list — reachable only by scrolling a scrollbar-less box — and the
     always-on bottom fade washed out the last categories (white gradient over
     a deep-blue panel). Phones get a plain full-height block instead: no inner
     scroll, no fades, every category visible in the normal page flow. */
  .cat-rail { max-height: none; overflow: visible; }
}

/* Glass Finder wizard */
.finder { max-width: 1020px; margin: 0 auto; }
.f-step-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; letter-spacing: -0.01em; }
.f-step-title small { display: block; font-size: 0.92rem; color: var(--muted); font-weight: 400; margin-top: 0.35rem; }
.f-group { margin-top: 1.15rem; }
.f-group-h {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.5rem;
}
.f-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.f-chip {
  padding: 0.5rem 0.95rem; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; font-size: 0.9rem; font-weight: 500; color: var(--text); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.f-chip:hover { border-color: var(--primary); }
.f-chip.on { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.f-tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.f-chip-tag { flex-direction: column; align-items: stretch; text-align: start; border-radius: 12px; padding: 0.7rem 0.9rem; gap: 0.2rem; }
.f-chip-tag b { font-size: 0.92rem; }
.f-chip-tag small { color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.f-actions { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.4rem; flex-wrap: wrap; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.9rem; margin-top: 1.1rem; }
.f-card {
  display: flex; gap: 0.7rem; align-items: center;
  border: 1px solid var(--border); border-radius: 12px; padding: 0.6rem; background: #fff;
}
.f-card:hover { border-color: var(--primary); }
.f-card-img { flex: none; width: 64px; height: 64px; border-radius: 9px; overflow: hidden; background: #eef4fb; }
.f-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-card-body { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.f-card-body b { font-size: 0.9rem; color: var(--text); }
.f-card-body small { color: var(--muted); font-size: 0.75rem; }
.f-card-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.15rem; }
.f-card-tags i {
  font-style: normal; font-size: 0.68rem;
  background: #eef4fb; color: var(--primary); border-radius: 999px; padding: 0.05rem 0.45rem;
}
.f-none { margin-top: 1rem; color: var(--muted); }
.f-restart {
  margin-inline-start: auto; background: none; border: none;
  color: var(--primary); font-size: 0.85rem; cursor: pointer; text-decoration: underline;
}
.f-in { animation: f-in 0.3s ease; }
@keyframes f-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .f-in { animation: none; } }

/* Mobile: dual-track mega stacks; nav-cta (now outside .main-nav) stays visible */
@media (max-width: 960px) {
  .mm-dual { display: flex; flex-direction: column; gap: 0.7rem; }
  .mm-catlist, .mm-applist { grid-template-columns: 1fr; }
  .mm-finder { margin-top: 0.85rem; }
  .nav-cta { margin-inline-start: 0.4rem; }
}

/* --------------------------------------------------------------------------
   Left rail tree, expandable (2026-09-08): clicking a category row reveals
   all its sub-products as thumbnail quick links; caret flips when open.
   Rows are <button>s now (accordion) — reset UA button chrome to match the
   previous <a> look exactly.
   -------------------------------------------------------------------------- */
.rail-node { display: flex; flex-direction: column; }
/* 2026-10-10 pass 5: two-zone rows — the row body is an <a> to the category
   listing page (mega-menu parity), the trailing caret is a separate toggle
   button that expands/collapses the inline kid list. */
.rail-row { display: flex; align-items: stretch; gap: 2px; }
.rail-row .rail-link { flex: 1; min-width: 0; }
.rail-node button.rail-link {
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: inherit; text-align: start;
}
.rail-node a.rail-link { text-decoration: none; }
.rail-tw {
  flex: none; width: 34px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; border-radius: 10px;
  color: inherit; font-family: inherit;
}
.rail-tw .rail-caret { margin-inline-start: 0; }
.rail-tw:hover { background: var(--primary-light); color: var(--primary); }
.rail-link span {
  flex: 1; min-width: 0; white-space: normal; overflow-wrap: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.18;
}
.rail-caret {
  flex: none; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); margin-inline-start: 0.35rem; opacity: 0.5;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.rail-node.open .rail-caret { transform: rotate(45deg); opacity: 1; }
.rail-kids {
  display: none; flex-direction: column; gap: 1px;
  margin: 0.1rem 0 0.4rem; padding-inline-start: 0.45rem;
}
.rail-node.open .rail-kids { display: flex; }
.rail-kid {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.28rem 0.5rem; border-radius: 8px;
  font-size: 0.84rem; font-weight: 400; color: var(--text);
}
.rail-kid:hover { background: var(--primary-light); color: var(--primary); }
/* enhanceImages wraps jpg/png thumbs in <picture>; webp-source imgs stay bare.
   Fix BOTH: size the wrapper, and pin the img itself so bare imgs can never
   balloon to full rail width (they did: 3 float kids rendered ~110px). */
.rail-kid picture { display: block; flex: none; width: 40px; height: 30px; border-radius: 6px; overflow: hidden; background: #eef4fb; }
.rail-kid img { flex: none; width: 40px; height: 30px; object-fit: cover; display: block; border-radius: 6px; }
.rail-kid span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* No guide borders, no inner scrollbar: the kids list must read as plain rows
   inside the tree (user 2026-09-08: the two vertical edges + View all tail
   were noise). The WHOLE tree scrolls as one unit inside the sticky rail
   (max-height set by app.js layout), scrollbar kept invisible. */
.cat-rail { overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.cat-rail::-webkit-scrollbar { display: none; }
/* 2026-10-10: the hidden scrollbar leaves no cue that the tree continues
   below — a soft bottom fade marks "more below" while the rail can scroll
   further (app.js toggles .can-down). Pure overlay: pointer-events none,
   no layout impact, inert when the tree fits. */
.cat-rail::after {
  content: ""; position: sticky; bottom: 0; display: block;
  height: 30px; margin-top: -30px; z-index: 3; pointer-events: none;
  /* fade to the PANEL's own bottom colour, not the page --bg: the rail is a
     deep-blue glass panel (see .cat-rail v3 below) and a white gradient read
     as a smear that washed the last categories out (2026-10-20). */
  background: linear-gradient(180deg, rgba(8, 39, 67, 0), #082743);
  opacity: 0; transition: opacity 0.2s;
}
.cat-rail.can-down::after { opacity: 1; }
.cat-rail::before {
  content: ""; position: sticky; top: 0; display: block;
  height: 30px; margin-bottom: -30px; z-index: 3; pointer-events: none;
  background: linear-gradient(0deg, rgba(14, 63, 116, 0), #0e3f74);
  opacity: 0; transition: opacity 0.2s;
}
.cat-rail.can-up::before { opacity: 1; }

/* phones: no fades at all — the rail is a full-height block in the page flow
   (see the <=960px block near .cat-layout), so there is nothing to hint at.
   MUST stay after the ::before/::after rules above: identical specificity,
   so source order decides who wins. */
@media (max-width: 960px) {
  .cat-rail::before,
  .cat-rail::after { display: none; }
}

/* --- International trust & conversion additions (2026-09-10) --- */
/* Market standards cards (product pages) */
.market-standards { margin-top: 1.6rem; }
.ms-note { color: var(--muted); max-width: 720px; margin: 0 auto 1.3rem; text-align: center; font-size: 0.95rem; line-height: 1.65; }
.ms-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.7rem; }
.ms-tags span {
  font-size: 0.76rem; color: var(--primary); background: var(--primary-light);
  border: 1px solid rgba(24,95,165,0.18); border-radius: 999px; padding: 0.16rem 0.6rem;
  letter-spacing: 0.01em; white-space: nowrap;
}
/* RFQ form full-width application select */
.form-row-full { display: grid; grid-template-columns: minmax(0, 1fr); }
.contact-form-col .form-row-full { margin-top: 0.5rem; }
/* Market standards: force all 4 cards on one row on wide screens */
.market-standards .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.market-standards .ms-card { padding: 1.3rem 0.9rem; text-align: center; }
.market-standards .ms-card h3 { font-size: 1.02rem; }
.market-standards .ms-card p { font-size: 0.88rem; }
.market-standards .ms-tags { justify-content: center; }
@media (max-width: 1100px) {
  .market-standards .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .market-standards .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- Category rail: international card-panel upgrade (2026-09-10) --- */
/* Desktop-only: without the media query this late rule overrides the
   <=960px single-column collapse (line ~2641) and squeezes the content
   column to ~78px on phones (2026-09-11 pre-launch audit finding). */
@media (min-width: 961px) {
  .cat-layout { grid-template-columns: 252px minmax(0, 1fr); }
}
.cat-rail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 0.7rem 1rem;
  box-shadow: 0 8px 22px rgba(13, 40, 80, 0.07);
}
.cat-rail-h {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; color: var(--primary); margin: 0 0.35rem 0.65rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
}
.cat-rail-h::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; flex: none;
  background: linear-gradient(135deg, var(--primary), #2f8fe0);
}
.rail-link { padding: 0.45rem 0.5rem; border-radius: 9px; gap: 0; }
.rail-thumb {
  width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none;
  margin-right: 0.6rem; background: #eef4fb;
}
.rail-link span { flex: 1; min-width: 0; }
.rail-link.active {
  background: var(--primary-light);
  box-shadow: inset 3px 0 0 var(--primary);
  font-weight: 600;
}
.rail-link.active .rail-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--primary); }
[dir="rtl"] .rail-link.active { box-shadow: inset -3px 0 0 var(--primary); }
.rail-link b { flex: none; }
.cat-rail-finder { margin-top: 1rem; }

/* --- Category rail v3: deep-blue glass panel (2026-09-11) ------------------ */
/* Matches hero-light's gradient language: dark panel vs light content area. */
.cat-rail {
  background:
    radial-gradient(120% 55% at 12% -6%, rgba(90, 190, 255, 0.22), transparent 58%),
    linear-gradient(165deg, #0e3f74 0%, #0a2f57 55%, #082743 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 1.05rem 0.75rem 1.05rem;
  box-shadow:
    0 18px 40px rgba(6, 30, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cat-rail-h {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  font-weight: 700;
  margin: 0 0.4rem 0.7rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cat-rail-h::before {
  background: linear-gradient(135deg, #5ac8ff, #2f8fe0);
  box-shadow: 0 0 8px rgba(90, 200, 255, 0.55);
}
.rail-link {
  color: rgba(255, 255, 255, 0.86);
  padding: 0.5rem 0.55rem;
  border-radius: 11px;
  transition: background 0.18s ease, color 0.18s ease;
}
.rail-thumb {
  width: 34px; height: 34px; border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: #123a63;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rail-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.rail-link:hover .rail-thumb { transform: scale(1.07); }
.rail-tw { color: rgba(255, 255, 255, 0.8); }
.rail-tw:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.rail-link b {
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.02rem 0.5rem;
  font-size: 0.7rem;
}
.rail-link.active {
  background: linear-gradient(90deg, rgba(90, 200, 255, 0.22), rgba(90, 200, 255, 0.07));
  box-shadow: inset 0 0 0 1px rgba(90, 200, 255, 0.42), 0 0 14px rgba(90, 200, 255, 0.14);
  color: #fff;
  font-weight: 650;
}
.rail-link.active b { color: #bfe6ff; background: rgba(90, 200, 255, 0.2); border-color: rgba(90, 200, 255, 0.35); }
.rail-link.active .rail-thumb { box-shadow: 0 0 0 2px rgba(90, 200, 255, 0.85), 0 0 14px rgba(90, 200, 255, 0.35); }
.rail-caret { border-color: rgba(255, 255, 255, 0.45); opacity: 0.75; }
.rail-node.open .rail-link { color: #fff; }
.rail-kids { padding-left: 0.55rem; border-left: 1px solid rgba(255, 255, 255, 0.08); margin-left: 1.05rem; }
[dir="rtl"] .rail-kids { padding-left: 0; padding-right: 0.55rem; border-left: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); margin-left: 0; margin-right: 1.05rem; }
.rail-kid {
  color: rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  padding: 0.34rem 0.5rem;
}
.rail-kid span { font-size: 0.8rem; }
.rail-kid:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.rail-kid.current {
  background: rgba(90, 200, 255, 0.14);
  color: #a5ddff;
  font-weight: 600;
}
/* 2026-10-10 pass 8: whole-row toggle — expand shows this direct drill-down
   entry at the TOP of the kid list so the category page is still one click
   away (row click itself no longer navigates; Ctrl/Cmd+click still can) */
.rail-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0.1rem 0 0.22rem;
  padding: 0.32rem 0.5rem;
  border-radius: 8px;
  color: #a5ddff;
  background: rgba(90, 200, 255, 0.1);
  border: 1px solid rgba(90, 200, 255, 0.3);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.rail-all span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-all i {
  font-style: normal;
  flex: none;
  transition: transform 0.18s ease;
}
.rail-all:hover { background: rgba(90, 200, 255, 0.18); border-color: rgba(90, 200, 255, 0.5); color: #d9f1ff; }
.rail-all:hover i { transform: translateX(2px); }
[dir="rtl"] .rail-all:hover i { transform: translateX(-2px); }
/* Finder entry: glass chip */
.cat-rail-finder {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(90, 200, 255, 0.4);
  backdrop-filter: blur(6px);
}
.cat-rail-finder b { color: #a5ddff; }
.cat-rail-finder span { color: rgba(255, 255, 255, 0.6); }
.cat-rail-finder:hover { background: rgba(90, 200, 255, 0.14); }

/* --- Rail kid thumbnails: polish pass (2026-09-11) ------------------------ */
/* Match rail-thumb design language on the dark glass panel. */
.rail-kid picture,
.rail-kid img {
  width: 26px; height: 20px; border-radius: 5px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
/* Sub-category thumbs stay visibly smaller than the 34x34 main-category
   rail-thumb (user 2026-09-11) so hierarchy reads at a glance. */
.rail-kid { gap: 0.45rem; }
.rail-kid picture { background: #123a63; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); overflow: hidden; }
.rail-kid img { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.rail-kid:hover picture, .rail-kid:hover img { transform: scale(1.08); }
.rail-kid.current picture,
.rail-kid.current img {
  box-shadow: 0 0 0 2px rgba(90, 200, 255, 0.85), 0 0 10px rgba(90, 200, 255, 0.3);
}
.rail-kid.current { color: #a5ddff; }

/* --- Product share bar + QR popup (2026-09-11) --- */
.pd-sharebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.pd-share-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.pd-share-btns { display: inline-flex; align-items: center; gap: 0.4rem; }
/* Solid brand-color badges (official platform look), white glyphs */
.pd-share-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  color: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(11, 35, 64, 0.18);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.pd-share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.88);
  box-shadow: 0 3px 8px rgba(11, 35, 64, 0.25);
}
.net-whatsapp { background: #25d366; }
.net-pinterest { background: #e60023; }
.net-linkedin { background: #0a66c2; }
.net-telegram { background: #229ed9; }
.net-facebook { background: #1877f2; }
.net-x { background: #111111; }
.net-email, .net-copy { background: #64748b; }
.net-email:hover, .net-copy:hover { filter: brightness(0.82); }
.pd-copy.copied { background: #128c4a; filter: none; transform: none; }
.pd-qr summary { list-style: none; cursor: pointer; }
.pd-qr summary::-webkit-details-marker { display: none; }
.pd-qr-pop {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: none;
  width: max-content;
  padding: 16px 16px 13px;
  background: linear-gradient(165deg, #14396b 0%, #0b2340 55%, #0a1e38 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(11, 35, 64, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
}
.pd-qr-pop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #6f9fe0, transparent);
}
.pd-qr[open] .pd-qr-pop { display: block; }
.pd-qr-pop svg { display: block; margin-inline: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38); }
.pd-qr-pop span {
  display: block;
  margin-top: 9px;
  max-width: 150px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
[dir="rtl"] .pd-qr-pop span { letter-spacing: 0; text-transform: none; }
.pd-copy-toast {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 6px);
  z-index: 61;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0b2340;
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pd-copy-toast.show { opacity: 1; }

/* --- Product title QR badge (2026-09-11) --- */
.pd-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.pd-title-row h1 { margin: 0; }
.pd-qr-title { position: relative; display: inline-flex; }
.pd-qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e5aa7, #083f74);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 4px 14px rgba(14, 90, 167, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pd-qr-trigger::-webkit-details-marker { display: none; }
.pd-qr-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 90, 167, 0.4);
}
/* Title-badge QR opens to the READING side (right in LTR, left in RTL mirror),
   top-aligned with the badge — which sits below the header, so the popup can
   never cross the header's bottom line. */
.pd-qr-title .pd-qr-pop {
  inset-inline-end: auto;
  inset-inline-start: calc(100% + 12px);
  top: 0;
}
@media (max-width: 640px) {
  .pd-qr-trigger { padding: 7px 11px; }
  /* Center the popup under the badge so it never overflows narrow screens */
  .pd-qr-title .pd-qr-pop {
    inset-inline-start: 50%;
    inset-inline-end: auto;
    transform: translateX(-50%);
  }
  [dir="rtl"] .pd-qr-title .pd-qr-pop { transform: translateX(50%); }
}
