/* ==========================================================================
   ZHENTONGHE Outdoor — 静态原型样式表
   纯 CSS，无框架、无构建，直接双击 HTML 即可预览
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --brand: #0e3b34;
  --brand-600: #14655a;
  --brand-500: #1d8a76;
  --brand-050: #eaf4f1;
  --accent: #f4762a;
  --accent-dark: #d95f16;

  --ink: #12211e;
  --ink-soft: #3d4f4c;
  --muted: #74857f;
  --line: #e3ebe8;
  --soft: #f5f8f7;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(14, 59, 52, .06), 0 2px 8px rgba(14, 59, 52, .05);
  --shadow: 0 6px 24px rgba(14, 59, 52, .09);
  --shadow-lg: 0 18px 48px rgba(14, 59, 52, .16);

  --container: 1200px;
  --header-h: 74px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* astro:assets 的 <Picture> 会额外包一层 <picture>（默认 display:inline）。
   用 display:contents 让它不产生盒子，内部 <img> 等同于直接子元素，
   因此下面所有针对 img 的选择器和布局都无需改动。 */
picture { display: contents; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* height: auto 不能省。astro:assets 的 <Image>/<Picture> 会给 <img> 输出原图的
   width/height 属性（本意是防布局抖动），这两个属性等同于 CSS 的 width/height。
   下面那些图片框（.product-media / .cat-card / .gallery-* …）只写了 width: 100%
   和 aspect-ratio，如果这里不把高度置为 auto，属性里的原图高度（产品图多为
   1200–1500px）就会胜出、aspect-ratio 失效，图片被竖向撑成一条——就是"被拉长"。 */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 56px 0; }

.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(244, 118, 42, .28); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 12px 26px rgba(244, 118, 42, .36); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-600); box-shadow: var(--shadow); }

.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }

.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255, 255, 255, .22); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--link { padding: 0; background: none; color: var(--brand-600); font-weight: 650; }
.btn--link::after { content: "→"; transition: transform .2s var(--ease); }
.btn--link:hover { transform: none; }
.btn--link:hover::after { transform: translateX(4px); }

/* ---------- 4b. Language switch ---------- */
.lang-switch {
  display: inline-flex; align-items: center; padding: 3px;
  border-radius: 999px; background: var(--soft); border: 1px solid var(--line);
}
.lang-switch button,
.lang-switch a {
  border: 0; background: none; padding: 6px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--muted);
  text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.lang-switch button:hover,
.lang-switch a:hover { color: var(--brand-600); }
.lang-switch button.is-active,
.lang-switch a.is-active { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(14, 59, 52, .24); }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--brand); color: rgba(255, 255, 255, .82);
  font-size: 13.5px; letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar ul { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(14, 59, 52, .08); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--brand-500), var(--brand));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; font-weight: 800; font-size: 19px; letter-spacing: .04em; color: var(--brand); }
.brand-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--brand-600); background: var(--brand-050); }
.nav a.is-active { color: var(--brand); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
  width: 18px; height: 2.5px; border-radius: 2px; background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.settings-trigger { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.settings-trigger:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--brand-050); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 82% 12%, rgba(29, 138, 118, .5), transparent 65%),
              radial-gradient(700px 400px at 8% 92%, rgba(244, 118, 42, .28), transparent 62%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding: 88px 0 92px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1; }
.hero h1 em { font-style: normal; color: #ffb27a; }
.hero-lead { margin-top: 20px; font-size: 17.5px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-badges div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.hero-badges svg { flex: none; color: #ffb27a; }

.hero-media { position: relative; }
.hero-media img,
.hero-media > svg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-media > svg { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 900; }
.hero-float {
  position: static; margin: 18px auto 0; width: fit-content;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 13px;
}
.hero-float strong { display: block; font-size: 21px; color: var(--brand); line-height: 1.1; }
.hero-float span { font-size: 12.5px; color: var(--muted); }
.hero-float .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-600); flex: none; }

/* ---------- 8. Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.stats > div { background: #fff; padding: 26px 22px; text-align: center; }
.stats strong { display: block; font-size: 30px; color: var(--brand); letter-spacing: -.02em; }
.stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- 9. Product card ---------- */
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3e2dd; }
.product-media { position: relative; min-height: 220px; background: var(--soft); overflow: hidden; }
.product-media img { width: 100%; min-height: 220px; aspect-ratio: 1 / 1; object-fit: cover; display: block !important; visibility: visible !important; opacity: 1 !important; transition: transform .5s var(--ease); }
.product-card,
.product-card.reveal { opacity: 1; visibility: visible; transform: none; }
.product-media { display: block; visibility: visible; opacity: 1; }
.filter-bar + .grid .product-card,
.filter-bar + .grid .product-card.reveal { opacity: 1; visibility: visible; transform: none; }
.filter-bar + .grid .product-media,
.filter-bar + .grid .product-media img { display: block; visibility: visible; opacity: 1; }
.product-card:hover .product-media img { transform: scale(1.05); }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tag--brand { background: var(--brand); }
.tag--muted { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 7px; }
.product-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); }
.product-title { font-size: 16.5px; font-weight: 700; }
.product-body a.product-title:hover { color: var(--brand-600); }
.product-desc { font-size: 14px; color: var(--muted); }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.price { font-size: 18px; font-weight: 800; color: var(--brand); }
.price small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.product-foot .price { display: none; }
.product-foot { justify-content: flex-end; }

/* ---------- 10. Category cards ---------- */
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; display: block;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cat-card-body { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-card-body h3 { font-size: 17px; }
.cat-card-body span { font-size: 13px; color: var(--muted); }
.cat-card-body .arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-600); flex: none; transition: .2s var(--ease); }
.cat-card:hover .arrow { background: var(--accent); color: #fff; transform: translateX(3px); }

/* ---------- 11. Feature (why us) ---------- */
.feature { padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: .25s var(--ease); }
.feature:hover { border-color: #cde0da; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-600); margin-bottom: 18px; }
.feature h3 { font-size: 17.5px; margin-bottom: 9px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- 12. Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--accent);
}
.step::after { content: ""; position: absolute; top: 9px; left: 40px; right: 0; height: 1px; background: var(--line); }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- 13. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 52px; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 88% 30%, rgba(244, 118, 42, .3), transparent 62%); pointer-events: none; }
.cta-band .inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.7vw, 32px); }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .8); max-width: 620px; }
.cta-actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* ---------- 14. Page hero (sub pages) ---------- */
.page-hero { background: var(--brand); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 85% 20%, rgba(29, 138, 118, .45), transparent 62%); }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.page-hero p { margin-top: 12px; color: rgba(255, 255, 255, .8); max-width: 660px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .68); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 15. Filters ---------- */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
}
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: .18s;
}
.chip:hover { border-color: var(--brand-500); color: var(--brand-600); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-meta { font-size: 14px; color: var(--muted); }
.filter-meta b { color: var(--ink); }

/* ---------- 16. Product detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; }
.gallery-main {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--soft); cursor: zoom-in;
}
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-zoom {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
  backdrop-filter: blur(4px); transition: .2s var(--ease);
}
.gallery-zoom:hover { background: #fff; border-color: var(--brand-500); color: var(--brand-600); transform: translateY(-1px); }

/* 当前主图的名称 + 说明，随缩略图切换 */
.gallery-caption {
  display: flex; flex-direction: column; gap: 5px; margin-top: 14px;
  padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--soft);
}
.gallery-caption strong { font-size: 15px; color: var(--ink); }
.gallery-caption > span:not(.gallery-caption__sku) { font-size: 13px; color: var(--muted); line-height: 1.6; }
.gallery-caption__sku { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); }

/* 缩略图：图 + 自己的名称 */
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumbs button {
  display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--soft); overflow: hidden;
  text-align: left; cursor: pointer; transition: .2s var(--ease);
}
.gallery-thumbs button:hover { border-color: var(--brand-500); }
.gallery-thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 118, 42, .16); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

/* 放大预览灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(14, 18, 22, .82); backdrop-filter: blur(6px); }
.lightbox__dialog {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px;
  width: min(1040px, 94vw); max-height: 92vh; padding: 20px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.lightbox__figure { display: flex; flex-direction: column; gap: 14px; margin: 0; min-height: 0; }
.lightbox__img {
  width: 100%; max-height: 64vh; object-fit: contain;
  border-radius: var(--radius-sm); background: var(--soft);
}
.lightbox__caption { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.lightbox__caption strong { font-size: 16px; color: var(--ink); }
.lightbox__caption > span:not(.gallery-caption__sku) { font-size: 13px; color: var(--muted); line-height: 1.6; }
.lightbox__counter { align-self: flex-end; font-size: 12.5px; letter-spacing: .08em; color: var(--muted); }
.lightbox__close,
.lightbox__nav {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .94);
  color: var(--ink); line-height: 1; transition: .2s var(--ease);
}
.lightbox__close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 26px; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__close:hover,
.lightbox__nav:hover { border-color: var(--brand-500); color: var(--brand-600); }
body.is-locked { overflow: hidden; }

.detail-info h1 { font-size: clamp(24px, 3vw, 34px); }
.detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.detail-price strong { font-size: 32px; color: var(--brand); letter-spacing: -.02em; }
.detail-price del { color: var(--muted); font-size: 17px; }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-list div { display: flex; gap: 8px; }
.spec-list dt { color: var(--muted); min-width: 84px; }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 600; }

.option-group { margin-top: 22px; }
.option-group > span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: .02em; }
.option-group .chips .chip { font-size: 13.5px; padding: 7px 15px; }

.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: #fff; color: var(--ink); font-size: 18px; transition: background .18s; }
.qty button:hover { background: var(--soft); }
.qty input { width: 56px; height: 46px; border: 0; text-align: center; font-weight: 700; color: var(--ink); }

.assurance { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.assurance div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.assurance svg { color: var(--brand-500); flex: none; }

/* Tabs */
.tabs { margin-top: 60px; }
.tab-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-nav button {
  padding: 13px 22px; border: 0; background: none; font-weight: 650; font-size: 15px; color: var(--muted);
  border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: .18s;
}
.tab-nav button:hover { color: var(--brand-600); }
.tab-nav button.is-active { color: var(--brand); border-color: var(--accent); }
.tab-panel { display: none; padding: 30px 0 6px; font-size: 15.5px; }
.tab-panel.is-active { display: block; animation: fade .3s var(--ease); }
.tab-panel h3 { font-size: 19px; margin: 26px 0 10px; }
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel ul.bullets { display: grid; gap: 9px; }
.tab-panel ul.bullets li { position: relative; padding-left: 22px; }
.tab-panel ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

table.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec-table th, table.spec-table td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
table.spec-table th { background: var(--soft); color: var(--ink); font-weight: 650; width: 220px; }

@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 17. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(29, 138, 118, .14);
}
.field .hint { font-size: 12.5px; color: var(--muted); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); }
.checkbox input { margin-top: 3px; }
.form-note { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--brand-050); color: var(--brand-600); font-size: 14px; font-weight: 600; display: none; }
.form-note.is-visible { display: block; animation: fade .3s var(--ease); }

/* ---------- 18. Contact / info blocks ---------- */
.info-card { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-card .icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-600); flex: none; }
.info-card h3 { font-size: 16px; margin-bottom: 5px; }
.info-card p { font-size: 14.5px; color: var(--muted); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-box img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 12 / 5; }

/* 位置示意（联系页）：宽扁地图 + 一行说明与"打开地图"按钮 */
.map-figure { margin: 0; }
.map-figure figcaption {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted);
}

/* ---------- 19. Footer ---------- */
.site-footer { background: #0b2b26; color: rgba(255, 255, 255, .72); padding: 66px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 42px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .55); }
.site-footer p { font-size: 14.5px; }
.footer-links { display: grid; gap: 10px; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-newsletter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-newsletter .form-note { flex: 1 0 100%; }
.footer-newsletter input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff;
}
.footer-newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.footer-newsletter input:focus { outline: none; border-color: var(--brand-500); }
.footer-bottom {
  margin-top: 52px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: .2s; }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------- 20. Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 14.5px; font-weight: 600; background: #fff; transition: .18s;
}
.pagination a:hover { border-color: var(--brand-500); color: var(--brand-600); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }
.pagination .is-ellipsis { min-width: 24px; padding: 0; border-color: transparent; background: none; color: var(--muted); }
/* 分类下暂时没有产品时的占位（正常不会出现，留着防止页面空白） */
.plist-empty { padding: 54px 20px; text-align: center; color: var(--muted); font-size: 15px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 560px) {
  .pagination { gap: 6px; flex-wrap: wrap; }
  .pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13.5px; }
}

/* ---------- 21. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 21a. Media board (视频 + 实拍图) ---------- */
.media-board { display: grid; gap: 22px; }
.media-board figure { margin: 0; position: relative; }

.media-board__video video {
  width: 100%; aspect-ratio: 16 / 9; max-height: 540px; display: block;
  object-fit: cover; background: var(--brand);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.media-board figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(14, 59, 52, .78); color: #fff;
  font-size: 12.5px; font-weight: 650; letter-spacing: .01em;
  backdrop-filter: blur(4px);
}

.media-board__shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.media-board__shots figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.media-board__shots img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.media-board__shots figure:hover img { transform: scale(1.05); }
.media-board__shots figcaption { left: 10px; bottom: 10px; padding: 5px 11px; font-size: 12px; }

/* ---------- 22. Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); }
.detail-page .detail-meta, .detail-page .detail-price { display: none; }
.detail-page .spec-list > div:nth-child(n+3) { display: none; }
.detail-page .tab-nav button:nth-child(-n+3) { display: none; }
.detail-page .tabs { margin-top: 42px; }
.detail-page .tab-panel[data-panel="desc"], .detail-page .tab-panel[data-panel="spec"], .detail-page .tab-panel[data-panel="ship"] { display: none !important; }
.detail-page .tab-panel[data-panel="faq"] { display: block; }
.detail-page .detail-related { display: none; }

/* ---------- 22a. Homepage settings ---------- */
.settings-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(18, 33, 30, .42); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.settings-panel { position: fixed; z-index: 81; top: 0; right: 0; bottom: 0; width: min(440px, 100%); padding: 32px 28px; overflow-y: auto; background: #fff; box-shadow: -12px 0 40px rgba(14, 59, 52, .18); transform: translateX(100%); transition: transform .3s var(--ease); }
.settings-panel.is-open { transform: none; }
.settings-backdrop.is-open { opacity: 1; visibility: visible; }
.settings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.settings-head .eyebrow { margin-bottom: 7px; }
.settings-head h2 { font-size: 27px; }
.settings-close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 25px; line-height: 1; }
.settings-intro { margin: 10px 0 24px; color: var(--muted); font-size: 14px; }
.settings-field { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; color: var(--ink); font-size: 13.5px; font-weight: 650; }
.settings-field input, .settings-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; resize: vertical; }
.settings-field input:focus, .settings-field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(29, 138, 118, .14); }
.settings-field input[type="color"] { height: 42px; padding: 4px; }
.settings-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.settings-note { min-height: 22px; margin-top: 14px; color: var(--brand-600); font-size: 13.5px; font-weight: 650; }
body.settings-open { overflow: hidden; }
.settings-tools { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 4px; }
.is-inline-editable { outline: 2px dashed var(--accent); outline-offset: 4px; cursor: text; }
.product-manager { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-name-manager { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-name-manager h3 { font-size: 18px; margin-bottom: 6px; }
.product-name-manager > p { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.product-name-fields { display: grid; gap: 2px; max-height: 360px; overflow-y: auto; }
.product-manager h3 { font-size: 18px; margin-bottom: 12px; }
.product-manager-list { display: grid; gap: 7px; max-height: 210px; overflow-y: auto; }
.product-manager-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; }
.product-manager-row button { border: 0; background: none; color: #b54832; font-size: 12px; cursor: pointer; }
.product-add-form { display: grid; gap: 8px; margin-top: 14px; }
.product-add-form input, .product-add-form select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.upload-field { display: grid; gap: 6px; color: var(--ink-soft); font-size: 13px; }
.upload-field input { padding: 6px; }
.product-main-preview { display: none; width: 100%; max-height: 180px; object-fit: cover; border-radius: var(--radius-sm); background: var(--soft); }
.product-main-preview.is-visible { display: block; }
.upload-mini { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-600); font-size: 12px; cursor: pointer; }
.upload-mini input { display: none; }
.image-manager { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.image-manager h3 { font-size: 18px; }
.image-manager p { margin: 7px 0 12px; color: var(--muted); font-size: 13px; }
.image-manager-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.image-manager-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.image-upload-button { position: relative; overflow: hidden; }
.image-upload-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-manager-item { display: grid; gap: 5px; padding: 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-soft); font-size: 12px; }
.image-manager-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: var(--soft); }
.image-manager-item input { width: 100%; font-size: 11px; }
.image-delete { border: 0; background: none; color: #b54832; padding: 0; text-align: left; font-size: 12px; cursor: pointer; }

/* ---------- 22b. 中文排版微调 ---------- */
html[data-lang="zh"] body { letter-spacing: 0; }
html[data-lang="zh"] h1,
html[data-lang="zh"] h2,
html[data-lang="zh"] h3,
html[data-lang="zh"] h4 { letter-spacing: 0; line-height: 1.35; }
html[data-lang="zh"] .brand-text { letter-spacing: 0; }
html[data-lang="zh"] .brand-text small { letter-spacing: .06em; font-size: 11px; }
html[data-lang="zh"] .eyebrow { letter-spacing: .08em; }
html[data-lang="zh"] .hero h1 { line-height: 1.25; }
html[data-lang="zh"] .tag { letter-spacing: .04em; }
html[data-lang="zh"] .hero-lead,
html[data-lang="zh"] .section-head p { line-height: 1.85; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero-media { order: -1; }
  .hero-float { margin: 14px auto 0; }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* mobile nav */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; animation: fade .22s var(--ease); }
  .nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--brand-050); }
  .header-actions .btn { display: none; }
  .settings-trigger span { display: none; }

  .media-board__shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .media-board__video video { max-height: none; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step::after { display: none; }
  .cta-band { padding: 34px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar ul li:nth-child(n+3) { display: none; }
  .lang-switch button,
  .lang-switch a { padding: 6px 10px; font-size: 12.5px; }
  .settings-trigger { padding: 8px 10px; }
  .settings-row { grid-template-columns: 1fr; gap: 0; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox { padding: 12px; }
  .lightbox__dialog { padding: 14px; gap: 8px; }
  .lightbox__img { max-height: 54vh; }
  .lightbox__nav { width: 36px; height: 36px; font-size: 22px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }

  .media-board { gap: 14px; }
  .media-board figcaption { left: 10px; bottom: 10px; padding: 5px 10px; font-size: 11.5px; }
  .media-board__shots figcaption { left: 8px; bottom: 8px; padding: 4px 9px; }
  .map-box img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   24. 站内询盘（RFQ / Request a Quote）
   只新增选择器，不改动上面任何已有规则。
   ========================================================================== */

/* ---------- 24a. 弹窗骨架 ---------- */
.rfq-modal {
  position: fixed; inset: 0; z-index: 220;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.rfq-modal[hidden] { display: none; }
.rfq-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 18, 22, .74); backdrop-filter: blur(5px);
}
.rfq-modal__dialog {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: min(760px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 30px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: fade .22s var(--ease);
}
.rfq-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .94);
  color: var(--ink); font-size: 20px; line-height: 1;
  transition: .2s var(--ease);
}
.rfq-modal__close:hover { border-color: var(--brand-500); color: var(--brand-600); }
.rfq-modal__head { margin-bottom: 20px; padding-right: 40px; }
.rfq-modal__head h2 { font-size: clamp(20px, 2.4vw, 26px); }
.rfq-modal__head p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 24b. 内联形态：同一套 DOM，去掉遮罩与关闭按钮，变成白卡片 ---------- */
.rfq-inline { display: block; }
.rfq-inline .rfq-modal__dialog {
  position: static; width: 100%; max-height: none; overflow: visible; padding: 34px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); animation: none;
}
.rfq-inline .rfq-modal__close { display: none; }
.rfq-inline .rfq-modal__head { padding-right: 0; }

/* ---------- 24c. 蜜罐：正常用户看不见 ---------- */
.rfq-hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none;
}

/* ---------- 24d. 表单细节 ---------- */
.rfq-form .field input[readonly] { background: var(--soft); color: var(--ink-soft); }
.rfq-form .field input.is-invalid,
.rfq-form .field select.is-invalid,
.rfq-form .field textarea.is-invalid {
  border-color: #c2603f; box-shadow: 0 0 0 3px rgba(194, 96, 63, .14);
}
.rfq-error { font-size: 12.5px; font-weight: 600; color: #b54832; }
/* 勾选框出错时不要套用输入框的红边样式，改成描边提示 */
.rfq-consent { align-items: flex-start; }
.rfq-consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand-600); }
.rfq-consent input.is-invalid { outline: 2px solid #c2603f; outline-offset: 1px; box-shadow: none; }
.rfq-consent a { color: var(--brand-600); font-weight: 650; }

.rfq-file { padding: 9px 11px; font-size: 13.5px; }
.rfq-file::file-selector-button {
  margin-right: 12px; padding: 8px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--soft); color: var(--ink); font: inherit; font-weight: 600;
}
.rfq-file__picked {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.rfq-file__remove {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: #b54832; font-size: 12.5px; text-decoration: underline;
}

.rfq-turnstile { min-height: 0; }
.rfq-turnstile:empty { display: none; }

.rfq-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 22px;
}
.rfq-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 420px; }
.rfq-note a { color: var(--brand-600); }

.rfq-submit { position: relative; }
.rfq-submit.is-busy { pointer-events: none; opacity: .82; }
.rfq-spinner { display: none; width: 15px; height: 15px; flex: none; }
.rfq-submit.is-busy .rfq-spinner {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  border-radius: 50%; animation: rfq-spin .7s linear infinite;
}
@keyframes rfq-spin { to { transform: rotate(360deg); } }

.rfq-status {
  display: none; margin-top: 16px; padding: 13px 16px;
  border-radius: var(--radius-sm); background: #fdf0e8; color: #a8452a;
  font-size: 13.5px; font-weight: 600; line-height: 1.65;
}
.rfq-status.is-visible { display: block; animation: fade .3s var(--ease); }

/* ---------- 24e. 提交成功 ---------- */
.rfq-success { text-align: center; padding: 14px 6px 6px; }
.rfq-success[hidden] { display: none; }
.rfq-success__icon {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-600);
}
.rfq-success h3 { font-size: 22px; }
.rfq-success > p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.rfq-success__id {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 12px; padding: 13px 22px;
  background: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius);
}
.rfq-success__id span { font-size: 13px; color: var(--muted); }
.rfq-success__id strong {
  font-size: 20px; letter-spacing: .04em; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.rfq-success__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.rfq-success .btn { margin-top: 18px; }

/* ---------- 24f. 手机底部固定询盘条（仅产品详情页） ---------- */
.rfq-sticky { display: none; }

@media (max-width: 900px) {
  .rfq-modal { padding: 0; align-items: flex-end; }
  .rfq-modal__dialog {
    width: 100%; max-height: 94vh;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
  .rfq-modal__head { margin-bottom: 16px; padding-right: 34px; }
  .rfq-modal__head p { font-size: 13.5px; }
  .rfq-modal__close { top: 10px; right: 10px; }

  .rfq-inline .rfq-modal__dialog { padding: 24px 18px; border-radius: var(--radius-lg); }

  .rfq-form .field input,
  .rfq-form .field select,
  .rfq-form .field textarea { padding: 13px 14px; font-size: 16px; }
  .rfq-form .field textarea { min-height: 110px; }
  .rfq-actions { gap: 12px; }
  .rfq-actions .btn { width: 100%; padding: 15px 20px; font-size: 16px; }
  .rfq-note { max-width: none; font-size: 12px; }
  .rfq-success__id { padding: 12px 16px; }
  .rfq-success__id strong { font-size: 18px; }

  .rfq-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(14, 59, 52, .12);
    backdrop-filter: blur(8px);
  }
  .rfq-sticky .btn { flex: 1; padding: 13px 14px; font-size: 15px; }
  body.detail-page { padding-bottom: 84px; }
}
