/* XLD Machinery — International Industrial Corporate Theme
   Deep navy + functional red + disciplined scale
   B2B inquiry site, no e-commerce */

:root {
  /* Brand Colors — 主色保留品牌红 */
  --primary: #c81e25;           /* 功能红：CTA / 强调 */
  --primary-hover: #a5161c;     /* 深红：Hover */
  --primary-soft: rgba(200, 30, 37, 0.15);
  --secondary: #0a1628;         /* 深海军蓝：Header/Footer/Trust */
  --secondary-light: #14243a;   /* 次级 navy */

  /* Neutral Colors */
  --bg-body: #f4f6f8;           /* 全局背景，冷灰工业感 */
  --bg-card: #FFFFFF;           /* 卡片白 */
  --bg-soft: #e9edf2;           /* 表头/斑马纹 */
  --text-main: #172033;         /* 主要文字 */
  --text-muted: #667085;        /* 次要文字/参数名 */
  --border-color: #d7dde5;      /* 边框分割线 */
  --whatsapp: #25D366;

  /* 向后兼容旧 token（指向新值） */
  --navy: var(--secondary);
  --navy-2: var(--secondary-light);
  --red: var(--primary);
  --red-deep: var(--primary-hover);
  --steel: var(--text-muted);
  --paper: var(--bg-body);
  --mist: var(--bg-soft);
  --line: var(--border-color);
  --ink: var(--text-main);
  --white: #ffffff;
  --shadow: 0 16px 32px rgba(0, 0, 0, 0.12);

  /* Typography — international B2B (avoid Inter/system defaults) */
  --font-sans: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Manrope', sans-serif;
  --font-tech: 'Manrope', sans-serif;
  --font: var(--font-sans);
  --display: var(--font-display);

  /* Scale */
  --max: 1380px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --radius-btn: 4px;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 14px 36px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 28px 60px rgba(10, 22, 40, 0.12);
  --transition: all 0.28s var(--ease);

  /* 字号阶梯 */
  --body: 1.05rem;
  --h1: clamp(2.8rem, 5vw, 4.5rem);
  --h2: clamp(2rem, 3vw, 2.75rem);
  --h3: 1.5rem;

  /* 间距 8px 网格 */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --section-y: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* clip keeps horizontal bleed clipped without creating a scrollport that
     kills position:sticky (overflow-x:hidden on html/body breaks sticky). */
  overflow-x: clip;
  max-width: 100%;
}

body {
  color: var(--text-main);
  background: var(--bg-body);
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

/* Eyebrow 小标签 */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

h1, h2, h3, .display {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

h2 {
  font-size: var(--h2);
  color: var(--text-main);
}

h3 {
  font-size: var(--h3);
  color: var(--text-main);
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.section {
  padding: var(--section-y) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-head .lead { margin: 0.5rem 0 0; }

.link-more {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: var(--transition);
}
.link-more:hover { color: var(--primary-hover); }

/* ========== 按钮规范 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(200, 30, 37, 0.28);
}

/* 次级按钮：深灰（替代旧 navy） */
.btn-navy {
  background: var(--secondary);
  color: #fff;
}
.btn-navy:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

/* 描边按钮 */
.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}
.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* 深色背景下的描边按钮（hero 用） */
.hero .btn-ghost,
.btn-on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  min-height: 42px;
  padding: 0 1.1rem;
  font-size: 0.85rem;
}

/* ========== Topbar ========== */
.topbar {
  background: #060f1d;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
}

/* 左侧欢迎语 — SEO 强化 */
.topbar-left {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
}

/* 右侧按钮组 */
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-btn);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
}
.topbar-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.topbar-btn svg {
  flex-shrink: 0;
}

.topbar-wa {
  color: #7dffa8;
  border-color: rgba(125, 255, 168, 0.3);
}
.topbar-wa:hover {
  background: rgba(125, 255, 168, 0.12);
  border-color: rgba(125, 255, 168, 0.5);
  color: #7dffa8;
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
  position: fixed;
  right: 1.71rem;
  bottom: 1.5rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(10, 14, 22, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ========== Header chrome (topbar + site-header) ========== */
/* Sticky the whole chrome so phone/email/WA icons + logo/nav stay put.
   Sticky must live on this wrapper — html/body overflow-x:hidden used to
   break sticky on .site-header alone (especially mobile). */
.site-chrome {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--secondary);
}

/* Menu/search open: freeze the page and pin chrome to the viewport.
   Do NOT use overflow:hidden on body — body is position:relative, and
   overflow ≠ visible both (1) makes .site-chrome sticky stop sticking
   and (2) on iOS/WebView demotes position:fixed descendants to absolute,
   so the header+menu scroll away with the page. */
html.page-scroll-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

html.page-scroll-lock body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: var(--scroll-lock-chrome-h, 0px);
  overflow: visible;
  overscroll-behavior: none;
}

html.page-scroll-lock .site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
}

.site-header {
  position: relative;
  z-index: 1;
  height: var(--header-h);
  background: var(--secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 24px rgba(4, 12, 24, 0.14);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img,
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  padding: 28px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

/* ========== Mega Menu ========== */
.nav-item.has-mega {
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
}

.nav-mega-head {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  height: inherit;
}

.nav-mega-toggle {
  display: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-mega-toggle .caret {
  transition: transform 0.25s var(--ease);
}

.has-mega > .nav-mega-head > a .caret,
.has-mega .caret-desktop .caret {
  transition: transform 0.25s var(--ease);
  margin-left: 0.1rem;
}

.has-mega:hover > .nav-mega-head > a .caret-desktop .caret,
.has-mega:hover > a .caret {
  transform: rotate(180deg);
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(780px, calc(100% - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* closed: ignore hit tests so ghost area can't re-open */
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 70;
}

.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
}

/* 中和 .nav a 的头栏内边距与下划线动画 */
.mega-panel a { padding: 0; }
.mega-panel a::after { content: none; }

/* Desktop: hide mobile-only "All models" entry */
.mobile-mega-all {
  display: none;
}

.mega-cat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.65rem;
}

.mega-cat img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-btn);
  background: var(--bg-soft);
  flex-shrink: 0;
}

.mega-cat strong {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text-main);
}

.mega-cat:hover strong { color: var(--primary); }

.mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-links li + li { margin-top: 0.3rem; }

.mega-links a {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mega-links a:hover { color: var(--primary); }

/* Desktop: compact category row(s); sub-series live on category pages */
@media (min-width: 961px) {
  .mega-panel {
    padding: 0.85rem 1.15rem 1rem;
    /* Anchor to viewport, not the narrow Products nav item */
    width: min(900px, calc(100vw - 3rem));
  }

  .mega-grid {
    gap: 0.65rem 1.25rem;
    align-items: start;
  }

  .mega-panel .mega-links {
    display: none;
  }

  .mega-cat {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
    gap: 0.6rem;
  }

  .mega-cat img {
    width: 48px;
    height: 48px;
  }

  /* Override header nav link colors leaking into dropdown */
  .mega-panel a,
  .mega-panel .mega-cat,
  .mega-panel .mega-cat strong {
    color: var(--text-main);
  }

  .mega-panel .mega-cat:hover strong {
    color: var(--primary);
  }

  .xld-photo .mega-panel a,
  .xld-photo .mega-panel .mega-cat,
  .xld-photo .mega-panel .mega-cat strong {
    color: var(--text-main);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Icon search — float panel on hover / focus, no layout shift */
.header-search {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  z-index: 40;
}

.header-search .search-trigger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.header-search .search-trigger:hover,
.header-search:hover .search-trigger,
.header-search:focus-within .search-trigger,
.header-search.is-open .search-trigger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.header-search .search-trigger .search-ico {
  width: 16px;
  height: 16px;
}

.header-search .search-float {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 280px;
  height: auto;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #10243c;
  box-shadow: 0 14px 36px rgba(4, 12, 24, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.header-search .search-float-bar,
.search-float-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0 0.9rem;
  min-width: 0;
}

.header-search .search-close,
.search-float .search-close {
  display: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
}

.header-search:hover .search-float,
.header-search:focus-within .search-float,
.header-search.is-open .search-float {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-search .search-float .search-ico,
.search-float .search-ico {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.header-search .search-float input,
.search-float input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: #fff;
}

.header-search .search-float input::placeholder,
.search-float input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* 搜索实时联想下拉 */
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  width: auto;
  max-height: 430px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-lg);
  z-index: 80;
}

/* Mobile: dedicated search sheet — portal on body, no header ghost pill */
@media (max-width: 960px) {
  /* Closed: never render the inline desktop pill inside the 40px icon slot */
  .header-search:not(.is-open) .search-float {
    display: none !important;
  }

  .header-search:hover .search-float,
  .header-search:focus-within .search-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .search-modal-host {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 22, 38, 0.97);
    pointer-events: none;
  }

  .search-modal-host.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    pointer-events: auto;
  }

  .search-modal-host .search-float {
    position: static;
    inset: auto;
    transform: none;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: auto;
    gap: 0.85rem;
  }

  .search-modal-host .search-float-bar {
    min-height: 48px;
    padding: 0.35rem 0.55rem 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .search-modal-host .search-float input {
    font-size: 1rem;
  }

  .search-modal-host .search-close,
  .search-modal-host .search-float .search-close {
    display: grid;
  }

  .search-modal-host .search-close:active {
    background: rgba(255, 255, 255, 0.18);
  }

  .search-modal-host .search-suggest {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    background: #fff;
  }

  .search-modal-host .search-suggest[hidden] {
    display: none !important;
  }

  .header-search .search-trigger {
    position: relative;
    z-index: 2;
  }
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  transition: background 0.15s;
}

.suggest-item:hover,
.suggest-item.is-hl {
  background: var(--bg-soft);
}

.suggest-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: var(--radius-btn);
  flex-shrink: 0;
}

.suggest-item .s-name {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.3;
}

.suggest-item .s-model {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
}

.suggest-item .s-type {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.suggest-all {
  display: block;
  padding: 0.6rem 0.8rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  border-top: 1px solid var(--border-color);
}

.suggest-all:hover { background: var(--bg-soft); color: var(--primary-hover); }

.suggest-empty {
  padding: 0.85rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* WhatsApp 浮窗 */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 5.75rem;
  z-index: 60;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.wa-float svg { width: 28px; height: 28px; }

.wa-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Language: globe icon only, click to open menu */
.lang-switch { position: relative; }

.lang-switch summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch summary::-webkit-details-marker { display: none; }

.lang-switch summary:hover,
.lang-switch[open] summary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch .lang-globe {
  display: block;
}

.lang-switch .lang-label,
.lang-switch .lang-caret {
  display: none;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 148px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-btn);
  padding: 0.35rem 0;
  z-index: 60;
}

.lang-menu a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

.lang-menu a:hover,
.lang-menu a.is-current {
  background: var(--bg-soft);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-btn);
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--secondary);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-color: var(--secondary);
  background-image: linear-gradient(115deg, #071322 0%, #10223a 58%, #1b304b 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* 左向深遮罩 */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 15, 29, 0.94) 0%, rgba(6, 15, 29, 0.72) 42%, rgba(6, 15, 29, 0.24) 78%, rgba(6, 15, 29, 0.10) 100%),
    linear-gradient(0deg, rgba(6, 15, 29, 0.56) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 7rem 0 6rem;
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  animation: rise 0.8s 0.06s var(--ease) both;
}

.hero .support {
  margin: 1.35rem 0 2.2rem;
  max-width: 38rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  animation: rise 0.8s 0.12s var(--ease) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  animation: rise 0.8s 0.18s var(--ease) both;
}

.hero > .hero-content .btn-primary {
  min-height: 58px;
  padding-inline: 2.4rem;
  font-size: 1rem;
}

/* Hero 次级链接 */
.hero-link {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.hero-link:hover {
  color: #fff;
  border-bottom-color: var(--primary);
}

.hero-nav {
  position: absolute;
  z-index: 3;
  right: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 2rem;
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 1px;
}

.hero-dot.is-active { background: var(--primary); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ========== Trust Bar ========== */
.trust {
  background: var(--secondary);
  color: #fff;
  padding: 3.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
}

.trust-grid > div {
  padding: 0 2.25rem;
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust strong {
  display: block;
  font-family: var(--font-tech);
  font-size: clamp(2.6rem, 3.6vw, 3.35rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.trust span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  display: block;
}

/* ========== Catalog 分类网格 ========== */
.catalog { background: var(--bg-card); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cat-item {
  position: relative;
  display: block;
  min-height: clamp(340px, 31vw, 440px);
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  border-radius: 0;
}

.cat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.cat-item:hover img { transform: scale(1.035); }

.cat-item .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 15, 29, 0.94) 0%, rgba(6, 15, 29, 0.14) 68%);
}

.cat-item .body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
}

.cat-item h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  margin-bottom: 0.35rem;
}

.cat-item p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.cat-item .go {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ========== About ========== */
.about {
  background:
    linear-gradient(135deg, rgba(241, 245, 249, 0.95), rgba(248, 250, 248, 0.9));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy p { color: var(--text-muted); }

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
}

.about-points div {
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
}

.about-points strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.about-points span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 0.65rem;
}

.about-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-mosaic img:first-child { grid-row: 1 / 3; }

/* ========== Global 合作 ========== */
.global { background: var(--bg-card); }

.global-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.global-rail img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: var(--radius);
  filter: saturate(1.05);
}

/* ========== Reviews ========== */
.reviews { background: var(--bg-body); }

.review-carousel {
  position: relative;
}

.review-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.15rem 0.5rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.review-grid.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.review-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
  width: 0;
  height: 0;
}

/* hover 时显示左右箭头 */
.review-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 5;
}
.review-carousel:hover .review-nav {
  opacity: 1;
  visibility: visible;
}
.review-nav:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.review-nav:disabled {
  opacity: 0;
  visibility: hidden;
}
.review-prev { left: -10px; }
.review-next { right: -10px; }

.review {
  position: relative;
  flex: 0 0 360px;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.review:hover {
  box-shadow: var(--shadow-md);
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review-user {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
}

.review-user strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.review-user span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #f5a623;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.review p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.review .tags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.review .tags span {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  background: var(--bg-soft);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
}

/* ========== Certificates ========== */
.certs { background: var(--bg-card); }

.cert-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.cert-row a,
.cert-row figure {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem;
  min-height: 160px;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.cert-row a:hover,
.cert-row figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-row img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

/* 证书列表页卡片（点击放大 Lightbox） */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cert-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: zoom-in;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.cert-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: var(--radius-btn);
}

.cert-card figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
}

/* ========== Product 卡（统一组件） ========== */
.product-block { background: var(--bg-body); }
.product-block.alt { background: var(--bg-card); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.product,
.product-tile {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.product:hover,
.product-tile:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.product:hover .thumb img,
.product-tile:hover .thumb img { transform: scale(1.035); }

.product .thumb,
.product-tile .thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--secondary);
  border-radius: 0;
}

.product .thumb img,
.product-tile .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product .meta,
.product-tile .meta {
  padding: 1.25rem 0.15rem 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 型号行：等宽字体 + 品牌红（融合方案 §6） */
.product .meta .model,
.product-tile .meta .model {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.product .meta h3,
.product-tile .meta h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.product .meta p,
.product-tile .meta p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.product .meta .btn,
.product-tile .meta .btn {
  align-self: flex-start;
  min-height: auto;
  width: auto;
  margin-top: 0.35rem;
  padding: 0 0 0.2rem;
  font-size: 0.85rem;
  color: var(--secondary);
  background: transparent;
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
}

.product .meta .btn::after,
.product-tile .meta .btn::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.25s var(--ease);
}

.product:hover .meta .btn::after,
.product-tile:hover .meta .btn::after {
  transform: translateX(4px);
}

/* ========== Videos ========== */
.videos {
  background: var(--secondary);
  color: #fff;
}

.videos .eyebrow { color: var(--primary); }

.videos h2,
.videos .lead { color: #fff; }

.videos .lead { opacity: 0.78; }

.videos .link-more { color: var(--primary); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.video-tile {
  --vimg: none;
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border: var(--hairline) solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(7, 19, 33, 0.12) 0%, rgba(7, 19, 33, 0.78) 100%),
    var(--vimg) center / cover no-repeat,
    linear-gradient(135deg, #0c1a2c 0%, #163152 55%, #0f243c 100%);
  color: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.video-tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(7, 19, 33, 0.22);
}

/* Empty cover: industrial placeholder + grid + film mark */
.video-tile.is-empty {
  border-color: var(--line);
  background-image:
    linear-gradient(180deg, rgba(7, 19, 33, 0.15) 0%, rgba(7, 19, 33, 0.86) 100%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(200, 30, 37, 0.22), transparent 62%),
    linear-gradient(125deg, #0c1a2c 0%, #1a3352 48%, #12263f 100%);
  background-size: auto, 28px 28px, 28px 28px, auto, auto;
}

.video-tile.is-empty::after {
  content: "VIDEO";
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-tech, var(--font-sans));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
}

/* Hover border beam (reuse --xld-beam) */
.video-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--xld-beam),
    transparent 0deg,
    transparent 245deg,
    rgba(200, 30, 37, 0.12) 280deg,
    rgba(200, 30, 37, 0.7) 315deg,
    var(--primary) 338deg,
    #fff 350deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.28s var(--ease);
}

.video-tile:hover::before {
  opacity: 1;
  animation: xld-beam-spin 1.85s linear infinite;
}

.video-tile .play {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(200, 30, 37, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.video-tile .play::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 19px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.video-tile:hover .play {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(200, 30, 37, 0.55);
}

.video-tile .v-label {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 3;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Home videos slider — 3 visible, horizontal scroll for more */
.video-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.video-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 0.2rem 0.5rem;
}

.video-slider__viewport::-webkit-scrollbar {
  display: none;
}

.video-slider__track.video-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  grid-template-columns: none;
}

.video-slider .video-tile {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.video-slider__nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: var(--hairline) solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: #fff;
  color: var(--secondary, #0c1a2c);
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.12);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.video-slider__nav:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.video-slider__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.video-slider--no-nav {
  grid-template-columns: minmax(0, 1fr);
}

.video-slider--no-nav .video-slider__nav,
.video-slider__nav[hidden] {
  display: none;
}

@media (max-width: 47.99em) {
  .video-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-slider__nav {
    display: none;
  }

  .video-slider__track.video-grid {
    gap: 1rem;
  }
}

/* ========== Downloads ========== */
.downloads { background: var(--bg-card); }

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-color);
}

.download-list li {
  border-bottom: 1px solid var(--border-color);
}

.download-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0.15rem;
  transition: background 0.2s;
}

.download-list a:hover {
  background: linear-gradient(90deg, var(--primary-soft), transparent);
}

.dl-type {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-btn);
}

.dl-meta strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.dl-meta em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dl-action {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

/* ========== News 列表（首页动态 / 新闻列表页） ========== */
.news-list {
  border-top: 1px solid var(--border-color);
}

.news-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding: 1.05rem 0.15rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}

.news-row:hover {
  background: linear-gradient(90deg, var(--primary-soft), transparent);
}

.news-row a {
  flex: 1 1 22rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-main);
}

.news-row a:hover { color: var(--primary); }

.news-row time {
  flex-shrink: 0;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* News list page: left sidebar + article feed */
.news-list-page .news-list-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas:
    "nav main"
    "widgets main";
  gap: 1.15rem 2.25rem;
  align-items: start;
}

.news-list-page .news-list-aside--nav {
  grid-area: nav;
  position: sticky;
  top: 96px;
}

.news-list-page .news-list-aside--widgets {
  grid-area: widgets;
  position: static;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.news-list-page .news-list-main {
  grid-area: main;
  min-width: 0;
  width: 100%;
}

.news-list-page .news-list {
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-list-page .news-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: stretch;
  padding: 1.1rem 1.15rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-list-page .news-row.has-thumb {
  grid-template-columns: 120px minmax(0, 1fr);
}

.news-list-page .news-row:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  box-shadow: var(--shadow-md, 0 10px 28px rgba(15, 23, 42, 0.08));
}

.news-list-page .news-row.is-hidden {
  display: none;
}

.news-row-thumb {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-muted, #f4f6f9);
  aspect-ratio: 4 / 3;
}

.news-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.news-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.news-row-cat {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-list-page .news-row time {
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.news-row-title {
  flex: none !important;
  font-family: var(--font-display), var(--font-sans);
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: var(--secondary) !important;
}

.news-row-title:hover {
  color: var(--primary) !important;
}

.news-row-summary {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-empty {
  margin: 0;
  padding: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.news-cat-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-cat-list > li + li {
  margin-top: 0.35rem;
}

.news-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.news-cat-btn em {
  flex-shrink: 0;
  min-width: 1.5rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--bg-muted, #f4f6f9);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.news-cat-btn:hover {
  background: var(--bg-muted, #f4f6f9);
  color: var(--primary);
}

.news-cat-btn.is-active {
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
}

.news-cat-btn.is-active em {
  background: var(--primary);
  color: #fff;
}

.news-product-list .news-widget-body strong {
  font-size: 0.88rem;
}

.news-list-toolbar {
  display: none;
}

.news-list-count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-cat-rail {
  min-width: 0;
}

@media (max-width: 960px) {
  .news-list-page.list-page {
    padding-top: 1.75rem;
    width: 100%;
    max-width: 100%;
  }

  .news-list-page .section-head {
    margin-bottom: 1.15rem;
  }

  .xld-photo .news-list-page .page-title,
  .news-list-page .page-title {
    font-size: clamp(1.55rem, 6.2vw, 2rem);
    max-width: none;
    line-height: 1.2;
  }

  .news-list-page .news-list-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
  }

  .news-list-page .news-list-aside--nav,
  .news-list-page .news-list-aside--widgets,
  .news-list-page .news-list-main {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .news-list-page .news-list-aside--nav {
    order: 0;
  }

  .news-list-page .news-list-main {
    order: 1;
  }

  .news-list-page .news-list-aside--widgets {
    order: 2;
  }

  .news-list-page .news-widget--cats {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .news-list-page .news-widget--cats h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .news-list-toolbar {
    display: block;
    margin: 0 0 0.75rem;
  }

  .news-cat-rail {
    margin: 0 -0.15rem;
  }

  .news-list-page .news-cat-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 0.15rem 0.15rem 0.45rem;
    scrollbar-width: thin;
  }

  .news-list-page .news-cat-list > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .news-list-page .news-cat-list > li + li {
    margin-top: 0;
  }

  .news-list-page .news-cat-btn {
    width: auto;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(15, 36, 61, 0.14);
    background: #fff;
    white-space: nowrap;
  }

  .news-list-page .news-cat-btn.is-active {
    border-color: var(--primary);
  }

  .news-list-page .news-list {
    gap: 0.75rem;
    width: 100%;
  }

  .news-list-page .news-row,
  .news-list-page .news-row.has-thumb {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .news-list-page .news-row-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .news-list-page .news-row-body {
    padding: 0.9rem 0.95rem 1rem;
    gap: 0.3rem;
  }

  .news-list-page .news-row-title {
    font-size: 1.02rem !important;
  }

  .news-list-page .news-row-summary {
    -webkit-line-clamp: 3;
    font-size: 0.88rem;
  }

  .news-list-page .news-widget--hot,
  .news-list-page .news-widget--products {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.05rem;
  }

  .news-list-page .news-widget--products .news-product-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .news-list-page .news-widget--products .news-product-list > li {
    flex: 0 0 min(72%, 16rem);
  }

  .news-list-page .news-widget--products .news-product-list > li + li {
    margin-top: 0;
  }

  .news-list-page .news-widget--products .news-widget-list--cards a {
    border: 1px solid rgba(15, 36, 61, 0.1);
    border-radius: var(--radius);
    padding: 0.55rem;
    background: #fff;
  }
}

@media (max-width: 640px) {
  .news-list-page.list-page {
    padding-bottom: calc(var(--section-y, 3.5rem) + 0.5rem);
  }

  .news-list-page .news-row-body {
    padding: 0.85rem 0.85rem 0.95rem;
  }
}

/* ========== FAQ page ========== */
.faq-page {
  padding: 1.25rem 0 var(--section-y, 4.5rem);
}

.faq-page .breadcrumb {
  margin: 0 0 1.25rem;
}

.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.7fr);
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.faq-hero .page-title {
  margin: 0.45rem 0 0.7rem;
}

.faq-hero .lead {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem 1.3rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, #f8fafc),
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 55%);
  box-shadow: var(--shadow-sm);
}

.faq-hero-aside strong,
.xld-photo .faq-hero-aside strong {
  color: var(--secondary);
  font-family: var(--font-display), var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.faq-hero-aside > span {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.faq-search {
  margin: 0 0 1.35rem;
}

.faq-search-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.55rem 0.85rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.faq-search-field:focus-within {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.faq-search-field svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-size: 0.98rem;
  outline: none;
}

.faq-search-clear {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  background: var(--bg-muted, #f4f6f9);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-search-clear:hover {
  color: var(--primary);
}

.faq-search-meta {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.faq-search-empty {
  margin: 0;
  padding: 1.5rem 1.2rem;
  border: var(--hairline) dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-group.is-hidden,
.faq-item.is-hidden {
  display: none;
}

.faq-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.faq-topic-chips button {
  padding: 0.4rem 0.7rem;
  border: var(--hairline) solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.faq-topic-chips button:hover,
.faq-topic-chips button.is-active {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, #fff);
}

.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.75rem 0.85rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  border: var(--hairline) solid transparent;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-muted, #f4f6f9);
  color: var(--secondary);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.faq-jump a em {
  min-width: 1.25rem;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.faq-jump a:hover {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr);
  gap: 1.35rem;
  align-items: start;
}

.faq-main {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.faq-group {
  padding: 1.25rem 1.2rem 1.3rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h, 80px) + 16px);
}

.faq-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--hairline) solid var(--line);
}

.faq-group-head h2,
.xld-photo .faq-group-head h2 {
  margin: 0;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.faq-count {
  min-width: 1.6rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(180deg, #fff, #fbfcfe);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.75rem 1rem 1.1rem;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.1rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer > *:first-child { margin-top: 0; }
.faq-answer > *:last-child { margin-bottom: 0; }

.faq-side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: sticky;
  top: 96px;
}

.faq-side-card {
  padding: 1.3rem 1.2rem 1.4rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-side-card.is-soft {
  background: var(--bg-muted, #f5f7fa);
  box-shadow: none;
}

.faq-side-card h2,
.xld-photo .faq-side-card h2,
.faq-side-card h3,
.xld-photo .faq-side-card h3 {
  margin: 0 0 0.55rem;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-side-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-side-card .btn {
  width: 100%;
  justify-content: center;
}

.faq-side-link {
  display: block;
  margin-top: 0.65rem;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.faq-side-link:hover {
  color: var(--primary);
}

.faq-empty {
  padding: 2.5rem 1.5rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.faq-empty h2 {
  margin: 0 0 0.55rem;
  color: var(--secondary);
}

.faq-empty p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .faq-hero,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .faq-group,
  .faq-side-card {
    padding: 1.1rem 1rem 1.15rem;
  }

  .faq-item summary {
    padding-right: 2.4rem;
    font-size: 0.95rem;
  }
}

/* ========== CTA Band ========== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  padding: 4.5rem 0;
}

.cta-band::before {
  content: none;
}

.cta-band .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  color: #fff;
  max-width: 16ch;
}

.cta-band p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .eyebrow { color: rgba(255, 255, 255, 0.9); }

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-hover);
}

.cta-band .hero-link {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.cta-band .hero-link:hover {
  border-bottom-color: #fff;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3,
.xld-photo .site-footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.site-footer a:hover { color: #fff; }

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li { margin-top: 0.45rem; }

.site-footer .footer-col a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.4;
  font-size: 0.92rem;
}

.footer-brand img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Footer 邮箱订阅 ========== */
.footer-newsletter {
  background: var(--navy-2);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-newsletter-copy {
  flex: 1 1 320px;
}
.footer-newsletter-copy h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}
.footer-newsletter-copy p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin: 0;
  max-width: 32rem;
}
.footer-newsletter-form {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  min-width: 320px;
}
.footer-newsletter-form input {
  flex: 1;
  min-width: 220px;
  min-height: 52px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.footer-newsletter-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.footer-newsletter-form .btn {
  flex: 0 0 auto;
}
.footer-newsletter-msg {
  margin: 1rem 0 0;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-align: center;
}
.footer-newsletter-msg.is-success {
  background: rgba(80, 200, 120, 0.15);
  color: #7dffa8;
  border: 1px solid rgba(125, 255, 168, 0.3);
}
.footer-newsletter-msg.is-error {
  background: rgba(200, 30, 37, 0.15);
  color: #ffb4b7;
  border: 1px solid rgba(200, 30, 37, 0.4);
}
@media (max-width: 640px) {
  .footer-newsletter-form {
    min-width: 100%;
    flex-wrap: wrap;
  }
  .footer-newsletter-form input {
    min-width: 100%;
  }
  .footer-newsletter-form .btn {
    width: 100%;
  }
}

/* ========== Preview Note（成品站不使用，仅保留空规则占位） ========== */

/* ========== Reveal 滚动揭示 ========== */
.reveal {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Homepage motion — fade-up / stagger (hero copy on slide change) */
.page-home .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.page-home .reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.page-home .reveal-left {
  transform: translateX(-32px);
}

.page-home .reveal-right {
  transform: translateX(32px);
}

.page-home .reveal-left.is-in,
.page-home .reveal-right.is-in {
  transform: none;
}

.page-home .reveal-scale {
  transform: translateY(16px) scale(0.96);
}

.page-home .reveal-scale.is-in {
  transform: none;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes trustPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 31, 38, 0); }
  50% { box-shadow: 0 0 0 6px rgba(214, 31, 38, 0.08); }
}

.page-home .hero-content.is-switching .hero-kicker,
.page-home .hero-content.is-switching h1,
.page-home .hero-content.is-switching .support,
.page-home .hero-content.is-switching .hero-cta {
  animation: heroCopyIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-home .hero-content.is-switching .hero-kicker { animation-delay: 0.02s; }
.page-home .hero-content.is-switching h1 { animation-delay: 0.06s; }
.page-home .hero-content.is-switching .support { animation-delay: 0.1s; }
.page-home .hero-content.is-switching .hero-cta { animation-delay: 0.14s; }

.page-home .hero-dot {
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.page-home .hero-dot.is-active {
  width: 42px;
}

.page-home .trust-grid > div {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.page-home .trust.is-in .trust-grid > div {
  opacity: 1;
  transform: none;
}

.page-home .product-tile.is-in:hover {
  transform: translateY(-6px);
}

.page-home .cat-item .go {
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .cat-item:hover .go {
  transform: translateX(4px);
  color: var(--primary-hover);
}

.xld-photo .page-home .cat-item .go,
.xld-photo .cat-item .go {
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.xld-photo .page-home .cat-item:hover .go,
.xld-photo .cat-item:hover .go {
  transform: none;
  color: var(--primary);
}

.page-home .process-steps > li.is-in span {
  animation: trustPulse 1.2s ease-out 1;
}

.page-home .cta-band {
  position: relative;
  overflow: hidden;
}

.page-home .cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--primary);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.page-home .cta-band.is-in::before {
  width: 6px;
}

.page-home .cta-band .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .reveal,
  .page-home .reveal-left,
  .page-home .reveal-right,
  .page-home .reveal-scale,
  .page-home .trust-grid > div {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .hero-slide.is-active,
  .page-home .hero-content.is-switching .hero-kicker,
  .page-home .hero-content.is-switching h1,
  .page-home .hero-content.is-switching .support,
  .page-home .hero-content.is-switching .hero-cta,
  .page-home .process-steps > li.is-in span {
    animation: none !important;
  }

  .page-home .cta-band::before {
    width: 6px;
    transition: none;
  }
}

/* ========== Product 详情页 ========== */
.page-hero {
  background: linear-gradient(110deg, #071322 0%, var(--secondary) 58%, var(--secondary-light) 100%);
  color: #fff;
  padding: 4.5rem 0;
  border-bottom: 3px solid var(--primary);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  max-width: 18ch;
  color: #fff;
}

/* 面包屑：浅色页面默认灰，深色 page-hero 内反白 */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a:hover { color: var(--primary); }

.page-hero .breadcrumb { color: rgba(255, 255, 255, 0.65); }

.page-hero .breadcrumb a:hover { color: #fff; }

/* ========== 列表页骨架（videos/news/downloads/faq 等） ========== */
.list-page {
  padding: 3.5rem 0 var(--section-y);
}

.list-page .section-head { margin-bottom: 2.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Search page ========== */
.search-page {
  max-width: 920px;
}

.search-hero {
  margin-bottom: 2rem;
}

.search-hero .page-title {
  margin: 0.35rem 0 0.75rem;
}

.search-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.search-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.85rem;
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.search-panel-field {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
}

.search-panel-ico {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-panel input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-muted, #f4f6f9);
  color: var(--text-main);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-panel input[type="search"]:focus {
  border-color: rgba(200, 30, 37, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 30, 37, 0.12);
}

.search-panel .btn-primary {
  min-height: 52px;
  padding-inline: 1.6rem;
  white-space: nowrap;
}

.search-meta {
  margin: 1.25rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.search-results {
  display: grid;
  gap: 0.85rem;
}

.search-hit {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.search-hit:hover {
  border-color: var(--line-strong, #c5ceda);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.search-hit-thumb {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-muted, #f4f6f9);
}

.search-hit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.search-hit-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.search-hit-model {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-hit strong {
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.search-hit em {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 600;
}

.search-hit:hover em {
  color: var(--primary);
}

.search-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  font-weight: 700;
}

.search-pager a {
  color: var(--secondary);
}

.search-pager a:hover {
  color: var(--primary);
}

.search-pager .sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 360px;
  margin-top: 0.5rem;
  padding: 2.75rem 1.5rem;
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
  box-shadow: var(--shadow-sm);
}

.search-empty[hidden] {
  display: none !important;
}

.search-empty img {
  width: min(280px, 70%);
  height: auto;
  margin-bottom: 1.25rem;
}

.search-empty h2 {
  margin: 0 0 0.55rem;
  color: var(--secondary);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
}

.search-empty p {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.search-empty-actions .btn-ghost {
  min-height: 48px;
  padding-inline: 1.25rem;
  border: var(--hairline) solid var(--line);
  background: #fff;
  color: var(--secondary);
}

.search-empty-actions .btn-ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

@media (max-width: 640px) {
  .search-panel {
    padding: 0.7rem;
  }

  .search-panel .btn-primary {
    width: 100%;
  }

  .search-hit {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .search-hit-thumb {
    width: 72px;
    height: 72px;
  }
}

/* ========== 404 / Not found ========== */
.notfound-page {
  padding: 3.5rem 0 var(--section-y);
  background: var(--bg-muted, #f4f6f9);
}

.notfound-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.notfound-art {
  width: min(320px, 72%);
  height: auto;
  margin: 0 auto 0.5rem;
}

.notfound-code {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display, var(--font-sans));
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.notfound-card h1 {
  margin: 0.4rem 0 0.75rem;
  color: var(--secondary);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.notfound-text {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.notfound-actions .btn {
  min-height: 48px;
  padding-inline: 1.2rem;
}

.notfound-actions .btn-ghost {
  border: var(--hairline) solid var(--line);
  background: #fff;
  color: var(--secondary);
}

.notfound-actions .btn-ghost:hover {
  border-color: var(--secondary);
}

.notfound-hint {
  margin: 1.5rem 0 0;
}

.notfound-back {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notfound-back:hover {
  color: var(--primary);
}

.xld-photo .notfound-page {
  background: var(--bg-muted);
}

/* ========== HTML Sitemap ========== */
.sitemap-page {
  scroll-behavior: smooth;
}

.sitemap-page .section-head {
  margin-bottom: 1.35rem;
}

.sitemap-page .lead {
  max-width: 48ch;
  margin: 0.65rem 0 0;
  color: var(--text-muted);
}

.sitemap-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0.75rem 0.85rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96)),
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 55%);
}

.sitemap-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  border: var(--hairline) solid transparent;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  color: var(--secondary);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}

.sitemap-jump a em {
  min-width: 1.35rem;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: var(--bg-muted, #f4f6f9);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.sitemap-jump a:hover {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  transform: translateY(-1px);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
  gap: 1.25rem;
}

.sitemap-block {
  padding: 1.35rem 1.3rem 1.45rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sitemap-block--main {
  min-height: 100%;
}

.sitemap-block--wide,
.sitemap-secondary {
  grid-column: 1 / -1;
}

.sitemap-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: var(--hairline) solid var(--line);
}

.sitemap-block h2,
.xld-photo .sitemap-block h2 {
  margin: 0;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: none;
}

.sitemap-block h2 a {
  color: inherit;
  text-decoration: none;
}

.sitemap-block h2 a:hover {
  color: var(--primary);
}

.sitemap-count {
  flex-shrink: 0;
  min-width: 1.6rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.sitemap-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-link-grid a,
.sitemap-links--rows > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(180deg, #fff, var(--bg-muted, #f7f9fc));
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.sitemap-link-grid a::after,
.sitemap-links--rows > li > a::after,
.sitemap-child-link::after {
  content: "→";
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.18s, transform 0.18s;
}

.sitemap-link-grid a:hover,
.sitemap-links--rows > li > a:hover,
.sitemap-child-link:hover {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  background: #fff;
}

.sitemap-link-grid a:hover::after,
.sitemap-links--rows > li > a:hover::after,
.sitemap-child-link:hover::after {
  color: var(--primary);
  transform: translateX(2px);
}

.sitemap-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-links--rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sitemap-links--tree > li {
  margin: 0 0 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: var(--hairline) solid color-mix(in srgb, var(--line) 70%, transparent);
}

.sitemap-links--tree > li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.sitemap-child-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.sitemap-child-link em {
  margin-left: auto;
  margin-right: 0.15rem;
  min-width: 1.25rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--bg-muted, #f4f6f9);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.sitemap-cat-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sitemap-cat {
  padding: 1rem 1rem 1.05rem;
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, #fff, #fbfcfe),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 55%, transparent), transparent 4px);
  background-clip: padding-box;
  box-shadow: inset 3px 0 0 var(--primary);
}

.sitemap-cat h3,
.xld-photo .sitemap-cat h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.sitemap-cat h3 a {
  color: var(--secondary);
  text-decoration: none;
}

.sitemap-cat h3 a:hover {
  color: var(--primary);
}

.sitemap-cat-meta {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.sitemap-products-fold {
  margin: 0.35rem 0 0;
}

.sitemap-products-fold > summary {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  list-style: none;
  user-select: none;
}

.sitemap-products-fold > summary::-webkit-details-marker {
  display: none;
}

.sitemap-products-fold > summary::before {
  content: "+";
  display: inline-block;
  width: 1rem;
  margin-right: 0.2rem;
  color: var(--primary);
  font-weight: 800;
}

.sitemap-products-fold[open] > summary::before {
  content: "−";
}

.sitemap-products-fold > summary:hover {
  color: var(--primary);
}

.sitemap-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.sitemap-products a {
  display: block;
  padding: 0.28rem 0.45rem;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.sitemap-products a span {
  margin-left: 0.25rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
}

.sitemap-products a:hover {
  background: var(--bg-muted, #f4f6f9);
  color: var(--primary);
}

.sitemap-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.sitemap-empty {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .sitemap-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sitemap-cat-cols,
  .sitemap-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-cat-cols,
  .sitemap-secondary,
  .sitemap-link-grid {
    grid-template-columns: 1fr;
  }
}

.page-title {
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  color: var(--text-main);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 2.5rem 0 2.5rem;
}

.detail-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.detail-gallery.is-single {
  grid-template-columns: 1fr;
}

/* 左侧缩略图：高度跟主图对齐，滚动条隐藏，改用上下箭头 + 拖拽翻看 */
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  /* height:0 + min-height:100% → 行高由主图决定，缩略图不撑高容器 */
  height: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* 滚动条隐藏，滚动能力保留（滚轮/拖拽/箭头都还能用） */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.gallery-thumbs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.gallery-thumbs.is-grabbing {
  cursor: grabbing;
  user-select: none;
  touch-action: none;
}

/* JS 包出来的外壳承接行高，缩略图条改为占据箭头之间的剩余高度 */
.thumbs-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 0;
  min-height: 100%;
  /* 外壳自己不滚动，若不置 0，窄屏横排时缩略图条的完整宽度会顶开 1fr 轨道、把页面撑出横向滚动 */
  min-width: 0;
}

.thumbs-carousel > .gallery-thumbs {
  height: auto;
  min-height: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.thumbs-nav {
  flex: 0 0 auto;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  background: var(--bg-card, #fff);
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}

.thumbs-nav svg {
  width: 14px;
  height: 14px;
}

/* 箭头由 JS append 在缩略图条之后，靠 order 把「上一张」提到顶部 */
.thumbs-prev {
  order: -1;
}

.thumbs-nav:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.thumbs-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* 图片不够多、根本不溢出时，不摆箭头 */
.thumbs-carousel:not(.is-scrollable) .thumbs-nav {
  display: none;
}

.gallery-thumbs button {
  padding: 0;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-btn);
  background: var(--bg-soft);
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: var(--transition);
}

.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs button:hover {
  border-color: var(--primary);
}

.gallery-thumbs button.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft);
}

/* 右侧大图 — 方框 + 完整显示（绝对定位绕开百分比高度解析问题） */
.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  overflow: hidden;
  cursor: zoom-in;
  /* pan-y: finger on the image can still scroll the page (mobile main image
     often covers >50% of the viewport). Horizontal leftover is handled by JS
     gallery swipe, which preventDefault() only after the axis locks to x. */
  touch-action: pan-y;
}

.gallery-main.is-swiping {
  cursor: grabbing;
  user-select: none;
  touch-action: none;
}

.gallery-media {
  position: absolute;
  inset: 0;
}

.gallery-main img,
.gallery-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s var(--ease);
  -webkit-user-drag: none;
  user-select: none;
}

/* ===== 懒加载占位（骨架微光）=====
   两种等待态共用骨架：
   1. img[data-lazy-src]  自定义懒加载，进视口后预载完整图再换 src；
   2. img.img-lazy-wait   原生 loading=lazy，JS 在加载完成前挂上此类。
   等待期间不再是空白：显示浅灰骨架 + 微光扫过；加载完成后淡入。 */
img[data-lazy-src],
img.img-lazy-wait {
  background: linear-gradient(110deg, #e8edf3 8%, #f5f8fb 18%, #e8edf3 33%);
  background-size: 200% 100%;
  animation: xld-img-shimmer 1.4s linear infinite;
}

img[data-lazy-src] {
  object-fit: cover;
}

/* 原生 lazy 等待期把位图移出内容框：只留骨架，不出现「半张图」渐进渲染。
   （object-position 需要非 fill 的 object-fit 才生效；等待期内容不可见，
   临时 cover 不影响布局，加载完摘类后恢复各自规则。） */
img.img-lazy-wait {
  object-fit: cover;
  object-position: -200vw 50%;
}

img.img-lazy-loaded {
  animation: xld-img-fade-in 0.32s ease-out;
}

@keyframes xld-img-shimmer {
  to {
    background-position-x: -200%;
  }
}

/* 只声明起点：终点回落到元素自身 opacity（如 .page-hero > img 是 0.44），避免结束闪跳 */
@keyframes xld-img-fade-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  img[data-lazy-src],
  img.img-lazy-wait,
  img.img-lazy-loaded {
    animation: none;
  }
}

/* 视频播放器（YouTube iframe / 本地 video） */
.gallery-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.gallery-main.is-playing { cursor: default; }

/* 视频缩略图按钮 */
.gallery-thumbs button.thumb-video {
  position: relative;
}
.gallery-thumbs button.thumb-video .play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 22, 0.45);
  color: #fff;
  pointer-events: none;
}
.gallery-thumbs button.thumb-video .play-icon svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.gallery-thumbs button.thumb-video:hover .play-icon {
  background: rgba(200, 30, 37, 0.65);
}
.gallery-thumbs button.thumb-video.is-active .play-icon {
  background: rgba(200, 30, 37, 0.75);
}

/* 大图可点击放大提示（播放视频时隐藏） */
.gallery-main::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 32px;
  height: 32px;
  background: rgba(17, 24, 39, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-radius: var(--radius-btn);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.gallery-main:not(.is-playing):hover::after { opacity: 1; }

/* 移动端：缩略图回到下方横排 */
@media (max-width: 640px) {
  /* Reduce top whitespace under the hero on mobile product pages */
  .detail-grid {
    padding: 32px 0 42px;
    gap: 22px;
  }

  .xld-photo .detail-grid {
    padding: 32px 0 42px !important;
    gap: 22px !important;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-thumbs,
  .thumbs-carousel > .gallery-thumbs {
    height: auto;
    min-height: 0;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
  }
  /* 移动端横滑，箭头让位给手势 */
  .thumbs-carousel {
    height: auto;
    min-height: 0;
  }
  .thumbs-carousel .thumbs-nav {
    display: none;
  }
  .gallery-thumbs button {
    flex: 0 0 64px;
    width: 64px;
  }
  .gallery-main {
    order: -1;
  }
}

/* ========== Lightbox 放大查看 ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 22, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
}
.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-tech);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.detail-info h1 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.detail-info .lead { margin-bottom: 1.25rem; }

/* 规格表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  width: 40%;
  background: var(--bg-soft);
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-sans);
}

.spec-table tr:nth-child(even) td { background: #F8FAFC; }

/* ========== 详情页第二行：Tabs + Sticky 询盘卡 ========== */
.detail-body {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.detail-body.no-tabs {
  grid-template-columns: 1fr;
}

.detail-body.no-tabs .detail-aside {
  max-width: 680px;
  width: 100%;
  margin-inline: auto;
}

/* sticky 放在栅格项本身：其包含块为完整 grid area（行高），
   若放在内层 div 上，align-items:start 会让 aside 收缩到内容高度导致无法吸附 */
.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

/* 锚点跳转时避开 sticky 头栏 */
#inquiry-form {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
}
.btn-wa:hover {
  background: #1eb857;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Tabs 容器 */
.detail-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tabs-nav button {
  flex-shrink: 0;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.tabs-nav button:hover { color: var(--text-main); }

.tabs-nav button.is-active {
  color: var(--text-main);
  background: var(--bg-card);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
  padding: 1.5rem;
}

.tab-panel.is-active { display: block; }

.tab-panel .spec-table { margin: 0; }

/* Product detail — Cases tab (before Reviews) */
.tab-cases .product-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-case-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.product-case-card:hover {
  border-color: var(--line-strong, #c5ceda);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-case-thumb {
  width: 120px;
  height: 90px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-muted, #f4f6f9);
}

.product-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-case-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.product-case-country {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-case-meta strong {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-case-meta em {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 600;
}

.product-case-card:hover em {
  color: var(--primary);
}

.product-case-more {
  margin: 1.1rem 0 0;
}

.product-case-more a {
  color: var(--secondary);
  font-weight: 700;
}

.product-case-more a:hover {
  color: var(--primary);
}

@media (max-width: 720px) {
  .tab-cases .product-case-grid {
    grid-template-columns: 1fr;
  }
}

/* 产品详情 Tab 内评价：纵向列表 + 分页，禁用轮播 */
.tab-reviews .review-grid--tab {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
  margin-bottom: 0;
  cursor: default;
}
.tab-reviews .review-grid--tab .review {
  flex: none;
  width: 100%;
  max-width: none;
  scroll-snap-align: none;
}
.tab-reviews .review-carousel,
.tab-reviews .review-nav {
  display: none !important;
}
.tab-reviews-pager {
  margin-top: 1.25rem;
}
.tab-reviews-pager .pager-btn,
.tab-reviews-pager .pager-num {
  cursor: pointer;
  font: inherit;
}

.review-empty {
  margin: 0 0 1.5rem;
  color: var(--text-muted, #667);
  font-size: 0.95rem;
}
.review-closed-notice {
  margin: 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-left: 3px solid var(--primary, #c8102e);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.025);
  color: var(--text-muted, #667);
  font-size: 0.95rem;
}
.review-form-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}
.review-form-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.review-form-hint {
  margin: 0 0 1.25rem;
  color: var(--text-muted, #667);
  font-size: 0.9rem;
}
.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-form-grid .full {
  grid-column: 1 / -1;
}
.review-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-main);
}
.review-form-grid input,
.review-form-grid select,
.review-form-grid textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border, #d0d5dd);
  border-radius: 4px;
  font: inherit;
  background: #fff;
  color: var(--text-main);
}
.review-form-grid input:focus,
.review-form-grid select:focus,
.review-form-grid textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.review-form-grid textarea {
  resize: vertical;
  min-height: 100px;
}
.review-form-box .captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-form-box .captcha-row input {
  flex: 1;
  min-width: 0;
}
.review-form-box .captcha-row img {
  height: 42px;
  width: auto;
  cursor: pointer;
  border: 1px solid var(--border, #d0d5dd);
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
}
.review-form-msg {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}
.review-form-msg.is-success { color: #1a7f37; }
.review-form-msg.is-error { color: #c62828; }
.review-form .btn {
  min-width: 10rem;
}
@media (max-width: 640px) {
  .review-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== News detail layout ========== */
.news-detail .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem 2.25rem;
  align-items: start;
}

.news-detail .news-layout.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.news-article {
  padding: 1.75rem 1.75rem 2rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.news-article .page-title {
  margin: 0.35rem 0 0.65rem;
  max-width: 28ch;
}

.news-article .meta-line {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-article .article-cover {
  margin: 0 0 1.25rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-muted, #f4f6f9);
}

.news-article .article-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.news-article .lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.news-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.news-pager-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 96px;
  padding: 1rem 1.1rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.news-pager-next {
  text-align: right;
}

.news-pager-item > span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-pager-item > span.is-disabled {
  opacity: 0.55;
}

.news-pager-item a {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.4;
}

.news-pager-item a:hover {
  color: var(--primary);
}

.news-pager-item em {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
}

.news-back {
  margin: 1.25rem 0 0;
}

.news-back a {
  color: var(--secondary);
  font-weight: 700;
}

.news-back a:hover {
  color: var(--primary);
}

.news-aside {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: sticky;
  top: 96px;
}

.news-widget {
  padding: 1.25rem 1.15rem 1.35rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.news-widget h2,
.xld-photo .news-widget h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: var(--hairline) solid var(--line);
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.news-widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-widget-list > li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: var(--hairline) solid var(--line);
}

.news-widget-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.news-widget-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-muted, #f4f6f9);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.news-widget-list > li:nth-child(-n + 3) .news-widget-index {
  background: var(--primary);
  color: #fff;
}

.news-widget-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.news-widget-body strong {
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.news-widget-list a:hover strong {
  color: var(--primary);
}

.news-widget-body time {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.news-widget-list--cards a {
  grid-template-columns: 72px minmax(0, 1fr);
}

.news-widget-thumb {
  display: block;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-muted, #f4f6f9);
}

.news-widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-widget-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.news-widget-more {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.news-widget-more:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .news-detail .news-layout {
    grid-template-columns: 1fr;
  }

  .news-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .news-article {
    padding: 1.25rem;
  }

  .news-pager {
    grid-template-columns: 1fr;
  }

  .news-pager-next {
    text-align: left;
  }
}

/* ========== 富文本正文（详情 Overview / 新闻 / 单页） ========== */
.rich-content,
.article .content,
.prose {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.75;
}

.rich-content p,
.article .content p {
  margin: 0 0 1em;
}

.rich-content h2, .rich-content h3, .rich-content h4,
.article .content h2, .article .content h3, .article .content h4 {
  margin: 1.5em 0 0.6em;
  line-height: 1.3;
}

.rich-content h2, .article .content h2 { font-size: 1.5rem; }
.rich-content h3, .article .content h3 { font-size: 1.25rem; }
.rich-content h4, .article .content h4 { font-size: 1.05rem; }

.rich-content ul, .rich-content ol,
.article .content ul, .article .content ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.rich-content li, .article .content li { margin-bottom: 0.35em; }

.rich-content img, .article .content img {
  border-radius: var(--radius);
  margin: 0.5em 0;
}

.rich-content table, .article .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25em;
  font-size: 0.92rem;
}

.rich-content table th, .rich-content table td,
.article .content table th, .article .content table td {
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.85rem;
  text-align: left;
}

.rich-content table th, .article .content table th {
  background: var(--bg-soft);
  font-weight: 700;
}

.rich-content blockquote, .article .content blockquote {
  margin: 0 0 1em;
  padding: 0.75rem 1.15rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-soft);
  color: var(--text-muted);
}

/* ========== Case detail page ========== */
.case-page {
  padding: 1.25rem 0 0;
}

.case-page .breadcrumb {
  margin: 0 0 1.25rem;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.case-hero .page-title {
  margin: 0.45rem 0 0.9rem;
  max-width: 16ch;
}

.case-lead {
  margin: 0 0 1.35rem;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.case-lead p {
  margin: 0 0 0.75em;
}

.case-lead p:last-child {
  margin-bottom: 0;
}

.case-hero-nav {
  margin: 0;
}

.case-hero-nav a {
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.case-hero-nav a:hover {
  color: var(--primary);
}

.case-hero-media {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--hairline) solid var(--line);
  background: var(--bg-muted, #f4f6f9);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.case-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr);
  gap: 1.35rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.case-main {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.case-gallery-block,
.case-products-block,
.case-side-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.case-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--hairline) solid var(--line);
}

.case-block-head h2,
.xld-photo .case-block-head h2,
.case-side-card h2,
.xld-photo .case-side-card h2,
.case-side-card h3,
.xld-photo .case-side-card h3,
.case-cta h2,
.xld-photo .case-cta h2 {
  margin: 0;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.case-count {
  min-width: 1.6rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}

.case-shot {
  grid-column: span 4;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: var(--hairline) solid var(--line);
  background: var(--bg-muted, #f4f6f9);
  aspect-ratio: 4 / 3;
}

.case-shot.is-feature {
  grid-column: span 8;
  aspect-ratio: 16 / 10;
}

.case-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease, ease);
}

.case-shot:hover img {
  transform: scale(1.03);
}

.case-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.case-product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border: var(--hairline) solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, #fff, #fbfcfe);
}

.case-product-card:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
}

.case-product-thumb {
  display: block;
  width: 72px;
  height: 56px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-muted, #f4f6f9);
}

.case-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-product-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.case-product-body strong {
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.case-product-card:hover strong {
  color: var(--primary);
}

.case-product-body em {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-style: normal;
}

.case-aside {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: sticky;
  top: 96px;
}

.case-side-card.is-soft {
  background: var(--bg-muted, #f5f7fa);
  box-shadow: none;
}

.case-meta-list {
  margin: 0.85rem 0 1.15rem;
}

.case-meta-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: var(--hairline) solid var(--line);
}

.case-meta-list dt {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.case-meta-list dd {
  margin: 0;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}

.case-side-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: var(--hairline) solid var(--line);
}

.case-side-link {
  display: block;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.case-side-link.is-primary {
  color: var(--primary);
}

.case-side-link:hover {
  color: var(--primary);
}

.case-side-card .case-side-link {
  text-align: left;
}

.case-more-list {
  margin: 0.75rem 0 0.35rem;
  padding: 0;
  list-style: none;
}

.case-more-list li + li {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: var(--hairline) solid var(--line);
}

.case-more-list a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.case-more-thumb {
  display: block;
  width: 64px;
  height: 48px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.case-more-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-more-list strong {
  display: block;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.case-more-list a:hover strong {
  color: var(--primary);
}

.case-more-list em {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-style: normal;
}

.case-cta {
  padding: 0 0 4rem;
}

.case-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-md, 0 12px 30px rgba(8, 22, 38, 0.18));
}

.case-cta h2 {
  max-width: 18ch;
  color: #fff !important;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem) !important;
}

.case-cta p {
  margin: 0.45rem 0 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.case-cta .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .case-hero,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-aside {
    position: static;
  }

  .case-shot,
  .case-shot.is-feature {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }

  .case-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .case-shot,
  .case-shot.is-feature {
    grid-column: span 12;
  }

  .case-product-grid {
    grid-template-columns: 1fr;
  }

  .case-hero-media {
    aspect-ratio: 16 / 11;
  }
}

/* ========== About page ========== */
.about-page {
  padding-bottom: 0;
}

.about-page .breadcrumb {
  margin: 1.25rem 0 0;
}

.about-hero {
  padding: 1.5rem 0 2.5rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.75rem;
  align-items: center;
}

.about-hero-copy .page-title {
  margin: 0.55rem 0 1rem;
  max-width: 14ch;
}

.about-lead {
  margin: 0 0 1.5rem;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-page .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.about-page .btn-ghost:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  color: var(--primary);
}

.about-hero-media {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--hairline) solid var(--line);
  background: var(--bg-muted, #f4f6f9);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.about-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  padding: 0 0 2.5rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.15rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, #f8fafc),
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 55%);
}

.about-stats-grid > div {
  padding: 0.85rem 0.9rem;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.8);
}

.about-stats-grid strong,
.xld-photo .about-stats-grid strong {
  display: block;
  color: var(--secondary);
  font-family: var(--font-display), var(--font-sans);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

.about-stats-grid span {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.about-story {
  padding: 2.5rem 0 3rem;
  background: var(--bg-muted, #f5f7fa);
}

/* About story: soft cityscape wash (keeps white copy card readable) */
.xld-photo .about-story.section-scene::after {
  background:
    linear-gradient(105deg, rgba(245, 247, 250, 0.94) 0%, rgba(245, 247, 250, 0.82) 42%, rgba(245, 247, 250, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 22, 38, 0.06), transparent 55%);
}

.about-story-aside {
  position: relative;
  z-index: 1;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.35fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.about-story-aside h2,
.xld-photo .about-story-aside h2,
.about-pillars .section-head h2,
.xld-photo .about-pillars .section-head h2,
.about-factory .section-head h2,
.xld-photo .about-factory .section-head h2,
.about-cta h2,
.xld-photo .about-cta h2 {
  margin: 0.45rem 0 0.75rem;
  color: var(--secondary);
  font-family: var(--font-display), var(--font-sans);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 18ch;
}

.about-story-aside p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-story-body {
  padding: 1.6rem 1.5rem 1.7rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-story-body p {
  margin: 0 0 1.05em;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.8;
}

.about-story-body p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  padding: 3rem 0;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.about-pillar {
  padding: 1.4rem 1.3rem 1.5rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-pillar > span {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-family: var(--font-tech, var(--font-sans));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-pillar h3,
.xld-photo .about-pillar h3 {
  margin: 0 0 0.55rem;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
}

.about-pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-factory {
  padding: 2.75rem 0 3.25rem;
  background: var(--bg-muted, #f5f7fa);
}

.about-factory .lead {
  margin: 0.55rem 0 0;
  max-width: 46ch;
  color: var(--text-muted);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-shot {
  grid-column: span 4;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: var(--hairline) solid var(--line);
  background: #fff;
  aspect-ratio: 4 / 3;
}

.about-shot.is-feature {
  grid-column: span 8;
  aspect-ratio: 16 / 10;
}

.about-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease, ease);
}

.about-shot:hover img {
  transform: scale(1.03);
}

.about-cta {
  padding: 0 0 4rem;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 1.75rem;
  border-radius: var(--radius);
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-md, 0 12px 30px rgba(8, 22, 38, 0.18));
}

.about-cta h2 {
  max-width: 18ch;
  color: #fff !important;
}

.about-cta p {
  margin: 0.45rem 0 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.about-cta .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .about-hero-grid,
  .about-story-grid,
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-shot,
  .about-shot.is-feature {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .about-shot,
  .about-shot.is-feature {
    grid-column: span 12;
  }

  .about-hero-media {
    aspect-ratio: 16 / 11;
  }

  .about-story-body {
    padding: 1.25rem;
  }
}

/* ========== 卖点列表 ========== */
.selling-points {
  margin: 1rem 0 1.5rem;
}
.points-title {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.points-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.points-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========== PDF / 关联下载 ========== */
.product-pdf {
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.product-pdf a,
.product-pdf button.js-goto-dl-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
}
.product-pdf a:hover,
.product-pdf button.js-goto-dl-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.product-pdf svg {
  flex-shrink: 0;
}

.dl-gate-hint {
  margin: 0 0 1rem;
  color: var(--text-muted, #6b7280);
  font-size: 0.95rem;
  line-height: 1.5;
}

.dl-email-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.dl-email-modal.is-open { display: flex; }
.dl-email-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.55);
}
.dl-email-modal__card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: var(--radius, 10px);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 24px 60px rgba(16, 34, 56, 0.22);
}
.dl-email-modal__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--secondary, #102238);
}
.dl-email-modal__card .dl-doc-name {
  margin: 0 0 1rem;
  color: var(--text-muted, #6b7280);
  font-size: 0.92rem;
}
.dl-email-modal__card label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--text-muted, #6b7280);
}
.dl-email-modal__card input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color, #d8dee6);
  border-radius: var(--radius-btn, 6px);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.dl-email-modal__card .dl-modal-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.35rem;
}
.dl-email-modal__msg {
  min-height: 1.2em;
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--primary, #c81e25);
}
.dl-email-modal__msg.is-ok { color: #0f7a45; }

/* ========== 询盘表单 ========== */
.inquiry-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.inquiry-box h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.inquiry-box .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.inquiry-box .form-grid .full {
  grid-column: 1 / -1;
}

.inquiry-box label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.inquiry-box .req,
.req {
  color: var(--primary);
  margin-right: 0.25rem;
  font-weight: 800;
}

.inquiry-box input.is-invalid,
.inquiry-box textarea.is-invalid {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.inquiry-box .inquiry-captcha {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.inquiry-box .inquiry-captcha input {
  flex: 1;
  margin-bottom: 0;
}

.inquiry-box .inquiry-captcha img {
  width: 120px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  cursor: pointer;
  background: #fff;
}

.inquiry-form-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.inquiry-form-msg.is-success { color: #1a7f37; }
.inquiry-form-msg.is-error { color: var(--primary); }

.inquiry-box input,
.inquiry-box textarea {
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 0.95rem;
  background: var(--bg-card);
  transition: var(--transition);
}

.inquiry-box input:focus,
.inquiry-box textarea:focus {
  outline: 0;
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.inquiry-box textarea {
  min-height: 96px;
  resize: vertical;
}

.inquiry-box .btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.5rem;
  min-height: 50px;
  font-size: 1rem;
  white-space: nowrap;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .hero h1 { font-size: clamp(2.6rem, 7vw, 3.75rem); }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    text-align: center;
  }
  .trust-grid > div {
    padding: 1.5rem;
    border: 0 !important;
  }
  .trust-grid > div:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .trust-grid > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-grid .review {
    flex: 0 0 280px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .detail-grid,
  .detail-body,
  .footer-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside { position: static; }

  .nav { display: none; }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow-md);
    z-index: 100;
    max-height: calc(100dvh - var(--header-h) - 5.5rem - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.nav-is-open .site-header.is-open .nav {
    touch-action: pan-y;
  }

  .site-header.is-open .nav a {
    padding: 0.85rem 0;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .site-header.is-open .nav a::after { display: none; }

  /* 移动端：Products 手风琴（点标题也展开；总目录进面板内 All models） */
  .nav-item.has-mega {
    display: block;
    height: auto;
  }

  .nav-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .site-header.is-open .nav .nav-mega-head > a {
    flex: 1 1 auto;
    border-bottom: 0;
  }

  .nav-mega-toggle {
    display: grid;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.88);
  }

  .has-mega .caret-desktop {
    display: none;
  }

  .mobile-mega-all {
    display: none;
  }

  .site-header.is-open .has-mega .mega-panel,
  .xld-photo .site-header.is-open .has-mega .mega-panel {
    display: none;
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.25rem 0 0.85rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .site-header.is-open .has-mega.is-expanded .mega-panel,
  .xld-photo .site-header.is-open .has-mega.is-expanded .mega-panel {
    display: block !important;
  }

  .has-mega.is-expanded .nav-mega-toggle .caret {
    transform: rotate(180deg);
  }

  .site-header.is-open .nav .mobile-mega-all {
    display: block;
    padding: 0.65rem 0;
    margin: 0 0 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.92rem;
    font-weight: 650;
  }

  .site-header.is-open .nav .mega-grid {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .site-header.is-open .nav .mega-col {
    padding: 0;
  }

  .site-header.is-open .nav .mega-cat {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent;
  }

  .site-header.is-open .nav .mega-cat img {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: cover;
    border-radius: 2px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-open .nav .mega-cat strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .site-header.is-open .nav .mega-links {
    /* 移动端折叠二级系列，避免菜单过长；进分类页再用 chips 筛选 */
    display: none;
  }

  .site-header.is-open .nav .mega-links a {
    display: block;
    padding: 0.38rem 0 !important;
    border-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.86rem;
  }

  .nav-toggle { display: grid; }

  .header-actions .btn-sm { display: none; }

  .brand-text {
    display: block;
    font-size: 1.05rem;
  }

  .brand-text small { display: none; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --section-y: 4.5rem;
    --body: 1rem;
  }

  .container,
  .hero-content {
    width: min(100% - 1.5rem, var(--max));
  }

  .section-head {
    margin-bottom: 2rem;
  }

  /* 移动端 topbar：欢迎语截断，按钮只显图标 */
  .topbar-left {
    flex: 1 1 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
  }
  .topbar-btn span {
    display: none;
  }
  .topbar-btn {
    padding: 0.4rem;
  }

  .review-grid .review {
    flex: 0 0 85%;
  }

  .cat-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cat-item {
    min-height: 360px;
  }

  .inquiry-box .form-grid {
    grid-template-columns: 1fr;
  }

  .download-list a {
    grid-template-columns: auto 1fr;
  }

  .dl-action {
    grid-column: 2;
    justify-self: start;
  }

  .about-mosaic {
    grid-template-rows: 140px 140px;
  }

  .cert-card img { height: 150px; }

  .hero {
    min-height: 76vh;
    min-height: 76svh;
  }

  .hero-content {
    min-height: 76vh;
    min-height: 76svh;
    padding: 4.5rem 0 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    max-width: 11ch;
  }

  .hero .support {
    font-size: 1.05rem;
    max-width: 30rem;
  }

  .hero > .hero-content .btn-primary {
    min-height: 54px;
    padding-inline: 1.8rem;
  }

  .preview-note {
    display: none;
  }

  .wa-float {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }

  .wa-float svg { width: 24px; height: 24px; }
}

/* ========== 移动端底部固定 CTA 栏 ========== */
.mobile-cta-bar { display: none; }

@media (max-width: 768px) {
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--secondary);
  }

  .mobile-cta-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 52px;
    padding: 0.6rem 0.4rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
  }

  .mobile-cta-bar svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .mcta-quote { background: var(--primary); }
  .mcta-wa { background: var(--whatsapp); }
  .mcta-call { background: var(--secondary); }

  /* 底栏占位，避免遮内容；浮窗让位 */
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }

  .wa-float { display: none; }

  .back-to-top {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   XLD FORGE — 2026 art direction
   Industrial editorial layout: asymmetric scale, technical grid, signal red.
   Scoped to body.xld-forge so legacy utilities remain available.
   ========================================================================== */
.xld-forge {
  --primary: #e12634;
  --primary-hover: #b91825;
  --primary-soft: rgba(225, 38, 52, 0.14);
  --secondary: #071321;
  --secondary-light: #12253a;
  --bg-body: #f1f0ec;
  --bg-card: #ffffff;
  --bg-soft: #dfe4e8;
  --text-main: #0b1726;
  --text-muted: #617080;
  --border-color: #cbd2d8;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --max: 1440px;
  --header-h: 88px;
  --radius: 0;
  --radius-btn: 0;
  --section-y: 8rem;
  color: var(--text-main);
  background: var(--bg-body);
}

.xld-forge .container {
  width: min(calc(100% - 4rem), var(--max));
}

.xld-forge h1,
.xld-forge h2,
.xld-forge h3,
.xld-forge .display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.xld-forge h1,
.xld-forge h2 {
  text-transform: uppercase;
}

.xld-forge h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  line-height: 0.94;
}

.xld-forge .eyebrow,
.xld-forge .section-code {
  font-family: var(--font-tech);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.xld-forge .eyebrow {
  color: var(--primary);
}

.xld-forge .section-code {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
}

.xld-forge .section-code::before {
  content: "";
  width: 42px;
  height: 3px;
  background: currentColor;
}

.xld-forge .btn {
  min-height: 56px;
  padding-inline: 2rem;
  border-radius: 0;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.xld-forge .btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  box-shadow: none;
}

.xld-forge .btn-primary::after {
  content: "→";
  margin-left: 0.75rem;
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease);
}

.xld-forge .btn-primary:hover {
  transform: none;
  box-shadow: none;
}

.xld-forge .btn-primary:hover::after {
  transform: translateX(5px);
}

/* Header — two disciplined dark rails */
.xld-forge .topbar {
  background: #030a12;
  border: 0;
}

.xld-forge .topbar .container {
  min-height: 38px;
  padding-block: 0.35rem;
}

.xld-forge .topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xld-forge .topbar-left::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
}

.xld-forge .topbar-btn {
  padding: 0.25rem 0.5rem;
  border: 0;
  border-radius: 0;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.xld-forge .topbar-btn:hover {
  background: transparent;
  color: #fff;
}

.xld-forge .site-header {
  height: var(--header-h);
  background: var(--secondary);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.xld-forge .site-header .container {
  gap: 2rem;
}

.xld-forge .brand-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.86;
  text-transform: uppercase;
}

.xld-forge .brand-text small {
  margin-top: 0.42rem;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.xld-forge .nav {
  gap: clamp(1.2rem, 2vw, 2.35rem);
}

.xld-forge .nav a {
  padding-block: 32px;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xld-forge .nav a::after {
  bottom: 18px;
  height: 3px;
}

.xld-forge .mega-panel {
  width: min(900px, calc(100% - 3rem));
  padding: 1rem 1.25rem;
  border: 0;
  border-top: 5px solid var(--primary);
  background: #f7f6f2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.xld-forge .mega-cat strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.xld-forge .header-search {
  min-height: 44px;
  padding-inline: 0.8rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

.xld-forge .header-search:focus-within {
  border-bottom-color: var(--primary);
  background: transparent;
  box-shadow: none;
}

.xld-forge .header-actions > .btn-primary {
  min-height: 46px;
  padding-inline: 1.35rem;
  font-size: 0.72rem;
}

/* Hero — asymmetric machine stage */
.xld-forge .hero {
  position: relative;
  min-height: clamp(760px, calc(100svh - 38px), 980px);
  isolation: isolate;
  align-items: stretch;
  background: var(--secondary);
}

.xld-forge .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 48%, transparent 76%);
}

.xld-forge .hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: clamp(8px, 0.8vw, 14px);
  height: 42%;
  background: var(--primary);
}

.xld-forge .hero-slides {
  left: 45%;
  z-index: 1;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.xld-forge .hero-slides::before {
  content: "XLD";
  position: absolute;
  top: 50%;
  right: 3vw;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(13rem, 22vw, 24rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.11);
  transform: translateY(-46%);
  pointer-events: none;
}

.xld-forge .hero-slides::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7%;
  z-index: 2;
  width: clamp(260px, 31vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.11) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(255, 255, 255, 0.11) 50%, transparent 50.2%);
  box-shadow:
    0 0 0 54px rgba(255, 255, 255, 0.018),
    0 0 0 55px rgba(255, 255, 255, 0.08),
    inset 0 0 0 54px rgba(255, 255, 255, 0.018),
    inset 0 0 0 55px rgba(255, 255, 255, 0.07);
  transform: translateY(-50%);
  pointer-events: none;
}

.xld-forge .hero-slide {
  background-color: #14263a;
  background-image: linear-gradient(135deg, #14263a, #071321);
  filter: saturate(0.82) contrast(1.05);
}

.xld-forge .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.96) 0%, rgba(7, 19, 33, 0.48) 28%, rgba(7, 19, 33, 0.08) 65%),
    linear-gradient(0deg, rgba(7, 19, 33, 0.62), transparent 55%);
}

.xld-forge .hero-content {
  z-index: 3;
  min-height: clamp(760px, calc(100svh - 38px), 980px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 7rem 0 9rem;
}

.xld-forge .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.xld-forge .hero-kicker::before {
  content: "";
  width: 52px;
  height: 4px;
  background: var(--primary);
}

.xld-forge .hero h1 {
  max-width: 7.2ch;
  font-size: clamp(5rem, 8.5vw, 8.6rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.xld-forge .hero .support {
  max-width: 34rem;
  margin: 2rem 0 2.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

.xld-forge .hero-cta {
  gap: 0;
}

.xld-forge .hero > .hero-content .btn {
  min-height: 62px;
  padding-inline: 2.4rem;
}

.xld-forge .btn-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(7, 19, 33, 0.38);
}

.xld-forge .btn-hero-secondary::after {
  content: "↘";
  margin-left: 0.8rem;
  color: var(--primary);
}

.xld-forge .btn-hero-secondary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--secondary);
}

.xld-forge .hero-tech {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  z-index: 5;
  display: flex;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.xld-forge .hero-nav {
  right: max(3rem, calc((100% - var(--max)) / 2));
  bottom: 3rem;
  gap: 0;
}

.xld-forge .hero-dot {
  width: 48px;
  height: 5px;
  border-radius: 0;
}

/* Trust instrument panel */
.xld-forge .trust {
  position: relative;
  z-index: 8;
  padding: 0 0 2rem;
  border: 0;
  background: var(--bg-body);
}

.xld-forge .trust-grid {
  position: relative;
  transform: translateY(-48px);
  margin-bottom: -48px;
  padding: 0;
  border-top: 6px solid var(--primary);
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 28px 70px rgba(7, 19, 33, 0.16);
}

.xld-forge .trust-grid > div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.8rem 2.4rem;
  border-right: 1px solid var(--border-color);
}

.xld-forge .trust-grid > div:first-child {
  padding-left: 2.4rem;
}

.xld-forge .trust-grid > div:last-child {
  border-right: 0;
}

.xld-forge .trust strong {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 4vw, 4.6rem);
  font-weight: 900;
  line-height: 0.85;
  color: var(--text-main);
}

.xld-forge .trust span {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

/* Opening editorial statement */
.xld-forge .industrial-intro {
  padding: 7rem 0 9rem;
  background: var(--bg-body);
}

.xld-forge .industrial-intro .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
}

.xld-forge .intro-heading {
  grid-column: 1 / span 8;
}

.xld-forge .intro-heading h2 {
  max-width: 12ch;
  margin-top: 1.3rem;
  font-size: clamp(3.5rem, 6.2vw, 6.8rem);
  font-weight: 900;
  line-height: 0.86;
}

.xld-forge .intro-copy {
  grid-column: 9 / -1;
  align-self: end;
  padding: 0 0 0.7rem 2rem;
  border-left: 1px solid var(--border-color);
}

.xld-forge .intro-copy p {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.xld-forge .inline-arrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--primary);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xld-forge .inline-arrow span {
  font-size: 1.15rem;
  transition: transform 0.25s var(--ease);
}

.xld-forge .inline-arrow:hover span {
  transform: translateX(6px);
}

.xld-forge .capability-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.xld-forge .capability {
  position: relative;
  min-height: 250px;
  padding: 2.2rem 2.5rem 2.4rem 0;
}

.xld-forge .capability + .capability {
  padding-left: 2.5rem;
  border-left: 1px solid var(--border-color);
}

.xld-forge .capability > span {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-family: var(--font-tech);
  font-size: 0.7rem;
}

.xld-forge .capability h3 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.xld-forge .capability p {
  max-width: 24rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Indexed section headers */
.xld-forge .section {
  padding: var(--section-y) 0;
}

.xld-forge .industrial-intro,
.xld-forge .catalog,
.xld-forge #featured,
.xld-forge .export-process,
.xld-forge .videos,
.xld-forge .reviews,
.xld-forge .certs-home {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.xld-forge .section-head[data-index] {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding-top: 2rem;
  margin-bottom: 4rem;
  border-top: 1px solid currentColor;
}

.xld-forge .section-head[data-index]::before {
  content: attr(data-index);
  align-self: start;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 0.75;
}

.xld-forge .section-head[data-index] > div {
  min-width: 0;
}

.xld-forge .section-head h2 {
  max-width: 14ch;
  font-weight: 900;
}

.xld-forge .section-head .lead {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.xld-forge .link-more {
  padding-bottom: 0.45rem;
  border-bottom: 3px solid currentColor;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

/* Category architecture */
.xld-forge .catalog {
  background: #dfe2e1;
}

.xld-forge .cat-grid {
  counter-reset: forge-category;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.xld-forge .cat-item {
  counter-increment: forge-category;
  grid-column: span 6;
  min-height: clamp(460px, 42vw, 620px);
  isolation: isolate;
  border: 0;
  background: var(--secondary);
  box-shadow: 0 24px 55px rgba(7, 19, 33, 0.16);
}

.xld-forge .cat-item:nth-child(3n + 1) {
  grid-column: span 7;
}

.xld-forge .cat-item:nth-child(3n + 2) {
  grid-column: span 5;
}

.xld-forge .cat-item:nth-child(3n) {
  grid-column: span 12;
  min-height: 400px;
}

.xld-forge .cat-item::before {
  content: "0" counter(forge-category);
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
}

.xld-forge .cat-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  z-index: 4;
  height: 8px;
  background: var(--primary);
  transition: right 0.45s var(--ease);
}

.xld-forge .cat-item:hover::after {
  right: 0;
}

.xld-forge .cat-item img {
  filter: saturate(0.82) contrast(1.04);
  transition: transform 0.75s var(--ease), filter 0.4s ease;
}

.xld-forge .cat-item:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}

.xld-forge .cat-item .shade {
  background:
    linear-gradient(0deg, rgba(7, 19, 33, 0.98) 0%, rgba(7, 19, 33, 0.58) 38%, rgba(7, 19, 33, 0.08) 76%),
    linear-gradient(90deg, rgba(7, 19, 33, 0.45), transparent 55%);
}

.xld-forge .cat-item .shade::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -8%;
  width: min(30vw, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.018),
    0 0 0 46px rgba(255, 255, 255, 0.08);
}

.xld-forge .cat-item .shade::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(135deg, transparent 18%, #000 100%);
}

.xld-forge .cat-item:nth-child(even) .shade::before {
  right: auto;
  left: -12%;
  top: 18%;
}

.xld-forge .cat-item .body {
  z-index: 2;
  padding: clamp(2rem, 3.5vw, 3.5rem);
}

.xld-forge .cat-item h3 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.xld-forge .cat-item p {
  max-width: 34rem;
  margin-top: 1rem;
}

.xld-forge .cat-item .go {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.6rem 0.9rem;
  color: #fff;
  background: var(--primary);
  font-family: var(--font-tech);
}

/* Technical product deck */
.xld-forge .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.xld-forge .product,
.xld-forge .product-tile {
  position: relative;
  border: 1px solid #bfc7ce;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 19, 33, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.xld-forge .product:hover,
.xld-forge .product-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 65px rgba(7, 19, 33, 0.16);
}

.xld-forge .product .thumb,
.xld-forge .product-tile .thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(rgba(7, 19, 33, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 19, 33, 0.045) 1px, transparent 1px),
    #e2e6e8;
  background-size: 32px 32px;
}

.xld-forge .product .thumb::before,
.xld-forge .product-tile .thumb::before {
  content: "XLD";
  position: absolute;
  left: 50%;
  top: 50%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px rgba(7, 19, 33, 0.16);
  transform: translate(-50%, -50%);
}

.xld-forge .product .thumb::after,
.xld-forge .product-tile .thumb::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 6px;
  background: var(--primary);
  transition: width 0.4s var(--ease);
}

.xld-forge .product:hover .thumb::after,
.xld-forge .product-tile:hover .thumb::after {
  width: 100%;
}

.xld-forge .product .thumb img,
.xld-forge .product-tile .thumb img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  padding: 1.25rem;
  mix-blend-mode: multiply;
}

.xld-forge .product .meta,
.xld-forge .product-tile .meta {
  min-height: 168px;
  padding: 1.7rem 1.8rem;
  background: var(--secondary);
}

.xld-forge .product .meta .model,
.xld-forge .product-tile .meta .model {
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.xld-forge .product .meta h3,
.xld-forge .product-tile .meta h3 {
  margin-top: 0.25rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.xld-forge .product .meta p,
.xld-forge .product-tile .meta p {
  color: rgba(255, 255, 255, 0.58);
}

.xld-forge .product .meta .btn,
.xld-forge .product-tile .meta .btn {
  color: #fff;
  border-color: var(--primary);
  font-family: var(--font-tech);
}

.xld-forge.page-home #featured .product-tile:only-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

.xld-forge.page-home #featured .product-tile:only-child .thumb {
  aspect-ratio: auto;
  min-height: 460px;
}

.xld-forge.page-home #featured .product-tile:only-child .meta {
  justify-content: flex-end;
}

/* Export process: a complete conversion narrative without decorative fluff */
.xld-forge .export-process {
  padding: 0 0 var(--section-y);
  background: var(--bg-body);
}

.xld-forge .process-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 32px 80px rgba(7, 19, 33, 0.2);
}

.xld-forge .process-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9px;
  background: var(--primary);
}

.xld-forge .process-lead {
  padding: clamp(3rem, 6vw, 6rem);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.xld-forge .process-lead h2 {
  max-width: 8ch;
  margin: 1.5rem 0;
  color: #fff;
  font-size: clamp(3.8rem, 6vw, 6.5rem);
  font-weight: 900;
}

.xld-forge .process-lead p {
  max-width: 28rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.62);
}

.xld-forge .process-steps {
  list-style: none;
  display: grid;
  align-content: center;
  margin: 0;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.xld-forge .process-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.xld-forge .process-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.xld-forge .process-steps > li > span {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 0.85;
}

.xld-forge .process-steps h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.xld-forge .process-steps p {
  max-width: 32rem;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Media, proof and social confidence */
.xld-forge .videos {
  background: #101f31;
}

.xld-forge .videos .section-head[data-index] {
  border-color: rgba(255, 255, 255, 0.24);
}

.xld-forge .video-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.xld-forge .video-slider__track.video-grid {
  display: flex;
  flex-wrap: nowrap;
  grid-template-columns: none;
}

.xld-forge .video-tile {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
}

.xld-forge .video-tile .play {
  left: 2rem;
  top: auto;
  bottom: 2rem;
  width: 70px;
  height: 70px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.xld-forge .video-tile .play::before {
  left: 29px;
  top: 24px;
}

.xld-forge .video-tile .v-label {
  left: 7.5rem;
  bottom: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
}

.xld-forge .certs-home {
  background: #fff;
}

.xld-forge .cert-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border-color);
  background: var(--border-color);
}

.xld-forge .cert-feature {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 2rem;
  background: #fff;
}

.xld-forge .cert-feature img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s ease, transform 0.3s var(--ease);
}

.xld-forge .cert-feature:hover img {
  filter: none;
  transform: scale(1.03);
}

.xld-forge .cert-feature figcaption {
  margin-top: 1rem;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xld-forge .reviews {
  position: relative;
  overflow: hidden;
  background: #dfe2e1;
}

.xld-forge .reviews::after {
  content: "TRUST";
  position: absolute;
  right: -0.04em;
  bottom: -0.2em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(12rem, 24vw, 26rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px rgba(7, 19, 33, 0.08);
  pointer-events: none;
}

.xld-forge .reviews > .container {
  position: relative;
  z-index: 1;
}

.xld-forge .review-grid {
  gap: 1rem;
}

.xld-forge .review {
  position: relative;
  flex-basis: 410px;
  min-height: 300px;
  padding: 2.5rem;
  border: 0;
  border-top: 7px solid var(--primary);
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 19, 33, 0.08);
}

.xld-forge .review::before {
  content: "“";
  position: absolute;
  right: 1.5rem;
  bottom: -0.28em;
  color: rgba(7, 19, 33, 0.06);
  font-family: Georgia, serif;
  font-size: 11rem;
  line-height: 1;
}

.xld-forge .review:hover {
  transform: none;
  box-shadow: 0 20px 42px rgba(7, 19, 33, 0.12);
}

.xld-forge .avatar {
  border-radius: 0;
  background: var(--secondary);
}

.xld-forge .news-row {
  min-height: 88px;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.xld-forge .news-row a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Closing conversion block and footer */
.xld-forge .cta-band {
  padding: 6rem 0;
  background: var(--primary);
}

.xld-forge .cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
}

.xld-forge .cta-band h2 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  font-weight: 900;
  line-height: 0.88;
}

.xld-forge .cta-band .hero-cta {
  align-self: center;
}

.xld-forge .cta-band .btn-primary {
  background: var(--secondary);
  color: #fff;
}

.xld-forge .site-footer {
  padding-top: 6rem;
  background: #030a12;
}

.xld-forge .footer-grid {
  gap: 4rem;
  margin-bottom: 4rem;
}

.xld-forge .site-footer h3 {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

.xld-forge .footer-newsletter {
  padding-block: 3rem;
  background: var(--secondary);
}

/* Inner pages inherit the same art direction */
.xld-forge .page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 5rem 0;
  border: 0;
  border-bottom: 8px solid var(--primary);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--secondary);
  background-size: 64px 64px;
}

.xld-forge .page-hero::after {
  content: "XLD";
  position: absolute;
  right: 2vw;
  bottom: -0.16em;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 20rem);
  font-weight: 900;
  line-height: 0.8;
}

.xld-forge .page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(0.75) contrast(1.1);
}

.xld-forge .page-hero .container {
  position: relative;
  z-index: 2;
}

.xld-forge .page-hero h1,
.xld-forge .page-title {
  max-width: 16ch;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  font-weight: 900;
  line-height: 0.84;
}

.xld-forge .list-page {
  padding: 4rem 0 var(--section-y);
}

.xld-forge .detail-grid {
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding-block: 5rem;
}

.xld-forge .detail-gallery {
  padding: 1.5rem;
  border: 0;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 19, 33, 0.12);
}

.xld-forge .detail-info {
  align-self: center;
}

.xld-forge .detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.xld-forge .product-pdf,
.xld-forge .selling-points {
  border-radius: 0;
}

.xld-forge .tabs-nav {
  border-bottom: 3px solid var(--secondary);
}

.xld-forge .tabs-nav button {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xld-forge .spec-table th {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.xld-forge .inquiry-box {
  padding: 2.4rem;
  border: 0;
  border-top: 8px solid var(--primary);
  box-shadow: 0 22px 50px rgba(7, 19, 33, 0.12);
}

.xld-forge .inquiry-box h3,
.xld-forge .form-panel h2 {
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.xld-forge .inquiry-box input,
.xld-forge .inquiry-box textarea,
.xld-forge .form-panel input,
.xld-forge .form-panel textarea {
  border: 1px solid #b9c2ca;
  border-radius: 0;
  background: #f7f7f4;
}

.xld-forge .dl-list {
  border-top: 4px solid var(--secondary);
}

.xld-forge .dl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  min-height: 112px;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.xld-forge .dl-row:hover {
  position: relative;
  z-index: 1;
  transform: translateX(8px);
  background: #f8f7f3;
}

.xld-forge .dl-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
}

.xld-forge .dl-row span {
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.7rem;
}

.xld-forge .contact-wrap {
  padding-block: 3rem var(--section-y);
}

.xld-forge .contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  margin-block: 3rem;
  box-shadow: 0 24px 60px rgba(7, 19, 33, 0.12);
}

.xld-forge .contact-card {
  padding: clamp(2.5rem, 5vw, 5rem);
  background: var(--secondary);
  color: #fff;
}

.xld-forge .contact-card .company {
  margin-bottom: 2.5rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.xld-forge .cinfo {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.xld-forge .cinfo .ico {
  color: var(--primary);
  font-size: 1.2rem;
}

.xld-forge .cinfo strong {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xld-forge .map-box {
  min-height: 520px;
  background: #d9dee1;
}

.xld-forge .map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.85) contrast(1.05);
}

.xld-forge .form-panel {
  max-width: 960px;
  padding: clamp(2.5rem, 5vw, 5rem);
  border-left: 9px solid var(--primary);
  background: #fff;
  box-shadow: 0 22px 55px rgba(7, 19, 33, 0.1);
}

.xld-forge .form-panel label {
  display: block;
  margin: 1.1rem 0 0.4rem;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xld-forge .form-panel input,
.xld-forge .form-panel textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
}

.xld-forge .form-panel textarea {
  min-height: 150px;
  resize: vertical;
}

.xld-forge .captcha-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.xld-forge .captcha-row img {
  width: 150px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

/* Responsive Forge composition */
@media (max-width: 1180px) {
  .xld-forge .header-search {
    display: none;
  }

  .xld-forge .hero-slides {
    left: 38%;
  }

  .xld-forge .hero h1 {
    font-size: clamp(4.6rem, 10vw, 7rem);
  }

  .xld-forge .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .xld-forge {
    --header-h: 76px;
    --section-y: 6rem;
  }

  .xld-forge .container {
    width: min(calc(100% - 2.5rem), var(--max));
  }

  .xld-forge .site-header.is-open .nav {
    padding: 1rem 1.5rem 1.5rem;
    background: var(--secondary);
  }

  .xld-forge .site-header.is-open .nav a {
    padding: 1rem 0;
  }

  .xld-forge .hero,
  .xld-forge .hero-content {
    min-height: 780px;
  }

  .xld-forge .hero-slides {
    left: 30%;
    opacity: 0.58;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }

  .xld-forge .hero h1 {
    font-size: clamp(4.5rem, 13vw, 7.2rem);
  }

  .xld-forge .hero-tech {
    display: none;
  }

  .xld-forge .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xld-forge .trust-grid > div {
    min-height: 130px;
    border: 0 !important;
  }

  .xld-forge .trust-grid > div:nth-child(even) {
    border-left: 1px solid var(--border-color) !important;
  }

  .xld-forge .trust-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--border-color) !important;
  }

  .xld-forge .intro-heading,
  .xld-forge .intro-copy {
    grid-column: 1 / -1;
  }

  .xld-forge .intro-copy {
    max-width: 42rem;
    padding-left: 0;
    border-left: 0;
  }

  .xld-forge .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .xld-forge .capability,
  .xld-forge .capability + .capability {
    min-height: auto;
    padding: 2rem 0;
    border-left: 0;
    border-top: 1px solid var(--border-color);
  }

  .xld-forge .section-head[data-index] {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .xld-forge .section-head[data-index] .link-more {
    grid-column: 2;
    justify-self: start;
  }

  .xld-forge .cat-item,
  .xld-forge .cat-item:nth-child(n) {
    grid-column: span 12;
    min-height: 460px;
  }

  .xld-forge .process-panel {
    grid-template-columns: 1fr;
  }

  .xld-forge .process-lead {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .xld-forge .video-grid,
  .xld-forge .cert-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .xld-forge .cta-band .container {
    grid-template-columns: 1fr;
  }

  .xld-forge .contact-grid {
    grid-template-columns: 1fr;
  }

  .xld-forge.page-home #featured .product-tile:only-child {
    grid-column: auto;
    display: flex;
  }

  .xld-forge.page-home #featured .product-tile:only-child .thumb {
    min-height: auto;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 640px) {
  .xld-forge {
    --header-h: 66px;
    --section-y: 4.5rem;
  }

  .xld-forge .container,
  .xld-forge .hero-content {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .xld-forge .topbar-left {
    display: none;
  }

  .xld-forge .topbar .container {
    justify-content: flex-end;
  }

  .xld-forge .brand-text {
    font-size: 1.45rem;
  }

  .xld-forge .hero,
  .xld-forge .hero-content {
    min-height: 700px;
  }

  .xld-forge .hero-slides {
    left: 0;
    opacity: 0.45;
    clip-path: none;
  }

  .xld-forge .hero-slides::before {
    right: -1rem;
    font-size: 13rem;
  }

  .xld-forge .hero-content {
    justify-content: flex-end;
    padding: 7rem 0 7rem;
  }

  .xld-forge .hero h1 {
    max-width: 8ch;
    font-size: clamp(4rem, 20vw, 5.6rem);
    line-height: 0.8;
  }

  .xld-forge .hero .support {
    margin-block: 1.5rem 2rem;
  }

  .xld-forge .hero-cta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .xld-forge .hero > .hero-content .btn {
    width: 100%;
  }

  .xld-forge .hero-nav {
    right: 0.75rem;
    bottom: 2rem;
  }

  .xld-forge .trust-grid {
    transform: translateY(-28px);
    margin-bottom: -28px;
  }

  .xld-forge .trust-grid > div,
  .xld-forge .trust-grid > div:first-child {
    min-height: 110px;
    padding: 1.2rem;
  }

  .xld-forge .trust strong {
    font-size: 2.8rem;
  }

  .xld-forge .industrial-intro {
    padding-block: 4rem 5rem;
  }

  .xld-forge .industrial-intro .container {
    gap: 1.5rem;
  }

  .xld-forge .intro-heading h2 {
    font-size: clamp(3.4rem, 16vw, 4.8rem);
  }

  .xld-forge .section-head[data-index] {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .xld-forge .section-head[data-index]::before {
    font-size: 3.2rem;
  }

  .xld-forge .section-head[data-index] .link-more {
    grid-column: 1;
  }

  .xld-forge .cat-item,
  .xld-forge .cat-item:nth-child(n) {
    min-height: 410px;
  }

  .xld-forge .cat-item h3 {
    font-size: 3.2rem;
  }

  .xld-forge .product-grid,
  .xld-forge .video-grid,
  .xld-forge .cert-showcase {
    grid-template-columns: 1fr;
  }

  .xld-forge .process-lead,
  .xld-forge .process-steps {
    padding: 2.5rem 1.5rem;
  }

  .xld-forge .process-lead h2 {
    font-size: 4rem;
  }

  .xld-forge .process-steps li {
    grid-template-columns: 52px 1fr;
    gap: 1rem;
  }

  .xld-forge .video-tile {
    min-height: 340px;
  }

  .xld-forge .review {
    flex-basis: 88vw;
    min-height: 280px;
  }

  .xld-forge .page-hero {
    min-height: 280px;
    padding-block: 3.5rem;
  }

  .xld-forge .page-hero h1,
  .xld-forge .page-title {
    font-size: 3.7rem;
  }

  .xld-forge .dl-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.4rem;
  }

  .xld-forge .dl-row .btn {
    width: 100%;
  }

  .xld-forge .form-panel,
  .xld-forge .inquiry-box {
    padding: 1.6rem;
  }

  .xld-forge .captcha-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   XLD PHOTO — reference-aligned international industrial direction
   Real machinery and factory imagery lead; graphics support rather than lead.
   ========================================================================== */
.xld-photo {
  /* HN Machines breathability pass:
     white field, hairline borders, spare red, airy section rhythm.
     Keep navy header + cinematic hero + red inquiry CTA. */
  --primary: #c81e25;
  --primary-hover: #a5161c;
  --primary-soft: rgba(200, 30, 37, 0.08);
  --secondary: #0f1f35;
  --secondary-light: #1a3354;
  --bg-body: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-muted: #f5f7fa;
  --text-main: #1a2433;
  --text-muted: #6b7788;
  --border-color: #e8edf3;
  --line: #e8edf3;
  --line-strong: #d9e1ea;
  --max: 1240px;
  --header-h: 84px;
  --radius: 12px;
  --radius-btn: 6px;
  --section-y: 7.5rem;
  --h1: clamp(2.5rem, 4.6vw, 4rem);
  --h2: clamp(1.75rem, 2.8vw, 2.5rem);
  --body: 1.05rem;
  --hairline: 1px;
  --accent-bar: 2px;
  --font-sans: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Manrope', sans-serif;
  --font-tech: 'Manrope', sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 31, 53, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 31, 53, 0.07);
  --shadow-lg: 0 24px 48px rgba(15, 31, 53, 0.1);
  color: var(--text-main);
  background: var(--bg-body);
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.7;
}

.xld-photo .container {
  width: min(calc(100% - 5rem), var(--max));
}

.xld-photo h1,
.xld-photo h2,
.xld-photo h3,
.xld-photo .display {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  text-transform: none;
  font-weight: 600;
}

.xld-photo h2 {
  font-size: var(--h2);
  line-height: 1.2;
  color: var(--secondary);
}

.xld-photo .eyebrow,
.xld-photo .section-code {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a95a5;
}

.xld-photo .section-code {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #8a95a5;
}

.xld-photo .section-code::before {
  content: "";
  width: 22px;
  height: var(--hairline);
  border-radius: 0;
  background: var(--primary);
}

.xld-photo .btn {
  min-height: 48px;
  padding-inline: 1.55rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 650;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.xld-photo .btn-primary {
  background: var(--primary);
  box-shadow: none;
}

.xld-photo .btn-primary::after {
  content: "→";
  margin-left: 0.55rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease);
}

.xld-photo .btn-primary:hover {
  transform: none;
  background: var(--primary-hover);
  box-shadow: none;
}

.xld-photo .btn-primary:hover::after {
  transform: translateX(3px);
}

/* Bright navigation with a compact information rail */
.xld-photo .topbar {
  background: var(--secondary);
  border: 0;
}

.xld-photo .topbar .container {
  min-height: 38px;
  padding-block: 0.35rem;
}

.xld-photo .topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.xld-photo .topbar-left::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
}

.xld-photo .topbar-btn {
  padding: 0.25rem 0.5rem;
  border: 0;
  font-size: 0.72rem;
}

/* Solid navy header — thin edge, light presence */
.xld-photo .site-header {
  height: var(--header-h);
  background: var(--secondary);
  border: 0;
  border-bottom: var(--hairline) solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(15, 31, 53, 0.08);
}

.xld-photo .site-header .container {
  gap: 2rem;
}

.xld-photo .brand img,
.xld-photo .brand-logo {
  height: clamp(46px, 5vw, 54px);
  width: auto;
  max-width: none;
  padding: 0 !important;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.xld-photo .brand.has-logo {
  gap: 0;
  overflow: visible;
}

.xld-photo .brand-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
}

.xld-photo .brand-text small {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xld-photo .nav {
  gap: clamp(1.25rem, 2vw, 2.2rem);
}

.xld-photo .nav a {
  padding-block: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.xld-photo .nav a:hover {
  color: #fff;
}

.xld-photo .nav a::after {
  bottom: 0;
  height: var(--accent-bar);
}

.xld-photo .mega-panel {
  width: min(900px, calc(100% - 3rem));
  padding: 0.85rem 1.15rem 1rem;
  border: 0;
  border-top: var(--accent-bar) solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.xld-photo .header-search {
  width: 40px;
  height: 40px;
  min-height: 0;
  border: 0;
  background: transparent;
}

.xld-photo .header-search .search-float {
  background: #12263f;
  border-color: rgba(255, 255, 255, 0.14);
}

.xld-photo .lang-switch summary {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.xld-photo .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

.xld-photo .nav-toggle span,
.xld-photo .nav-toggle span::before,
.xld-photo .nav-toggle span::after {
  background: #fff;
}

.xld-photo .header-actions > .btn-primary {
  min-height: 44px;
  padding-inline: 1.35rem;
  font-size: 0.82rem;
}

/* council_37ce30ec: cinematic full-bleed hero — scale + dark field + one red CTA */
.xld-photo .hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  isolation: isolate;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
}

.xld-photo .hero::before,
.xld-photo .hero::after {
  content: none;
}

.xld-photo .hero-slides {
  left: 0;
  right: 0;
  z-index: 1;
  clip-path: none;
}

.xld-photo .hero--fallback-media .hero-slides {
  display: none;
}

.xld-photo .hero-slide {
  filter: none;
  background-color: var(--secondary);
}

.xld-photo .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(6, 15, 29, 0.92) 0%, rgba(6, 15, 29, 0.68) 40%, rgba(6, 15, 29, 0.28) 72%, rgba(6, 15, 29, 0.12) 100%),
    linear-gradient(0deg, rgba(6, 15, 29, 0.55) 0%, transparent 50%);
}

.xld-photo .hero-fallback-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(115deg, #071322 0%, #10223a 58%, #1b304b 100%);
}

.xld-photo .machine-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 5rem 4% 4rem 42%;
}

.xld-photo .machine-stage::before {
  content: none;
}

.xld-photo .machine-stage img {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
}

.xld-photo .machine-stage-label,
.xld-photo .machine-stage-model {
  display: none; /* 削弱 hero 内装饰条 */
}

.xld-photo .hero-content {
  z-index: 3;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 7rem 0 6rem;
}

.xld-photo .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: #ff8a90;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: rise 0.8s 0.02s var(--ease) both;
}

.xld-photo .hero-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.xld-photo .hero h1 {
  max-width: 14ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  animation: rise 0.8s 0.06s var(--ease) both;
}

.xld-photo .hero .support {
  max-width: 38rem;
  margin: 1.25rem 0 2rem;
  padding-left: 0;
  border-left: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  animation: rise 0.8s 0.12s var(--ease) both;
}

.xld-photo .hero-cta {
  gap: 1.25rem;
  align-items: center;
  animation: rise 0.8s 0.18s var(--ease) both;
}

.xld-photo .hero > .hero-content .btn-primary {
  min-height: 52px;
  padding-inline: 1.9rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.xld-photo .hero .hero-link {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.xld-photo .hero .hero-link:hover {
  border-bottom-color: var(--primary);
}

.xld-photo .btn-hero-secondary {
  display: none; /* single primary CTA — Rand */
}

.xld-photo .hero-tech {
  display: none;
}

.xld-photo .hero-nav {
  right: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 2rem;
}

.xld-photo .hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.xld-photo .hero-dot.is-active {
  background: var(--primary);
}

/* Light trust strip — airy, hairline, no heavy navy slab */
.xld-photo .trust {
  padding: 2.5rem 0;
  border: 0;
  border-bottom: var(--hairline) solid var(--line);
  background: #fff;
  color: var(--text-main);
}

.xld-photo .trust-grid {
  gap: 0;
  text-align: center;
}

.xld-photo .trust-grid > div,
.xld-photo .trust-grid > div:first-child {
  min-height: 0;
  display: block;
  padding: 0.35rem 1.5rem;
  border-right: var(--hairline) solid var(--line);
}

.xld-photo .trust-grid > div:first-child {
  padding-left: 0.5rem;
}

.xld-photo .trust-grid > div:last-child {
  border-right: 0;
  padding-right: 0.5rem;
}

.xld-photo .trust strong {
  display: block;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.xld-photo .trust span {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Company proof — open two-column, single photo plane */
.xld-photo .industrial-intro {
  padding: var(--section-y) 0;
  background: #fff;
}

.xld-photo.page-home .industrial-intro {
  padding-bottom: 3.25rem;
}

.xld-photo .industrial-intro .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 3.5rem;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.xld-photo .intro-heading {
  grid-column: 1 / span 5;
}

.xld-photo .intro-heading h2 {
  max-width: 16ch;
  margin-top: 0.9rem;
  color: var(--secondary);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.xld-photo .intro-copy {
  grid-column: 1 / span 5;
  align-self: start;
  padding: 0.25rem 0 0;
  border: 0;
}

.xld-photo .intro-copy p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.xld-photo .intro-media {
  position: relative;
  grid-column: 7 / -1;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: none;
  border: var(--hairline) solid var(--line);
}

.xld-photo .intro-media-main {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.xld-photo .intro-media-detail {
  display: none; /* simplify composition — less stacked chrome */
}

.xld-photo .intro-media > span {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 0.55rem 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 31, 53, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xld-photo .inline-arrow {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 1.05rem;
  border: var(--hairline) solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.xld-photo .inline-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--xld-beam),
    transparent 0deg,
    transparent 240deg,
    rgba(200, 30, 37, 0.1) 275deg,
    rgba(200, 30, 37, 0.65) 310deg,
    var(--primary) 335deg,
    #fff 348deg,
    rgba(200, 30, 37, 0.4) 355deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.25s var(--ease);
}

.xld-photo .inline-arrow span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.28s var(--ease);
}

.xld-photo .inline-arrow:hover {
  color: var(--primary);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(7, 19, 33, 0.08);
  transform: translateY(-1px);
}

.xld-photo .inline-arrow:hover::before {
  opacity: 1;
  animation: xld-beam-spin 1.6s linear infinite;
}

.xld-photo .inline-arrow:hover span {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .xld-photo .inline-arrow:hover::before {
    animation: none;
    background: linear-gradient(135deg, var(--primary), rgba(200, 30, 37, 0.35));
  }

  .xld-photo .inline-arrow:hover span {
    transform: none;
  }
}

.xld-photo .capability-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
  border: 0;
  min-width: 0;
  max-width: 100%;
}

.xld-photo .capability {
  min-height: 0;
  padding: 1.65rem 1.5rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-muted);
}

.xld-photo .capability + .capability {
  padding-left: 1.5rem;
  border-left: var(--hairline) solid var(--line);
}

.xld-photo .capability > span {
  display: block;
  margin-bottom: 1.1rem;
  color: #9aa5b4;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.xld-photo .capability h3 {
  margin-bottom: 0.55rem;
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: 600;
}

.xld-photo .capability p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Airy section rhythm */
.xld-photo .section {
  padding: var(--section-y) 0;
}

.xld-photo .industrial-intro,
.xld-photo .catalog,
.xld-photo #featured,
.xld-photo .export-process,
.xld-photo .global-proof,
.xld-photo .videos,
.xld-photo .reviews,
.xld-photo .certs-home {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.xld-photo .section-head,
.xld-photo .section-head[data-index] {
  display: block;
  grid-template-columns: none;
  max-width: 38rem;
  padding-top: 0;
  margin: 0 auto 3.25rem;
  text-align: center;
  border-top: 0;
}

.xld-photo .section-head[data-index]::before {
  content: none;
  display: none;
}

.xld-photo .section-head h2 {
  max-width: none;
  margin-top: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
}

.xld-photo .section-head .lead {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.xld-photo .section-head .link-more {
  display: inline-block;
  margin-top: 1.1rem;
}

.xld-photo .link-more {
  padding-bottom: 0.15rem;
  border-bottom: var(--hairline) solid var(--primary);
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Soft photographic section backdrops (catalog / videos) */
.xld-photo .section-scene {
  --section-scene: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-muted);
}

.xld-photo .section-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    var(--section-scene) center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.78) contrast(1.05);
  pointer-events: none;
}

.xld-photo .section-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.88) 0%, rgba(245, 247, 250, 0.78) 45%, rgba(245, 247, 250, 0.9) 100%),
    linear-gradient(115deg, rgba(8, 22, 38, 0.08), transparent 55%);
  pointer-events: none;
}

.xld-photo .section-scene--deep::after {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.82) 0%, rgba(236, 240, 245, 0.72) 40%, rgba(245, 247, 250, 0.88) 100%),
    linear-gradient(135deg, rgba(8, 22, 38, 0.16), transparent 50%);
}

.xld-photo .section-scene > .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .xld-photo .section-scene::before {
    transform: none;
  }

  .xld-photo .cat-item:hover img,
  .xld-photo .cat-item:hover .body {
    transform: none;
  }
}

/* Categories — stacked overlay cards on a light field */
.xld-photo .catalog {
  background: #fff;
  padding-top: 3.25rem;
  padding-bottom: 2rem;
}

.xld-photo .catalog .section-head {
  margin-bottom: 1.75rem;
}

.xld-photo .cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Categories slider — 3 visible, horizontal scroll for more */
.xld-photo .cat-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.xld-photo .cat-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 0.35rem 0.9rem;
  container-type: inline-size;
  container-name: cat-slider;
}

.xld-photo .cat-slider__viewport::-webkit-scrollbar {
  display: none;
}

.xld-photo .cat-slider__track.cat-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  width: max-content;
  grid-template-columns: none;
}

.xld-photo .cat-slider .cat-item {
  flex: 0 0 auto;
  min-width: 16.25rem;
  height: auto;
  scroll-snap-align: start;
}

@container cat-slider (min-width: 0px) {
  .cat-item {
    flex-basis: calc((100cqi - 3rem) / 3);
    width: calc((100cqi - 3rem) / 3);
  }
}

.xld-photo .cat-slider__nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: var(--hairline) solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.xld-photo .cat-slider__nav:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.xld-photo .cat-slider__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.xld-photo .cat-slider--no-nav {
  grid-template-columns: minmax(0, 1fr);
}

.xld-photo .cat-slider--no-nav .cat-slider__nav,
.xld-photo .cat-slider__nav[hidden] {
  display: none;
}

@media (max-width: 47.99em) {
  .xld-photo .cat-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .xld-photo .cat-slider__nav {
    display: none;
  }

  .xld-photo .cat-slider__track.cat-grid {
    gap: 1rem;
    padding-inline: 0.15rem;
  }
}

/* Categories cards — stacked overlay: photo on top, white copy panel overlapping */
.xld-photo .cat-item,
.xld-photo .cat-item:nth-child(n) {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-main);
  text-align: left;
  text-decoration: none;
  box-shadow: none;
  isolation: isolate;
  container-type: inline-size;
  container-name: cat-card;
  transition: none;
}

.xld-photo .cat-item:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.xld-photo .cat-item::before,
.xld-photo .cat-item::after {
  content: none;
}

.xld-photo .cat-item .media {
  position: relative;
  z-index: 0;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ececec;
}

.xld-photo .cat-item img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: #ececec;
  filter: none;
  transition: transform 0.55s ease;
}

.xld-photo .cat-item:hover img {
  transform: none;
  filter: none;
}

.xld-photo .cat-item .shade {
  display: none;
}

.xld-photo .cat-item .body {
  position: relative;
  z-index: 2;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: calc(100% - 1.875rem);
  min-height: 0;
  margin: -10.5% auto 0;
  padding: 2.25rem 1.5rem 2rem;
  border-top: 0;
  border-bottom: 4px solid var(--primary);
  background: #fff;
  box-shadow:
    0 1px 8px rgba(0, 0, 0, 0.12),
    0 3px 4px rgba(0, 0, 0, 0.14),
    0 3px 3px -2px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: box-shadow 0.25s ease;
}

.xld-photo .cat-item:hover .body {
  transform: none;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.14),
    0 4px 8px rgba(0, 0, 0, 0.12),
    0 3px 3px -2px rgba(0, 0, 0, 0.18);
}

.xld-photo .cat-item .copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 0 0 auto;
  gap: 0.875rem;
  width: 100%;
}

.xld-photo .cat-item h3 {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.xld-photo .cat-item p {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5625;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xld-photo .cat-item .go {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0;
  border-radius: 0;
  color: var(--text-main);
  background: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.xld-photo .cat-item:hover .go {
  background: none;
  color: var(--primary);
}

@media (max-width: 64em) {
  @container cat-slider (min-width: 0px) {
    .cat-item {
      flex-basis: calc((100cqi - 1.875rem) / 2);
      width: calc((100cqi - 1.875rem) / 2);
    }
  }

  .xld-photo .cat-item .body {
    width: calc(100% - 1.875rem);
    margin-top: -10.5%;
    min-height: 0;
    padding: 2rem 1.5rem 1.75rem;
  }
}

@media (max-width: 47.99em) {
  .xld-photo .cat-item,
  .xld-photo .cat-item:nth-child(n) {
    min-height: 0;
  }

  .xld-photo .cat-slider .cat-item {
    min-width: 16rem;
  }

  @container cat-slider (min-width: 0px) {
    .cat-item {
      flex-basis: min(100cqi, 20.5rem);
      width: min(100cqi, 20.5rem);
    }
  }

  .xld-photo .cat-item .media {
    aspect-ratio: 16 / 9;
  }

  .xld-photo .cat-item img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    background: #ececec;
  }

  .xld-photo .cat-item .body {
    width: calc(100% - 1.5rem);
    margin-top: -10.5%;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    padding: 1.75rem 1.25rem 1.75rem;
  }

  .xld-photo .cat-item h3 {
    max-width: none;
    font-size: 1.35rem;
  }

  .xld-photo .cat-item p {
    line-height: 1.45;
  }

  .xld-photo .cat-item .go {
    margin-top: 0.2rem;
    padding: 0;
  }
}

/* Product tiles — white field, hairline, generous padding */
.xld-photo #featured {
  background: #fff;
}

.xld-photo.page-home #featured {
  padding-top: 3rem;
}

.xld-photo .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Rotating border beam (光感绕框) — @property drives conic angle */
@property --xld-beam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes xld-beam-spin {
  to { --xld-beam: 360deg; }
}

.xld-photo .product,
.xld-photo .product-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

/* Light streak along the rounded perimeter */
.xld-photo .product::before,
.xld-photo .product-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--xld-beam),
    transparent 0deg,
    transparent 250deg,
    rgba(200, 30, 37, 0.08) 280deg,
    rgba(200, 30, 37, 0.55) 310deg,
    var(--primary) 335deg,
    #fff 348deg,
    rgba(200, 30, 37, 0.35) 355deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.28s var(--ease);
}

.xld-photo .product:hover,
.xld-photo .product-tile:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(200, 30, 37, 0.12);
}

.xld-photo .product:hover::before,
.xld-photo .product-tile:hover::before {
  opacity: 1;
  animation: xld-beam-spin 1.85s linear infinite;
}

.xld-photo .product .thumb,
.xld-photo .product-tile .thumb {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  background: #fafbfc;
  border-radius: 0;
}

.xld-photo .product .thumb::before,
.xld-photo .product-tile .thumb::before,
.xld-photo .product .thumb::after,
.xld-photo .product-tile .thumb::after {
  content: none;
}

.xld-photo .product .thumb img,
.xld-photo .product-tile .thumb img {
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  object-fit: contain;
  mix-blend-mode: normal;
  transition: transform 0.45s var(--ease);
}

.xld-photo .product:hover .thumb img,
.xld-photo .product-tile:hover .thumb img {
  transform: scale(1.03);
}

.xld-photo .product .meta,
.xld-photo .product-tile .meta {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 1.15rem 1.25rem 1.35rem;
  border-top: var(--hairline) solid var(--line);
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .xld-photo .product:hover::before,
  .xld-photo .product-tile:hover::before {
    animation: none;
    background: linear-gradient(135deg, var(--primary), rgba(200, 30, 37, 0.35));
  }
}

.xld-photo .product .meta .model,
.xld-photo .product-tile .meta .model {
  color: #8a95a5;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xld-photo .product .meta h3,
.xld-photo .product-tile .meta h3 {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}

.xld-photo .product .meta p,
.xld-photo .product-tile .meta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.xld-photo .product .meta .btn,
.xld-photo .product-tile .meta .btn {
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  color: var(--primary);
  background: rgba(200, 30, 37, 0.04);
  border: 1px solid var(--primary);
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: none;
}

.xld-photo .product .meta .btn::after,
.xld-photo .product-tile .meta .btn::after {
  content: none;
}

.xld-photo .product:hover .meta .btn,
.xld-photo .product-tile:hover .meta .btn,
.xld-photo .product .meta .btn:hover,
.xld-photo .product-tile .meta .btn:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: none;
  box-shadow: none;
}

.xld-photo.page-home #featured .product-tile:only-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.xld-photo.page-home #featured .product-tile:only-child .thumb {
  min-height: 410px;
  aspect-ratio: auto;
}

.xld-photo.page-home #featured .product-tile:only-child .meta {
  min-height: 100%;
  justify-content: flex-end;
  padding: 1.75rem 1.6rem;
}

.xld-photo.page-home #featured .product-tile:only-child .meta h3 {
  font-size: 1.7rem;
}

.xld-photo.page-home .product-grid.is-sparse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
}

.xld-photo .product-range-card {
  grid-column: span 2;
  min-height: 380px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: var(--secondary);
  color: #fff;
  box-shadow: none;
}

.xld-photo .product-grid.is-sparse .product-range-card {
  grid-column: auto;
}

.xld-photo .range-card-image {
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #eef1f3;
}

.xld-photo .range-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease);
}

.xld-photo .product-range-card:hover .range-card-image img {
  transform: scale(1.035);
}

.xld-photo .range-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
}

.xld-photo .range-card-copy > span {
  margin-bottom: 1rem;
  color: #ff8e96;
  font-family: var(--font-tech);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xld-photo .range-card-copy h3 {
  max-width: 12ch;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.12;
}

.xld-photo .range-card-copy strong {
  margin-top: 2rem;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Process — open light panel, no heavy navy slab */
.xld-photo .export-process {
  padding: var(--section-y) 0;
  background: var(--bg-muted);
}

.xld-photo .process-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}

.xld-photo .process-panel::before {
  content: none;
}

.xld-photo .process-lead {
  padding: clamp(2.5rem, 4vw, 3.75rem);
  border: 0;
  border-right: var(--hairline) solid var(--line);
  background: #fff;
  color: var(--text-main);
}

.xld-photo .process-lead .section-code {
  color: #8a95a5;
}

.xld-photo .process-lead h2 {
  max-width: 12ch;
  margin: 0.9rem 0 1rem;
  color: var(--secondary);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
}

.xld-photo .process-lead p {
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.xld-photo .process-steps {
  list-style: none;
  display: grid;
  align-content: center;
  margin: 0;
  padding: clamp(2rem, 3.5vw, 3.25rem);
  background: #fff;
}

.xld-photo .process-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: var(--hairline) solid var(--line);
}

.xld-photo .process-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.xld-photo .process-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.xld-photo .process-steps > li > span {
  color: #b0b8c4;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.xld-photo .process-steps h3 {
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
}

.xld-photo .process-steps p {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Real customer/factory proof */
.xld-photo .global-proof {
  padding: var(--section-y) 0;
  background: #fff;
}

.xld-photo .global-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 2rem;
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
}

.xld-photo .global-proof-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--hairline) solid var(--line);
}

.xld-photo .global-proof-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.xld-photo .global-proof-media > span {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 31, 53, 0.5);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xld-photo .global-proof-copy {
  padding: 0.5rem 0 0.5rem 0.5rem;
  background: transparent;
}

.xld-photo .global-proof-copy h2 {
  max-width: 14ch;
  margin: 0.85rem 0 1.15rem;
  color: var(--secondary);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
}

.xld-photo .global-proof-copy > p {
  color: var(--text-muted);
  line-height: 1.75;
}

.xld-photo .global-proof-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
  background: transparent;
}

.xld-photo .global-proof-facts > div {
  padding: 1rem 0.85rem;
  background: var(--bg-muted);
  border: var(--hairline) solid var(--line);
  border-radius: 8px;
}

.xld-photo .global-proof-facts strong {
  display: block;
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 600;
}

.xld-photo .global-proof-facts span {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Media and trust sections */
.xld-photo .videos {
  background: var(--bg-muted);
}

.xld-photo .videos .section-head[data-index] {
  border-color: transparent;
  color: inherit;
}

.xld-photo .videos .section-head h2,
.xld-photo .videos .section-head .eyebrow,
.xld-photo .videos .link-more {
  color: var(--secondary);
}

.xld-photo .video-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.xld-photo .video-slider__track.video-grid {
  display: flex;
  flex-wrap: nowrap;
  grid-template-columns: none;
}

.xld-photo .video-slider__nav {
  border-color: var(--line);
  color: var(--secondary);
}

.xld-photo .video-tile {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--hairline) solid var(--line);
  box-shadow: var(--shadow-sm);
}

.xld-photo .video-tile.is-empty {
  border-color: rgba(7, 19, 33, 0.16);
}

.xld-photo .video-tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.xld-photo .video-tile .play {
  box-shadow: 0 10px 26px rgba(200, 30, 37, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .video-tile:hover::before {
    animation: none;
    background: linear-gradient(135deg, var(--primary), rgba(200, 30, 37, 0.35));
  }
}

.xld-photo .certs-home {
  background: #fff;
}

/* Certificates: single-row drag / scroll track */
.xld-photo .cert-carousel {
  position: relative;
}

.xld-photo .cert-showcase {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  margin-bottom: -0.25rem;
  border: 0;
  background: transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
}

.xld-photo .cert-showcase.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.xld-photo .cert-showcase::-webkit-scrollbar {
  height: 5px;
}

.xld-photo .cert-showcase::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 3px;
}

.xld-photo .cert-showcase::-webkit-scrollbar-thumb {
  background: #c5ced8;
  border-radius: 3px;
}

.xld-photo .cert-feature {
  flex: 0 0 260px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.xld-photo .cert-feature img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  pointer-events: none;
}

.xld-photo .cert-feature figcaption {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.xld-photo .cert-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: var(--hairline) solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.xld-photo .cert-prev { left: -0.35rem; }
.xld-photo .cert-next { right: -0.35rem; }

.xld-photo .cert-carousel:hover .cert-nav {
  opacity: 1;
  visibility: visible;
}

.xld-photo .cert-nav:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.xld-photo .cert-nav:disabled {
  opacity: 0;
  visibility: hidden;
}

/* Product recommend: 8 cards, 4 visible, drag / scroll by group */
.xld-photo .product-recommend {
  background: var(--bg-muted);
  border-top: var(--hairline) solid var(--line);
}

.xld-photo .recommend-carousel {
  position: relative;
}

.xld-photo .recommend-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 0.15rem 0.1rem 0.85rem;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  /* pan-y blocked horizontal swipe; pan-x lets touch + JS drag scroll sideways */
  touch-action: pan-x;
}

.xld-photo .recommend-track.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
  touch-action: none;
}

.xld-photo .recommend-track a,
.xld-photo .recommend-track img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.xld-photo .recommend-track::-webkit-scrollbar {
  height: 5px;
}

.xld-photo .recommend-track::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 3px;
}

.xld-photo .recommend-track::-webkit-scrollbar-thumb {
  background: #c5ced8;
  border-radius: 3px;
}

.xld-photo .recommend-card {
  flex: 0 0 calc((100% - 3.75rem) / 4);
  width: calc((100% - 3.75rem) / 4);
  max-width: calc((100% - 3.75rem) / 4);
  scroll-snap-align: start;
  min-width: calc((100% - 3.75rem) / 4);
  pointer-events: auto;
}

.xld-photo .recommend-card .thumb img {
  pointer-events: none;
}

.xld-photo .recommend-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: var(--hairline) solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.xld-photo .recommend-prev { left: -0.35rem; }
.xld-photo .recommend-next { right: -0.35rem; }

.xld-photo .recommend-carousel:hover .recommend-nav,
.xld-photo .recommend-carousel.is-scrollable .recommend-nav {
  opacity: 1;
  visibility: visible;
}

.xld-photo .recommend-nav:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.xld-photo .recommend-nav:disabled {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 992px) {
  .xld-photo .recommend-card {
    flex-basis: calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 640px) {
  .xld-photo .recommend-card {
    flex-basis: 78%;
    max-width: 78%;
  }

  .xld-photo .recommend-nav {
    opacity: 1;
    visibility: visible;
  }
}

.xld-photo .reviews {
  background: var(--bg-muted);
}

.xld-photo .reviews::after {
  content: none;
}

.xld-photo .review {
  position: relative;
  flex-basis: 360px;
  min-height: 250px;
  overflow: hidden;
  padding: 1.75rem 1.6rem;
  border: var(--hairline) solid var(--line);
  border-top: var(--accent-bar) solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}

.xld-photo .review::before {
  content: "“";
  position: absolute;
  right: 1.2rem;
  bottom: -0.28em;
  color: rgba(16, 34, 56, 0.05);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
  pointer-events: none;
}

.xld-photo .review:hover {
  transform: none;
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(16, 34, 56, 0.08);
}

.xld-photo .review-grid {
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  margin-bottom: 0;
  scrollbar-width: none;
}

.xld-photo .review-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.xld-photo .avatar {
  border-radius: 50%;
  background: var(--secondary);
}

.xld-photo .news-row a {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Closing conversion and footer */
.xld-photo .cta-band {
  padding: 5rem 0;
  background: var(--secondary);
}

.xld-photo .cta-band::before {
  content: none;
}

.xld-photo .cta-band .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
}

.xld-photo .cta-band h2 {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.xld-photo .cta-band .btn-primary {
  background: var(--primary);
  color: #fff;
}

.xld-photo .site-footer {
  padding-top: 5rem;
  background: #081626;
}

.xld-photo .footer-newsletter {
  background: var(--secondary-light);
}

/* Inner-page continuity */
.xld-photo .page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 4rem 0;
  border: 0;
  border-bottom: var(--accent-bar) solid var(--primary);
  background: var(--secondary);
}

/* Product detail hero only has breadcrumb + title — keep it compact on PC too */
.xld-photo.page-product .page-hero {
  min-height: 0;
  padding: 2.4rem 0 2rem;
}

.xld-photo.page-product .detail-grid {
  padding-block: 2.25rem;
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.xld-photo .page-hero::after {
  content: none;
}

.xld-photo .page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
}

.xld-photo .page-hero .container {
  position: relative;
  z-index: 2;
}

.xld-photo .page-hero h1,
.xld-photo .page-title {
  max-width: 18ch;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
}

.xld-photo .list-page {
  padding: 4rem 0 var(--section-y);
}

.xld-photo .detail-grid {
  gap: clamp(2.5rem, 4vw, 4.5rem);
  padding-block: 4.5rem;
}

.xld-photo .detail-gallery {
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: 0 20px 48px rgba(16, 34, 56, 0.09);
}

.xld-photo .detail-gallery:not(.is-single) {
  grid-template-columns: 92px minmax(0, 1fr);
}

.xld-photo .detail-info h1 {
  color: var(--secondary);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.xld-photo .spec-table th {
  background: var(--secondary);
  color: #fff;
}

.xld-photo .inquiry-box {
  border: 1px solid var(--border-color);
  border-top: 5px solid var(--primary);
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 34, 56, 0.09);
}

.xld-photo .inquiry-box h3,
.xld-photo .form-panel h2 {
  color: var(--secondary);
  font-size: 1.75rem;
  font-weight: 600;
}

.xld-photo .dl-list {
  border-top: var(--hairline) solid var(--line);
}

.xld-photo .dl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  min-height: 104px;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}

.xld-photo .dl-row strong {
  display: block;
  color: var(--secondary);
  font-size: 1.15rem;
}

.xld-photo .dl-row span {
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.68rem;
}

/* Contact page — form-first layout */
.contact-page {
  padding: 1.25rem 0 var(--section-y, 4.5rem);
}

.contact-page .breadcrumb {
  margin: 0 0 1.25rem;
}

.contact-hero {
  margin-bottom: 2rem;
  max-width: 52ch;
}

.contact-hero .page-title {
  margin: 0.45rem 0 0.75rem;
  text-transform: none;
}

.contact-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1.35rem;
  align-items: start;
  margin-bottom: 2.25rem;
}

.contact-form-card,
.contact-side-card,
.contact-map {
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form-card {
  padding: clamp(1.4rem, 2.5vw, 2rem);
}

.contact-form-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: var(--hairline) solid var(--line);
}

.contact-form-head h2,
.xld-photo .contact-form-head h2,
.contact-side-card h2,
.xld-photo .contact-side-card h2,
.contact-map-head h2,
.xld-photo .contact-map-head h2 {
  margin: 0;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact-form-head p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.contact-field.is-full,
.contact-field.is-captcha {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: #6b7785;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-field .req {
  margin-right: 0.25rem;
  color: var(--primary);
  font-style: normal;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: var(--hairline) solid var(--line);
  border-radius: 6px;
  background: #fafbfc;
  color: var(--text-main);
  font: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.contact-form .captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 0.75rem;
  align-items: center;
}

.contact-form .captcha-row img {
  width: 140px;
  height: 46px;
  object-fit: cover;
  border: var(--hairline) solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 1.25rem;
}

.contact-form-actions .btn {
  min-width: 180px;
}

.contact-form .form-msg {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form .form-msg.ok { color: #1a7f37; }
.contact-form .form-msg.err { color: var(--primary); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: sticky;
  top: 96px;
}

.contact-side-card {
  padding: 1.35rem 1.25rem 1.45rem;
}

.contact-company {
  margin: 0.55rem 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: var(--hairline) solid var(--line);
  color: inherit;
  text-decoration: none;
}

.contact-line.is-static {
  cursor: default;
}

.contact-line:not(.is-static):hover em {
  color: var(--primary);
}

.contact-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
}

.contact-line strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-line em {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-quick {
  display: grid;
  gap: 0.55rem;
}

.contact-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: var(--hairline) solid var(--line);
  background: #fff;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.contact-quick-btn.is-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.contact-quick-btn.is-wa:hover {
  filter: brightness(0.96);
  color: #fff;
}

.contact-quick-btn.is-call {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.contact-quick-btn.is-call:hover {
  color: #fff;
  filter: brightness(1.08);
}

.contact-quick-btn.is-products:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  color: var(--primary);
}

.contact-side-note {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-map {
  overflow: hidden;
}

.contact-map-head {
  padding: 1.15rem 1.25rem 1rem;
  border-bottom: var(--hairline) solid var(--line);
}

.contact-map-head p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-map .map-box {
  min-height: 360px;
  background: var(--bg-muted, #f4f6f9);
}

.contact-map .map-box iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  height: 360px;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

.contact-map .map-missing {
  margin: 0;
  padding: 2rem 1.25rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-side {
    position: static;
    order: 2;
  }

  .contact-form-card {
    order: 1;
  }
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .captcha-row {
    grid-template-columns: 1fr;
  }

  .contact-form .captcha-row img {
    width: 100%;
    max-width: 180px;
  }

  .contact-form-actions .btn {
    width: 100%;
  }

  .contact-map .map-box,
  .contact-map .map-box iframe {
    min-height: 280px;
    height: 280px;
  }
}

.xld-photo .contact-wrap {
  padding-block: 3rem var(--section-y);
}

.xld-photo .contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  margin-block: 3rem;
  background: #fff;
  box-shadow: 0 20px 48px rgba(16, 34, 56, 0.09);
}

.xld-photo .contact-card {
  padding: clamp(2.5rem, 4vw, 4rem);
  color: #fff;
  background: var(--secondary);
}

.xld-photo .contact-card .company {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 800;
}

.xld-photo .cinfo {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.xld-photo .map-box,
.xld-photo .map-box iframe {
  min-height: 360px;
}

.xld-photo .map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

.xld-photo .form-panel {
  max-width: 960px;
  padding: clamp(2rem, 3.5vw, 3rem);
  border: var(--hairline) solid var(--line);
  border-left: var(--accent-bar) solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}

.xld-photo .form-panel label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a95a5;
}

.xld-photo .form-panel input,
.xld-photo .form-panel textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: var(--hairline) solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fafbfc;
}

.xld-photo .form-panel textarea {
  min-height: 140px;
}

.xld-photo .captcha-row {
  display: flex;
  gap: 0.75rem;
}

.xld-photo .captcha-row img {
  width: 150px;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

@media (max-width: 1180px) {
  .xld-photo .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xld-photo .header-search .search-float {
    width: min(260px, calc(100% - 2rem));
  }

  @media (max-width: 960px) {
    .xld-photo .header-search .search-float {
      width: auto;
      max-width: none;
    }
  }
}

@media (max-width: 992px) {
  .xld-photo {
    --header-h: 74px;
    --section-y: 5.5rem;
  }

  .xld-photo .container {
    width: min(calc(100% - 2.5rem), var(--max));
  }

  .xld-photo .site-header.is-open .nav {
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--secondary);
    max-height: calc(100dvh - var(--header-h) - 5.75rem - env(safe-area-inset-bottom, 0px));
  }

  .xld-photo .site-header.is-open .nav a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .xld-photo .hero {
    min-height: 78vh;
    min-height: 78svh;
  }

  .xld-photo .hero-content {
    min-height: auto;
    padding: 5rem 0 4.5rem;
  }

  .xld-photo .hero-slides,
  .xld-photo .hero-fallback-visual {
    left: 0;
    opacity: 1;
  }

  .xld-photo .machine-stage {
    padding: 4rem 1.25rem 3rem 28%;
  }

  .xld-photo .hero h1 {
    font-size: clamp(2.8rem, 9vw, 4.2rem);
    max-width: 12ch;
  }

  .xld-photo .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xld-photo .trust-grid > div {
    border: 0 !important;
    padding: 1rem 0.75rem !important;
  }

  .xld-photo .trust-grid > div:nth-child(even) {
    border-left: var(--hairline) solid var(--line) !important;
  }

  .xld-photo .trust-grid > div:nth-child(n + 3) {
    border-top: var(--hairline) solid var(--line) !important;
  }

  .xld-photo .section-head,
  .xld-photo .section-head[data-index] {
    margin-bottom: 2.25rem;
    text-align: left;
  }

  .xld-photo .section-head .lead {
    margin-left: 0;
  }

  .xld-photo .cat-item img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    background: #ececec;
  }

  .xld-photo .cat-item .body {
    justify-content: flex-start;
    gap: 0;
    width: calc(100% - 1.75rem);
    margin-top: -10.5%;
    min-height: 0;
    padding: 1.85rem 1.35rem 1.75rem;
  }

  .xld-photo .cat-item h3 {
    margin-bottom: 0;
  }

  .xld-photo .cat-item .go {
    margin-top: 0.2rem;
  }

  .xld-photo .intro-heading,
  .xld-photo .intro-copy,
  .xld-photo .intro-media {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  /* 12-col grid collapses tracks to 0 on narrow viewports; force one flexible column */
  .xld-photo .industrial-intro .container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: min(calc(100% - 2.5rem), var(--max));
    max-width: 100%;
    min-width: 0;
  }

  .xld-photo .industrial-intro .intro-heading,
  .xld-photo .industrial-intro .intro-copy,
  .xld-photo .industrial-intro .intro-media,
  .xld-photo .industrial-intro .capability-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .xld-photo .intro-copy p {
    overflow-wrap: anywhere;
  }

  .xld-photo .intro-media {
    grid-row: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-top: 1rem;
  }

  .xld-photo .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .xld-photo .capability,
  .xld-photo .capability + .capability {
    min-height: auto;
    padding: 1.35rem 1.25rem;
    border: var(--hairline) solid var(--line);
    border-radius: var(--radius);
  }

  .xld-photo .section-head[data-index] {
    display: block;
    grid-template-columns: none;
  }

  .xld-photo .section-head[data-index] .link-more {
    grid-column: auto;
    justify-self: start;
  }

  .xld-photo .cat-grid,
  .xld-photo .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xld-photo.page-home .product-grid.is-sparse {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  }

  .xld-photo .process-panel,
  .xld-photo .global-proof-grid {
    grid-template-columns: 1fr;
  }

  .xld-photo .global-proof-media,
  .xld-photo .global-proof-media img {
    min-height: 480px;
  }

  .xld-photo .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xld-photo .cert-feature {
    flex-basis: 220px;
  }

  .xld-photo .cert-nav {
    opacity: 1;
    visibility: visible;
  }

  .xld-photo .cta-band .container {
    grid-template-columns: 1fr;
  }

  .xld-photo .contact-grid {
    grid-template-columns: 1fr;
  }

  .xld-photo.page-home #featured .product-tile:only-child {
    grid-column: auto;
    display: flex;
  }

  .xld-photo.page-home #featured .product-tile:only-child .thumb {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .xld-photo .product-range-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .xld-photo .range-card-image {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .xld-photo {
    --header-h: 72px;
    --section-y: 4.25rem;
  }

  .xld-photo .brand img,
  .xld-photo .brand-logo {
    height: 40px;
  }

  /* 主题层的 92px + 1fr 两栏在窄屏必须收成一栏：否则 .gallery-main 的 order:-1
     会把大图塞进 92px 的缩略图列，主图缩成 92 见方。基础层的同名规则特异性低于
     主题层，压不住，所以在主题层的窄屏块里再收一次。 */
  .xld-photo .detail-gallery:not(.is-single) {
    grid-template-columns: 1fr;
  }

  .xld-photo .container,
  .xld-photo .hero-content {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .xld-photo .topbar-left {
    display: none;
  }

  .xld-photo .topbar .container {
    justify-content: flex-end;
  }

  .xld-photo .brand-text {
    font-size: 1.35rem;
  }

  .xld-photo .hero {
    min-height: 88vh;
    min-height: 88svh;
    background: var(--secondary);
  }

  .xld-photo .hero::before {
    content: none;
  }

  .xld-photo .hero-content {
    z-index: 3;
    min-height: auto;
    justify-content: center;
    padding: 5.5rem 0 4.5rem;
  }

  .xld-photo .hero-slides,
  .xld-photo .hero-fallback-visual {
    inset: 0;
    width: 100%;
    height: auto;
    opacity: 1;
  }

  .xld-photo .machine-stage {
    padding: 4rem 1rem 3rem;
    justify-content: center;
  }

  .xld-photo .machine-stage img {
    width: min(92%, 520px);
    max-height: 55%;
    opacity: 0.55;
  }

  .xld-photo .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 10vw, 3.4rem); /* 移动端字阶上限 */
    line-height: 1.05;
  }

  .xld-photo .hero .support {
    margin-block: 1.1rem 1.6rem;
    font-size: 1rem;
  }

  .xld-photo .hero-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .xld-photo .hero > .hero-content .btn-primary {
    width: 100%;
    max-width: 320px;
  }

  .xld-photo .hero-nav {
    display: none;
  }

  .xld-photo .trust-grid > div,
  .xld-photo .trust-grid > div:first-child {
    min-height: 0;
    padding: 0.85rem 0.5rem;
  }

  .xld-photo .trust strong {
    font-size: 1.55rem;
  }

  .xld-photo .industrial-intro {
    padding-block: 4rem;
    overflow-x: hidden;
  }

  .xld-photo.page-home .industrial-intro {
    padding-bottom: 2.5rem;
  }

  .xld-photo .catalog {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .xld-photo .catalog .section-head {
    margin-bottom: 1.35rem;
  }

  .xld-photo.page-home #featured {
    padding-top: 2.5rem;
  }

  .xld-photo .intro-heading h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    max-width: none;
  }

  .xld-photo .intro-media {
    aspect-ratio: 4 / 3;
  }

  .xld-photo .intro-media-detail {
    display: none;
  }

  /* Avoid horizontal reveal transforms expanding scroll width on mobile */
  .page-home .reveal-left,
  .page-home .reveal-right,
  .page-home .reveal-scale {
    transform: translateY(20px);
  }

  .page-home .reveal-left.is-in,
  .page-home .reveal-right.is-in,
  .page-home .reveal-scale.is-in {
    transform: none;
  }

  .xld-photo .section-head[data-index] {
    display: block;
    grid-template-columns: none;
    margin-bottom: 2rem;
    text-align: left;
  }

  .xld-photo .section-head[data-index] .link-more {
    grid-column: 1;
  }

  .xld-photo .cat-grid,
  .xld-photo .product-grid,
  .xld-photo .video-grid {
    grid-template-columns: 1fr;
  }

  .xld-photo .cert-feature {
    flex-basis: 78vw;
  }

  .xld-photo.page-home .product-grid.is-sparse {
    grid-template-columns: 1fr;
  }

  .xld-photo .product-range-card {
    grid-column: auto;
  }

  .xld-photo .cat-item,
  .xld-photo .cat-item:nth-child(n) {
    min-height: 0;
  }

  .xld-photo .process-lead,
  .xld-photo .process-steps,
  .xld-photo .global-proof-copy {
    padding: 2.25rem 1.5rem;
  }

  .xld-photo .process-lead h2,
  .xld-photo .global-proof-copy h2 {
    font-size: 3rem;
  }

  .xld-photo .process-steps li {
    grid-template-columns: 48px 1fr;
    gap: 0.9rem;
  }

  .xld-photo .global-proof-media,
  .xld-photo .global-proof-media img {
    min-height: 350px;
  }

  .xld-photo .global-proof-facts {
    grid-template-columns: 1fr;
  }

  .xld-photo .review {
    flex-basis: 86vw;
  }

  .xld-photo .page-hero {
    min-height: 0;
    padding-block: 1.5rem 1.25rem;
  }

  .xld-photo .page-hero h1,
  .xld-photo .page-title {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }

  .xld-photo.page-product .page-hero {
    min-height: 0;
    padding-block: 1.1rem 1rem;
  }

  .xld-photo.page-product .page-hero h1 {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    margin: 0;
  }

  .xld-photo.page-product .page-hero .breadcrumb {
    margin-bottom: 0.45rem;
  }

  .xld-photo.page-product .detail-grid {
    padding: 1rem 0 1.5rem !important;
    gap: 1.1rem !important;
  }

  .xld-photo .dl-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .xld-photo .dl-row .btn {
    width: 100%;
  }

  .xld-photo .form-panel,
  .xld-photo .inquiry-box {
    padding: 1.5rem;
  }

  .xld-photo .captcha-row {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }

  .xld-photo .captcha-row input {
    flex: 1;
    min-width: 0;
  }

  .xld-photo .captcha-row img {
    width: 120px;
    height: 42px;
    flex-shrink: 0;
    object-fit: cover;
  }
}

/* ========== product list pager ========== */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 2.5rem 0 0.5rem;
}

.pager-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pager-btn,
.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(15, 36, 61, 0.16);
  color: var(--navy, #0f243d);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  background: #fff;
}

.pager-btn:hover,
.pager-num:hover {
  border-color: var(--primary, #c8102e);
  color: var(--primary, #c8102e);
}

.pager-num.is-current {
  background: var(--navy, #0f243d);
  border-color: var(--navy, #0f243d);
  color: #fff;
}

.pager-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pager-meta {
  width: 100%;
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(15, 36, 61, 0.55);
}

.xld-photo .pager-btn,
.xld-photo .pager-num {
  border-color: rgba(15, 36, 61, 0.18);
}

/* ========== review → product link ========== */
.review-product {
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.review-product a,
.review-grid .tags a {
  color: var(--primary, #c8102e);
  font-weight: 600;
  text-decoration: none;
}

.review-product a:hover,
.review-grid .tags a:hover {
  text-decoration: underline;
}

/* ========== category series chips ========== */
.series-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
}

.series-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(15, 36, 61, 0.14);
  color: var(--navy, #0f243d);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Selected text on light chips: ensure contrast on both PC and mobile */
.series-chip::selection {
  background: rgba(200, 30, 37, 0.35);
  color: #fff;
}

.series-chip::-moz-selection {
  background: rgba(200, 30, 37, 0.35);
  color: #fff;
}

.series-chip:hover {
  border-color: var(--primary, #c8102e);
  color: var(--primary, #c8102e);
  background: rgba(200, 16, 46, 0.04);
}

.xld-photo .series-chip {
  border-color: rgba(15, 36, 61, 0.16);
}

.series-chip.is-active {
  border-color: var(--primary, #c8102e);
  color: #fff;
  background: var(--primary, #c8102e);
}

.series-chip.is-active:hover {
  color: #fff;
  background: var(--primary, #c8102e);
}

/* ========== Category catalog ========== */
.page-category .category-hero .breadcrumb {
  margin-bottom: 1.15rem;
}

.page-category .category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(12rem, 0.7fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: end;
}

.page-category .category-hero h1 {
  max-width: 18ch;
  color: #fff;
  margin: 0.3rem 0 0.7rem;
}

.page-category .category-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.page-category .page-hero-lead {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.02rem;
  line-height: 1.55;
}

.page-category .category-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.95rem 1.05rem;
  background: rgba(8, 18, 32, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.page-category .category-hero-stats strong {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.page-category .category-hero-stats span {
  display: block;
  margin-top: 0.22rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-category .category-catalog {
  padding-top: 2rem;
}

.page-category .catalog-filter-rail,
.page-products .catalog-filter-rail {
  position: relative;
  margin-bottom: 1.35rem;
}

.page-category .catalog-filter-rail::after,
.page-products .series-chips-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0.4rem;
  width: 2.2rem;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 85%);
}

.page-category .category-series-chips {
  margin-bottom: 0;
}

.page-category .catalog-toolbar,
.page-products .products-toolbar {
  margin-bottom: 1.5rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(15, 36, 61, 0.1);
}

.page-category .catalog-toolbar-title,
.page-products .products-toolbar h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 650;
  color: var(--secondary, #0f243d);
}

.page-category .category-toolbar .products-toolbar-meta,
.page-products .products-toolbar-meta {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.page-category .category-empty {
  margin: 2rem 0;
  color: var(--text-muted);
}

.page-category .product .thumb,
.page-products .product .thumb {
  position: relative;
}

.page-category .product-badge,
.page-products .product-badge {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  z-index: 2;
  max-width: calc(100% - 1.3rem);
  padding: 0.28rem 0.55rem;
  background: rgba(8, 18, 32, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Catalog pages: quieter hover — drop rotating beam (decoration noise) */
.page-products .product::before,
.page-products .product-tile::before,
.page-category .product::before,
.page-category .product-tile::before {
  content: none !important;
  animation: none !important;
}

.page-products .product:hover,
.page-products .product-tile:hover,
.page-category .product:hover,
.page-category .product-tile:hover {
  border-color: rgba(15, 36, 61, 0.18);
  box-shadow: 0 12px 28px rgba(15, 36, 61, 0.08);
}

.page-category .series-chip:not(.is-active),
.page-products .series-chip:not(.is-active) {
  border-radius: 2px;
  background: #fff;
}

@media (max-width: 960px) {
  .page-category .category-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Products catalog page ========== */
.page-products .products-hero .breadcrumb {
  margin-bottom: 1.25rem;
}

.page-products .products-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.7fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
}

.page-products .products-hero h1 {
  max-width: 16ch;
  color: #fff;
  margin: 0.35rem 0 0.75rem;
}

.page-products .products-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.page-products .products-hero-lead {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.page-products .products-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: rgba(8, 18, 32, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.page-products .products-hero-stats strong {
  display: block;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.page-products .products-hero-stats span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-products .products-page .section {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.page-products .products-catalog h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  margin: 0.2rem 0 0.45rem;
}

.page-products .products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(15, 36, 61, 0.1);
}

.page-products .products-toolbar h2 {
  margin: 0;
}

.page-products .products-toolbar-meta {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.page-products .products-toolbar .series-chips {
  max-width: min(100%, 42rem);
  justify-content: flex-end;
}

.page-products .product .thumb {
  position: relative;
}

@media (max-width: 960px) {
  .page-products .products-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-products .products-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .products-toolbar .series-chips {
    justify-content: flex-start;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-products .products-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .products-hero-stats > div:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  /*
   * Mobile catalog density (products / category):
   * Prefer 2-up grid over 1-col stack or product carousels.
   * Series chips become a horizontal swipe rail (filters only).
   * Desktop / tablet rules above this breakpoint stay unchanged.
   */
  .xld-photo .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.65rem;
  }

  .xld-photo .product .meta,
  .xld-photo .product-tile .meta {
    padding: 0.85rem 0.8rem 1rem;
  }

  .xld-photo .product .meta h3,
  .xld-photo .product-tile .meta h3 {
    font-size: 0.95rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .xld-photo .product .meta .model,
  .xld-photo .product-tile .meta .model {
    font-size: 0.72rem;
  }

  .xld-photo .product .meta .btn,
  .xld-photo .product-tile .meta .btn {
    min-height: 34px;
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }

  .page-products .product-badge {
    left: 0.4rem;
    top: 0.4rem;
    max-width: calc(100% - 0.8rem);
    padding: 0.2rem 0.4rem;
    font-size: 0.58rem;
  }

  .series-chips,
  .page-products .products-toolbar .series-chips,
  .page-category .category-series-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 0.5rem;
    max-width: 100%;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
  }

  .series-chips::-webkit-scrollbar {
    height: 3px;
  }

  .series-chips::-webkit-scrollbar-thumb {
    background: rgba(15, 36, 61, 0.25);
  }

  .series-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    font-size: 0.86rem;
  }

  .page-category .category-toolbar,
  .page-products .products-toolbar {
    margin-bottom: 1.15rem;
  }

  .page-products .products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .page-products .pager,
  .page-category .pager {
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
  }
}

/* ========== reduced-motion 守护 ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
