/* ==========================================================================
   StoreCraft — storefront stylesheet
   所有颜色 / 圆角 / 字体都来自 :root 上的 CSS 变量（由服务端按主题注入）
   ========================================================================== */

*, *::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 { 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: #67e8f9; }
.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; }
