/* ==========================================================================
   StoreCraft — storefront stylesheet
   所有颜色 / 圆角 / 字体都来自 :root 上的 CSS 变量（由服务端按主题注入）
   ========================================================================== */

/* 自托管品牌字体：Sora（几何）/ Inter（无衬线），只含 latin 子集 */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
s { color: var(--muted); font-weight: 500; font-size: 0.9em; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

.ic { flex: none; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: calc(var(--radius) * 0.8);
  border: 1px solid transparent; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 24px -12px rgba(11, 18, 32, .7); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-line { border-color: var(--line); background: transparent; color: var(--text); }
.btn-line:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); padding-inline: 6px; }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: calc(var(--radius) * 0.6); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.dark .btn-primary { background: var(--accent); color: var(--accent-ink); }

/* ---------- 顶部公告 ---------- */

.announce {
  background: var(--ink); color: #fff; font-size: 13px;
  letter-spacing: .04em; padding: 9px 0; text-align: center;
}
.dark .announce { background: #05070a; color: var(--accent); }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; }

/* ---------- 页头 ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 16px; height: 72px;
  width: min(1320px, 100% - 48px); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { display: inline-flex; color: var(--ink); }
.dark .brand-mark { color: var(--accent); }
.brand-name {
  font-weight: 700; font-size: 15px; letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap;
}
.nav {
  display: flex; align-items: center; gap: 2px; margin-left: 4px;
  flex: 1 1 auto; min-width: 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 9px 8px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .15s ease, background .15s ease; white-space: nowrap; flex: 0 0 auto;
}
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface); }
.nav.fade-left { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 100%); mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 100%); }
.nav.fade-right { -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 20px), transparent 100%); }
.nav.fade-left.fade-right { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 20px), transparent 100%); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }

/* ---------- 语言切换 ---------- */

.lang-switch {
  display: flex; align-items: center; gap: 1px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap; flex: none;
}
.lang-switch a {
  padding: 4px 5px; border-radius: 6px; color: var(--muted); line-height: 1;
  transition: color .15s ease, background .15s ease;
}
.lang-switch a:hover { color: var(--text); background: var(--surface); }
.lang-switch a.on { color: var(--text); background: var(--surface); }
.lang-sep { color: var(--line); font-weight: 400; }
.mobile-lang { padding: 10px 12px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
.mobile-lang .lang-switch a { padding: 6px 8px; }

.search {
  display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 40px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--muted); min-width: 165px; transition: border-color .15s ease, background .15s ease;
}
.search:focus-within { border-color: var(--accent); background: var(--bg); }
.search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 14px; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-weight: 600; transition: border-color .15s ease;
}
.cart-link:hover { border-color: var(--text); }
.cart-count {
  background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 5px;
}
.mobile-nav { display: none; position: relative; }

/* ---------- 英雄区 ---------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 78% 8%, var(--accent-soft), transparent 62%),
    radial-gradient(50% 50% at 6% 92%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 48px; align-items: center; padding: 76px 0 68px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); display: block; }
.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px); letter-spacing: -0.035em; line-height: 1.02;
  margin-bottom: 20px;
}
.hero .lede { font-size: 17.5px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 34px; margin-top: 44px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-stats strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.hero-stats span { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.hero-art { position: relative; }

/* Hero：居中版式 */
.hero-centered { position: relative; overflow: hidden; }
.hero-center-bg {
  position: absolute; inset: -14% -4% 0 auto; width: 64%; max-width: 820px;
  opacity: .12; pointer-events: none; filter: saturate(.9);
}
.hero-center-bg svg, .hero-center-bg img { width: 100%; height: auto; display: block; }
.hero-center {
  position: relative; text-align: center; display: flex; flex-direction: column;
  align-items: center; padding: 84px 0 72px;
}
.hero-center h1 { font-size: clamp(38px, 4.6vw, 66px); letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 20px; max-width: 18em; }
.hero-center .lede { max-width: 40em; }
.hero-center .hero-cta { justify-content: center; }
.hero-center .hero-stats { justify-content: center; gap: 46px; }
.hero-center .eyebrow { justify-content: center; }
.hero-center .eyebrow::before { display: none; }

/* 自定义图文模块 */
.richtext { display: grid; gap: 44px; align-items: center; }
.richtext.has-media { grid-template-columns: 1.1fr .9fr; }
.richtext h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.richtext .prose { margin-bottom: 22px; }
.richtext-media { border-radius: calc(var(--radius) * 1.2); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.richtext-media img { width: 100%; height: auto; display: block; }
.hero-art .art-frame {
  position: relative; border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--line); overflow: hidden; background: var(--surface);
  box-shadow: 0 40px 80px -50px rgba(11, 18, 32, .55);
}
.hero-art .art-frame svg, .hero-art .art-frame img { display: block; width: 100%; height: auto; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 12px 30px -18px rgba(11, 18, 32, .5); backdrop-filter: blur(8px);
}
.chip-1 { top: 18px; left: -18px; }
.chip-2 { bottom: 56px; right: -14px; }
.chip-3 { bottom: 12px; left: 26px; }
.chip b { color: var(--accent); }

/* ---------- 认证条 ---------- */

.certs { border-bottom: 1px solid var(--line); background: var(--surface); }
.certs-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 34px; padding: 18px 0;
}
.certs-label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.certs-list { display: flex; flex-wrap: wrap; gap: 26px; }
.certs-list span { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .05em; }

/* ---------- 区块 ---------- */

.section { padding: 78px 0; }
.section.tight { padding: 56px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 34px;
}
.section-head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 44em; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px;
  border-bottom: 1px solid var(--line); padding-bottom: 4px; flex: none;
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 分类 ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 20px 40px -30px rgba(11,18,32,.5); }
.cat-card h3 { font-size: 17px; }
.cat-card p { color: var(--muted); font-size: 14px; }
.cat-card .cat-count { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-top: 8px; }

/* ---------- 产品卡 ---------- */

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg); overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-3px); box-shadow: 0 24px 44px -34px rgba(11,18,32,.55); }
.card-media { position: relative; display: block; background: var(--surface); aspect-ratio: 1 / 1; }
.card-media .art { width: 100%; height: 100%; }
.card-media .art svg, .card-media .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px;
}
.dark .badge { background: var(--accent); color: var(--accent-ink); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.card-body h3 { font-size: 15.5px; line-height: 1.35; letter-spacing: -0.01em; }
.card-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-size: 16px; }
.mini-add { flex: none; }

/* ---------- 特性 / 应用 / 评价 ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 26px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--line);
}
.feature .fi {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.app { background: var(--bg); padding: 26px; }
.app h3 { font-size: 15.5px; margin-bottom: 8px; }
.app p { font-size: 13.5px; color: var(--muted); }
.app .num { font-size: 11px; letter-spacing: .14em; color: var(--accent); font-weight: 700; }

/* ---------- 应用领域页 ---------- */
.alt-section { background: var(--surface); }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.solution-card {
  display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 96px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px;
}
.solution-kicker { font-size: 11px; letter-spacing: .13em; color: var(--accent); font-weight: 700; }
.solution-card h3 { font-size: 22px; }
.solution-card p { color: var(--muted); font-size: 14.5px; }
.solution-list { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--muted); font-size: 13.5px; }
.solution-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.solution-links a {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
  color: var(--accent); font-size: 13px; font-weight: 600;
}
.solution-links a:hover { border-color: var(--accent); background: var(--bg); }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.spec-item { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 18px; }
.spec-item h3 { font-size: 14px; margin-bottom: 6px; }
.spec-item p { color: var(--muted); font-size: 13px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.step-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--bg); }
.step-num { display: inline-block; color: var(--accent); font-size: 11px; letter-spacing: .12em; font-weight: 700; margin-bottom: 10px; }
.step-card h3 { font-size: 17px; }
.step-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.solution-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px;
}
.solution-cta h2 { font-size: clamp(22px, 2.4vw, 30px); }
.solution-cta p { color: var(--muted); margin-top: 6px; }
.solution-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.claim-note { margin: 8px auto 38px; max-width: 760px; text-align: center; color: var(--muted); font-size: 12px; padding: 0 24px; }
@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .spec-grid, .steps-grid { grid-template-columns: 1fr; }
  .solution-cta { flex-direction: column; align-items: flex-start; }
}

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote {
  padding: 30px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.quote p { font-size: 17px; line-height: 1.55; letter-spacing: -0.01em; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar {
  width: 38px; height: 38px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.quote cite { font-style: normal; font-weight: 600; font-size: 14px; display: block; }
.quote small { color: var(--muted); font-size: 12.5px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin-top: 12px; max-width: 62em; }

/* ---------- CTA 带 ---------- */

.cta-band {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  border-radius: calc(var(--radius) * 1.6); padding: 52px; display: flex;
  align-items: center; justify-content: space-between; gap: 34px;
}
.cta-band::after {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 460px; height: 460px;
  background: radial-gradient(circle, var(--accent), transparent 62%); opacity: .35;
}
.cta-band h2 { font-size: clamp(24px, 2.4vw, 34px); max-width: 18em; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 42em; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-line:hover { border-color: #fff; }

/* ---------- 页脚 ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 0; }
.dark .site-footer { background: #05070a; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding: 68px 0 44px;
}
.footer-brand .brand-invert .brand-mark { color: var(--accent); }
.footer-brand .brand-name { color: #fff; }
.footer-desc { margin-top: 14px; font-size: 14px; max-width: 26em; color: rgba(255,255,255,.62); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; font-size: 13.5px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.78); }
.footer-col a:hover { color: #fff; }
.footer-news p { font-size: 13.5px; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input {
  flex: 1; min-width: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 10px 12px; color: #fff; outline: none; font-size: 13.5px;
}
.news-form input::placeholder { color: rgba(255,255,255,.4); }
.news-form input:focus { border-color: var(--accent); }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pay-chip {
  font-size: 11px; letter-spacing: .05em; padding: 4px 8px; border-radius: 5px;
  border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.66);
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 30px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px; color: rgba(255,255,255,.5);
}

/* ---------- 列表页 / 筛选 ---------- */

.page-head { padding: 46px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 46em; }
.crumbs { display: flex; flex-wrap: wrap; row-gap: 2px; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs > * { flex: 0 0 auto; }
.crumbs span:last-child { max-width: 100%; }
.crumbs a:hover { color: var(--accent); }
.shop-layout { display: grid; grid-template-columns: 224px 1fr; gap: 40px; padding: 40px 0 80px; }
.filters { position: sticky; top: 96px; align-self: start; }
.filters h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.filter-list a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--muted); }
.filter-list a:hover, .filter-list a.on { color: var(--text); font-weight: 600; }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; font-size: 13.5px; color: var(--muted);
}
.shop-toolbar select {
  border: 1px solid var(--line); background: var(--bg); border-radius: 8px;
  padding: 8px 10px; font-size: 13.5px;
}
.result-count b { color: var(--text); }

/* ---------- 产品详情 ---------- */

.product-page { padding: 28px 0 84px; }
.product-main { display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: start; }
.gallery .stage {
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); overflow: hidden;
  background: var(--surface); aspect-ratio: 1 / 1;
}
.gallery .stage svg, .gallery .stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs .thumb {
  width: 74px; height: 74px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); padding: 0; cursor: pointer;
}
.thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs .thumb.on { border-color: var(--accent); }

.pdp-cat { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.pdp-title { font-size: clamp(26px, 2.8vw, 38px); margin-top: 8px; }
.pdp-sub { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.pdp-price strong { font-size: 30px; letter-spacing: -0.02em; }
.pdp-price span { font-size: 13px; color: var(--muted); }
.pdp-sku { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-top: 14px; }
.stock .dot { width: 7px; height: 7px; border-radius: 99px; background: #10b981; }
.stock.low .dot { background: #f59e0b; }
.stock.out .dot { background: #ef4444; }

.option-group { margin-top: 22px; }
.option-group > label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; display: block; margin-bottom: 10px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pills input { position: absolute; opacity: 0; pointer-events: none; }
.option-pills .pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 13.5px;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .15s ease;
}
.option-pills .pill small { color: var(--muted); font-size: 12px; }
.option-pills input:checked + .pill { border-color: var(--text); background: var(--surface); font-weight: 600; }
.option-pills input:focus-visible + .pill { outline: 2px solid var(--accent); outline-offset: 2px; }

.buy-row { display: flex; gap: 10px; margin-top: 26px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.qty button { width: 40px; height: 46px; background: transparent; border: 0; cursor: pointer; font-size: 17px; color: var(--muted); }
.qty button:hover { color: var(--text); background: var(--surface); }
.qty input {
  width: 46px; text-align: center; border: 0; background: transparent; height: 46px;
  outline: none; font-weight: 600; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; }
.pdp-note { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.pdp-note span, .pdp-note a { display: inline-flex; align-items: center; gap: 7px; }

.pdp-blocks { margin-top: 46px; border-top: 1px solid var(--line); }
.pdp-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.pdp-block h2 { font-size: 20px; margin-bottom: 16px; }
.prose { color: var(--muted); font-size: 15.5px; max-width: 62em; }
.prose p { margin-bottom: 14px; }
.prose strong { color: var(--text); }
.prose ul { list-style: none; display: grid; gap: 8px; margin: 4px 0 16px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px;
  border-radius: 99px; background: var(--accent);
}
.prose a { color: var(--accent); text-decoration: underline; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: left; font-weight: 600; color: var(--muted); padding: 12px 18px 12px 0;
  width: 38%; vertical-align: top;
}
.spec-table td { padding: 12px 0; }
.spec-table tr:nth-child(odd) { background: color-mix(in srgb, var(--surface) 60%, transparent); }

/* ---------- 购物车 / 结算 ---------- */

.cart-page { padding: 40px 0 90px; }
.cart-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 44px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.line-art { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.line-art svg, .line-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.line-info h3 { font-size: 15.5px; }
.line-info p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.qty-inline { display: flex; align-items: center; gap: 8px; }
.qty-inline .qty-input {
  width: 64px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); text-align: center; font-weight: 600; font-size: 14px;
  outline: none; -moz-appearance: textfield;
}
.qty-inline .qty-input:focus { border-color: var(--accent); }
.qty-inline .qty-input::-webkit-outer-spin-button,
.qty-inline .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.line-actions .link-btn {
  background: none; border: 0; color: var(--muted); font-size: 12.5px; cursor: pointer;
  text-decoration: underline; padding: 0;
}
.line-actions .link-btn:hover { color: #ef4444; }
.line-total { text-align: right; font-weight: 700; font-size: 16px; }
.line-total small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

.summary {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: var(--surface); position: sticky; top: 96px;
}
.summary h2 { font-size: 18px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14.5px; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 18px; color: var(--text); font-weight: 700; }
.summary .btn { margin-top: 18px; }
.summary-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }

.checkout-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 44px; align-items: start; padding: 40px 0 90px; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.form-card + .form-card { margin-top: 18px; }
.form-card h2 { font-size: 18px; margin-bottom: 6px; }
.form-card .hint { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; letter-spacing: .03em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg); outline: none; font-size: 14.5px; transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .error { color: #ef4444; font-size: 12px; margin-top: 5px; }

.pay-methods { display: grid; gap: 10px; }
.pay-method {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: all .15s ease;
}
.pay-method input { margin-top: 3px; accent-color: var(--accent); }
.pay-method strong { font-size: 14.5px; display: block; }
.pay-method small { color: var(--muted); font-size: 12.5px; }
.pay-method:has(input:checked) { border-color: var(--text); background: var(--surface); }

.mini-lines { display: grid; gap: 12px; margin-bottom: 18px; }
.mini-line { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.mini-line .mini-art { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); flex: none; }
.mini-line .mini-art svg, .mini-line .mini-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-line .grow { flex: 1; min-width: 0; }
.mini-line .grow b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-line .muted { color: var(--muted); font-size: 12px; }

.notice {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 10px; font-size: 13.5px;
  background: var(--accent-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.notice.error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* ---------- 订单确认 ---------- */

.order-page { padding: 44px 0 90px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.order-head h1 { font-size: clamp(28px, 3vw, 40px); }
.order-head p { color: var(--muted); margin-top: 8px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; background: var(--accent-soft); color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.order-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 34px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.panel-head { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.panel-body { padding: 8px 22px 22px; }
.order-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-line:last-child { border-bottom: 0; }
.kv { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; font-size: 14px; }
.kv span:first-child { color: var(--muted); }
.bank-box {
  margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--surface);
  border: 1px dashed var(--line); font-size: 13.5px;
}
.bank-box div { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; }
.bank-box b { font-weight: 600; }

/* ---------- 内容页 ---------- */

.content-page { padding: 24px 0 90px; }
.content-grid { display: grid; grid-template-columns: 1fr 260px; gap: 60px; align-items: start; }
.content-body h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 22px; }
.content-body { max-width: 46em; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.aside-card h3 { font-size: 15px; margin-bottom: 10px; }
.aside-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.aside-card .aside-email { font-size: 12px; margin: 10px 0 0; line-height: 1.6; }
.link-copy { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; word-break: break-all; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0 90px; }
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--accent); flex: none; }
.contact-item b { display: block; font-size: 14px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--muted); }
.contact-item a:hover { color: var(--accent); }

.empty-state { text-align: center; padding: 70px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state h3 { font-size: 20px; }
.empty-state p { color: var(--muted); margin: 8px 0 20px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */

@media (max-width: 1320px) {
  .search { display: none; }
  .nav a { padding: 8px 7px; font-size: 14px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 1120px) {
  .nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 999px; font-size: 15px;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-panel {
    position: absolute; right: 0; top: 50px; width: 220px; background: var(--bg);
    border: 1px solid var(--line); border-radius: 12px; padding: 8px; z-index: 50;
    box-shadow: 0 24px 50px -24px rgba(11,18,32,.5);
  }
  .mobile-panel a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; }
  .mobile-panel a:hover { background: var(--surface); }
}

@media (max-width: 1080px) {
  .search { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; max-width: 460px; }
  .apps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .search { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 999px; font-size: 15px;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-panel {
    position: absolute; right: 0; top: 50px; width: 220px; background: var(--bg);
    border: 1px solid var(--line); border-radius: 12px; padding: 8px; z-index: 50;
    box-shadow: 0 24px 50px -24px rgba(11,18,32,.5);
  }
  .mobile-panel a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; }
  .mobile-panel a:hover { background: var(--surface); }

  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 44px; }
  .hero-art { order: -1; }
  .chip-1 { left: 10px; } .chip-3 { left: auto; right: 10px; bottom: 10px; }
  .product-main { grid-template-columns: 1fr; gap: 30px; }
  .cart-grid, .checkout-grid, .order-grid { grid-template-columns: 1fr; gap: 26px; }
  .summary { position: static; }
  .shop-layout { grid-template-columns: 1fr; gap: 22px; }
  .filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-list a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
  .filter-list a.on { border-color: var(--text); }
  .content-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 56px 0; }
}

@media (max-width: 720px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-card .btn { padding: 9px 12px; font-size: 13px; }
  .card-foot { flex-wrap: wrap; row-gap: 8px; }
  .card-foot .mini-add { width: 100%; text-align: center; flex: 1 1 auto; }
  .product-card h3 { font-size: 14.5px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 48px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .hero-stats { gap: 22px; }
  .card-body { padding: 12px 12px 14px; }
  .card-body h3 { font-size: 14px; }
  .card-sub { display: none; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .line-art { width: 72px; height: 72px; }
  .line-total { grid-column: 2; text-align: left; }
  .field-row { grid-template-columns: 1fr; }
  .brand-name { font-size: 13px; letter-spacing: .1em; }
  .header-inner { gap: 12px; height: 64px; }
  .cart-text { display: none; }
}

.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #fff); }
.file-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.file-list a:hover { color: var(--accent); }
.file-list span { font-size: 11px; letter-spacing: .08em; color: var(--muted); }

.video-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #0f172a; aspect-ratio: 16 / 9; }
.video-wrap video, .video-wrap iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.video-caption { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* 手机吸底购买条 */
.buy-bar { display: none; }
@media (max-width: 900px) {
  .buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(11,18,32,.45);
  }
  .buy-bar-price { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
  .buy-bar-price strong { font-size: 20px; letter-spacing: -0.02em; }
  .buy-bar-price span { font-size: 11.5px; color: var(--muted); }
  .buy-bar-actions { display: flex; gap: 8px; flex: none; }
  .buy-bar-actions .btn { padding: 11px 14px; font-size: 14px; }
  body.pdp-page { padding-bottom: 78px; }
}

/* ---------- 客服聊天 ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 55; font-size: 14px; }
.chat-launcher {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 12px 16px;
  font-weight: 700; box-shadow: 0 16px 34px -16px rgba(11,18,32,.55);
}
.chat-launcher svg { flex: none; }
.chat-widget.open .chat-launcher { display: none; }
.chat-panel {
  position: absolute; right: 0; bottom: 0; width: min(360px, calc(100vw - 32px)); max-height: min(540px, 72vh);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px -28px rgba(11,18,32,.55);
}
.chat-panel[hidden] { display: none !important; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.chat-head b { display: block; font-size: 14px; }
.chat-head span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.chat-close { border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 2px; }
.chat-log { flex: 1; min-height: 170px; max-height: 330px; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-empty { color: var(--muted); font-size: 13px; line-height: 1.6; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.chat-msg.customer { align-items: flex-end; }
.chat-bubble { max-width: 88%; padding: 9px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); white-space: pre-wrap; font-size: 13.5px; line-height: 1.55; }
.chat-msg.customer .chat-bubble { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chat-time { font-size: 10.5px; color: var(--muted); }
.chat-form { display: grid; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.chat-identity { display: grid; gap: 6px; }
.chat-identity input, .chat-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  color: var(--text); padding: 9px 10px; font: inherit; font-size: 13px; outline: none;
}
.chat-form textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
.chat-identity input:focus, .chat-form textarea:focus { border-color: var(--accent); }
.chat-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-status { color: var(--muted); font-size: 11.5px; min-height: 1em; }
.chat-actions .btn { flex: none; }
@media (max-width: 900px) {
  .chat-widget { right: 14px; bottom: 84px; }
  .chat-panel { max-height: 68vh; }
}

/* ---------- 订货编码表 ---------- */
.ordering-block .prose { max-width: none; }
.code-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.code-table { min-width: 680px; }
.code-table thead th {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
  padding: 11px 16px; background: var(--surface); width: auto; font-weight: 600;
}
.code-table tbody tr { background: transparent; }
.code-table tbody tr:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.code-table td { padding: 11px 16px; vertical-align: middle; }
.code-table td:first-child { width: 46%; color: var(--muted); }
.code-table td:last-child { white-space: nowrap; }
.code-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px;
  color: var(--text); background: color-mix(in srgb, var(--accent) 9%, transparent);
  padding: 3px 7px; border-radius: 5px;
}
.code-copy {
  margin-left: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-size: 11.5px; padding: 3px 8px; border-radius: 5px; cursor: pointer;
}
.code-copy:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) {
  .code-table { min-width: 0; }
  .code-table thead { display: none; }
  .code-table, .code-table tbody, .code-table tr, .code-table td { display: block; width: 100%; }
  .code-table tr { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .code-table td { padding: 4px 0; white-space: normal !important; }
  .code-table td:first-child { font-size: 13px; }
  .code-table code { font-size: 12px; word-break: break-all; }
}

/* ---------- DOCOROM dark store (docorom.com) ---------- */
.store-docorom { background: #060a10; }
.store-docorom .announce { background: #04070b; color: var(--accent); border-bottom: 1px solid rgba(34,211,238,.16); }
.store-docorom .site-header {
  background: rgba(6,10,16,.86);
  border-bottom: 1px solid rgba(34,211,238,.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.02);
}
.store-docorom .brand-name { letter-spacing: .24em; }
.store-docorom .nav a {
  font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  border-radius: 2px; padding: 10px 9px;
}
.store-docorom .nav a:hover, .store-docorom .nav a.on {
  color: var(--accent); background: rgba(34,211,238,.08);
}
.store-docorom .search, .store-docorom .cart-link {
  border-radius: 2px; border-color: rgba(34,211,238,.22);
  background: rgba(255,255,255,.02);
}
.store-docorom .search:focus-within { border-color: var(--accent); }
.store-docorom .lang-switch a { border-radius: 2px; }
.store-docorom .lang-switch a.on { background: rgba(34,211,238,.1); color: var(--accent); }

.store-docorom .hero { border-bottom: 1px solid rgba(34,211,238,.2); }
.store-docorom .hero::before { display: none; }
.store-docorom .hero-centered {
  background:
    radial-gradient(52% 58% at 50% 0%, rgba(34,211,238,.14), transparent 68%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  background-position: center, center top, center top;
}
.store-docorom .hero-center { padding: 118px 0 102px; }
.store-docorom .hero-center h1 {
  font-size: clamp(46px, 6.2vw, 88px); line-height: .94; letter-spacing: -.055em;
  max-width: 12em; font-weight: 600;
}
.store-docorom .hero-center .lede { font-size: 16px; line-height: 1.7; color: #a8bdcc; max-width: 48em; }
.store-docorom .hero-center .eyebrow {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10.5px; letter-spacing: .26em; color: var(--accent); margin-bottom: 26px;
}
.store-docorom .hero-center-bg { opacity: .14; width: 72%; right: -10%; top: -8%; filter: saturate(.55); }
.store-docorom .hero-stats {
  border-top: 1px solid rgba(34,211,238,.22); padding-top: 26px; margin-top: 52px; gap: 66px;
}
.store-docorom .hero-stats strong {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 26px; color: var(--accent); font-weight: 600;
}
.store-docorom .hero-stats span { font-size: 10.5px; letter-spacing: .16em; color: #8499a9; }
.store-docorom .hero-cta { margin-top: 34px; }

.store-docorom .btn { border-radius: 2px; letter-spacing: .01em; }
.store-docorom .btn-primary { background: var(--accent); color: #031018; }
.store-docorom .btn-primary:hover { background: #ffffff; }
.store-docorom .btn-line { border-color: rgba(34,211,238,.4); }
.store-docorom .btn-line:hover { border-color: var(--accent); color: var(--accent); }
.store-docorom .btn-accent { background: #e7f2f9; color: #04070b; }
.store-docorom .btn-accent:hover { background: #ffffff; }

.store-docorom .certs { background: #080d14; border-bottom-color: #152232; }
.store-docorom .certs-list span { color: #9db1c0; }

.store-docorom .section { padding: 94px 0; }
.store-docorom .section.tight { padding: 66px 0; }
.store-docorom .section-alt { background: #090f17; border-block-color: #152232; }
.store-docorom .section-head {
  align-items: flex-start; border-top: 1px solid rgba(34,211,238,.2); padding-top: 24px;
}
.store-docorom .section-head h2 { letter-spacing: -.035em; font-weight: 600; }
.store-docorom .section-head p { color: #8fa6b8; }
.store-docorom .link-arrow { border-bottom-color: rgba(34,211,238,.35); }
.store-docorom .link-arrow:hover { border-color: var(--accent); }

.store-docorom .cat-card { min-height: 186px; }
.store-docorom .cat-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-docorom .cat-card, .store-docorom .product-card, .store-docorom .feature, .store-docorom .app {
  background: #0a111a; border-color: #192838;
}
.store-docorom .cat-card:hover, .store-docorom .product-card:hover, .store-docorom .feature:hover {
  border-color: rgba(34,211,238,.65);
  box-shadow: 0 0 0 1px rgba(34,211,238,.12), 0 30px 60px -46px #000;
}
.store-docorom .card-media { background: #0d1622; }
.store-docorom .card-body h3 { font-weight: 600; }
.store-docorom .price strong {
  color: var(--accent);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
}
.store-docorom .badge { border-radius: 2px; }
.store-docorom .feature .fi { border-radius: 2px; background: rgba(34,211,238,.1); }
.store-docorom .apps { background: #192838; border-color: #192838; }
.store-docorom .app { background: #0a111a; }

.store-docorom .aside-card, .store-docorom .form-card, .store-docorom .panel, .store-docorom .notice {
  background: #0a111a; border-color: #192838;
}
.store-docorom .spec-table tr:nth-child(odd) { background: rgba(255,255,255,.025); }
.store-docorom .code-table-wrap { border-color: #192838; }
.store-docorom .code-table thead th { background: #0d1622; }
.store-docorom .code-table code { background: rgba(34,211,238,.1); }

.store-docorom .site-footer { background: #04070b; border-top: 1px solid rgba(34,211,238,.16); }
.store-docorom .footer-desc { color: #8fa6b8; }
.store-docorom .footer-col h4 { color: #cfe3ef; letter-spacing: .14em; }
.store-docorom .footer-col a:hover { color: var(--accent); }
.store-docorom .footer-bottom { color: #6f8494; border-top-color: #121d2a; }

@media (max-width: 720px) {
  .store-docorom .hero-center { padding: 78px 0 66px; }
  .store-docorom .hero-center h1 { font-size: clamp(40px, 12vw, 58px); }
  .store-docorom .hero-stats { gap: 28px 40px; }
  .store-docorom .section { padding: 66px 0; }
  .store-docorom .section-head { padding-top: 18px; }
}


/* DOCOROM hero readability over the technical drawing */
.store-docorom .hero-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 60% at 50% 46%, rgba(6,10,16,.93) 0%, rgba(6,10,16,.58) 54%, rgba(6,10,16,0) 78%);
  pointer-events: none;
}
.store-docorom .hero-center > * { position: relative; z-index: 1; }
.store-docorom .hero-center-bg { opacity: .09; }


/* ---------- DOCOROM steel light store (docorom.com) ---------- */
.store-docorom.theme-steel { background: #f4f6f8; color: var(--text); }
.store-docorom.theme-steel .announce {
  background: #0b1b24; color: #ffd9de; border-bottom: 1px solid rgba(200,16,46,.3);
}
.store-docorom.theme-steel .site-header {
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid #d5e0e8;
  box-shadow: 0 1px 0 rgba(11,27,36,.03);
}
.store-docorom.theme-steel .nav a { color: #5b6f7d; }
.store-docorom.theme-steel .nav a:hover,
.store-docorom.theme-steel .nav a.on { color: #c8102e; background: rgba(200,16,46,.08); }
.store-docorom.theme-steel .search,
.store-docorom.theme-steel .cart-link {
  background: #ffffff; border-color: #d5e0e8; color: #0b1b24;
}
.store-docorom.theme-steel .search:focus-within { border-color: #c8102e; }
.store-docorom.theme-steel .lang-switch a { color: #5b6f7d; }
.store-docorom.theme-steel .lang-switch a.on { background: rgba(200,16,46,.08); color: #c8102e; }

.store-docorom.theme-steel .hero { border-bottom: 1px solid #d5e0e8; }
.store-docorom.theme-steel .hero-centered {
  background:
    radial-gradient(52% 58% at 50% 0%, rgba(200,16,46,.12), transparent 68%),
    linear-gradient(rgba(11,27,36,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,27,36,.045) 1px, transparent 1px);
  background-color: #eef3f6;
  background-size: auto, 52px 52px, 52px 52px;
  background-position: center, center top, center top;
}
.store-docorom.theme-steel .hero-center::before {
  background: radial-gradient(48% 60% at 50% 46%, rgba(244,246,248,.94) 0%, rgba(244,246,248,.56) 54%, rgba(244,246,248,0) 78%);
}
.store-docorom.theme-steel .hero-center .lede { color: #526675; }
.store-docorom.theme-steel .hero-center-bg { opacity: .16; filter: saturate(.7); }
.store-docorom.theme-steel .hero-stats { border-top-color: rgba(200,16,46,.25); }
.store-docorom.theme-steel .hero-stats strong { color: #c8102e; }
.store-docorom.theme-steel .hero-stats span { color: #5b6f7d; }
.store-docorom.theme-steel .eyebrow { color: #c8102e; }

.store-docorom.theme-steel .btn-primary { background: #c8102e; color: #ffffff; }
.store-docorom.theme-steel .btn-primary:hover { background: #a00d24; }
.store-docorom.theme-steel .btn-line { border-color: rgba(200,16,46,.35); color: #0b1b24; }
.store-docorom.theme-steel .btn-line:hover { border-color: #c8102e; color: #c8102e; }
.store-docorom.theme-steel .btn-accent { background: #0b1b24; color: #ffffff; }
.store-docorom.theme-steel .btn-accent:hover { background: #132c3a; }

.store-docorom.theme-steel .certs { background: #e9eef2; border-bottom-color: #d5e0e8; }
.store-docorom.theme-steel .certs-list span { color: #4f6472; }
.store-docorom.theme-steel .section-alt { background: #e9eef2; border-block-color: #d5e0e8; }
.store-docorom.theme-steel .section-head { border-top-color: rgba(200,16,46,.3); }
.store-docorom.theme-steel .section-head p { color: #5b6f7d; }
.store-docorom.theme-steel .link-arrow { border-bottom-color: rgba(200,16,46,.35); }

.store-docorom.theme-steel .cat-card,
.store-docorom.theme-steel .product-card,
.store-docorom.theme-steel .feature,
.store-docorom.theme-steel .app {
  background: #ffffff; border-color: #dbe4ea;
}
.store-docorom.theme-steel .cat-card:hover,
.store-docorom.theme-steel .product-card:hover,
.store-docorom.theme-steel .feature:hover {
  border-color: rgba(200,16,46,.55);
  box-shadow: 0 0 0 1px rgba(200,16,46,.08), 0 24px 48px -38px rgba(11,27,36,.35);
}
.store-docorom.theme-steel .card-media { background: #eef3f6; }
.store-docorom.theme-steel .price strong { color: #c8102e; }
.store-docorom.theme-steel .badge { background: #c8102e; color: #ffffff; }
.store-docorom.theme-steel .feature .fi { background: rgba(200,16,46,.08); color: #c8102e; }
.store-docorom.theme-steel .apps { background: #dbe4ea; border-color: #dbe4ea; }
.store-docorom.theme-steel .app { background: #ffffff; }

.store-docorom.theme-steel .aside-card,
.store-docorom.theme-steel .form-card,
.store-docorom.theme-steel .panel,
.store-docorom.theme-steel .notice {
  background: #ffffff; border-color: #dbe4ea;
}
.store-docorom.theme-steel .spec-table tr:nth-child(odd) { background: rgba(11,27,36,.025); }
.store-docorom.theme-steel .spec-table th { color: #5b6f7d; }
.store-docorom.theme-steel .code-table-wrap { border-color: #dbe4ea; }
.store-docorom.theme-steel .code-table thead th { background: #eef3f6; }
.store-docorom.theme-steel .code-table code { background: rgba(200,16,46,.08); color: #0b1b24; }
.store-docorom.theme-steel .code-copy { color: #5b6f7d; border-color: #dbe4ea; }

.store-docorom.theme-steel .site-footer {
  background: #0b1b24; border-top: 1px solid rgba(200,16,46,.25);
}
.store-docorom.theme-steel .footer-desc { color: #95a9b7; }
.store-docorom.theme-steel .footer-col h4 { color: #b9cbd8; }
.store-docorom.theme-steel .footer-col a:hover { color: #ffffff; }
.store-docorom.theme-steel .footer-bottom { color: #718795; border-top-color: #1b2f3e; }

.store-docorom.theme-steel .chat-launcher { background: #c8102e; color: #ffffff; }

.store-docorom.theme-steel .hero-center-bg { display: none; }

.store-docorom.theme-steel .btn-accent { background: #c8102e; color: #ffffff; }
.store-docorom.theme-steel .btn-accent:hover { background: #a00d24; }
.store-docorom.theme-steel .cta-band .btn-accent,
.store-docorom.theme-steel .site-footer .btn-accent { background: #ffffff; color: #06212b; }
.store-docorom.theme-steel .cta-band .btn-accent:hover,
.store-docorom.theme-steel .site-footer .btn-accent:hover { background: #ffe5e8; }
.store-docorom.theme-steel .cta-band .btn-line { border-color: rgba(255,255,255,.55); color: #ffffff; }
.store-docorom.theme-steel .cta-band .btn-line:hover { border-color: #ffffff; color: #ffffff; }

/* DOCOROM red brand refinements */
.store-docorom.theme-steel .cta-band .btn-accent,
.store-docorom.theme-steel .site-footer .btn-accent { color: #c8102e; }
.brand-logo { display: block; width: auto; max-width: 220px; object-fit: contain; }
.brand-logo-invert { filter: brightness(0) invert(1); opacity: .92; }
@media (max-width: 720px) {
  .site-header .brand-logo { height: 26px !important; }
}


/* ---------- Rapid-style DOCOROM homepage ---------- */
.rapid-home.store-docorom .announce { background: #c8102e; color: #fff; border-bottom: 0; }
.rapid-home .site-header { background: rgba(255,255,255,.94); }
.rapid-header-quote { white-space: nowrap; }
.rapid-sticky-quote {
  position: fixed; right: 22px; bottom: 78px; z-index: 54;
  background: #c8102e; color: #fff; padding: 12px 18px; border-radius: 4px;
  font-weight: 700; font-size: 13px; box-shadow: 0 16px 34px -16px rgba(11,27,36,.55);
}
.rapid-sticky-quote:hover { background: #a00d24; }
.rapid-home-page { background: #f5f6f7; }

.rapid-hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: #e9eef2; }
.rapid-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.rapid-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(245,246,248,.98) 0%, rgba(245,246,248,.94) 38%, rgba(245,246,248,.55) 64%, rgba(245,246,248,.04) 100%);
}
.rapid-hero-inner { position: relative; z-index: 1; width: min(1320px, 100% - 48px); margin-inline: auto; padding: 86px 0 132px; }
.rapid-hero-copy { max-width: 650px; }
.rapid-kicker {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #c8102e; font-weight: 700; margin-bottom: 16px;
}
.rapid-hero h1 {
  font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.055em;
  margin: 0 0 22px; color: #0b1b24; max-width: 12em; font-weight: 600;
}
.rapid-lede { font-size: 18px; line-height: 1.65; color: #3f4b55; max-width: 37em; }
.rapid-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rapid-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #4f5f6a; }
.rapid-points li { display: inline-flex; align-items: center; gap: 7px; }
.rapid-points li::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: #c8102e; }

.rapid-stats { position: relative; z-index: 2; margin-top: -58px; }
.rapid-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rapid-stat {
  background: #fff; border: 1px solid #dbe1e6; border-radius: 8px; padding: 24px 18px;
  box-shadow: 0 18px 40px -32px rgba(11,27,36,.5);
}
.rapid-stat strong {
  display: block; font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 30px; line-height: 1; color: #0b1b24; letter-spacing: -.03em;
}
.rapid-stat span { display: block; margin-top: 8px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #687782; }

.rapid-caps { padding-top: 88px; }
.rapid-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start;
  margin-bottom: 34px; border-top: 1px solid #dbe1e6; padding-top: 26px;
}
.rapid-head h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.08; font-weight: 600; }
.rapid-head p { color: #5f6a72; font-size: 15px; line-height: 1.65; max-width: 38em; }
.rapid-cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rapid-cap {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #dbe1e6;
  border-radius: 8px; overflow: hidden; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rapid-cap:hover { border-color: #c8102e; transform: translateY(-3px); box-shadow: 0 24px 46px -34px rgba(11,27,36,.45); }
.rapid-cap-media { aspect-ratio: 4 / 3; background: #e9edf0; overflow: hidden; }
.rapid-cap-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rapid-cap-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rapid-cap-body > span { font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: .12em; color: #c8102e; }
.rapid-cap-body h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.rapid-cap-body p { color: #5f6a72; font-size: 13.5px; line-height: 1.55; }
.rapid-cap-body b { margin-top: auto; color: #c8102e; font-size: 12px; font-weight: 700; }

.rapid-products .product-grid { margin-top: 8px; }
.rapid-proof { background: #fff; border-block: 1px solid #dbe1e6; }
.rapid-logo-card { background: #fff; border: 1px solid #e2e6e9; border-radius: 8px; padding: 26px; }
.rapid-logo-card img { display: block; width: 100%; height: auto; max-width: 1120px; margin: 0 auto; }
.rapid-permission { margin-top: 10px; font-size: 11px; color: #8a969e; }
.rapid-cert-row {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid #e2e6e9; font-size: 10.5px; letter-spacing: .1em; color: #5f6a72; font-weight: 600;
}

.rapid-global { background: #0b1b24; color: #fff; padding: 84px 0; }
.rapid-global-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.rapid-global .rapid-kicker { color: #ff8a94; }
.rapid-global h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; }
.rapid-global p { color: #b6c8d4; font-size: 15px; line-height: 1.7; max-width: 38em; }
.rapid-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.rapid-metrics strong { display: block; font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; font-size: 26px; color: #fff; line-height: 1; }
.rapid-metrics span { display: block; margin-top: 7px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em; color: #8fa6b8; }
.rapid-global-media img { width: 100%; height: 360px; object-fit: cover; border-radius: 8px; opacity: .9; display: block; }

.rapid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rapid-shot { margin: 0; border-radius: 8px; overflow: hidden; background: #0b1b24; position: relative; }
.rapid-shot img { width: 100%; height: 300px; object-fit: cover; display: block; opacity: .9; }
.rapid-shot figcaption { position: absolute; left: 18px; bottom: 16px; color: #fff; font-size: 13px; font-weight: 600; }
.rapid-shot figcaption span { display: block; font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; font-size: 10px; color: #ff8a94; margin-bottom: 4px; letter-spacing: .1em; }

.rapid-cta-section { padding: 0 0 90px; background: #f5f6f7; }
.rapid-cta {
  display: flex; justify-content: space-between; gap: 34px; align-items: center;
  background: linear-gradient(100deg, #0b1b24 0%, #2a1117 100%);
  border-radius: 10px; padding: 46px; color: #fff; position: relative; overflow: hidden;
}
.rapid-cta .rapid-kicker { color: #ff8a94; }
.rapid-cta h2 { font-size: clamp(26px, 3vw, 38px); max-width: 18em; letter-spacing: -.035em; line-height: 1.1; }
.rapid-cta p { color: #b6c8d4; max-width: 38em; font-size: 14.5px; }
.rapid-cta .btn-accent { background: #c8102e; color: #fff; }
.rapid-cta .btn-accent:hover { background: #a00d24; }
.rapid-cta .btn-line { border-color: rgba(255,255,255,.45); color: #fff; }

@media (max-width: 1100px) {
  .rapid-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .rapid-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .rapid-global-grid { grid-template-columns: 1fr; }
  .rapid-global-media img { height: 300px; }
}
@media (max-width: 760px) {
  .rapid-header-quote { display: none; }
  .rapid-hero { min-height: 520px; }
  .rapid-hero-inner { padding: 64px 0 108px; }
  .rapid-hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .rapid-hero-overlay { background: linear-gradient(90deg, rgba(245,246,248,.98) 0%, rgba(245,246,248,.9) 70%, rgba(245,246,248,.45) 100%); }
  .rapid-lede { font-size: 16px; }
  .rapid-stats { margin-top: -40px; }
  .rapid-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rapid-stat { padding: 18px 14px; }
  .rapid-stat strong { font-size: 24px; }
  .rapid-head { grid-template-columns: 1fr; gap: 12px; }
  .rapid-cap-grid { grid-template-columns: 1fr; }
  .rapid-gallery { grid-template-columns: 1fr; }
  .rapid-shot img { height: 260px; }
  .rapid-metrics { grid-template-columns: repeat(2, 1fr); }
  .rapid-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .rapid-cta-section { padding-bottom: 64px; }
  .rapid-sticky-quote { left: 14px; right: auto; bottom: 14px; padding: 10px 14px; }
}

.rapid-logo-card img { max-width: 980px; }
.rapid-global-media img { filter: brightness(1.3) contrast(1.05); opacity: 1; }

.rapid-search {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #dbe1e6; border-radius: 4px; background: #fff; color: #0b1b24; flex: none;
}
.rapid-search:hover { border-color: #c8102e; color: #c8102e; }
.rapid-logo-card img { max-width: 900px; }

.rapid-sticky-quote { display: none; }
@media (max-width: 760px) {
  .rapid-sticky-quote { display: inline-flex; }
}

@media (max-width: 760px) {
  .rapid-home .header-inner { gap: 8px; width: calc(100% - 28px); }
  .rapid-home .brand-logo { height: 22px !important; max-width: 118px; }
  .rapid-home .header-actions { gap: 6px; }
  .rapid-home .lang-switch, .rapid-home .rapid-search, .rapid-home .search { display: none; }
  .rapid-home .cart-text { display: none; }
  .rapid-home .cart-link { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 4px; }
  .rapid-home .rapid-hero-inner { width: calc(100% - 32px); }
  .rapid-home .rapid-stat-grid { min-width: 0; }
  .rapid-home .rapid-stat { min-width: 0; }
}

.store-docorom.theme-steel .rapid-cta .btn-line { color: #fff; border-color: rgba(255,255,255,.5); }
.store-docorom.theme-steel .rapid-cta .btn-line:hover { color: #fff; border-color: #fff; }


/* ---------- IRONEX-style DOCOROM homepage (pt100-pt100.com) ---------- */
.ironx-home .announce { display: none; }
.ironx-home .site-header {
  background: #0b1f33;
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: none;
}
.ironx-home .brand-logo { filter: brightness(0) invert(1); }
.ironx-home .nav a {
  color: rgba(255,255,255,.78); font-size: 11.5px; letter-spacing: .07em;
  text-transform: uppercase; border-radius: 2px; padding: 9px 8px;
}
.ironx-home .nav a:hover, .ironx-home .nav a.on { color: #fff; background: rgba(255,255,255,.08); }
.ironx-home .search { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; border-radius: 2px; }
.ironx-home .search input { color: #fff; }
.ironx-home .search input::placeholder { color: rgba(255,255,255,.55); }
.ironx-home .cart-link { color: #fff; border-color: rgba(255,255,255,.22); background: transparent; border-radius: 2px; }
.ironx-home .cart-link:hover { border-color: #f59e0b; color: #f59e0b; }
.ironx-home .lang-switch a { color: rgba(255,255,255,.68); border-radius: 2px; }
.ironx-home .lang-switch a.on { color: #fff; background: rgba(255,255,255,.1); }
.ironx-home .rapid-header-quote { background: #f59e0b; color: #0b1220; border-radius: 2px; }
.ironx-home .rapid-header-quote:hover { background: #fbbf24; }
.ironx-home .mobile-nav summary { color: #fff; }

.ironx-home .btn { border-radius: 2px; }
.ironx-home .btn-primary { background: #f59e0b; color: #0b1220; }
.ironx-home .btn-primary:hover { background: #fbbf24; }
.ironx-home .btn-line { border-color: rgba(255,255,255,.45); color: #fff; }
.ironx-home .btn-line:hover { border-color: #fff; color: #fff; }

.ironx-hero { position: relative; min-height: 590px; display: flex; align-items: center; overflow: hidden; background: #071523; }
.ironx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .58; filter: saturate(.8) contrast(1.05); }
.ironx-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,35,.97) 0%, rgba(7,21,35,.88) 42%, rgba(7,21,35,.32) 100%); }
.ironx-hero-inner { position: relative; z-index: 1; padding: 96px 0; }
.ironx-hero-copy { max-width: 720px; }
.ironx-kicker {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #f59e0b; font-weight: 700; margin-bottom: 12px;
}
.ironx-hero h1 {
  color: #fff; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.02;
  letter-spacing: -.045em; margin: 0 0 20px; max-width: 14em; font-weight: 700;
}
.ironx-lede { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; max-width: 36em; }
.ironx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.ironx-stats { background: #0b1f33; border-block: 1px solid rgba(255,255,255,.09); }
.ironx-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ironx-stat {
  display: flex; align-items: center; gap: 16px; padding: 26px 24px;
  border-left: 1px solid rgba(255,255,255,.1); color: #f59e0b;
}
.ironx-stat:first-child { border-left: 0; }
.ironx-stat svg { flex: none; }
.ironx-stat strong {
  display: block; color: #fff; font-size: 28px; line-height: 1;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}
.ironx-stat span { display: block; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; margin-top: 6px; }

.ironx-center { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.ironx-center h2 {
  color: #0b1f33; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em;
  line-height: 1.1; margin-top: 6px; padding-bottom: 16px; position: relative; font-weight: 600;
}
.ironx-center h2::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 46px; height: 3px;
  background: #f59e0b; transform: translateX(-50%);
}
.ironx-cats { background: #fff; padding-bottom: 76px; }
.ironx-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ironx-cat { background: #fff; border: 1px solid #e1e6ea; border-radius: 4px; overflow: hidden; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ironx-cat:hover { border-color: #f59e0b; transform: translateY(-2px); box-shadow: 0 18px 34px -30px rgba(11,31,51,.45); }
.ironx-cat-media { aspect-ratio: 1 / 1; background: #f4f6f8; display: flex; align-items: center; justify-content: center; padding: 14px; }
.ironx-cat-media img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.ironx-cat-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; border-top: 1px solid #e1e6ea; color: #0b1f33; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.ironx-cat-label b { color: #f59e0b; font-size: 15px; }

.ironx-why { background: #0b1f33; padding: 64px 0 66px; }
.ironx-why .ironx-kicker { color: #f59e0b; }
.ironx-why .ironx-center h2 { color: #fff; }
.ironx-why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.ironx-why-item { text-align: center; color: #fff; padding: 0 18px; border-left: 1px solid rgba(255,255,255,.1); }
.ironx-why-item:first-child { border-left: 0; }
.ironx-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid rgba(245,158,11,.55); border-radius: 50%; color: #f59e0b; }
.ironx-why-item b { display: block; margin-top: 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ironx-why-item p { color: rgba(255,255,255,.6); font-size: 12.5px; line-height: 1.6; margin-top: 8px; }

.ironx-about { background: #fff; }
.ironx-about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.ironx-about-media img { width: 100%; height: 430px; object-fit: cover; border-radius: 4px; display: block; }
.ironx-about-copy h2 { color: #0b1f33; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.1; margin-bottom: 16px; font-weight: 600; }
.ironx-about-copy > p { color: #5f6a72; font-size: 14.5px; line-height: 1.7; }
.ironx-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border-top: 1px solid #e1e6ea; padding-top: 22px; margin-top: 26px; }
.ironx-mini { color: #f59e0b; }
.ironx-mini strong { display: block; color: #0b1f33; font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; font-size: 24px; line-height: 1; margin-top: 9px; }
.ironx-mini span { display: block; color: #6b7883; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; margin-top: 5px; }

.ironx-apps { background: #f6f7f8; }
.ironx-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ironx-app { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: #0b1f33; }
.ironx-app img { width: 100%; height: 220px; object-fit: cover; display: block; opacity: .92; }
.ironx-app::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,21,35,.82) 0%, rgba(7,21,35,.12) 58%, transparent 100%); }
.ironx-app figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; z-index: 1; }

.ironx-certs { background: #fff; padding-bottom: 82px; }
.ironx-cert-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ironx-cert { text-align: center; padding: 16px 8px; }
.ironx-cert-ic { width: 74px; height: 74px; border: 1px solid #d7dee4; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #0b1f33; }
.ironx-cert b { display: block; margin-top: 12px; color: #0b1f33; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.ironx-cert small { display: block; margin-top: 4px; color: #6b7883; font-size: 10.5px; }

@media (max-width: 1100px) {
  .ironx-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ironx-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ironx-stat:nth-child(3) { border-left: 0; }
  .ironx-why-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .ironx-why-item:nth-child(4) { border-left: 0; }
  .ironx-about-grid { grid-template-columns: 1fr; }
  .ironx-about-media img { height: 300px; }
  .ironx-app-grid { grid-template-columns: repeat(2, 1fr); }
  .ironx-cert-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .ironx-home .header-inner { gap: 8px; width: calc(100% - 28px); }
  .ironx-home .brand-logo { height: 22px !important; max-width: 118px; }
  .ironx-home .header-actions { gap: 6px; }
  .ironx-home .lang-switch, .ironx-home .search { display: none; }
  .ironx-home .rapid-header-quote { display: none; }
  .ironx-home .cart-text { display: none; }
  .ironx-home .cart-link { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .ironx-hero { min-height: 500px; }
  .ironx-hero-inner { padding: 64px 0; }
  .ironx-hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .ironx-lede { font-size: 15.5px; }
  .ironx-stat { padding: 18px 14px; gap: 10px; }
  .ironx-stat strong { font-size: 22px; }
  .ironx-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ironx-why-grid { grid-template-columns: 1fr; gap: 26px; }
  .ironx-why-item { border-left: 0; }
  .ironx-app-grid { grid-template-columns: 1fr; }
  .ironx-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .ironx-cert-grid { grid-template-columns: repeat(2, 1fr); }
}


/* Larger product-category cards (old site) */
@media (min-width: 901px) {
  .ironx-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ironx-cat-media { aspect-ratio: 4 / 3; padding: 0; }
  .ironx-cat-media img { object-fit: cover; }
  .ironx-cat-label { padding: 17px 20px; font-size: 13px; }
  .ironx-cat-label b { font-size: 18px; }
  .ironx-cats .ironx-center { margin-bottom: 44px; }
  .ironx-cats .ironx-center h2 { font-size: clamp(34px, 3.4vw, 46px); }
}
@media (max-width: 900px) {
  .ironx-cat-media { aspect-ratio: 4 / 3; }
}


/* One-row category layout on wide desktop */
@media (min-width: 1201px) {
  .ironx-cat-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .ironx-cat-media { aspect-ratio: 4 / 3; padding: 0; }
  .ironx-cat-media img { object-fit: cover; }
  .ironx-cat-label { padding: 14px 12px; font-size: 11.5px; }
  .ironx-cat-label b { font-size: 15px; }
  .ironx-cats .ironx-center { margin-bottom: 34px; }
  .ironx-cats .ironx-center h2 { font-size: clamp(32px, 3vw, 42px); }
}


/* Horizontal large-card category slider (old site) */
.ironx-cat-slider { position: relative; margin: 0 -4px; }
.ironx-cat-grid {
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px; margin: 0;
  scrollbar-width: none; -ms-overflow-style: none; outline-offset: 4px;
}
.ironx-cat-grid::-webkit-scrollbar { display: none; }
.ironx-cat { flex: 0 0 clamp(250px, 25vw, 320px); scroll-snap-align: start; }
.ironx-cat-media { aspect-ratio: 4 / 3; padding: 0; }
.ironx-cat-media img { object-fit: cover; }
.ironx-cat-label { padding: 15px 16px; font-size: 12px; }
.ironx-cat-label b { font-size: 16px; }
.ironx-cats .ironx-center { margin-bottom: 30px; }
.ironx-cats .ironx-center h2 { font-size: clamp(32px, 3vw, 42px); }
.ironx-slider-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 10px; padding: 0 4px;
}
.ironx-slider-hint { color: #6b7883; font-size: 11.5px; }
.ironx-slider-buttons { display: flex; gap: 8px; }
.ironx-slide-btn {
  width: 40px; height: 40px; border: 1px solid #d7dee4; background: #fff;
  color: #0b1f33; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font-size: 17px; line-height: 1; transition: border-color .18s ease, color .18s ease;
}
.ironx-slide-btn:hover:not(:disabled) { border-color: #f59e0b; color: #f59e0b; }
.ironx-slide-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 760px) {
  .ironx-cat { flex-basis: 80vw; }
  .ironx-slider-hint { font-size: 10.5px; }
  .ironx-slide-btn { width: 36px; height: 36px; }
}


/* Show full product images in category cards, no cropping */
.ironx-cat { flex: 0 0 calc((100% - 48px) / 4); }
.ironx-cat-media { aspect-ratio: 1 / 1; padding: 0; background: #f4f6f8; }
.ironx-cat-media img { object-fit: contain; }
@media (max-width: 1100px) {
  .ironx-cat { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 900px) {
  .ironx-cat { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 760px) {
  .ironx-cat { flex-basis: 100%; }
}

/* ==========================================================================
   Design system v1 — 控件焦点、触控尺寸、固定元素与图库可读性
   ========================================================================== */

:root {
  --control-radius: 8px;
  --control-height: 44px;
  --focus-color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (pointer: coarse) {
  .btn,
  .product-card .btn,
  .cart-link,
  .chat-launcher,
  .mobile-nav summary {
    min-height: 44px;
  }
  .product-card .btn {
    padding: 12px 14px;
  }
  .nav a {
    padding: 12px 10px;
  }
  .mobile-panel a {
    padding: 13px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 720px) {
  .announce .wrap {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-inline: 16px;
  }
  .site-footer {
    padding-bottom: 96px;
  }
}

/* 页脚进入视口时收起固定报价条与聊天按钮，避免遮挡联系方式与版权 */
.rapid-sticky-quote,
.chat-launcher {
  transition: opacity .2s ease, transform .2s ease;
}
body.footer-in-view .rapid-sticky-quote {
  opacity: 0;
  transform: translateY(140%);
  pointer-events: none;
}
body.footer-in-view .chat-launcher {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* 卡片悬停只做轻微阴影，不改变布局 */
.product-card {
  transition: box-shadow .2s ease;
}
.product-card:hover {
  box-shadow: 0 18px 40px -28px rgba(11, 27, 36, .45);
}

/* 图库标题加一层渐变衬底，保证任何照片上都可读 */
.rapid-shot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(to top, rgba(4, 10, 14, .82), rgba(4, 10, 14, 0));
  pointer-events: none;
}
.rapid-shot figcaption {
  z-index: 1;
}

/* ---------- 国内站：隐私同意与备案页脚 ---------- */
.check.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.check.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  accent-color: var(--accent);
}
.check.consent a {
  color: var(--accent);
  text-decoration: underline;
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .62);
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
}
.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-legal-sep {
  opacity: .5;
}
.content-body h2 {
  font-size: 19px;
  margin: 30px 0 10px;
  letter-spacing: -.01em;
}
.content-body p {
  margin: 0 0 12px;
}


/* 询价页：表单本身已是 CTA，隐藏悬浮报价条，移动端隐藏聊天按钮避免压住表单 */
.page-contact .rapid-sticky-quote {
  display: none;
}
@media (max-width: 720px) {
  .page-contact .chat-widget {
    display: none;
  }
}


/* ---------- 只做询盘模式 ---------- */
.inquiry-only .cart-link,
.inquiry-only #buy-form,
.inquiry-only .buy-bar,
.inquiry-only .pdp-price {
  display: none !important;
}
.pdp-inquiry {
  margin: 8px 0 18px;
}
.pdp-inquiry .btn {
  width: 100%;
}

/* 易感使用原有目录与表单组件，品牌布局只作用于国内询盘主题。 */
.yisensor-site {
  --ys-blue: #3f50c3;
  --ys-deep: #28399a;
  --ys-surface: #f4f6fc;
  --ys-line: #dce2f1;
  --ys-text: #182341;
  --ys-muted: #505d76;
  --ys-control-radius: 7px;
  --ys-card-radius: 10px;
  --ys-model-font: ui-monospace, Consolas, monospace;
  color: var(--ys-text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
.yisensor-site .btn { min-height: 44px; min-width: 44px; border-radius: var(--ys-control-radius); }
.yisensor-site .btn-primary { background: var(--ys-blue); color: #fff; }
.yisensor-site .btn-primary:hover { background: var(--ys-deep); }
.yisensor-site .btn-line { border-color: #acb8dd; color: var(--ys-deep); background: #fff; }
.yisensor-site .btn-line:hover { background: var(--ys-surface); border-color: var(--ys-blue); }
.yisensor-site .btn-primary:active { background: var(--ys-deep); }
.yisensor-site .btn-line:active { background: var(--ys-line); }
.yisensor-site .btn:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; transform: none; }
.yisensor-site :focus-visible { outline: 2px solid var(--ys-blue); outline-offset: 3px; }
.yisensor-site #main { scroll-margin-top: 90px; }
.yisensor-site .page-head h1,
.yisensor-site .content-page h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.yisensor-site :is(.pdp-block, .form-card, .ys-tool-result, .content-body) > h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.3;
}
.yisensor-site .field label { color: var(--ys-muted); font-size: .8125rem; letter-spacing: 0; }
.yisensor-site .field :is(input, select, textarea) {
  min-height: 44px;
  border-color: var(--ys-line);
  border-radius: var(--ys-control-radius);
}
.yisensor-site .field :is(input, select, textarea):focus { border-color: var(--ys-blue); }
.yisensor-site .faq summary { min-height: 44px; }
.yisensor-site .site-header { border-bottom: 1px solid var(--ys-line); }
.yisensor-site .header-inner { min-height: 76px; }
.yisensor-site .site-header .brand { min-height: 44px; }
.yisensor-site .site-header .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.yisensor-site .site-header .brand-logo { height: 40px !important; max-width: 160px; }
.yisensor-site .nav a.on, .yisensor-site .mobile-panel a[aria-current] { color: var(--ys-deep); background: var(--ys-surface); }
.yisensor-site .mobile-nav summary { width: 44px; height: 44px; border-radius: 7px; }
.yisensor-site .mobile-panel {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 84px);
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.yisensor-site .lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.yisensor-site .mobile-panel > a { display: flex; align-items: center; min-height: 44px; }
.yisensor-site .ys-chat-menu { display: none; }
.yisensor-site.ys-home-page {
  --ys-home-paper: #f5f1ea;
  --ys-home-ink: #23211e;
  --ys-home-muted: #69635b;
  --ys-home-copper: #985e38;
  --ys-home-line: #c9c1b5;
}
.yisensor-site.ys-home-page .site-header {
  background: var(--ys-home-paper);
  border-color: var(--ys-home-line);
  backdrop-filter: none;
}
.yisensor-site.ys-home-page .header-inner {
  width: min(1328px, 100% - clamp(36px, 7.78vw, 112px));
  height: 74px;
  min-height: 74px;
  gap: clamp(12px, 3vw, 52px);
}
.yisensor-site.ys-home-page .site-header .brand-logo { height: 33px !important; }
.yisensor-site.ys-home-page .site-header .nav { gap: clamp(3px, .95vw, 14px); margin-inline-start: 0; }
.yisensor-site.ys-home-page .site-header .nav a { color: var(--ys-home-ink); font-size: .875rem; }
.yisensor-site.ys-home-page .site-header .nav a:is(:hover, .on),
.yisensor-site.ys-home-page .header-actions > .lang-switch a:is(:hover, .on) {
  color: var(--ys-home-ink);
  background: transparent;
}
.yisensor-site.ys-home-page .site-header .nav a.on {
  color: var(--ys-home-ink);
  text-decoration: underline var(--ys-home-copper) 1.5px;
  text-underline-offset: .5em;
  font-weight: 650;
}
.yisensor-site.ys-home-page .site-header .nav a:focus-visible { outline-offset: -2px; }
.yisensor-site.ys-home-page .header-actions > .lang-switch a { color: var(--ys-home-muted); }
.yisensor-site.ys-home-page .site-header .search {
  width: clamp(140px, 13vw, 200px);
  min-width: 0;
  min-height: 44px;
  padding-inline: 2px;
  border: 0;
  border-bottom: 1px solid var(--ys-home-line);
  border-radius: 0;
  background: transparent;
  color: var(--ys-home-muted);
}
.yisensor-site.ys-home-page .site-header .search:focus-within { border-color: var(--ys-blue); }
.yisensor-site.ys-home-page .site-header .search input { min-height: 44px; }
.yisensor-site.ys-home-page .site-header .search input::placeholder { color: var(--ys-home-muted); }
.yisensor-site.ys-home-page .site-header .search input:focus-visible { outline-offset: -2px; }
.yisensor-site.ys-home-page .rapid-header-quote { border-radius: 3px; }

.yisensor-site.ys-home-page .ys-hero {
  background: var(--ys-home-paper);
  color: var(--ys-home-ink);
  border-bottom: 1px solid var(--ys-home-line);
}
.yisensor-site.ys-home-page .ys-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  min-height: clamp(540px, 57.4vw, 826px);
}
.yisensor-site.ys-home-page .ys-hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 3.2vw, 46px) clamp(36px, 5vw, 72px) clamp(24px, 5.83vw, 124px);
}
.yisensor-site.ys-home-page .ys-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  color: var(--ys-home-copper);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.yisensor-site.ys-home-page .ys-eyebrow::before {
  content: "";
  inline-size: 34px;
  block-size: 1px;
  background: currentColor;
}
.yisensor-site.ys-home-page .ys-hero h1 {
  color: var(--ys-home-ink);
  font-size: clamp(2.5rem, 5.14vw, 4.625rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.yisensor-site.ys-home-page .ys-hero h1:lang(zh) {
  font-size: clamp(2.375rem, 4.65vw, 4.25rem);
  line-height: 1.13;
}
.yisensor-site.ys-home-page .ys-hero h1 em {
  display: block;
  color: var(--ys-home-copper);
  font-style: normal;
}
.yisensor-site.ys-home-page .ys-hero-subheading {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1rem, 1.36vw, 1.25rem);
  line-height: 1.4;
}
.yisensor-site.ys-home-page .ys-hero-description {
  margin-top: 12px;
  max-width: 44ch;
  color: var(--ys-home-muted);
  font-size: .9375rem;
  line-height: 1.65;
}
.yisensor-site.ys-home-page .ys-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.yisensor-site.ys-home-page .ys-actions .btn {
  justify-content: center;
  min-height: 48px;
  padding-inline: clamp(12px, 1.65vw, 24px);
  border-radius: 3px;
  text-align: center;
  white-space: normal;
}
.yisensor-site.ys-home-page .ys-actions .btn-line {
  background: transparent;
  color: var(--ys-home-ink);
  border-color: #9f9487;
}
.yisensor-site.ys-home-page .ys-actions .btn-line:hover { background: #ebe4d9; }
.yisensor-site.ys-home-page .ys-hero-links { margin-top: 22px; max-width: 27rem; }
.yisensor-site.ys-home-page .ys-hero-links ul { padding: 0; margin: 0; list-style: none; }
.yisensor-site.ys-home-page .ys-hero-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 6px;
  border-bottom: 1px solid var(--ys-home-line);
  color: var(--ys-home-ink);
  font-size: .875rem;
}
.yisensor-site.ys-home-page .ys-hero-links li:first-child a { border-top: 1px solid var(--ys-home-line); }
.yisensor-site.ys-home-page .ys-hero-links a:hover {
  color: var(--ys-home-copper);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.yisensor-site.ys-home-page .ys-hero-links a span { color: var(--ys-home-copper); }
.yisensor-site.ys-home-page .ys-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  background: #302823;
}
.yisensor-site.ys-home-page .ys-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}
.yisensor-site.ys-home-page .ys-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ys-home-paper), transparent 25%),
              linear-gradient(180deg, rgba(18, 14, 10, .58), transparent 27%);
}
.yisensor-site.ys-home-page .ys-hero-frame {
  position: absolute;
  inset: 26px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .36);
}
.yisensor-site.ys-home-page .ys-hero-media figcaption {
  position: absolute;
  inset-block-start: 36px;
  inset-inline-end: 40px;
  z-index: 1;
  margin: 0;
  padding: 4px 7px;
  background: rgba(30, 24, 20, .76);
  color: #fff;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.ys-section { padding-block: 46px; }
.ys-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.35; }
.ys-section-heading, .ys-help-band {
  display: flex;
  gap: 16px 26px;
  justify-content: space-between;
  align-items: center;
}
.ys-section-heading { margin-bottom: 23px; }
.yisensor-site :is(.ys-section-heading, .ys-enquiry-guide) .ys-text-link {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}
.ys-help-band p { margin-top: 6px; line-height: 1.7; color: var(--ys-muted); }
.ys-home-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ys-home-path {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--ys-line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgb(24 35 65 / 4%);
}
.ys-home-path h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.ys-home-path > p { margin: 6px 0 16px; color: var(--ys-muted); line-height: 1.65; }
.ys-home-path .ys-search { max-width: none; }
.ys-home-path h3 { margin: 20px 0 10px; font-size: 1rem; }
.ys-home-path-applications { background: var(--ys-surface); scroll-margin-top: 90px; }
.ys-home-path-jump { display: none; }
.ys-home-path-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
.ys-home-scenes { display: grid; gap: 8px; }
.ys-home-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--ys-line);
  border-radius: 9px;
}
.ys-home-scene strong, .ys-home-scene strong + span { display: block; }
.ys-home-scene strong, .ys-home-scene-arrow { color: var(--ys-deep); }
.ys-home-scene strong + span { margin-top: 2px; color: var(--ys-muted); font-size: .875rem; line-height: 1.5; }
.ys-home-scene:hover { border-color: var(--ys-blue); }
.ys-home-scene:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.ys-search { display: flex; gap: 8px; max-width: 440px; }
.ys-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ys-text);
  border: 1px solid #abb7d4;
  border-radius: 7px;
  font: inherit;
}
.ys-search button { flex-shrink: 0; }
.ys-visually-hidden, .ys-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ys-honeypot { left: -9999px; pointer-events: none; }
.ys-category-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ys-category-grid a { display: grid; gap: 3px; padding: 10px 12px; height: 100%; min-height: 44px; border: 1px solid var(--ys-line); border-radius: 9px; }
.ys-category-grid strong { font-size: .9375rem; overflow-wrap: anywhere; }
.ys-category-grid a:hover { background: var(--ys-surface); border-color: #b8c3e3; }
.ys-category-grid a span { color: var(--ys-muted); font-size: .875rem; }
.ys-featured { background: var(--ys-surface); border-block: 1px solid var(--ys-line); }
.ys-help-band { border: 1px solid var(--ys-line); padding: 24px; border-radius: 10px; }
.ys-help-band .btn { flex: 0 0 auto; }
.ys-scenes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ys-scenes h2 { font-size: 1.2rem; }
.ys-scenes p { margin-block: 9px 14px; color: var(--ys-muted); }
.ys-scenes + .ys-section { padding-top: 0; }
.ys-text-link { color: var(--ys-deep); text-underline-offset: .2em; text-decoration: underline; font-weight: 650; }
.ys-scene-card { display: flex; flex-direction: column; }
.ys-scene-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ys-scene-head { border-bottom: 1px solid var(--ys-line); }
.ys-scene-head h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.2; }
.ys-scene-head p { max-width: 52ch; }
.ys-scene-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 8px; }
.ys-scene-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 28px; }
.ys-scene-guide, .ys-scene-quote, .ys-scene-resources {
  border: 1px solid var(--ys-line);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 28px);
}
.ys-scene-content h2 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
.ys-scene-content p { color: var(--ys-muted); line-height: 1.7; margin: 8px 0 0; }
.ys-scene-guide p + h2 { margin-top: 24px; }
.ys-scene-checklist { list-style: disc; margin: 12px 0 0; padding-left: 1.35em; line-height: 1.6; }
.ys-scene-checklist li { padding: 9px 0; }
.ys-scene-checklist li::marker { color: var(--ys-blue); }
.ys-scene-checklist li + li { border-top: 1px solid var(--ys-line); }
.ys-scene-sidebar { display: grid; gap: 14px; }
.ys-scene-quote { background: var(--ys-surface); }
.ys-scene-early-quote { margin-top: 16px; }
.ys-scene-card { display: flex; flex-direction: column; }
.ys-scene-card .ys-scene-actions { margin-top: auto; padding-top: 14px; }
.ys-scene-quote .btn { margin-top: 16px; }
.ys-scene-resources ul { list-style: none; margin: 0; padding: 0; }
.ys-scene-resources a { display: inline-flex; align-items: center; min-height: 44px; }
.ys-scene-products { padding-top: 0; }
.ys-scene-products > p { color: var(--ys-muted); }
.yisensor-site .product-card { border: 0; border-radius: var(--ys-card-radius); background: var(--ys-surface); }
.yisensor-site .product-card:hover {
  transform: none;
  box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--ys-deep) 32%, transparent);
}
.yisensor-site .card-body h3 { overflow-wrap: anywhere; font-size: clamp(.9375rem, 1.4vw, 1.0625rem); }
.yisensor-site .card-body h3 a { display: block; min-height: 44px; }
.yisensor-site .card-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.yisensor-site .card-media img { object-fit: contain; }
.yisensor-site .card-sub { display: block; overflow-wrap: anywhere; }
.card-model { font-size: .8125rem; color: var(--ys-muted); overflow-wrap: anywhere; }
.yisensor-site .card-foot .btn { min-height: 44px; }
.yisensor-site.ys-catalog-page {
  --ys-catalog-paper: #F5F1EA;
  --ys-catalog-ink: #23211E;
  --ys-catalog-copper: #985E38;
  --ys-catalog-muted: #625a51;
  --ys-catalog-line: #ded5c9;
}
.yisensor-site.ys-catalog-page .page-head {
  padding-block: clamp(20px, 3.4vw, 42px);
  border-bottom: 1px solid var(--ys-catalog-line);
  background: var(--ys-catalog-paper);
  color: var(--ys-catalog-ink);
}
.yisensor-site.ys-catalog-page .page-head .crumbs { align-items: center; margin-bottom: 4px; }
.yisensor-site.ys-catalog-page .page-head .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.yisensor-site.ys-catalog-page .page-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.1vw, 3.125rem);
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.yisensor-site.ys-catalog-page .page-head p {
  margin-top: 10px;
  color: var(--ys-catalog-muted);
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.55;
}
.ys-catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-block: 18px;
}
.ys-catalog-controls .ys-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 720px;
}
.ys-catalog-controls .ys-search input {
  min-height: 46px;
  border-color: var(--ys-catalog-muted);
  background: var(--bg);
}
.ys-catalog-search-label {
  grid-column: 1 / -1;
  color: var(--ys-catalog-ink);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}
.ys-catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 4px;
  list-style: none;
}
.ys-catalog-pills a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--ys-catalog-line);
  border-radius: 999px;
  color: var(--ys-catalog-ink);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
}
.ys-catalog-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.65em;
  padding-inline: .2em;
  border-radius: 99px;
  background: var(--ys-catalog-paper);
  color: var(--ys-catalog-muted);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.ys-catalog-pills a:hover { border-color: var(--ys-catalog-copper); }
.ys-catalog-pills a[aria-current] {
  background: var(--ys-catalog-ink);
  border-color: var(--ys-catalog-ink);
  color: var(--ys-catalog-paper);
}
.ys-catalog-pills a[aria-current] .ys-catalog-count { color: var(--ys-catalog-ink); }
.ys-catalog-toolbar, .ys-catalog-toolbar form, .ys-catalog-results {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.ys-catalog-toolbar {
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 10px;
  border-block: 1px solid var(--ys-catalog-line);
}
.ys-catalog-results { flex: 1 1 auto; color: var(--ys-catalog-muted); }
.ys-catalog-results:has(.ys-catalog-query) { flex-basis: 15rem; }
.ys-catalog-results .result-count { color: var(--ys-catalog-ink); }
.ys-catalog-query { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-size: .875rem; }
.ys-catalog-clear {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ys-blue);
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.ys-catalog-toolbar select {
  min-height: 44px;
  max-width: 100%;
  border: 1px solid var(--ys-catalog-muted);
  border-radius: 7px;
  padding-inline: 10px;
  background: var(--bg);
  color: var(--ys-text);
  font: inherit;
  font-size: .875rem;
}
.ys-catalog-toolbar .btn { padding-inline: 11px; }
.ys-catalog .btn, .ys-catalog-help .btn { min-height: 44px; min-width: 44px; }
.ys-catalog :is(a, input, button, select):focus-visible,
.ys-catalog-help a:focus-visible {
  outline: 2px solid var(--ys-blue);
  outline-offset: 2px;
}
.ys-catalog .card-media:focus-visible { outline-offset: -3px; }
.yisensor-site .ys-catalog .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.yisensor-site .ys-catalog .product-card {
  border: 1px solid var(--ys-catalog-line);
  background: var(--bg);
  color: var(--ys-catalog-ink);
  min-width: 0;
}
.yisensor-site .ys-catalog .card-media {
  aspect-ratio: 16 / 10;
  background: #fff;
  border-bottom: 1px solid var(--ys-catalog-line);
}
.yisensor-site .ys-catalog .card-media .art {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  padding: 8px;
}
.yisensor-site .ys-catalog .card-body { padding: 14px; gap: 6px; min-width: 0; }
.yisensor-site .ys-catalog .card-cat { color: var(--ys-catalog-copper); letter-spacing: .035em; }
.yisensor-site .ys-catalog .card-body h3 a { min-height: 0; }
.yisensor-site .ys-catalog .card-model {
  align-self: start;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--ys-catalog-paper);
  color: var(--ys-catalog-ink);
  font-size: .875rem;
  font-weight: 650;
}
.ys-card-specs { margin: 3px 0 0; font-size: .8125rem; line-height: 1.4; }
.ys-card-specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 7px;
  border-top: 1px solid var(--ys-catalog-line);
  padding-block: 5px;
  overflow-wrap: anywhere;
}
.ys-card-specs dt { color: var(--ys-catalog-muted); }
.ys-card-specs dd { margin: 0; font-weight: 600; }
.yisensor-site .ys-catalog .card-foot {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 6px;
  padding-top: 6px;
}
.yisensor-site .ys-catalog .card-foot .btn {
  padding-inline: 5px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.ys-catalog .empty-state { border-color: var(--ys-catalog-line); background: var(--ys-catalog-paper); }
@media (max-width: 1199px) {
  .yisensor-site .ys-catalog .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 950px) {
  .yisensor-site .ys-catalog .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .ys-catalog-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scroll-padding-inline: 4px; }
  .ys-catalog-pills li { flex-shrink: 0; white-space: nowrap; }
}
@media (max-width: 539px) {
  .yisensor-site.ys-catalog-page .page-head { padding-block: 12px 20px; }
  .ys-catalog-controls { gap: 12px; }
  .yisensor-site .ys-catalog .product-grid { grid-template-columns: minmax(0, 1fr); }
}
.yisensor-site .card-model {
  max-width: 100%;
  overflow-x: auto;
  overflow-wrap: normal;
  white-space: nowrap;
  font-family: var(--ys-model-font);
  user-select: all;
}
.ys-catalog-help { margin-block: 30px 48px; }
.ys-catalog-help h2 { font-size: 1.125rem; }
.ys-catalog-help p { color: var(--ys-muted); }
.yisensor-site.ys-product-detail {
  --ys-pdp-paper: #F5F1EA;
  --ys-pdp-ink: #23211E;
  --ys-pdp-copper: #985E38;
  --ys-pdp-muted: #625a51;
  --ys-pdp-line: #ded5c9;
  padding-bottom: 0;
}
.ys-pdp-hero {
  padding-block: 12px clamp(24px, 4vw, 52px);
  background: var(--ys-pdp-paper);
  border-bottom: 1px solid var(--ys-pdp-line);
  color: var(--ys-pdp-ink);
}
.ys-pdp-intro .crumbs {
  align-items: center;
  column-gap: 8px;
  margin-bottom: clamp(8px, 2vw, 22px);
  color: var(--ys-pdp-muted);
}
.ys-pdp-intro .crumbs > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.ys-pdp-intro .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.ys-pdp-intro .crumbs [aria-current] { color: var(--ys-pdp-ink); }
.ys-pdp-intro .product-main {
  grid-template: "gallery heading" auto "gallery info" 1fr / minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4.2vw, 64px);
  row-gap: 12px;
}
.ys-pdp-heading { grid-area: heading; min-width: 0; }
.ys-pdp-intro .gallery { grid-area: gallery; min-width: 0; }
.ys-pdp-intro .pdp-info { grid-area: info; min-width: 0; }
.ys-pdp-intro .pdp-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.55vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.026em;
  overflow-wrap: anywhere;
}
.ys-pdp-intro .pdp-sub { margin-top: 0; color: var(--ys-pdp-muted); overflow-wrap: anywhere; }
.ys-pdp-model {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  color: var(--ys-pdp-copper);
  font-size: .875rem;
  font-weight: 650;
}
.ys-pdp-model .pdp-sku {
  max-width: 100%;
  margin: 0;
  padding: 4px 7px;
  border-radius: 4px;
  background: #fff;
  color: var(--ys-pdp-ink);
  font-family: var(--ys-model-font);
  font-size: .875rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  user-select: all;
}
.ys-pdp-model .btn { background: #fff; min-height: 44px; padding-inline: 8px; }
.ys-pdp-model .ys-copy-status { flex-basis: 100%; }
.ys-pdp-intro .gallery .stage {
  position: relative;
  aspect-ratio: 16 / 13;
  border: 1px solid var(--ys-pdp-line);
  border-radius: var(--ys-card-radius);
  background: #fff;
}
.ys-pdp-intro .gallery .stage :is(img, svg) {
  position: absolute;
  inset: 0;
  padding: clamp(8px, 2vw, 24px);
  object-fit: contain;
}
.ys-pdp-intro .thumbs { flex-wrap: wrap; gap: 8px; }
.ys-pdp-intro .thumbs .thumb {
  width: clamp(48px, 7vw, 68px);
  height: clamp(48px, 7vw, 68px);
  border-color: var(--ys-pdp-line);
  background: #fff;
  padding: 4px;
}
.ys-pdp-intro .thumbs .thumb img { object-fit: contain; }
.ys-pdp-intro .thumbs .thumb[aria-pressed="true"] { border: 2px solid var(--ys-blue); }
.ys-spec-summary-title { font-size: .875rem; margin-top: 15px; }
.ys-spec-summary { margin: 6px 0 0; border-block: 1px solid var(--ys-pdp-line); }
.ys-spec-summary > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  padding: 8px 0;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.ys-spec-summary > div + div { border-top: 1px solid var(--ys-pdp-line); }
.ys-spec-summary dt { color: var(--ys-pdp-muted); }
.ys-spec-summary dd { margin: 0; font-weight: 650; }
.ys-pdp-intro .pdp-inquiry { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 16px 0 0; }
.ys-pdp-intro .pdp-inquiry .btn { width: auto; min-width: 148px; min-height: 48px; }
.ys-product-detail .rapid-header-quote { display: inline-flex; min-height: 44px; }
.ys-pdp-details.product-page { padding-top: 0; padding-bottom: clamp(26px, 5vw, 64px); }
.ys-pdp-details .pdp-blocks { margin-top: 0; border-top: 0; }
.ys-pdp-details .pdp-block { padding-block: clamp(22px, 4vw, 44px); }
.ys-pdp-details .pdp-block > h2 { margin-bottom: 14px; }
.ys-product-detail :is(#product-specs, #product-ordering) { scroll-margin-top: 94px; }
.ys-pdp-spec-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ys-pdp-line);
  border-radius: var(--ys-card-radius);
}
.ys-pdp-spec-table :is(th, td) {
  padding: 12px 16px;
  vertical-align: top;
}
.ys-pdp-spec-table th { width: 34%; color: var(--ys-pdp-muted); }
.ys-pdp-spec-table td { color: var(--ys-pdp-ink); }
.ys-pdp-spec-table :where(tr:not(:last-child)) > * { border-bottom: 1px solid var(--ys-pdp-line); }
.ys-pdp-spec-table tr:nth-child(odd) { background: var(--ys-pdp-paper); }
.ys-pdp-details .code-table-wrap { border-color: var(--ys-pdp-line); }
.ys-pdp-details .code-table { min-width: 0; table-layout: fixed; }
.ys-pdp-details .code-table th { background: var(--ys-pdp-paper); }
.ys-pdp-details .code-table tbody tr:nth-child(odd) { background: var(--ys-pdp-paper); }
.ys-pdp-details .code-table td:last-child { white-space: normal; }
.ys-pdp-details .code-table code { overflow-wrap: anywhere; word-break: normal; }
.ys-pdp-details .code-table .code-copy { margin-block: 3px; }
.ys-pdp-details .prose, .ys-pdp-details .faq { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .ys-pdp-intro .crumbs { gap: 0 6px; }
  .ys-pdp-intro .crumbs span:nth-last-child(-n+2) { display: none; }
  .ys-pdp-intro .product-main { grid-template: "heading" "gallery" "info" / minmax(0, 1fr); }
  .ys-pdp-intro .gallery .stage { aspect-ratio: auto; height: clamp(152px, 53vw, 285px); }
  .ys-pdp-intro .thumbs { margin-top: 8px; }
  .ys-pdp-intro .pdp-sub { font-size: .9375rem; }
  .ys-pdp-intro .pdp-inquiry > .btn { flex: 1 0 100%; }
  .ys-pdp-spec-table, .ys-pdp-spec-table tbody {
    display: grid;
    gap: 8px;
    border: 0;
  }
  .ys-pdp-spec-table tr {
    display: grid;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--ys-pdp-line);
    border-radius: 8px;
    background: var(--ys-pdp-paper);
  }
  .ys-pdp-spec-table tr :is(th, td) { display: block; width: auto; padding: 0; border: 0; }
  .ys-pdp-spec-table th { font-size: .8125rem; }
  .ys-pdp-spec-table td { margin-top: 2px; }
}
.yisensor-site .spec-table :is(th, td) { overflow-wrap: anywhere; }
.ys-document-request { display: grid; justify-items: start; gap: 8px; }
.ys-document-request p { color: var(--ys-muted); }
.ys-page-head { background: var(--ys-surface); }
.yisensor-site .ys-contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.ys-contact-grid .form-card, .ys-enquiry-guide { border: 1px solid var(--ys-line); border-radius: 10px; box-shadow: none; }
.ys-contact-grid h2 { font-size: 1.25rem; }
.ys-contact-grid .field { min-width: 0; }
.ys-contact-grid textarea { resize: vertical; }
.ys-contact-grid input:not([type=checkbox]), .ys-contact-grid textarea { font-size: 1rem; }
.ys-form-note { margin-block: 8px 16px; color: var(--ys-muted); }
.ys-enquiry-group { min-width: 0; border: 0; padding: 0; margin: 0 0 16px; }
.ys-enquiry-group legend {
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid var(--ys-line);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ys-text);
}
.ys-enquiry-group .field:last-child { margin-bottom: 0; }
.ys-field-hint { margin: -2px 0 8px; color: var(--ys-muted); font-size: .875rem; line-height: 1.45; }
.ys-contact-grid input:not([type=checkbox]) { min-height: 44px; }
.ys-contact-grid .check.consent { min-height: 44px; margin-bottom: 0; align-items: center; }
.ys-contact-grid .check.consent input { flex: 0 0 auto; }
.ys-form-status { margin-bottom: 15px; }
.ys-enquiry-guide { background: var(--ys-surface); }
.ys-enquiry-guide ul { margin-block: 11px 14px; padding-left: 1.3rem; }
.ys-enquiry-guide li { margin-block: 7px; color: var(--ys-muted); }
.ys-enquiry-guide a { display: block; margin-block: 8px 0; }
.ys-tools-page .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ys-tools-page .cat-card { border-radius: var(--ys-card-radius); min-height: 44px; }
.ys-tools-page .cat-card :is(h3, p) { overflow-wrap: anywhere; }
.ys-guides-page .cat-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ys-guides-page .cat-card { border-radius: var(--ys-card-radius); }
.ys-content-page .content-body .prose { overflow-wrap: anywhere; }
.ys-content-page .link-copy { min-height: 44px; }
.ys-engineering .form-card {
  border: 1px solid var(--ys-line);
  border-radius: var(--ys-card-radius);
  padding: 24px;
  min-width: 0;
}
.ys-engineering .form-card h2 { margin-bottom: 16px; }
.ys-engineering :is(.field, .field input, .field select) { min-width: 0; }
.ys-engineering .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ys-class-formulas {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--ys-surface);
  border-radius: var(--ys-control-radius);
  font-size: .8125rem;
  color: var(--ys-muted);
}
.ys-class-formulas > div { display: flex; column-gap: 10px; flex-wrap: wrap; }
.ys-class-formulas dt { flex: 0 0 74px; font-weight: 650; }
.ys-class-formulas dd { margin: 0; font-variant-numeric: tabular-nums; }
.ys-tool-result {
  margin-top: 16px;
  padding: 20px 24px;
  border-color: var(--ys-line);
  border-radius: var(--ys-card-radius);
  background: var(--ys-surface);
}
.ys-tool-result h2 { margin-bottom: 10px; }
.ys-tool-result [role=status] { line-height: 1.65; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ys-tool-result, .yisensor-site :is(.ys-engineering, .ys-contact-grid) :is(input, textarea, select) {
  scroll-margin-top: 94px;
}
.yisensor-site .ys-input-feedback { margin-block: 6px 12px; color: #991b1b; font-size: .875rem; }
.yisensor-site .field :is(input, textarea, select)[aria-invalid="true"] { border-color: #991b1b; }
.ys-engineering .prose { overflow-wrap: anywhere; }
.ys-privacy-page .content-page { max-width: 820px; padding-block: clamp(32px, 6vw, 72px); }
.ys-privacy-page .content-body { line-height: 1.7; }
.yisensor-site .site-footer { background: var(--ys-surface); color: var(--ys-text); border-top: 1px solid var(--ys-line); }
.yisensor-site .footer-grid { grid-template-columns: minmax(0,1.25fr) repeat(2,minmax(0,1fr)); }
.yisensor-site .footer-col a, .yisensor-site .footer-desc, .yisensor-site .footer-bottom { color: var(--ys-muted); }
.yisensor-site .footer-col a, .yisensor-site .footer-bottom a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
}
.yisensor-site .footer-col a:hover, .yisensor-site .footer-bottom a:hover { color: var(--ys-deep); text-decoration: underline; }
.yisensor-site .footer-col h2 { font-size: 1rem; margin-bottom: 11px; }
.yisensor-site .footer-bottom { border-color: var(--ys-line); flex-wrap: wrap; }
.yisensor-site .chat-panel {
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 60px;
}
.yisensor-site .chat-head { position: sticky; top: 0; z-index: 1; flex: none; }
.yisensor-site .chat-log { min-height: 5rem; }
.yisensor-site .chat-form { flex: none; }
.yisensor-site .chat-form label { font-size: .8125rem; line-height: 1.4; color: var(--ys-muted); }
.yisensor-site .chat-form input { min-height: 44px; }
.yisensor-site .chat-identity[hidden] { display: none; }
.yisensor-site .chat-close {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  /* Expand the target while keeping the glyph and chat header in place. */
  margin-block: -10px;
  margin-inline-end: -12px;
  padding: 0;
}
.yisensor-site .chat-close:focus-visible { outline-offset: -3px; }
.yisensor-site .pdp-inquiry .ys-text-link,
.yisensor-site .code-copy { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.yisensor-site .code-copy { justify-content: center; }
.yisensor-site .ys-copy-status {
  display: block;
  margin-top: 4px;
  color: var(--ys-muted);
  font-size: .8125rem;
  overflow-wrap: anywhere;
}
.yisensor-site .ys-copy-status[hidden] { display: none; }

@media (min-width: 1121px) {
  /* The launcher stays within the reserved part of the sticky header. */
  .yisensor-site .header-actions { padding-inline-end: 156px; }
  .yisensor-site .chat-widget {
    top: 15px;
    right: max(24px, calc((100% - 1320px) / 2));
    bottom: auto;
  }
  .yisensor-site .chat-launcher { min-width: 44px; min-height: 44px; }
  .yisensor-site .chat-panel { top: 70px; bottom: auto; }
  .yisensor-site.footer-in-view .chat-launcher {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 1120px) {
  .yisensor-site .header-actions > .lang-switch,
  .yisensor-site .chat-launcher { display: none; }
  .yisensor-site .chat-widget { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .yisensor-site.page-contact .chat-widget { display: block; }
  .yisensor-site .ys-chat-menu {
    display: block;
    min-height: 44px;
    width: 100%;
    padding-inline: 12px;
    text-align: start;
    background: none;
    border: 0;
    border-radius: 8px;
    font: inherit;
    color: var(--ys-text);
  }
  .yisensor-site .ys-chat-menu:hover { background: var(--ys-surface); }
}

@media (max-width: 900px) {
  .yisensor-site.ys-home-page .ys-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .yisensor-site.ys-home-page .ys-hero-media { grid-row: 1; min-height: clamp(220px, 76.93vw, 440px); }
  .yisensor-site.ys-home-page .ys-hero-media img { object-position: 50% 42%; }
  .yisensor-site.ys-home-page .ys-hero-media::after {
    background: linear-gradient(180deg, transparent 54%, var(--ys-home-paper)),
                linear-gradient(180deg, rgba(18, 14, 10, .42), transparent 30%);
  }
  .yisensor-site.ys-home-page .ys-hero-frame { inset: 16px; }
  .yisensor-site.ys-home-page .ys-hero-media figcaption { inset-block-start: 22px; inset-inline-end: 22px; }
  .yisensor-site.ys-home-page .ys-hero-copy {
    position: relative;
    z-index: 2;
    margin-top: -14px;
    padding: 0 clamp(18px, 5.64vw, 48px) 36px;
  }
  .yisensor-site.ys-home-page .ys-eyebrow { margin-bottom: 13px; }
  .yisensor-site.ys-home-page .ys-hero h1,
  .yisensor-site.ys-home-page .ys-hero h1:lang(zh) { font-size: clamp(2.125rem, 10.53vw, 3.625rem); }
  .yisensor-site.ys-home-page .ys-hero-subheading { margin-top: 13px; }
  .yisensor-site.ys-home-page .ys-hero-description { margin-top: 7px; }
  .yisensor-site.ys-home-page .ys-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 21px;
    max-width: 27rem;
  }
  .yisensor-site.ys-home-page .ys-actions .btn { min-height: 46px; padding-inline: 7px; font-size: .875rem; }
  .yisensor-site.ys-home-page .ys-hero-links { margin-top: 18px; }
  .ys-home-paths { grid-template-columns: minmax(0, 1fr); }
  .ys-home-path-jump { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 5px; }
  .ys-home-path-jump + h3 { margin-top: 8px; }
  .ys-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yisensor-site .ys-contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .yisensor-site .code-table td:first-child { width: 100%; }
  .yisensor-site .code-table td:last-child { display: grid; justify-items: start; gap: 6px; }
  .yisensor-site .ys-pdp-details .code-table td:last-child { display: flex; flex-wrap: wrap; align-items: center; }
  .yisensor-site .code-table code { max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
  .yisensor-site .code-copy { margin-inline-start: 0; }
}
@media (max-width: 680px) {
  .yisensor-site .wrap { width: calc(100% - 32px); }
  .yisensor-site .header-inner { min-height: 65px; gap: 8px; }
  .yisensor-site .header-actions { gap: 8px; }
  .yisensor-site .site-header .brand-logo { height: 31px !important; max-width: 122px; }
  .yisensor-site .rapid-header-quote { display: inline-flex; padding-inline: 10px; }
  .yisensor-site.ys-home-page .header-inner { height: 58px; min-height: 58px; gap: 8px; }
  .yisensor-site.ys-home-page .site-header .brand-logo { height: 26px !important; }
  .ys-help-band { align-items: stretch; flex-direction: column; }
  .ys-section { padding-block: 33px; }
  .ys-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-scenes { grid-template-columns: 1fr; }
  .ys-scene-head { padding-block: 16px 22px; }
  .ys-scene-content { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ys-scene-quote .btn { width: 100%; }
  .yisensor-site .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .yisensor-site .footer-brand { grid-column: 1 / -1; }
  .yisensor-site .contact-grid .field-row { grid-template-columns: minmax(0,1fr); }
  .yisensor-site.page-contact .page-head { padding-block: 22px 18px; }
  .yisensor-site .ys-contact-grid { padding-top: 18px; }
  .ys-contact-grid .form-card { padding: 16px; }
  .ys-contact-grid .field { margin-bottom: 10px; }
  .ys-contact-grid .field-row { gap: 0; margin-bottom: 10px; }
  .ys-contact-grid .field input { padding-block: 9px; }
  .ys-contact-grid .form-card > .btn { width: 100%; }
  .ys-engineering .page-head { padding-block: 16px 12px !important; }
  .ys-engineering .form-card, .ys-tool-result { padding: 16px; }
  .ys-engineering .field-row { gap: 10px; }
  .ys-tools-page .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .yisensor-site .site-footer { padding-bottom: 32px; }
}

@media (max-width: 375px) {
}

@media (max-width: 380px) {
  .ys-home-path { padding-inline: 14px; }
  .ys-home-path .ys-search input { padding-inline: 8px; }
  .ys-home-path .ys-search input::placeholder { font-size: .875rem; }
  .ys-home-path .ys-search button { padding-inline: 12px; }
  .ys-category-grid a { padding-inline: 6px; }
  .ys-category-grid strong { font-size: .875rem; }
}

