:root {
  --bg: #ffffff;
  --bg-alt: #f2f2f2;
  --ink: #1c1d1d;
  --ink-soft: #5f6b7a;
  --line: #e8e8e1;
  --brand: #1c1d1d;
  --brand-dark: #000000;
  --brand-light: #f5f5f5;
  --accent: #1c1d1d;
  --accent-dark: #000000;
  --radius: 0px;
  --shadow: none;
  --shadow-lg: none;
  --maxw: 1400px;
  --font: "Asul", Georgia, "PingFang SC", "Microsoft YaHei", serif;
  --font-serif: "Asul", Georgia, "PingFang SC", "Microsoft YaHei", serif;
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.425px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
/* ===== Global typography (NOYAFA baseline) ===== */
h1, h2, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); }
h1 { font-size: 32px; line-height: 1.2; font-weight: 700; }
h2 { font-size: 26px; line-height: 1.25; font-weight: 700; }
h3 { font-family: var(--font); font-size: 21px; line-height: 1.3; font-weight: 400; }
p { font-size: 17px; line-height: 1.6; letter-spacing: 0.395px; margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; border-radius: 0 !important; }

/* ===== Language switcher (now inside the single-line header) ===== */
.lang-switch { position: relative; }
.lang-current { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 5px 12px; font-size: 13px; cursor: pointer; font-family: inherit; }
.lang-menu { position: absolute; top: 130%; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); min-width: 120px; padding: 5px; display: none; z-index: 5; }
.lang-menu.open { display: block; }
.lang-menu a { display: block; padding: 7px 10px; border-radius: 7px; color: var(--ink); font-size: 12px; transition: background .15s; }
.lang-menu a:hover { background: var(--brand-light); }

/* ===== Header: single white bar, always visible ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, padding .3s;
  padding: 10px 0;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15,27,45,.08);
  padding: 7px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 800; }
.logo-img { height: 28px; width: auto; display: block; }
/* .logo-tagline removed — tagline text + divider no longer shown next to logo */
.footer-brand .logo-img { height: 26px; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); min-width: 180px; padding: 8px; display: none; z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 7px; color: var(--ink); font-size: 13.5px;
  font-weight: 600; transition: background .15s;
}
.nav-dropdown-menu a:hover { background: var(--brand-light); color: var(--brand); }
.nav-link {
  font-size: 18px; font-weight: 500; letter-spacing: .425px; color: var(--ink-soft);
  position: relative; padding: 3px 0; transition: color .3s, transform .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--brand); transition: width .25s;
}
.nav-link:hover::after, .nav-link.active::after, .nav-link:active::after, .nav-link:focus-visible::after { width: 100%; }
.nav-link:hover, .nav-link.active, .nav-link:active, .nav-link:focus-visible { color: var(--brand); }
.nav-link:hover, .nav-link:focus-visible { transform: translateY(-3px); }
.nav-cta {
  background: transparent; color: var(--ink) !important; padding: 7px 14px !important;
  border-radius: 0; font-weight: 700; letter-spacing: .4px; font-size: 12px;
  border: 1px solid var(--ink);
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.nav-cta:hover { background: var(--ink); color: #fff !important; transform: translateY(-1px); }
.nav-cta::after { display: none; }

/* ===== Desktop PRODUCTS dropdown (NOYAFA-style) ===== */
.nav-drop-wrap { position: relative; display: inline-flex; align-items: center; }
.nav-caret { width: 11px; height: 6px; margin-left: 6px; vertical-align: middle; transition: transform .2s; cursor: pointer; }
.nav-drop-wrap:hover .nav-caret, .nav-drop-wrap.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin: 0; margin-top: 12px; min-width: 250px; background: #fff; list-style: none;
  box-shadow: 0 10px 20px rgba(0,0,0,.09); border-radius: 0; padding: 8px 0; z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s;
}
.nav-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop-wrap:hover .nav-dropdown, .nav-drop-wrap.open .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown li { display: block; }
.nav-dropdown li a {
  display: block; font-family: var(--font); font-size: 18px; letter-spacing: .425px;
  color: var(--ink); padding: 6px 20px; white-space: nowrap; transition: background .15s, color .15s;
}
.nav-dropdown li a:hover { background: var(--brand-light); color: var(--brand); }
.nav-dropdown .nd-empty { padding: 6px 20px; color: var(--ink-soft); font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }

/* Backdrop behind the mobile menu: catches outside taps and blocks them */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(7,20,35,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* ===== Hero image banner (full-bleed) ===== */
.hero-banner { 
  position: relative; 
  background: #fff; padding-top: 80px; 
}
.hero-banner-img { 
  display: block; width: 100%; height: auto; 
}
.hero-banner-actions { 
  position: absolute; 
  left: 0; right: 0; bottom: 10px; 
  display: flex; justify-content: center; align-items: center;
  gap: 12px;
  z-index: 3;
  font-size: 13px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.hero-banner-actions a {
  color: #fff; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.55);
  transition: border-color .2s, opacity .2s;
}
.hero-banner-actions a:hover { border-color: #fff; opacity: .9; }
.hero-actions-sep { opacity: .7; }
@media (max-width: 720px) { 
  .hero-banner { padding-top: 72px; } 
  .hero-banner-actions { bottom: 8px; font-size: 12px; gap: 10px; }
}

/* ===== Hero (B: light, white space) ===== */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: #fff; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #ffffff;
}
.hero-bg::after { content: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; color: var(--ink); padding-top: 80px; padding-bottom: 24px; }
.hero-eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; font-weight: 800; color: var(--ink); }
.hero-lead { font-size: 18px; color: var(--ink-soft); max-width: 760px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; font-weight: 800; color: var(--ink); }
.hero-stats span { font-size: 13px; letter-spacing: 1px; color: var(--ink-soft); text-transform: uppercase; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 0; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; border: 0; }
.btn-primary { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; border-radius: 0; }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,20,24,.15); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); transform: translateY(-2px); }

/* hero gauge visual */
.hero-visual { display: grid; place-items: center; }
.gauge-ring { position: relative; width: 280px; height: 280px; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: #dce6f0; stroke-width: 12; }
.gauge-progress { fill: none; stroke: var(--brand); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 540; stroke-dashoffset: 540; animation: fillGauge 2s ease-out forwards; }
@keyframes fillGauge { to { stroke-dashoffset: 110; } }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num { font-size: 34px; font-weight: 800; color: var(--ink); }
.gauge-label { font-size: 13px; letter-spacing: 2px; color: var(--ink-soft); text-transform: uppercase; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-compact { padding: 56px 0; }
.section-compact .section-head { margin-bottom: 34px; }
.section-alt { background: transparent; }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 54px; }
.section-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--brand); text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 0 0 12px; font-weight: 800; }
.section-sub { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.about-text p { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin: 0 0 10px; }
.about-points { list-style: none; padding: 0; margin: 14px 0 0; }
.about-points li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 600; font-size: 14px; }
.tick { color: #fff; background: var(--brand); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex: 0 0 auto; }
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-card { padding: 0; }
.mini-card strong { display: block; font-size: 17px; color: var(--brand-dark); margin-bottom: 2px; }
.mini-card span { font-size: 13px; color: var(--ink-soft); }

/* ===== About: half image / half text split ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.about-split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: 4 / 3; display: block; box-shadow: none; }
.about-split-text { max-width: 620px; }
.about-split-text h2 {
  font-size: clamp(28px, 3vw, 34px);
  margin: 8px 0 16px;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 800;
}
.about-split-text p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 14px;
  font-size: 18px;
}
.about-split-text p:last-child { margin-bottom: 0; }

/* ===== About: modular blocks (rendered from the CMS) ===== */
.about-block + .about-block { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.about-cards-block .section-kicker { display: block; margin-bottom: 8px; }
.about-cards-block h2 { margin: 0 0 18px; }
.about-text-block { max-width: 920px; margin: 0 auto; }
.about-text-block p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 14px; font-size: 18px; }
.about-split-media iframe.about-video,
.about-split-media video.about-video {
  width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 0;
  box-shadow: none; display: block; background: #000;
}
/* Media on the right (default = mediaSide "right"): flip text to the left. */
.about-split:not(.media-left) .about-split-text { order: -1; text-align: right; }
.about-split:not(.media-left) .about-split-text p { margin-left: auto; }


/* ===== Card grids ===== */
.card-grid { display: grid; gap: 22px; }
.products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.download-grid { grid-template-columns: repeat(2, 1fr); margin: 0 auto; }

/* ===== Category thumbnails (home) — noyafa-style image cards ===== */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 0; background: #f0f0f0; color: #fff;
  text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: none; }
.category-img { position: absolute; inset: 0; }
.category-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 38%, rgba(0,0,0,.62) 100%);
}
.category-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  font-size: 14px; font-weight: 700; line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* ===== Products (noyafa-style cards) ===== */
.page-products { --font: "Asul", Georgia, "Times New Roman", serif; --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 17px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.10); transform: translateY(-3px); }
.pc-media { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.pc-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s ease; }
.product-card:hover .pc-img { transform: scale(1.06); }
.pc-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; letter-spacing: .03em;
}
.pc-body { padding: 12px 12px 16px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 {
  margin: 0 0 6px; font-family: var(--font); font-size: 20px; font-weight: 400; color: var(--ink); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-price { margin-top: 2px; font-size: 15.3px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pc-now { color: var(--brand); margin-right: 8px; }
.pc-was { color: var(--ink-soft); text-decoration: line-through; font-weight: 500; font-size: 13px; }
.pc-link { margin-top: auto; padding-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.pc-model, .pc-tag, .pc-variants, .pc-variant-chip, .product-card p { display: none; }

/* ===== Category sections (noyafa-style headers) ===== */
.prod-section { margin-bottom: 56px; }
.ps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.ps-eyebrow { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.ps-title { position: relative; display: inline-block; margin: 0; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--ink); padding-bottom: 10px; }
.ps-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 132px; height: 3px; background: var(--brand); }
.ps-viewall { font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.ps-viewall:hover { text-decoration: underline; }
.ps-empty { color: var(--ink-soft); font-size: 14px; }
@media (max-width: 1200px) and (min-width: 981px) {
  .page-products .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Product demo videos ===== */
.video-grid { grid-template-columns: repeat(5, 1fr); }
.video-card { display: block; width: 100%; font: inherit; text-align: left; color: inherit; cursor: pointer; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; box-shadow: none; transition: transform .25s, box-shadow .25s; }
.video-card:hover { transform: translateY(-5px); box-shadow: none; }
.video-thumb {
  position: relative; height: 110px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-thumb .play {
  position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--brand); display: grid; place-items: center;
  font-size: 14px; padding-left: 3px; transition: transform .25s, background .25s;
}
.video-card:hover .play { transform: scale(1.12); background: var(--ink); color: #fff; }
.video-meta { padding: 12px 14px; }
.video-tag { display: inline-block; font-size: 10.5px; font-weight: 800; color: var(--brand); letter-spacing: .5px; margin-bottom: 4px; }
.video-meta h3 { margin: 0; font-size: 13.5px; line-height: 1.35; }

/* ===== Download ===== */
.download-card { display: flex; align-items: center; gap: 14px; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; transition: none; }
.download-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.dl-icon { font-size: 30px; flex: 0 0 auto; }
.dl-body { flex: 1; }
.dl-body h3 { margin: 0 0 2px; font-size: 16px; }
.dl-body p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.dl-btn { background: transparent; color: var(--brand); padding: 0; border-radius: 0; font-size: 13px; font-weight: 700; white-space: nowrap; transition: color .2s; }
.download-card:hover .dl-btn { color: var(--brand-dark); background: transparent; }

/* ===== Download search ===== */
.download-search { max-width: 520px; margin: 0 auto 34px; }
.download-search input {
  width: 100%; padding: 13px 20px; border: 1px solid var(--line); border-radius: 999px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #f8f8f8;
  transition: border-color .2s, box-shadow .2s;
}
.download-search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 1000px; margin: 0 auto; }
.faq-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 0; overflow: hidden; background: transparent; transition: none; }
.faq-item.open { box-shadow: none; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 16px 0; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq-plus { font-size: 22px; color: var(--brand); transition: transform .3s; flex: 0 0 auto; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { margin: 0; padding: 0 0 16px; color: var(--ink-soft); font-size: 15px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
.contact-form { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}
.contact-form textarea { resize: vertical; }
.form-note { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--brand); min-height: 18px; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; background: transparent; border: 0; border-radius: 0; padding: 0; }
.info-ico { font-size: 18px; flex: 0 0 auto; }
.info-row strong { display: block; font-size: 14px; }
.info-row p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.info-row p a { color: var(--brand); text-decoration: none; }
.info-row p a:hover { text-decoration: underline; }
.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qr-item { background: transparent; border: 0; border-radius: 0; padding: 0; text-align: left; }
.qr-item img { width: 100%; max-width: 96px; display: block; margin: 0 0 6px; }
.qr-item span { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* ===== Footer ===== */
.site-footer { background: #ffffff; color: #000; padding: 24px 0 0; margin-top: 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 20px; }
.footer-brand .footer-logo { height: 36px; width: auto; display: block; }
.footer-brand p { color: #000; font-size: 14px; max-width: 280px; margin-top: 12px; }
.footer-links h4 { color: #000; font-size: 15px; margin: 0 0 14px; }
.footer-links a { display: block; color: #000; font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-links span { display: block; color: #000; font-size: 14px; padding: 3px 0; }
.footer-links a:hover { color: var(--brand); }
.footer-value { display: flex; align-items: center; gap: 10px; color: #000; font-size: 14px; font-weight: 700; letter-spacing: .5px; padding: 5px 0; }
.value-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 14px 0; text-align: center; font-size: 13px; color: #000; }

/* ===== Footer background image + hover interaction ===== */
.site-footer { position: relative; overflow: hidden; flex-shrink: 0; }
.footer-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../assets/footer/footer-bg.jpg');
  background-size: cover; background-position: center top;
  opacity: 0.3; transform: scale(1.05); filter: blur(4px);
  transition: opacity .5s ease, transform .5s ease, filter .5s ease;
  pointer-events: none;
}
.site-footer.in-view .footer-bg { opacity: 0.4; transform: scale(1.08); filter: blur(3px); }
.site-footer:hover .footer-bg { opacity: 0.6; transform: scale(1.12); filter: blur(0); }
.site-footer > *:not(.footer-bg) { position: relative; z-index: 1; }
/* footer 文本统一黑色 */
.site-footer, .site-footer a, .site-footer span, .site-footer p, .site-footer h4 { color: #000; }
/* 两列布局：Contact 贴右侧 */
.footer-links { grid-column: 2; justify-self: end; text-align: right; }
/* 去掉底部版权上方的横线 */
.footer-bottom { border-top: none; }
.footer-brand-mobile { display: none; }
/* 贴底布局，避免内容短时出现下方留白 */
body { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== To top ===== */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 0; background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s, background .2s, color .2s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover,
.to-top:active { background: var(--ink); color: #fff; }

/* ===== Product catalog layout (left sidebar + right grid) ===== */
.catalog-section { padding-top: 24px; }
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }

.catalog-sidebar {
  position: sticky; top: 120px; align-self: start;
  background: transparent; border: 0; border-radius: 0;
  padding: 0; box-shadow: none;
  max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: thin;
}
/* Products area becomes its own scroll panel: wheel over it scrolls the
   products first; when it reaches the bottom, the scroll chains to the page. */
.catalog-main {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  overscroll-behavior: auto;
  padding-right: 6px;
}
.cat-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.cat-menu { list-style: none; margin: 0; padding: 0; }
.cat-menu li + li { border-top: 1px solid var(--line); }
.cat-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 10px; border: 0; background: transparent;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-align: left;
  cursor: pointer; transition: color .2s, background .2s, transform .2s; font-family: inherit;
}
.cat-link:hover { color: var(--brand); background: #f8f8f8; transform: translateX(6px); }
.cat-link.active { color: var(--brand); background: #f0f0f0; font-weight: 700; }
.cat-link-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cat-mobile { display: none; margin-bottom: 20px; }
/* Mobile-only page title (desktop already shows "Product Catalog" in .page-head) */
.cat-page-title { display: none; margin: 0 0 16px; font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1.2; text-align: center; letter-spacing: -0.5px; }
.cat-mobile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-mobile-link {
  position: relative; aspect-ratio: 4 / 3; border: 0; border-radius: 0; overflow: hidden;
  background-color: #f0f0f0; background-size: cover; background-position: center;
  cursor: pointer; font-family: inherit; padding: 0; color: #fff; text-align: left;
}
.cat-mobile-link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%);
}
.cat-mobile-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
}
.cat-mobile-text {
  color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,.5); word-break: break-word;
}
.cat-mobile-link.active { box-shadow: 0 0 0 3px var(--brand); }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.cat-back-android {
  display: none; flex: 0 0 auto; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(17,20,24,0.06); color: var(--ink);
  cursor: pointer; padding: 0; transition: background .2s;
}
.cat-back-android:hover { background: rgba(17,20,24,0.12); }
.cat-back-android svg { width: 20px; height: 20px; display: block; }
.cat-back-android.is-visible { display: inline-flex; }
.catalog-cat-head { flex: 1; text-align: center; }
.catalog-cat-title { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 8px; line-height: 1.2; }
.catalog-cat-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; max-width: 680px; margin: 0 auto; }

.catalog-cat-title:empty + .catalog-cat-desc:empty { display: none; }

/* ===== Trust / certifications band ===== */
.trust-band { background: transparent; border: 0; padding: 0; }
.trust-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trust-item {
  background: transparent; border: 0; border-radius: 0;
  padding: 0; text-align: left; box-shadow: none;
  display: flex; align-items: center; gap: 10px;
  transition: none;
}
.trust-item:hover { transform: none; box-shadow: none; border-color: transparent; }
.trust-ico { font-size: 24px; }
.trust-item strong { display: block; font-size: 15px; color: var(--brand-dark); }
.trust-item span { font-size: 12.5px; color: var(--ink-soft); }

/* ===== Applications ===== */
.industry-grid { grid-template-columns: repeat(5, 1fr); }
.industry-card { background: transparent; border: 0; border-radius: 0; padding: 0; text-align: left; box-shadow: none; transition: none; }
.industry-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.industry-ico { width: 32px; height: 32px; margin: 0 0 8px; border-radius: 0; background: transparent; color: var(--brand-dark); display: grid; place-items: center; }
.industry-ico svg { width: 24px; height: 24px; }
.industry-card h3 { margin: 0 0 4px; font-size: 15px; }
.industry-card p { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ===== Section head link ===== */
.head-link { color: var(--brand); font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-link:hover { text-decoration: underline; }

/* ===== Products center page ===== */
.page-hero { background: #ffffff; color: var(--ink); padding: 54px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-hero h1 { margin: 0; font-size: 32px; }
.page-hero p { margin: 8px 0 0; color: var(--ink-soft); font-size: 17px; max-width: 860px; }
/* ===== Light page header (B minimal) ===== */
.page-head { background: transparent; border-bottom: 1px solid var(--line); padding: 32px 0 24px; }
.page-head .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-family: var(--font-head); font-size: clamp(34px, 4vw, 42px); font-weight: 800; }
.page-head p { margin: 8px 0 0; color: var(--ink-soft); font-size: 17px; max-width: 860px; }

/* ===== About page (image above, text below) ===== */
.about-hero { padding-top: 0; background: transparent; margin-bottom: -1px; }
.about-hero-media { width: 100%; overflow: hidden; line-height: 0; }
.about-hero-media img { width: 100%; height: auto; max-height: 560px; object-fit: cover; display: block; opacity: 0.7; transform: scale(1.0); transition: opacity .5s ease, transform .5s ease; cursor: pointer; }
/* desktop hover reveal is consolidated in the @media (hover: hover) block below */
.about-text-section { padding: 64px 0 96px; }
.about-text-inner { max-width: 900px; }
.about-text-inner .section-kicker { margin-bottom: 12px; }
.about-text-inner h1 { margin: 0 0 22px; font-size: clamp(34px, 4vw, 42px); font-weight: 800; line-height: 1.2; }
.about-text-inner p { margin: 0 0 18px; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.about-text-inner p:last-child { margin-bottom: 0; }

/* ===== Service page (image above, text below) ===== */
.service-hero { padding-top: 0; background: transparent; margin-bottom: -1px; }
.service-hero-media { width: 100%; overflow: hidden; line-height: 0; }
.service-hero-media img { width: 100%; height: auto; max-height: 560px; object-fit: cover; display: block; opacity: 0.7; transform: scale(1.0); transition: opacity .5s ease, transform .5s ease; cursor: pointer; }
/* desktop hover reveal is consolidated in the @media (hover: hover) block below */
.service-text-section { padding: 64px 0 96px; }
.service-text-inner { max-width: 900px; }
.service-text-inner h1 { margin: 0 0 22px; font-size: clamp(34px, 4vw, 42px); font-weight: 800; line-height: 1.2; }
.service-text-inner p { margin: 0 0 18px; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.service-text-inner p:last-child { margin-bottom: 0; }

/* ===== Contact page hero (image at top) ===== */
.contact-hero { padding-top: 0; background: transparent; margin-bottom: -1px; }
.contact-hero-media { width: 100%; overflow: hidden; line-height: 0; }
.contact-hero-media img { width: 100%; height: auto; max-height: 560px; object-fit: cover; display: block; opacity: 0.7; transform: scale(1.0); transition: opacity .5s ease, transform .5s ease; cursor: pointer; }
/* desktop hover reveal is consolidated in the @media (hover: hover) block below */

/* ===== Products catalog page hero ===== */
.products-hero { padding-top: 0; background: transparent; margin-bottom: -1px; }
.products-hero-media { position: relative; width: 100%; overflow: hidden; }
.products-hero-media img { width: 100%; height: auto; max-height: 560px; object-fit: cover; display: block; opacity: 0.7; transform: scale(1.0); transition: opacity .5s ease, transform .5s ease; cursor: pointer; }
/* desktop hover reveal is consolidated in the @media (hover: hover) block below */
/* floating PNG overlay in the bottom-right corner of the products hero */
.products-hero-overlay { position: absolute; z-index: 2; right: 0; bottom: 0; width: 420px; height: 300px; pointer-events: none; transform-style: preserve-3d; }
.products-hero-overlay img {
  width: 100%; height: 100%; object-fit: contain; opacity: .5;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.4));
  animation: heroOverlayFloatAlt 16s ease-in-out infinite;
  transition: opacity .5s ease; will-change: transform;
}
/* overlay hover is consolidated in the @media (hover: hover) block below */
@media (max-width: 768px) {
  .products-hero-overlay { width: 84px; height: 60px; right: 0; bottom: 0; }
}

/* ===== Page-hero banners: desktop vs mobile behavior ===== */
/* Desktop (mouse): hovering reveals the banner — brighten + slight zoom.
   Gated so it never fires on touch devices (no sticky "hover" on mobile). */
@media (hover: hover) and (pointer: fine) {
  .about-hero-media:hover img,
  .service-hero-media:hover img,
  .contact-hero-media:hover img,
  .products-hero-media:hover img { opacity: 1; transform: scale(1.08); }
  .products-hero:hover .products-hero-overlay img { opacity: 1; }
}
/* Mobile (touch): no effects. All big banners render static & fully clear. */
@media (hover: none) {
  /* hero banners: cancel the desktop 0.7 dim, render static & clear */
  .about-hero-media img,
  .service-hero-media img,
  .contact-hero-media img,
  .products-hero-media img {
    opacity: 1; transform: scale(1); cursor: default;
    -webkit-tap-highlight-color: transparent;
  }
  .products-hero-overlay img { opacity: 1; }
  /* footer big image: 80% transparent (static, no blur) so black text stays readable */
  .site-footer .footer-bg,
  .site-footer.in-view .footer-bg,
  .site-footer:hover .footer-bg {
    opacity: 0.2; filter: none; transform: scale(1);
  }
  /* footer text fully black */
  .site-footer, .site-footer a, .site-footer span, .site-footer p, .site-footer h4 { color: #000; }
}
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 30px 0 8px; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--ink-soft); transition: .2s; }
.pager button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pager button.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager .pager-gap { color: var(--ink-soft); padding: 0 4px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-cards { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; margin-top: 30px; }
  .about-split-text { max-width: 100%; }
  .about-hero-media img { max-height: 420px; }
  .about-text-section { padding: 54px 0 74px; }
  .service-hero-media img { max-height: 420px; }
  .service-text-section { padding: 54px 0 74px; }
  .contact-hero-media img { max-height: 420px; }
  .products-hero-media img { max-height: 420px; }
  .products-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-inner { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav {
    position: fixed; top: 64px; right: 0; height: calc(100vh - 64px); width: 260px;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px;
    transform: translateX(110%); transition: transform .3s; box-shadow: -10px 0 30px rgba(0,0,0,.1);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { color: var(--ink-soft) !important; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-dropdown { width: 100%; }
  .nav-drop-wrap { display: block; width: 100%; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 100%; padding: 0; margin: 0 0 6px; }
  .nav-dropdown li a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; white-space: normal; }
  .nav-caret { display: none; }
  .nav-dropdown > .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--ink); }
  .nav-dropdown-arrow { display: inline-block; transition: transform .2s; font-size: 12px; }
  .nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
  .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { display: block; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13.5px; font-weight: 700; letter-spacing: .8px; border-left: 2px solid var(--brand-light); }
  .nav-cta { margin-top: 14px; text-align: center; width: 100%; }
  .nav-toggle { display: flex; }
  .noyafa-hero { height: 600px; min-height: 600px; }
  .noyafa-hero-inner { padding-top: 64px; padding-bottom: 30px; gap: 26px; }
  .noyafa-product img { max-width: 280px; }
  .noyafa-product--multi { gap: 18px; }
  .noyafa-product--multi img { max-width: 180px; }
  .noyafa-product { margin-left: -16px; }
  /* ===== Mobile typography shell (NOYAFA-style) ===== */
  body { font-size: 17px; letter-spacing: 0.3px; }
  p { font-size: 15px; letter-spacing: 0.3px; }
  .nav-link { font-size: 15px; letter-spacing: 0.3px; }
  .nav-dropdown li a { font-size: 15px; letter-spacing: 0.3px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 34px; }
  .product-card h3 { font-size: 18px; }
  .ps-title { font-size: 22px; }
  .pc-price { font-size: 14px; }
  .page-hero p, .page-head p { font-size: 16px; }
}
@media (max-width: 600px) {
  .download-grid, .video-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { gap: 8px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .about-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { display: flex; flex-direction: column; min-height: 240px; background: #000; border-top: none; }
  .footer-inner { display: none; }
  .footer-brand-mobile { display: block; order: 1; padding: 24px 0 0; text-align: center; position: relative; z-index: 1; }
  .footer-bottom { order: 2; margin-top: auto; padding: 8px 0 12px; text-align: center; position: relative; z-index: 1; }
  .to-top { display: none; }
  .footer-ring-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto; }
  .footer-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: footerRingRotate 20s linear infinite; transform-origin: center; }
  .footer-logo-mobile { position: absolute; top: 50%; left: 50%; width: 100px; height: auto; transform: translate(-50%, -50%); }
  .site-footer { background: #000; border-top: none; }
  .site-footer .footer-bg { display: none; }
  .site-footer, .site-footer a, .site-footer span, .site-footer p, .site-footer h4 { color: #fff; }
  .footer-bottom { color: #fff; }
  @keyframes footerRingRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  .section { padding: 64px 0; }
  .about-hero-media img { max-height: 360px; }
  .about-text-section { padding: 44px 0 64px; }
  .service-hero-media img { max-height: 360px; }
  .service-text-section { padding: 44px 0 64px; }
  .contact-hero-media img { max-height: 360px; }
  .products-hero-media img { max-height: 360px; }
}

.noyafa-hero {
  position: relative;
  min-height: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand)); /* fallback when image missing */
  margin: 0;
}
.noyafa-hero + .noyafa-hero { margin-top: 4px; } /* breathing space between stacked hero banners */
#showcaseWrap .noyafa-hero:last-child { margin-bottom: 4px; } /* gap before footer */
.noyafa-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #0b1422; /* fallback so text stays readable if no bg image is set */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.06); transition: transform .35s ease-out; will-change: transform;
}
.noyafa-hero-bg::after { /* dark gradient overlay for text readability */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,20,35,.78) 0%, rgba(7,20,35,.5) 42%, rgba(7,20,35,.12) 78%, rgba(7,20,35,0) 100%);
}
/* Decorative floating overlays in the bottom-left and top-right corners of the hero */
.noyafa-hero-overlay { position: absolute; z-index: 1; pointer-events: none; transform-style: preserve-3d; }
.noyafa-hero-overlay img {
  width: 100%; height: 100%; object-fit: contain; opacity: .3;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
  animation: heroOverlayFloat 16s ease-in-out infinite;
  will-change: transform;
}
.noyafa-hero-overlay--bl { width: 520px; height: 360px; bottom: -40px; left: -60px; }
.noyafa-hero-overlay--bl img { animation-delay: 0s; }
.noyafa-hero-overlay--tr { width: 520px; height: 360px; top: -40px; right: -60px; }
.noyafa-hero-overlay--tr img { animation-delay: -8s; }
@keyframes heroOverlayFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) skew(0deg, 0deg) scale(1, 1); }
  25% { transform: translate3d(14px, -20px, 30px) rotateX(4deg) rotateY(-5deg) skew(3deg, -2deg) scale(1.03, 0.97); }
  50% { transform: translate3d(0, -12px, 60px) rotateX(0deg) rotateY(4deg) skew(-2deg, 3deg) scale(0.97, 1.03); }
  75% { transform: translate3d(-14px, -22px, 30px) rotateX(-4deg) rotateY(2deg) skew(2deg, 2deg) scale(1.02, 0.98); }
}
/* variant for the products hero: same motion vocabulary but reordered phase
   so it never moves in lockstep with the homepage overlay */
@keyframes heroOverlayFloatAlt {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) skew(0deg, 0deg) scale(1, 1); }
  25% { transform: translate3d(-12px, -22px, 30px) rotateX(-5deg) rotateY(4deg) skew(-3deg, 2deg) scale(0.98, 1.03); }
  50% { transform: translate3d(0, -14px, 60px) rotateX(0deg) rotateY(-4deg) skew(3deg, -2deg) scale(1.03, 0.97); }
  75% { transform: translate3d(14px, -20px, 30px) rotateX(4deg) rotateY(2deg) skew(2deg, 3deg) scale(1.02, 0.98); }
}
@media (max-width: 768px) {
  .noyafa-hero-overlay--bl { width: 260px; height: 180px; bottom: -20px; left: -30px; }
  .noyafa-hero-overlay--tr { width: 260px; height: 180px; top: -20px; right: -30px; }
}
.noyafa-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px;
  text-align: left; padding: 0; align-items: center;
}
.noyafa-hero .noyafa-text { order: 1; max-width: 560px; margin: 0; }
.noyafa-hero .noyafa-product {
  order: 2; display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  position: relative; z-index: 1; pointer-events: none;
  margin-left: -32px; /* 向中间靠拢一些 */
}
.noyafa-hero .noyafa-product img {
  width: auto; max-width: 520px; max-height: 360px; object-fit: contain;
  pointer-events: auto; cursor: pointer;
  opacity: .92;
  filter: saturate(.9) blur(.3px) drop-shadow(0 14px 28px rgba(0,0,0,.32));
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .55s ease, filter .45s;
}
/* product reveal: fade + slide up when scrolled into view (all chapters, incl. 5) */
.noyafa-product-item:not(.is-in) img { opacity: 0; transform: translateY(24px); }
.noyafa-product-item.is-in img { opacity: 1; transform: translateY(0); }
.noyafa-hero .noyafa-product img:hover,
.noyafa-hero .noyafa-product img.is-zoom {
  opacity: 1;
  filter: saturate(1.06) blur(0) drop-shadow(0 30px 56px rgba(0,0,0,.48));
  transform: translateY(0) scale(1.12);
  /* option B: slight overshoot bounce on zoom (0.45s) */
  transition: transform .45s cubic-bezier(.34,1.4,.64,1), opacity .45s ease, filter .45s;
}
.noyafa-hero .noyafa-product--multi { gap: 48px; }
.noyafa-hero .noyafa-product--multi img { max-width: 220px; max-height: 320px; }
/* Desktop layout: keep chapter 3 products side by side */
.noyafa-hero-3 .noyafa-product--multi { flex-wrap: nowrap; }
@media (min-width: 769px) {
  .noyafa-hero .noyafa-product--multi img { max-width: 280px; max-height: 360px; }
  .noyafa-hero-2 .noyafa-product--multi img { max-width: 520px; max-height: 360px; }
  .noyafa-hero-3 .noyafa-product--multi { flex-wrap: nowrap; gap: 24px; }
  .noyafa-hero-3 .noyafa-product--multi img { max-width: 280px; max-height: 360px; }
  .noyafa-hero-4 .noyafa-product { justify-self: end; margin-right: -44px; }
}
/* Chapter 4: product images fully opaque, right one larger */
.noyafa-hero-4 .noyafa-product img { opacity: 1; }
.noyafa-hero-4 .noyafa-product--multi img { max-width: 220px; max-height: 320px; }
.noyafa-hero-4 .noyafa-product-item:nth-child(2) img { max-width: 280px; max-height: 360px; }

/* Chapter 5: product image centered horizontally within the right column */
.noyafa-hero-5 .noyafa-product { margin-left: 0; justify-self: center; }

/* Chapter 4 product moved slightly left so it no longer overlaps the title */
.noyafa-hero-4 .noyafa-product { justify-self: end; margin-right: -20px; }

/* Per-image wrapper */
.noyafa-product-item { position: relative; display: inline-block; }
.noyafa-title { font-size: clamp(26px, 4.2vw, 48px); line-height: 1.08; margin: 0 0 12px; font-weight: 800; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.noyafa-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 460px; margin: 0 0 18px; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.noyafa-model {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
  background: transparent; border: 1px solid #fff; border-radius: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .4px; color: #fff;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.noyafa-model:hover { transform: translateY(-2px); background: #fff; border-color: #fff; color: #000; }
/* per-section hero background images (drop your files into assets/hero/) */
.noyafa-hero-1 .noyafa-hero-bg { background-image: url(../assets/hero/hero-1.jpg); }
.noyafa-hero-2 .noyafa-hero-bg { background-image: url(../assets/hero/hero-2.jpg); }
.noyafa-hero-3 .noyafa-hero-bg { background-image: url(../assets/hero/hero-3.jpg); }
.noyafa-hero-4 .noyafa-hero-bg { background-image: url(../assets/hero/hero-4.jpg); }

/* Alternating (mirrored) hero layout — even heroes put text on the right, product on the left */
.noyafa-hero-2 .noyafa-text,
.noyafa-hero-4 .noyafa-text { order: 2; text-align: right; margin-left: auto; }
.noyafa-hero-2 .noyafa-desc,
.noyafa-hero-4 .noyafa-desc { margin-left: auto; }
.noyafa-hero-2 .noyafa-product,
.noyafa-hero-4 .noyafa-product { order: 1; }
/* Chapter 2: nudge the two product shots toward the page center */
.noyafa-hero-2 .noyafa-product { justify-self: end; margin-right: -44px; }
.noyafa-hero-2 .noyafa-hero-bg::after,
.noyafa-hero-4 .noyafa-hero-bg::after {
  background: linear-gradient(90deg, rgba(7,20,35,0) 0%, rgba(7,20,35,.12) 22%, rgba(7,20,35,.5) 58%, rgba(7,20,35,.78) 100%);
}
/* Mirrored layout — text right, product left (align = right) */
.noyafa-hero-right .noyafa-text { order: 2; text-align: right; margin-left: auto; }
.noyafa-hero-right .noyafa-desc { margin-left: auto; }
.noyafa-hero-right .noyafa-product { order: 1; }
.noyafa-hero-right .noyafa-hero-bg::after {
  background: linear-gradient(90deg, rgba(7,20,35,0) 0%, rgba(7,20,35,.12) 22%, rgba(7,20,35,.5) 58%, rgba(7,20,35,.78) 100%);
}

/* Centered layout — text centered, product below (align = center) */
.noyafa-hero-center .noyafa-hero-inner { grid-template-columns: 1fr; text-align: center; align-items: center; gap: 22px; }
.noyafa-hero-center .noyafa-text { order: 1; margin: 0 auto; }
.noyafa-hero-center .noyafa-desc { margin-left: auto; margin-right: auto; }
.noyafa-hero-center .noyafa-product { order: 2; }
.noyafa-hero-center .noyafa-hero-bg::after {
  background: linear-gradient(180deg, rgba(7,20,35,.2) 0%, rgba(7,20,35,.55) 58%, rgba(7,20,35,.78) 100%);
}

/* Bottom-left layout — text anchored bottom-left, product top-right (align = bottom-left) */
.noyafa-hero-bottom-left { align-items: end; }
.noyafa-hero-bottom-left .noyafa-hero-inner { align-items: end; }
.noyafa-hero-bottom-left .noyafa-text { align-self: end; text-align: left; margin: 0; }
.noyafa-hero-bottom-left .noyafa-desc { margin-left: 0; margin-right: 0; }
.noyafa-hero-bottom-left .noyafa-product { align-self: start; }
.noyafa-hero-bottom-left .noyafa-hero-bg::after {
  background: linear-gradient(45deg, rgba(7,20,35,.85) 0%, rgba(7,20,35,.5) 40%, rgba(7,20,35,.12) 70%, rgba(7,20,35,0) 100%);
}

/* ===== Home Showcase: 9-cell text positioning ===== */
/* default (ml): media on right, text on left, vertically centered */
.noyafa-hero-pos-tl .noyafa-text, .noyafa-hero-pos-tc .noyafa-text, .noyafa-hero-pos-tr .noyafa-text { align-self: start; }
.noyafa-hero-pos-ml .noyafa-text, .noyafa-hero-pos-mc .noyafa-text, .noyafa-hero-pos-mr .noyafa-text { align-self: center; }
.noyafa-hero-pos-bl .noyafa-text, .noyafa-hero-pos-bc .noyafa-text, .noyafa-hero-pos-br .noyafa-text { align-self: end; }
.noyafa-hero-pos-tl .noyafa-text, .noyafa-hero-pos-ml .noyafa-text, .noyafa-hero-pos-bl .noyafa-text { text-align: left; }
.noyafa-hero-pos-tc .noyafa-text, .noyafa-hero-pos-mc .noyafa-text, .noyafa-hero-pos-bc .noyafa-text { text-align: center; }
.noyafa-hero-pos-tr .noyafa-text, .noyafa-hero-pos-mr .noyafa-text, .noyafa-hero-pos-br .noyafa-text { text-align: right; }
/* media on the LEFT (tr/mr/br) -> swap column order */
.noyafa-hero-pos-tr .noyafa-text, .noyafa-hero-pos-mr .noyafa-text, .noyafa-hero-pos-br .noyafa-text { order: 2; }
.noyafa-hero-pos-tr .noyafa-desc, .noyafa-hero-pos-mr .noyafa-desc, .noyafa-hero-pos-br .noyafa-desc { margin-left: auto; }
.noyafa-hero-pos-tr .noyafa-product, .noyafa-hero-pos-mr .noyafa-product, .noyafa-hero-pos-br .noyafa-product { order: 1; }
/* centered single-column (tc/mc/bc): text centered, product below */
.noyafa-hero-pos-tc .noyafa-hero-inner, .noyafa-hero-pos-mc .noyafa-hero-inner, .noyafa-hero-pos-bc .noyafa-hero-inner { grid-template-columns: 1fr; text-align: center; align-items: center; gap: 22px; }
.noyafa-hero-pos-tc .noyafa-text, .noyafa-hero-pos-mc .noyafa-text, .noyafa-hero-pos-bc .noyafa-text { order: 1; margin: 0 auto; }
.noyafa-hero-pos-tc .noyafa-desc, .noyafa-hero-pos-mc .noyafa-desc, .noyafa-hero-pos-bc .noyafa-desc { margin-left: auto; margin-right: auto; }
.noyafa-hero-pos-tc .noyafa-product, .noyafa-hero-pos-mc .noyafa-product, .noyafa-hero-pos-bc .noyafa-product { order: 2; }

/* Float layout — title floats to top-left, transparent product is the big centered centerpiece (align = float) */
.noyafa-hero-pos-float { min-height: 620px; height: 620px; } /* taller hero so the big image isn't clipped */
.noyafa-hero-pos-float .noyafa-hero-inner { grid-template-columns: 1fr; text-align: left; align-items: start; gap: 6px; }
.noyafa-hero-pos-float .noyafa-text { order: 1; align-self: start; text-align: left; margin: 0; position: relative; z-index: 3; } /* float above the product */
.noyafa-hero-pos-float .noyafa-desc { margin-left: 0; max-width: 540px; }
.noyafa-hero-pos-float .noyafa-product { order: 2; align-self: center; width: 100%; margin: -56px auto 0; } /* pull product up so the title floats over it */
/* the big image — wider than default so the product dominates the banner */
.noyafa-hero-pos-float .noyafa-product img { max-width: 560px; max-height: 72vh; }
.noyafa-hero-pos-float .noyafa-product--multi { gap: 60px; }
.noyafa-hero-pos-float .noyafa-product--multi img { max-width: 300px; }
.noyafa-hero-pos-float .noyafa-hero-bg::after {
  background: linear-gradient(180deg, rgba(7,20,35,.46) 0%, rgba(7,20,35,.5) 52%, rgba(7,20,35,.8) 100%);
}

/* ===== Home Showcase: autoplay video background ===== */
.noyafa-hero-bg video.noyafa-hero-video-el,
.noyafa-hero-bg iframe.noyafa-hero-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; z-index: 0; pointer-events: none;
}

/* Demos 2 columns */
.video-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; cursor: pointer; text-align: left; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; width: 160px; height: 110px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-thumb .play { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand); display: grid; place-items: center; font-size: 14px; padding-left: 3px; }
.video-meta { flex: 1; padding: 0; }
.video-tag { display: inline-block; font-size: 11px; font-weight: 800; color: var(--brand); letter-spacing: .5px; margin-bottom: 6px; }
.video-meta h3 { margin: 0; font-size: 16px; line-height: 1.35; }

@media (max-width: 980px) {
  .noyafa-hero { min-height: 480px; height: 480px; }
  .noyafa-hero-inner { gap: 18px; }
}
@media (max-width: 600px) {
  .noyafa-hero { min-height: 560px; height: auto; padding: 96px 0 48px; }
  .noyafa-hero-inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .noyafa-hero .noyafa-text { margin: 0 auto; }
  .noyafa-hero-2 .noyafa-text, .noyafa-hero-4 .noyafa-text { text-align: center; margin-left: auto; }
  .noyafa-hero-right .noyafa-text { text-align: center; margin-left: auto; margin-right: auto; }
  .noyafa-hero-right .noyafa-desc { margin-left: auto; margin-right: auto; }
  .noyafa-hero-bottom-left { align-items: center; }
  .noyafa-hero-bottom-left .noyafa-hero-inner { align-items: center; }
  .noyafa-hero-bottom-left .noyafa-text { align-self: auto; text-align: center; margin: 0 auto; }
  .noyafa-hero-bottom-left .noyafa-desc { margin-left: auto; margin-right: auto; }
  .noyafa-hero-bottom-left .noyafa-product { align-self: auto; }
  .noyafa-hero-center .noyafa-hero-inner { gap: 18px; }
  .noyafa-hero .noyafa-product { order: 2; }
  /* force all 9-grid variants to a centered stack on phones */
  .noyafa-hero[class*="noyafa-hero-pos-"] .noyafa-text { order: 1 !important; text-align: center !important; align-self: center !important; margin: 0 auto !important; }
  .noyafa-hero[class*="noyafa-hero-pos-"] .noyafa-desc { margin-left: auto !important; margin-right: auto !important; }
  .noyafa-hero[class*="noyafa-hero-pos-"] .noyafa-product { order: 2 !important; }
  /* Chapter 2 product images: center on mobile instead of right-aligned */
  .noyafa-hero-2 .noyafa-product { justify-self: center; margin-left: 0; margin-right: 0; }
  /* Chapter 4 product image: center on mobile */
  .noyafa-hero-4 .noyafa-product { justify-self: center; margin-left: 0; margin-right: 0; }
  /* mobile-only: gentle positional drift so the product feels alive (no deformation) */
  .noyafa-product-item { animation: heroProductDrift 8s ease-in-out infinite; }
  .noyafa-product--multi .noyafa-product-item:nth-child(2) { animation-delay: -2.3s; }
  .noyafa-product--multi .noyafa-product-item:nth-child(3) { animation-delay: -4.6s; }
  /* mobile: no touch feedback at all on product images (tap/hold shows nothing) */
  .noyafa-hero .noyafa-product img {
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  .noyafa-hero .noyafa-product img:hover,
  .noyafa-hero .noyafa-product img:active,
  .noyafa-hero .noyafa-product img:focus,
  .noyafa-hero .noyafa-product img.is-zoom {
    opacity: 1;
    filter: saturate(.9) blur(.3px) drop-shadow(0 14px 28px rgba(0,0,0,.32));
    transform: translateY(0);
    cursor: default;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: none;
  }
  /* Chapter 3 text: keep flush left so the product shots sit on the right */
  .noyafa-hero-3 .noyafa-text { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
  .noyafa-hero-3 .noyafa-desc { margin-left: 0 !important; margin-right: 0 !important; }
  .about-split:not(.media-left) .about-split-text { order: 0; text-align: left; }
  .about-split:not(.media-left) .about-split-text p { margin-left: 0; }
  .noyafa-hero .noyafa-product img { max-width: 240px; max-height: 36vh; }
  /* Chapter 3: keep three products side by side on phones, just scaled down */
  .noyafa-hero-3 .noyafa-product { margin-left: 0; justify-self: center; }
  .noyafa-hero-3 .noyafa-product--multi { flex-wrap: nowrap; gap: 14px; }
  .noyafa-hero-3 .noyafa-product--multi img { max-width: 100px; max-height: 160px; }
  /* float layout on phones: keep it big-ish but don't overflow */
  .noyafa-hero-pos-float .noyafa-product { margin: -20px auto 0; }
  .noyafa-hero-pos-float .noyafa-product img { max-width: 320px; max-height: 40vh; }
  .noyafa-hero-pos-float .noyafa-product--multi { gap: 20px; }
  .noyafa-hero-pos-float .noyafa-product--multi img { max-width: 170px; }
  .noyafa-title { font-size: 26px; }
  .noyafa-desc { font-size: 15px; margin-bottom: 18px; }
  .noyafa-hero-bg::after { background: linear-gradient(90deg, rgba(7,20,35,.84) 0%, rgba(7,20,35,.62) 58%, rgba(7,20,35,.32) 100%); }
  /* mobile-only: slow continuous background drift (Ken Burns). scale 1.12 gives 6% buffer per side
     so the pan (max ~2%) never exposes an edge. Heroes stagger via animation-delay. */
  .noyafa-hero-bg { animation: heroBgDrift 24s ease-in-out infinite; will-change: transform; }
  .noyafa-hero-2 .noyafa-hero-bg { animation-delay: -5s; }
  .noyafa-hero-3 .noyafa-hero-bg { animation-delay: -10s; }
  .noyafa-hero-4 .noyafa-hero-bg { animation-delay: -15s; }
  .noyafa-hero-5 .noyafa-hero-bg { animation-delay: -20s; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card { flex-direction: column; align-items: flex-start; }
  .video-thumb { width: 100%; height: 160px; }
}

/* Background drift animation for mobile heroes (slow pan + subtle zoom, no edge exposure) */
@keyframes heroBgDrift {
  0%   { transform: scale(1.12) translate(0, 0); }
  25%  { transform: scale(1.14) translate(-1.5%, 1%); }
  50%  { transform: scale(1.13) translate(1.5%, -1%); }
  75%  { transform: scale(1.15) translate(1%, 1.5%); }
  100% { transform: scale(1.12) translate(0, 0); }
}

/* Product drift animation for mobile heroes (very subtle positional shift only, no skew/scale) */
@keyframes heroProductDrift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(2px,-2px); }
  50%  { transform: translate(-1px,2px); }
  75%  { transform: translate(2px,1px); }
  100% { transform: translate(0,0); }
}

/* ===== Product detail page (3color-style) ===== */
.breadcrumbs { padding: 104px 0 14px; font-size: 13.5px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--brand); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; color: #c5c9ce; }

.pd { padding: 8px 0 84px; background: #ffffff; }
/* 主图占比放大：左侧图片区超过 50%，右侧信息区紧凑 */
.pd-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }

/* Left: gallery */
.pd-media { display: flex; gap: 12px; align-items: flex-start; justify-content: center; position: sticky; top: 120px; align-self: start; }
.pd-main {
  position: relative; flex: 0 0 auto;
  width: min(1000px, calc(100% - 92px)); aspect-ratio: 1 / 1; max-width: 1000px;
  border-radius: 0; overflow: hidden;
  background: transparent; border: 0; cursor: default;
}
.pd-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  color: var(--ink); display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transition: transform .2s, background .2s, border-color .2s;
}
.pd-zoom:hover { transform: scale(1.08); background: #fff; border-color: var(--brand); color: var(--brand); }
.pd-zoom svg { width: 20px; height: 20px; }
.pd-media-slot { width: 100%; display: grid; place-items: center; }
.pd-media-slot img, .pd-media-slot video { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; padding: 22px; box-sizing: border-box; }
.pd-slide-video { position: relative; width: 100%; height: 100%; display: grid; place-items: center; cursor: pointer; }
.pd-slide-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px; box-sizing: border-box; z-index: 0; }
.pd-play {
  position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--brand); display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); transition: transform .2s, background .2s;
}
.pd-slide-video:hover .pd-play { transform: scale(1.08); background: #fff; }
.pd-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: none;
  background: rgba(255,255,255,.94); border-radius: 8px; padding: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.pd-badge img { width: auto; height: 44px; padding: 0; }
.pd-thumbs { display: flex; flex-direction: column; gap: 8px; width: 80px; flex: 0 0 auto; max-height: 1000px; overflow-y: auto; overscroll-behavior: auto; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumbs { -ms-overflow-style: none; scrollbar-width: none; }
/* When the strip overflows we take over vertical touch scrolling ourselves
   (touch-action:none) so that, once thumbs hit an edge, the SAME finger
   gesture keeps scrolling the page. Native touch scroll-chaining is not
   reliable in all WebViews, hence the manual handler in product.js.
   When not scrollable we leave touch-action at auto so the page scrolls natively. */
.pd-thumbs.is-scrollable { touch-action: none; -webkit-overflow-scrolling: touch; }
.pd-thumb {
  width: 100%; height: 0; padding: 0 0 100% 0;
  border-radius: 0; overflow: hidden; cursor: pointer;
  border: none; background: transparent; transition: transform .2s ease, box-shadow .2s ease;
}
.pd-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.pd-thumb .pd-thumb-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; background: rgba(0,0,0,.18); }
.pd-thumb .pd-thumb-play svg { width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.pd-thumb { position: relative; }
/* selected/hovered thumbnail grows — only on hover-capable (mouse) devices */
@media (hover: hover) and (pointer: fine) {
  .pd-thumb:hover, .pd-thumb:focus-visible { transform: scale(1.12); box-shadow: none; }
  .pd-thumb.active { transform: scale(1.12); box-shadow: none; }
}
/* touch devices: never scale on tap/hold; show the selection with a border */
@media (hover: none) {
  .pd-thumb:hover, .pd-thumb:focus-visible, .pd-thumb:active, .pd-thumb.active { transform: none; box-shadow: none; }
  .pd-thumb.active { outline: 2px solid var(--brand); outline-offset: 2px; }
}
/* Scroll arrows over the thumbnail column (white 50% transparent V) */
.pd-thumbs-wrap { position: relative; flex: 0 0 auto; }
.pd-thumb-arrow {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 46px; height: 38px; display: grid; place-items: center;
  padding: 0; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.35); border-radius: 8px; cursor: pointer;
  color: #fff; opacity: .65;
  transition: opacity .2s, background .2s;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
.pd-thumb-arrow svg { width: 30px; height: 30px; display: block; }
.pd-thumb-arrow:hover, .pd-thumb-arrow:focus-visible { opacity: 1; }
.pd-thumb-arrow-up { top: 0; }
.pd-thumb-arrow-down { bottom: 0; }
.pd-thumb-arrow[hidden] { display: none; }

/* Right: info + accordion */
.pd-content { padding-top: 6px; }
.pd-variants { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-acc-item > .pd-variants { display: none; }
.pd-acc-item.open > .pd-variants {
  display: flex;
  position: sticky;
  top: 50px;
  z-index: 10;
  padding: 8px 0;
  margin-bottom: 8px;
}
.pd-variant-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.pd-variant-btn {
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 0; cursor: pointer; transition: .2s;
}
.pd-variant-btn:hover { border-color: var(--brand); color: var(--brand); }
.pd-variant-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pd-model-text { cursor: default; pointer-events: none; background: #fff; border-color: var(--line); color: var(--ink-soft); }
.pd-model-text:hover { border-color: var(--line); color: var(--ink-soft); }
.pd-content h1 { font-size: clamp(26px, 2.8vw, 35px); line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
.pd-desc { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Accordion — minimal plain-text style, no card box */
.pd-accordion { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.pd-acc-item { border-bottom: 1px solid var(--line); }
.pd-acc-item:last-child { border-bottom: 0; }
.pd-acc-btn {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 14px 0;
  font-size: 15px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--ink);
  transition: transform .2s ease, color .2s ease;
}
.pd-acc-btn:hover { background: transparent; color: var(--brand); transform: translateX(6px); }
.pd-acc-chevron {
  flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
  background: #f0f0f0; color: var(--ink); border-radius: 50%;
  font-size: 14px; line-height: 1; font-weight: 800;
  transition: transform .25s, background .2s;
}
.pd-acc-item.open .pd-acc-chevron { transform: rotate(180deg); background: var(--ink); color: #fff; }
.pd-acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pd-acc-inner { padding: 0 0 18px; }
.pd-acc-intro { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; }
.pd-acc-empty { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* Fixed collapse chevron for Specification table (preview-only experiment) */
.pd-acc-btn .pd-acc-chevron { display: none; }
.pd-acc-float {
  position: fixed;
  top: 50px;
  left: calc(50% + var(--maxw) / 2 - 24px - 44px); /* align right edge with the right-column / parameter table right edge */
  right: auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.72); color: var(--brand);
  box-shadow: 0 0 12px rgba(0,0,0,.30), 0 2px 6px rgba(0,0,0,.18);
  font-size: 16px; line-height: 1;
  cursor: pointer; z-index: 999;
  opacity: 0; transform: translateX(16px) scale(.8);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.9,.3,1.2);
}
.pd-acc-float.visible { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }

/* Quotation form inside accordion */
.pd-form { display: flex; flex-direction: column; gap: 12px; }
.pd-form input, .pd-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: #f8f8f8; transition: border-color .2s, box-shadow .2s;
}
.pd-form input:focus, .pd-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.pd-form textarea { resize: vertical; min-height: 90px; }
.pd-form .btn { margin-top: 4px; }

/* App store badges */
.pd-app-stores { margin-top: 24px; }
.pd-app-label { font-size: 13px; color: var(--ink-soft); margin: 0 0 10px; }
.pd-app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-app-badge {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.pd-app-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.pd-app-badge.app-store { background: #000; }
.pd-app-badge.google-play { background: #000; }

/* Detail blocks */
.pd-block { margin-top: 58px; }
.pd-h2 { font-size: 24px; margin: 0 0 18px; font-weight: 700; }
.pd-overview p { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }

.pd-features { color: var(--ink-soft); font-size: 15px; line-height: 1.78; }
.pd-feature-text { margin: 0; }

/* Configurable text+image sections (CMS-driven, under Key Features) */
.pd-section { display: flex; gap: 28px; align-items: center; margin-top: 36px; }
.pd-section-media { flex: 1; min-width: 0; }
.pd-section-media img { width: 100%; height: 440px; object-fit: contain; display: block; border-radius: 0; }
.pd-section-text { flex: 1; min-width: 0; }
.pd-section-text h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.pd-section-text p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 0; }
.pd-section--image-right .pd-section-media { order: 2; }
.pd-section--image-right .pd-section-text { order: 1; }

.pd-rich { color: var(--ink-soft); }
.pd-rich-body { font-size: 16px; line-height: 1.75; margin-bottom: 22px; }
.pd-rich-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd-rich-figure { margin: 0; border-radius: 0; overflow: hidden; border: 0; background: transparent; }
.pd-rich-figure img { width: 100%; height: 180px; object-fit: contain; padding: 0; display: block; }

.pd-specs { width: 100%; table-layout: fixed; border-collapse: collapse; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.pd-specs th, .pd-specs td { text-align: left; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); word-break: break-word; overflow-wrap: anywhere; }
.pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th { background: transparent; color: var(--ink-soft); font-weight: 400; width: 42%; }
.pd-specs td { color: var(--ink-soft); }

.pd-dl { display: flex; gap: 16px; flex-wrap: wrap; }
.pd-dl-card { display: flex; align-items: center; gap: 14px; background: transparent; border: 0; border-radius: 0; padding: 0; min-width: 220px; transition: none; }
.pd-dl-card:hover { border-color: transparent; transform: none; }
.pd-dl-ico { font-size: 26px; }
.pd-dl-card strong { display: block; font-size: 15px; }
.pd-dl-card span { font-size: 13px; color: var(--ink-soft); }

.pd-video video { width: 100%; border-radius: 0; }
.pd-video-embed { position: relative; padding-bottom: 56.25%; border-radius: 0; overflow: hidden; }
.pd-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-video-link { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 14px 24px; border-radius: 0; font-weight: 700; text-decoration: none; }
.pd-video-link:hover { background: var(--ink); color: #fff; }

/* ===== Product Detail: New Layout (tab bar + model chips + highlights + price) ===== */

/* Model chips — top level (reuses .pd-variant-btn styles) */
.pd-model-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 14px; }

/* Per-model content blocks: title + body (replaces old plain-text highlights) */
.pd-model-content { margin-bottom: 16px; }
.pd-mc-item { margin-bottom: 14px; }
.pd-mc-item:last-child { margin-bottom: 0; }
.pd-mc-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.pd-mc-body { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.pd-intro { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }

/* Per-model price row */
.pd-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.pd-price { font-size: 22px; font-weight: 700; color: #c0392b; }
.pd-price-note { font-size: 13px; color: var(--ink-faint); }

/* Stock + share row */
.pd-stock-cta { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); margin-top: 4px; gap: 12px; flex-wrap: wrap; }
.pd-stock { font-size: 14px; color: var(--ink-soft); }
.pd-stock b { margin-right: 4px; }
.pd-share-row { display: flex; gap: 16px; }
.pd-share-row a { font-size: 13px; color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.pd-share-row a:hover { color: var(--brand); }

/* ===== Horizontal Tab Bar ===== */
.pd-tabs { display: flex; border-bottom: 2px solid var(--ink); margin: 30px 0 0; gap: 0; }
.pd-tab { background: none; border: none; border-bottom: 3px solid transparent; padding: 12px 24px; font-size: 14px; font-weight: 700; color: var(--ink-soft); cursor: pointer; transition: all .2s; position: relative; bottom: -2px; text-transform: uppercase; letter-spacing: .05em; }
.pd-tab:hover { color: var(--ink); }
.pd-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

/* Tab panels */
.pd-tab-panels { min-height: 200px; }
.pd-tab-panel { display: none; padding: 24px 0; animation: pdTabFadeIn .25s ease; }
.pd-tab-panel.active { display: block; }
@keyframes pdTabFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Tab empty state */
.pd-tab-empty { color: var(--ink-faint); font-size: 14px; padding: 20px 0; }

/* Spec table in tab panel */
.pd-specs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Downloads list in tab */
.pd-dl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 4px 0; }

/* Video list in tab */
.pd-video-list { display: flex; flex-direction: column; gap: 28px; padding: 4px 0; }
.pd-video-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }

/* You may also like (recommended) */
#pdYouMayLike { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 30px; }
#pdYouMayLike .pc-price { display: block; font-size: 15px; font-weight: 700; color: #c0392b; margin: 6px 0; }

@media (max-width: 980px) {
  .pd-wrap { grid-template-columns: 1fr; gap: 28px; }
  /* Mobile detail gallery = big main image on top + horizontal thumbnail strip below (more touch-friendly) */
  .pd-media {
    position: static; background: transparent;
    flex-direction: column-reverse; gap: 10px; align-items: stretch;
    align-self: auto; padding-bottom: 10px; transition: none;
  }
  .pd-thumbs { position: relative; top: auto; z-index: 11; flex-direction: row; width: 100%; flex: 0 0 auto; overflow-x: auto; overflow-y: hidden; gap: 8px; padding-bottom: 0; background: transparent; max-height: none; }
  /* mobile: transparent background, so give arrows a darker pill + white border to stay visible */
  .pd-thumb-arrow { background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.5); border-radius: 8px; width: 40px; height: 34px; opacity: .85; }
  .pd-thumb-arrow svg { width: 26px; height: 26px; }
  .pd-thumb { flex: 0 0 auto; width: 72px; height: 72px; }
  .pd-thumb:hover { transform: none; box-shadow: none; }
  .pd-thumb.active { transform: none; }
  .pd-main { flex: 0 0 auto; width: min(800px, calc(100% - 64px)); aspect-ratio: 1 / 1; max-width: none; transition: none; }
  .pd-dl { flex-direction: column; }
  .pd-dl-card { width: 100%; min-width: 0; }
  .pd-rich-images { grid-template-columns: repeat(2, 1fr); }
  .pd-specs th, .pd-specs td { padding: 10px 12px; font-size: 14px; }
  .pd-media-slot img, .pd-media-slot video { padding: 14px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog-layout.mobile-list-hidden { display: none; }
  .catalog-sidebar { display: none; }
  .catalog-main { max-height: none; overflow: visible; padding-right: 0; }
  .cat-mobile { display: block; }
  .cat-page-title { display: block; }
  .cat-title { display: none; }
  .page-products .page-head { display: none; }
  .page-products .catalog-section { padding-top: 40px; }
  .page-products .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-products .product-card h3 { font-size: 17px; }
  .page-products .pc-model { font-size: 11px; }
  .page-products .pc-media { padding: 0; }
  .page-products .pc-body { padding: 12px 4px 0; }
  .catalog-cat-head { text-align: left; margin-bottom: 8px; }
  .catalog-cat-title { font-size: 22px; }
  .catalog-cat-desc { font-size: 13.5px; max-width: none; margin: 0; }
  .pd-acc-sticky { position: static; background: transparent; border-bottom: 0; }
  .pd-acc-item.open > .pd-variants { top: 50px; }
}
@media (max-width: 600px) {
  .breadcrumbs { padding-top: 76px; }
  .pd-main { flex: 1; }
  .pd-media.collapsed .pd-thumb { width: 56px; height: 56px; }
  .pd-badge img { height: 36px; }
  .pd-rich-images { grid-template-columns: 1fr; }
  .pd-specs th, .pd-specs td { padding: 9px 10px; font-size: 13.5px; }
  .pd-media-slot img, .pd-media-slot video { padding: 12px; }
  .pd-variants { gap: 6px; }
  .pd-variant-btn { padding: 4px 10px; font-size: 11.5px; }
  .cat-mobile-link .cat-mobile-text { font-size: 11.5px; }
  .page-products .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-products .product-card h3 { font-size: 16px; }
  .page-products .pc-model { font-size: 10.5px; }
  .pd-acc-float { top: 50px; left: auto; right: 16px; width: 38px; height: 38px; font-size: 14px; }
  .pd-section { flex-direction: column; gap: 18px; margin-top: 28px; }
}

/* ===== Video lightbox ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,20,35,.72); backdrop-filter: blur(3px); }
.modal-box { position: relative; z-index: 1; max-width: 760px; margin: 8vh auto 0; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.modal-box h3 { margin: 0 0 12px; font-size: 18px; }
.modal-body { position: relative; }
.modal-body img, .modal-body video, .modal-body iframe { width: 100%; border-radius: 10px; display: block; background: #111418; }
.modal-body video, .modal-body iframe { aspect-ratio: 16/9; min-height: 360px; }
.vm-note { text-align: center; color: var(--ink-soft); font-size: 15px; margin: 12px 0 2px; }
.modal-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-lg); }

/* Zoomable image lightbox — image sits directly on the dimmed backdrop, no white card */
.modal .modal-box:has(.pd-zoom-stage) { max-width: none; margin: 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; width: 100vw; height: 100vh; display: grid; place-items: center; }
.modal .modal-box:has(.pd-zoom-stage) .modal-close { display: none; }
.pd-zoom-stage { width: min(96vw, 1200px); height: 90vh; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; touch-action: none; padding-bottom: 80px; box-sizing: border-box; position: relative; }
.pd-zoom-stage img { width: auto; height: auto; max-width: 96vw; max-height: calc(90vh - 80px); object-fit: contain; transition: transform .25s ease; user-select: none; -webkit-user-drag: none; }
.pd-zoom-stage.zoomed img { max-width: none; max-height: none; }
.pd-zoom-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 5; }
.pd-zoom-controls button { width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background .2s, transform .2s; }
.pd-zoom-controls button:hover { background: #fff; transform: scale(1.08); }

@media (max-width: 600px) {
  .modal .modal-box:has(.pd-zoom-stage) { margin: 0; padding: 0; }
  .pd-zoom-stage { width: 100vw; height: 100vh; padding-bottom: 80px; }
  .pd-zoom-stage img { max-width: 100vw; max-height: calc(100vh - 80px); }
  .pd-zoom-controls { bottom: 20px; }
  .pd-zoom-controls button { width: 40px; height: 40px; font-size: 16px; }
}

.service-contact { display: flex; flex-direction: column; gap: 24px; }
.service-contact-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.service-contact-card {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: 0; border-radius: 0;
  padding: 0; box-shadow: none; transition: none;
}
.service-contact-card:hover { transform: none; border-color: transparent; }
.sc-ico { font-size: 22px; flex: 0 0 auto; }
.sc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-text strong { font-size: 13px; color: var(--ink); }
.sc-text span, .sc-text a { font-size: 12px; color: var(--ink-soft); text-decoration: none; }
.sc-text a:hover { color: var(--brand); text-decoration: underline; }
.service-form { max-width: 640px; margin: 0 auto; width: 100%; }

@media (max-width: 980px) {
  .service-contact-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-contact-row { grid-template-columns: 1fr; }
}


/* ============================================================
   Standard content blocks (std-block) — 后台「标准图文结构」渲染样式
   数据: data-new.json desktop.*.sections[].blocks[]，由 js/render.js 渲染
   ============================================================ */
.std-section { padding: 44px 0 56px; background: #fff; }
.std-section .container > .std-section-group + .std-section-group { margin-top: 56px; }
/* Services 页三个服务板块之间增加灰色分隔线 */
.page-services .std-section-group { border-bottom: 1px solid #e5e5e5; padding-bottom: 56px; }
.page-services .std-section-group:last-child { border-bottom: 0; padding-bottom: 0; }
.std-sec-title { font-size: 38px; font-weight: 700; color: var(--ink); margin: 0 0 26px; line-height: 1.2; font-family: var(--font-head); }
.std-block { display: grid; gap: 24px; align-items: center; margin: 0 auto 44px; width: 100%; }
.std-block:last-child { margin-bottom: 0; }
.std-block .sb-media { width: 100%; }
.std-block .sb-media img { width: 100%; height: 480px; object-fit: cover; border-radius: 0; box-shadow: none; background: #fff; display: block; }
.std-block.layout-dual-left-image .sb-media img,
.std-block.layout-dual-right-image .sb-media img { height: 360px; object-fit: cover; }
.std-block .sb-body { min-width: 0; }
.std-block .sb-block-title { margin: 0 0 24px; }
.std-block .sb-block-title .sb-title { margin: 0; }

/* ===== Horizontal Timeline (Our Story) ===== */
.std-module .dt-cap {
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 20px;
}
.dt-track {
  position: relative; display: flex; align-items: flex-start;
  padding: 40px 0 0;
}
.dt-track::before {
  content: ''; position: absolute; top: 16px; left: 0; right: 0;
  height: 2px; background: var(--brand);
}
.dt-cell {
  flex: 1; position: relative; padding: 0 24px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.dt-cell::before {
  content: ''; position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
  z-index: 1;
}
.dt-cell .dt-yr {
  font-size: 32px; font-weight: 700; color: var(--ink);
  font-family: var(--font-head); line-height: 1;
  margin: 36px 0 10px;
}
.dt-cell .dt-tx {
  font-size: 15px; color: var(--ink-soft); line-height: 1.55;
  max-width: 260px;
}
@media (max-width: 800px) {
  .dt-track::before { display: none; }
  .dt-track { flex-direction: column; padding: 0; }
  .dt-cell {
    flex-direction: row; align-items: flex-start; gap: 20px;
    padding: 0;
  }
  .dt-cell::before {
    top: 4px; left: 0; right: auto; transform: none;
  }
  .dt-cell .dt-yr { margin: 4px 0 0 32px; min-width: 70px; font-size: 26px; }
  .dt-cell .dt-tx { margin-left: 32px; }
}
/* ===== End Horizontal Timeline ===== */

.std-block .sb-title { font-size: 30px; margin: 0 0 8px; font-weight: 700; color: var(--ink); line-height: 1.2; font-family: var(--font-head); }
.std-block .sb-sub { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand, #111418); margin: 0 0 14px; }
.std-block .sb-text { font-size: 18px; color: var(--ink-soft); line-height: 1.6; letter-spacing: 0.425px; overflow-wrap: break-word; }
.std-block .sb-text p { margin: 0 0 20px; }
.std-block .sb-text p:last-child { margin-bottom: 0; }
.std-block .sb-text-top { margin-bottom: 16px; }
/* 单栏/通栏图文块：正文限制为舒适阅读宽度并居中，避免文字横向铺满整页
   （双栏列本身已较窄，不受影响）。取 1040px：比 NOYAFA 实测正文列(642px)更舒展、
   与收窄后的图片对齐，字号变大→折行变多→框变高，且连续英文也能自动断行。 */
.std-block.layout-single-top-image .sb-body,
.std-block.layout-single-bottom-image .sb-body,
.std-block.layout-full-width .sb-body,
.std-block.layout-single-top-image .sb-text-top,
.std-block.layout-single-bottom-image .sb-text-top,
.std-block.layout-full-width .sb-text-top { max-width: 1040px; margin-left: auto; margin-right: auto; }
.std-block .sb-text-size-sm { font-size: 16px; line-height: 1.6; }
.std-block .sb-text-size-md { font-size: 18px; line-height: 1.6; }
.std-block .sb-text-size-lg { font-size: 20px; line-height: 1.55; }
.std-block .sb-text-size-xl { font-size: 22px; line-height: 1.5; }
/* 标题字号（匹配 NOYAFA 页面/章节标题） */
.std-block .sb-title-size-sm { font-size: 26px; }
.std-block .sb-title-size-md { font-size: 30px; }
.std-block .sb-title-size-lg { font-size: 38px; line-height: 1.2; }
.std-block .sb-title-size-xl { font-size: 46px; line-height: 1.15; }
.std-block .sb-title-size-hero { font-size: clamp(44px, 5vw, 64px); line-height: 1.1; font-weight: 700; }
/* 副标题字号 */
.std-block .sb-subtitle-size-sm { font-size: 17px; }
.std-block .sb-subtitle-size-md { font-size: 19px; }
.std-block .sb-subtitle-size-lg { font-size: 24px; }
.std-block .sb-subtitle-size-xl { font-size: 28px; }
.std-block.layout-single-top-image,
.std-block.layout-single-bottom-image { grid-template-columns: 1fr; max-width: 100%; margin-left: auto; margin-right: auto; }
.std-block.layout-single-top-image .sb-media,
.std-block.layout-single-bottom-image .sb-media { max-width: 1040px; margin-left: auto; margin-right: auto; }
.std-block.layout-single-top-image .sb-media img,
.std-block.layout-single-bottom-image .sb-media img { height: 420px; object-fit: cover; }
.std-block.layout-full-width { grid-template-columns: 1fr; max-width: 100%; }
.std-block.layout-full-width .sb-media { max-width: 1040px; margin-left: auto; margin-right: auto; }
.std-block.layout-full-width .sb-media img { border-radius: 0; height: 520px; object-fit: cover; }
.std-block.layout-dual-left-image { grid-template-columns: 1fr 1fr; }
.std-block.layout-dual-right-image { grid-template-columns: 1fr 1fr; }
.std-block.layout-dual-right-image .sb-media { order: 2; }
@media (max-width: 780px) {
  .std-block.layout-dual-left-image, .std-block.layout-dual-right-image { grid-template-columns: 1fr; gap: 18px; }
  .std-block.layout-dual-right-image .sb-media { order: 0; }
  .std-sec-title { font-size: 28px; }
}

/* 主媒体图片样式（对应后台「图片样式」imgStyle） */
.std-block.sb-img-rounded .sb-media img { border-radius: 16px; }
.std-block.sb-img-shadow .sb-media img { box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.std-block.layout-single-top-image.sb-img-fullwidth .sb-media img,
.std-block.layout-single-bottom-image.sb-img-fullwidth .sb-media img,
.std-block.layout-full-width.sb-img-fullwidth .sb-media img { height: 620px; object-fit: cover; }
.std-block.sb-img-fullwidth .sb-media img { height: 620px; object-fit: cover; }
.std-block.sb-img-circle .sb-media img { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }

/* 图集项样式（对应后台「网格/图集图片样式」itemStyle） */
.sb-gallery-rounded .sb-gallery-media img,
.sb-gallery-rounded .sb-gallery-item > img { border-radius: 12px; }
.sb-gallery-shadow .sb-gallery-item { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.sb-gallery-bordered .sb-gallery-item { border: 1px solid var(--line, #e8e8e1); }
.sb-gallery-circle .sb-gallery-media img { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }

/* 附加图集（后台 ABOUT US / SERVICES / CONTACT 等页面的图文网格） */
.sb-gallery { width: 100%; margin-top: 32px; }
.sb-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: max(16px, var(--sb-gallery-gap, 16px)); }
.sb-gallery-grid.sb-gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sb-gallery-grid.sb-gallery-cols-4 { grid-template-columns: repeat(4, 1fr); }
.sb-gallery-count-1 { grid-template-columns: 1fr; }
.sb-gallery-item { display: flex; gap: 24px; align-items: flex-start; }
.sb-gallery-item.layout-stacked { flex-direction: column; gap: 14px; }
.sb-gallery-media { flex: 0 0 45%; max-width: 45%; }
.sb-gallery-media img { width: 100%; height: 200px; object-fit: cover; display: block; border-radius: 0; }
.sb-gallery-body { flex: 1 1 auto; min-width: 0; }
.sb-gallery-title { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.sb-gallery-caption { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; }
.sb-gallery-text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
/* 网格模式下子项强制上图下文、图片占满、文字居中 */
.sb-gallery-grid .sb-gallery-item.layout-stacked { align-items: center; }
.sb-gallery-grid .sb-gallery-item.layout-stacked .sb-gallery-media { flex: 0 0 auto; max-width: 100%; width: 100%; }
.sb-gallery-grid .sb-gallery-item.layout-stacked .sb-gallery-body { width: 100%; text-align: center; }
@media (max-width: 1100px) {
  .sb-gallery-grid.sb-gallery-cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sb-gallery-grid.sb-gallery-cols-4,
  .sb-gallery-grid.sb-gallery-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .sb-gallery-grid { grid-template-columns: 1fr; }
  .sb-gallery-grid.sb-gallery-cols-3,
  .sb-gallery-grid.sb-gallery-cols-4 { grid-template-columns: 1fr; }
  .sb-gallery-item.layout-left,
  .sb-gallery-item.layout-right { flex-direction: column; gap: 14px; }
  .sb-gallery-media { flex: 0 0 auto; max-width: 100%; width: 100%; }
}

/* ---------- v2.1 参数表 (specTables) — 产品详情用，视觉与 pd-specs 同源 ---------- */
.spec-title { font-size: 15px; font-weight: 700; color: #1f2430; margin: 18px 0 8px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { border: 1px solid #c5c9d0; padding: 9px 12px; text-align: center; vertical-align: top; word-break: break-word; white-space: normal; overflow-wrap: anywhere; }
.spec-table thead th { background: #f4f5f7; font-weight: 700; color: #1c1d1d; }
.spec-table .spec-label { background: #fff; font-weight: 600; color: #1c1d1d; text-align: left; min-width: 160px; }
.spec-table .spec-model-h { text-align: left; }
.spec-table .spec-span { text-align: center; color: #3a4456; }

/* 配件/配置清单卡片 */
.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spec-card { border: 1px solid var(--line, #e8e8e1); background: #fff; }
.spec-card-title { padding: 12px 16px; font-size: 15px; font-weight: 700; color: #1c1d1d; border-bottom: 1px solid var(--line, #e8e8e1); background: #fff; }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line, #e8e8e1); font-size: 15px; color: #1c1d1d; }
.spec-list li:last-child { border-bottom: none; }
.spec-list .spec-name { flex: 1; }
.spec-list .spec-qty { color: #666; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 780px) {
  .spec-cards { grid-template-columns: 1fr; gap: 16px; }
  .spec-list li { padding: 10px 12px; font-size: 14px; }
}

/* ============================================================================
   原子化标准图文结构（v3）—— 桌面端
   · std-module = 最高级模块，相邻模块之间用灰色横线分隔
   · std-block  = 模块内的一个内容单元（text / image / images / video / text-image）
   · 图片说明位置：上 / 下 / 左 / 右 / 底部叠加
   ========================================================================== */

/* ---- 模块分隔灰线（About / Services / Contact / Home 通用）---- */
.std-module { width: 100%; }
.std-module + .std-module {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line, #e8e8e1);
}
.std-module > .std-block:last-child { margin-bottom: 0; }

/* ---- 纯文本单元 ---- */
.std-block.layout-text {
  grid-template-columns: 1fr;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- 单图 / 视频单元 ---- */
.std-block.layout-image { grid-template-columns: 1fr; }
.std-block.layout-image .sb-fig {
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.std-block.layout-image .sb-fig img { width: 100%; height: auto; display: block; }
.sb-cap {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft, #555);
  margin: 0;
}

/* 说明位置：上 / 下 / 左 / 右 */
.std-block.layout-image.sb-cap-top .sb-fig { flex-direction: column-reverse; }
.std-block.layout-image.sb-cap-bottom .sb-fig { flex-direction: column; }
.std-block.layout-image.sb-cap-left .sb-fig { flex-direction: row-reverse; align-items: center; gap: 28px; }
.std-block.layout-image.sb-cap-right .sb-fig { flex-direction: row; align-items: center; gap: 28px; }
.std-block.layout-image.sb-cap-left .sb-cap,
.std-block.layout-image.sb-cap-right .sb-cap { flex: 0 0 32%; max-width: 32%; font-size: 15px; }
.std-block.layout-image.sb-cap-left .sb-fig > :not(.sb-cap),
.std-block.layout-image.sb-cap-right .sb-fig > :not(.sb-cap) { flex: 1 1 auto; min-width: 0; }

/* 说明位置：底部叠加 */
.std-block.layout-image.sb-cap-overlay-bottom .sb-fig { position: relative; }
.std-block.layout-image.sb-cap-overlay-bottom .sb-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 16px 20px; color: #fff; font-size: 15px;
  background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,0));
}

/* ---- 图片组（最多 4 列 / 横滑）---- */
.std-block.layout-images { grid-template-columns: 1fr; }
.sb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sb-gallery-gap, 16px);
  width: 100%;
}
.sb-grid.sb-grid-cols-1 { grid-template-columns: 1fr; }
.sb-grid.sb-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.sb-grid.sb-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sb-grid.sb-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.sb-grid.sb-grid-carousel {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.sb-grid.sb-grid-carousel .sb-grid-item { flex: 0 0 clamp(240px, 30%, 380px); scroll-snap-align: start; }
.sb-grid-item {
  margin: 0; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sb-grid-item img { width: 100%; height: 280px; object-fit: cover; display: block; }
.sb-grid.sb-grid-cols-1 .sb-grid-item img { height: 460px; }
.sb-grid-item .sb-cap { font-size: 14px; }
/* 图片组内每张图的说明位置 */
.sb-grid-item.sb-cap-top { flex-direction: column-reverse; }
.sb-grid-item.sb-cap-bottom { flex-direction: column; }
.sb-grid-item.sb-cap-left { flex-direction: row-reverse; align-items: center; gap: 14px; }
.sb-grid-item.sb-cap-right { flex-direction: row; align-items: center; gap: 14px; }
.sb-grid-item.sb-cap-left > :not(.sb-cap),
.sb-grid-item.sb-cap-right > :not(.sb-cap) { flex: 1 1 auto; min-width: 0; }
.sb-grid-item.sb-cap-left .sb-cap,
.sb-grid-item.sb-cap-right .sb-cap { flex: 0 0 38%; max-width: 38%; }
.sb-grid-item.sb-cap-overlay-bottom { position: relative; }
.sb-grid-item.sb-cap-overlay-bottom .sb-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 12px 14px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,0));
}
/* 图片组样式（itemStyle）*/
.sb-istyle-rounded img { border-radius: 12px; }
.sb-grid-item.sb-istyle-shadow { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.sb-grid-item.sb-istyle-bordered { border: 1px solid var(--line, #e8e8e1); }
.sb-istyle-circle img { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; height: auto; }

/* ---- 图文混排：文字叠加图片底部 ---- */
.std-block.layout-overlay { grid-template-columns: 1fr; }
.sb-overlay-wrap { position: relative; max-width: 1040px; margin: 0 auto; width: 100%; }
.sb-overlay-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }
.sb-overlay-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 36px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.05));
}
.sb-overlay-body .sb-title,
.sb-overlay-body .sb-sub,
.sb-overlay-body .sb-text,
.sb-overlay-body .sb-text p { color: #fff; }

/* ---- 视频嵌入 ---- */
.sb-video { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.sb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- 响应式降级 ---- */
@media (max-width: 1100px) {
  .sb-grid.sb-grid-cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sb-grid.sb-grid-cols-3,
  .sb-grid.sb-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .sb-overlay-wrap img { height: 380px; }
}
@media (max-width: 780px) {
  .std-module + .std-module { margin-top: 32px; padding-top: 32px; }
  .sb-grid,
  .sb-grid.sb-grid-cols-2,
  .sb-grid.sb-grid-cols-3,
  .sb-grid.sb-grid-cols-4 { grid-template-columns: 1fr; }
  .sb-grid-item img { height: 240px; }
  .std-block.layout-image.sb-cap-left .sb-fig,
  .std-block.layout-image.sb-cap-right .sb-fig { flex-direction: column; gap: 12px; }
  .std-block.layout-image.sb-cap-left .sb-cap,
  .std-block.layout-image.sb-cap-right .sb-cap { flex: 0 0 auto; max-width: 100%; }
  .sb-grid-item.sb-cap-left,
  .sb-grid-item.sb-cap-right { flex-direction: column; gap: 10px; }
  .sb-grid-item.sb-cap-left .sb-cap,
  .sb-grid-item.sb-cap-right .sb-cap { flex: 0 0 auto; max-width: 100%; }
  .sb-overlay-body { padding: 20px; }
  .sb-overlay-wrap img { height: 300px; }
}
