:root {
  --bg: #f6f4ed;
  --paper: #fffdf7;
  --ink: #1f2933;
  --muted: #66788a;
  --slogan:#1b1919;
  --brand: #0f5132;
  --brand-2: #146c43;
  --accent: #c76d2a;
  --line: #d8d5c8;
  --shadow: 0 14px 28px rgba(23, 36, 41, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, #eef6e4 0%, transparent 40%),
    radial-gradient(circle at 90% 100%, #f4e3d3 0%, transparent 35%),
    var(--bg);
  line-height: 1.6;
  text-autospace: normal;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 28px 0; }
.section-tight { padding: 24px 0; }
.section-after-breadcrumb {
  padding-top: 0;
}
.section-after-breadcrumb h1:first-child {
  margin-top: 0;
}
.soft-bg { background: rgba(255, 255, 255, 0.56); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  padding: .35rem 0;
}
.logo { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.logo-img { height: 42px; width: auto; display: block; border-radius: 8px; }
.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; color: #fff; font-weight: 700;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
}
.logo-text strong { display: block; font-size: 1.02rem; letter-spacing: .2px; }
.logo-text small { color: var(--muted); font-size: .78rem; }

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem .8rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .94rem;
  white-space: nowrap;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  scroll-snap-align: start;
}
.main-nav a:hover { background: rgba(15, 81, 50, .06); text-decoration: none; }
.main-nav a[aria-current="page"] {
  color: var(--brand);
  background: #e5f1e7;
  font-weight: 700;
  position: relative;
}
.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
}
.pro-link {
  margin-left: 0;
  padding: .55rem .85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  font-size: .82rem;
  white-space: nowrap;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.hero { padding: 62px 0 36px; background: linear-gradient(rgba(255,255,255,.50), rgba(255,255,255,.50)), url('/assets/uploads/index/offroad-and-truck-winches.jpg') center/cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; align-items: stretch; }
.kicker {
  display: inline-block;
  padding: .3rem .62rem;
  border-radius: 999px;
  background: #cccccc;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero h1 { font-size: clamp(1.8rem, 3.1vw, 3rem); line-height: 1.1; margin: .8rem 0; }
.hero p { color: var(--slogan); max-width: 58ch; }
.hero-cta { display: flex; gap: .7rem; margin-top: 1.1rem; flex-wrap: wrap; }

.hero-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.hero-box h2 { margin-top: 0; }
.guide-hero-grid {
  align-items: center;
}
.guide-hero-copy h1 {
  margin-top: 0;
}
.guide-hero-media {
  padding: .75rem;
}
.guide-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
.quick-filter { display: grid; gap: .8rem; }
.quick-filter label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; }
.quick-filter input, .quick-filter select,
.filter-bar input, .filter-bar select,
.contact-form input, .contact-form textarea, .contact-form select,
.checkout-form input, .checkout-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .62rem .72rem;
  background: #fff;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .62rem .95rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible,
.main-nav a:focus-visible,
.pro-link:focus-visible,
.toc-link:focus-visible {
  outline: 3px solid rgba(20, 108, 67, .22);
  outline-offset: 2px;
}
.btn-primary {
  border-color: var(--brand);
  color: #fff;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
}
.btn-sm { font-size: .84rem; padding: .45rem .72rem; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 2rem); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.product-grid > * { min-width: 0; }
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  position: relative;
}

.pc-img {
  background: #fff;
  aspect-ratio: 4 / 3;
  display: block;
}

.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 修改点：由 cover 改为 contain，确保图片完整显示 */
  object-position: center; /* 建议添加：使图片在留白区域居中 */
}
.pc-body {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 0;
  height: 100%;
}
.pc-body > * {
  min-width: 0;
  align-self: start;
}
.pc-body h3 { margin: 0; font-size: .98rem; line-height: 1.35; min-width: 0; }
.pc-body h3 a { overflow-wrap: anywhere; word-break: break-word; }
.pc-meta { margin: 0; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; word-break: break-word; }
.pc-desc {
  margin: 0;
  color: #4f5d68;
  font-size: .89rem;
  line-height: 1.45;
  min-height: calc(1.45em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.pc-tag-promo {
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 2;
  font-size: .82rem;
  line-height: 1;
  padding: .38rem .58rem;
  border-radius: 999px;
  border: 1px solid #ef4444;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.pc-foot {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-width: 0;
  width: 100%;
  margin-top: auto;
  padding: 0 .72rem;
}
.pc-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
}
.pc-price-row .pc-status {
  margin: 0;
  flex-shrink: 0;
  text-align: right;
}
.pc-foot-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: nowrap;
}
.pc-foot-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-buy-btn { font-weight: 700; }
.pc-foot .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
  white-space: normal;
  overflow-wrap: anywhere;
}
.price {
  color: var(--accent);
  font-size: 1.05rem;
  padding-right: .25rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.price--hidden,
.price-hidden {
  color: var(--muted);
  font-size: 1rem;
}
.price-inquiry {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
}
.pc-status {
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
}
.pc-status--warn { color: #b45309; }
.pc-status--danger { color: #b91c1c; }
.pc-status--info { color: #1d4ed8; }
.pc-status--muted { color: var(--muted); }
.scenario-icons {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: flex-start;
}
.scenario-icon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .38rem;
  padding: .3rem .55rem;
  border-radius: 999px;
  background: #f4f8ee;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.2;
}
.scenario-icon img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.scenario-icons--card { margin-top: .15rem; }
.scenario-icons--card .scenario-icon { padding: .26rem .5rem; }
.scenario-icons--detail { margin-top: .5rem; }

.point-grid, .service-grid, .story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.point-card, .service-card, .story-card, .order-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.point-card h3, .service-card h2, .story-card h2 { margin-top: 0; }
.story-card { display: grid; gap: .9rem; grid-template-rows: auto 1fr; }
.story-card-media { display: block; border-radius: 12px; overflow: hidden; background: #fff; }
.story-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-card-media--placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef6e4 0%, #f4e3d3 100%);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .08em;
}
.story-card-media--placeholder span { padding: .8rem 1rem; }
.story-card-body { display: grid; gap: .45rem; align-content: start; }
.chip-row { display:flex; flex-wrap:wrap; gap:.55rem; margin: 0 0 1rem; }
.chip {
  display:inline-flex;
  align-items:center;
  padding:.38rem .78rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-size:.86rem;
  font-weight:600;
}
.chip.active {
  background:#e5f1e7;
  border-color:#9fc5ad;
  color:var(--brand);
}
.content-meta {
  margin:.1rem 0 .45rem;
  color:var(--muted);
  font-size:.82rem;
}

.dual-link {
  background: linear-gradient(130deg, #f8fff4, #fff8f0);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}

.breadcrumb { font-size: .88rem; color: var(--muted); }
.breadcrumb a { color: var(--brand); }

.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.filter-zone {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.filter-zone .filter-bar {
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  margin-top: .4rem;
}
.filter-zone__label {
  margin: 0 0 .7rem;
  font-size: .98rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.filter-bar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .6rem;
  margin-bottom: 1rem;
}
.filter-bar label,
.contact-form label,
.checkout-form label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 600;
}
.filter-actions {
  display: flex;
  gap: .6rem;
  align-items: end;
}
.pagination-summary { margin-top: .8rem; color: var(--muted); }
.pagination {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: .52rem .78rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.page-btn.active {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: var(--brand);
  color: #fff;
}

.pdp {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1rem;
}
.pdp-main-image {
  position: relative;
}
.pdp-main-image img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.pdp-tag-new {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  font-size: .82rem;
  line-height: 1;
  padding: .38rem .58rem;
  border-radius: 999px;
  border: 1px solid #ef4444;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: .6rem;
  margin-top: .8rem;
}
.pdp-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.pdp-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(20,108,67,.16);
}
.pdp-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.pdp-info h1 { margin-top: 0; line-height: 1.2; }
.pdp-brand { color: var(--muted); }
.price-box { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.price-box strong { color: var(--accent); font-size: 1.6rem; }
.price-box del { color: var(--muted); }
.tag {
  font-size: .78rem;
  padding: .26rem .5rem;
  border-radius: 999px;
  background: #ffe9d6;
  color: #9d4b09;
}
.tag--new {
  background: #ef4444;
  color: #fff;
  border: 1px solid #ef4444;
}
.chip-row strong {
  color: var(--muted);
  font-size: .86rem;
  flex: 0 0 auto;
}
.spec-quick { list-style: none; margin: .8rem 0; padding: .75rem 1rem;
              display: grid; grid-template-columns: 1fr; gap: .4rem;
              background: var(--accent-lt); border-radius: var(--radius); border-left: 3px solid var(--accent); }
.spec-quick li { font-size: .88rem; color: var(--ink); }
.pdp-cta { display: flex; gap: .6rem; flex-wrap: wrap; }
.pdp-scenarios { display: grid; gap: .55rem; margin: .9rem 0 0; }
.pdp-scenarios strong { font-size: .88rem; color: var(--muted); }

/* ── Hero 场景快捷链接 ── */
.hero-scenario-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.hero-scenario-chip { display: inline-flex; align-items: center; gap: .38rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid rgba(15,81,50,.22); color: var(--ink); font-size: .82rem; font-weight: 600; line-height: 1.2; transition: background .15s, border-color .15s, box-shadow .15s; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.hero-scenario-chip:hover { background: #fff; border-color: var(--brand); color: var(--brand); text-decoration: none; box-shadow: 0 2px 8px rgba(15,81,50,.14); }
.hero-scenario-chip img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.sku-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: .35rem 0 .2rem;
}
.sku-card {
  display: inline-flex;
  flex-direction: column;
  gap: .18rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: .5rem .65rem;
  cursor: pointer;
  min-width: 180px;
}
.sku-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(20,108,67,.16);
  background: #f6fbf7;
}
.sku-card small {
  color: var(--muted);
  font-size: .78rem;
}
.stock-note {
  margin: .7rem 0 0;
  padding: .62rem .78rem;
  border-radius: 10px;
  font-size: .88rem;
  border: 1px solid transparent;
}
.stock-note--warn {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.stock-note--danger {
  background: #fff1f2;
  border-color: #fda4af;
  color: #9f1239;
}
.stock-note--info {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.stock-note--muted {
  background: #f5f7f8;
  border-color: var(--line);
  color: var(--muted);
}
.btn-disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .56;
  filter: grayscale(.08);
  transform: none;
}
.tech-jump {
  margin-top: 1rem;
  padding: .7rem;
  border-radius: 10px;
  background: #eef6f1;
  border: 1px dashed #9fc5ad;
}

.prose { max-width: 78ch; }
.prose h1, .prose h2 { line-height: 1.2; }
.prose p { margin: .65rem 0; }
.prose h2 { font-size: 1.25rem; font-weight: 700; color: var(--brand); margin: 1.8rem 0 .7rem;
            border-bottom: 2px solid var(--line); padding-bottom: .3rem; }
.prose h3 { font-size: 1.05rem; font-weight: 700; margin: 1.3rem 0 .5rem; }
.prose h4 { font-size: .95rem; font-weight: 700; margin: .9rem 0 .35rem; color: var(--muted); }
.prose ul { padding-left: 1.6rem; list-style: disc; margin: .6rem 0; }
.prose ol { padding-left: 1.6rem; list-style: decimal; margin: .6rem 0; }
.prose li { margin: .3rem 0; }
.prose li > ul,
.prose li > ol { margin: .15rem 0; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose blockquote { border-left: 4px solid var(--accent); padding: .6rem 1.1rem;
                    background: rgba(199,109,42,.07); margin: 1rem 0;
                    border-radius: 0 8px 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .9rem; }
.prose table th,
.prose table td { border: 1px solid var(--line); padding: .55rem .8rem; text-align: left; vertical-align: top; }
.prose table thead th { background: var(--brand); color: #fff; font-weight: 700; }
.prose table tbody tr:nth-child(even) { background: rgba(15,81,50,.05); }
.prose img { max-width: 100%; height: auto; display: block; border-radius: 10px; margin: 1rem auto; }
.prose pre { background: #1a2e1f; color: #d1f0e0; padding: 1rem; border-radius: 10px;
             overflow-x: auto; font-size: .84rem; margin: 1rem 0; line-height: 1.55; }
.prose code { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: .86em;
              background: #e8f0eb; padding: .1em .35em; border-radius: 4px; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 1.6rem 0; }
.prose a { text-decoration: underline; text-underline-offset: .14em; }
.prose--full { max-width: 100%; }

/* ── PDP 产品详情区（销售向）── */
.pdp-desc-section { background: var(--paper); border-top: 3px solid var(--brand); padding: 56px 0; }
.pdp-desc-header { margin-bottom: 2rem; }
.pdp-desc-header h2 { font-size: 1.55rem; font-weight: 800; color: var(--brand); margin: 0 0 .55rem; letter-spacing: -.01em; }
.pdp-desc-header p { color: var(--muted); font-size: 1rem; margin: 0; line-height: 1.55; }
.scene-gallery { display: grid; gap: .9rem; margin-bottom: 2.2rem; }
.scene-gallery--multi { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.scene-gallery img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: var(--shadow); }
.pdp-buying-guide { margin-top: 2.5rem; padding: 1.5rem 1.8rem;
                    background: linear-gradient(135deg, #f0f7f3 0%, #fef9f4 100%);
                    border-left: 5px solid var(--accent); border-radius: 0 12px 12px 0;
                    box-shadow: 0 2px 12px rgba(199,109,42,.08); }
.pdp-buying-guide > h3 { font-size: 1.15rem; font-weight: 800; color: var(--accent); margin: 0 0 1rem; }
.pdp-desc-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2.5rem;
                padding-top: 1.8rem; border-top: 1px solid var(--line); align-items: center; }
.pdp-desc-cta-note { font-size: .88rem; color: var(--muted); margin-left: auto; }

.article-cover {
  margin: 1rem 0 1.4rem;
}
.article-cover img,
.article-body img.article-inline-image {
  display: block;
  max-width: min(100%, 860px);
  margin: 1.25rem auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.article-body a {
  text-decoration: underline;
  text-underline-offset: .14em;
}
.article-layout-wrap {
  width: min(1320px, calc(100% - 2rem));
  max-width: none;
  display: flex;
  justify-content: center;
}
.article-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 82ch);
  justify-content: center;
  gap: 2rem;
  align-items: start;
}
.article-layout--with-toc { grid-template-columns: minmax(0, 82ch) 260px; }
.article-main { min-width: 0; }
.article-toc { position: sticky; top: 92px; }
.article-toc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; box-shadow: var(--shadow); }
.article-toc-nav { display: grid; gap: .55rem; margin-top: .8rem; }
.toc-link { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.toc-link--h3 { padding-left: 1rem; font-size: .82rem; }
.toc-link:hover { color: var(--brand); text-decoration: none; }
.toc-link.is-active {
  color: var(--brand);
  font-weight: 700;
  border-left: 3px solid var(--brand);
  padding-left: .7rem;
}
.toc-link.toc-link--h3.is-active { padding-left: 1.4rem; }
.article-body h2[id], .article-body h3[id] { scroll-margin-top: 112px; }
.cta-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.contact-form, .checkout-form { display: grid; gap: .8rem; max-width: 640px; }
.checkout-pay-panel {
  display: grid;
  gap: .8rem;
  max-width: 640px;
}
.checkout-pay-panel label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 600;
}
.checkout-pay-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .62rem .72rem;
  background: #fff;
  font: inherit;
}
.checkout-province-select {
  min-height: 0;
}
.qty-row { display: flex; align-items: center; gap: 12px; margin: .8rem 0; }
.qty-label {
  flex: 0 0 5.5rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}
.qty-row--sku {
  align-items: stretch;
}
.checkout-sku-select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  border-radius: 8px;
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  padding: .7rem 2.5rem .7rem .9rem;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  box-shadow: 0 1px 0 rgba(15, 81, 50, .04);
  appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.checkout-sku-select:hover {
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  background-color: #fffeff;
}
.checkout-sku-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 108, 67, .14);
}
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-stepper button { background: #f5f5f5; border: none; padding: 8px 16px; font-size: 1.2rem; cursor: pointer; line-height: 1; color: inherit; }
.qty-stepper button:hover { background: #e5e7eb; }
.qty-stepper input[type="number"] { width: 60px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; padding: 8px 4px; font-size: 1rem; font: inherit; -moz-appearance: textfield; background: #fff; }
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.checkout-form .btn,
.checkout-pay-panel .btn {
  width: 100%;
}
.field-hint {
  min-height: 1.1rem;
  font-size: .78rem;
  color: #b45309;
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.checkout-form input.is-invalid,
.checkout-form textarea.is-invalid {
  border-color: #dc2626;
  background: #fff7f7;
}
.contact-form input.is-valid,
.contact-form textarea.is-valid,
.checkout-form input.is-valid,
.checkout-form textarea.is-valid {
  border-color: #15803d;
  background: #f4fff7;
}
.result-box {
  padding: .8rem;
  border-radius: 10px;
  background: #ecf3f8;
  color: #163048;
  overflow: auto;
  white-space: pre-line;
  min-height: 60px;
}
.result-box.is-success {
  background: #edf9f0;
  color: #14532d;
  border: 1px solid #86efac;
}
.result-box.is-error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fda4af;
}
.center { text-align: center; }

.site-footer {
  margin-top: 48px;
  background: #1e2b33;
  color: #cfd9df;
  border-top: 1px solid #1b2328;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 36px 0;
}
.footer-grid h4 { color: #fff; margin-top: 0; }
.footer-grid p { display: block; color: #c8d8e6; margin: .28rem 0; }
.footer-grid a { display: block; color: #c8d8e6; margin: .28rem 0; }
.footer-bottom {
  border-top: 1px solid #2d3c46;
  padding: 14px 0 20px;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .pdp { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .point-grid, .service-grid, .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; order: -1; }
}

@media (max-width: 900px) {
  .main-nav { gap: .3rem; }
  .main-nav a { font-size: .82rem; padding: .15rem .3rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; padding: .6rem 0; }
  .main-nav {
    gap: .4rem;
    order: 3;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: .2rem;
    touch-action: pan-x;
  }
  .main-nav a { font-size: 1rem; padding: .18rem .4rem; }
  .point-grid, .service-grid, .story-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-actions { grid-column: 1 / -1; flex-wrap: nowrap; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card-media img { aspect-ratio: 4 / 3; }
  .section-head { align-items: flex-start; flex-wrap: wrap; gap: .5rem; }
  .qty-row {
    align-items: stretch;
    flex-wrap: wrap;
    gap: .45rem;
  }
  .qty-label {
    flex-basis: 100%;
  }
  .checkout-sku-select,
  .qty-stepper {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .hero { padding: 48px 0 28px; }
  .main-nav { gap: .4rem; }
  .main-nav a { font-size: .82rem; padding: .18rem .4rem; }
  .wrap,
  .article-layout-wrap { width: min(100% - 1rem, 1320px); }
  .product-grid { grid-template-columns: 1fr; }
  .hero-cta .btn,
  .cta-row .btn,
  .pdp-cta .btn {
    width: 100%;
  }
  .pc-foot-actions .btn {
    flex: 1 1 calc(50% - .25rem);
  }
  .hero-box,
  .story-card,
  .point-card,
  .service-card,
  .order-box { padding: .9rem; }
}



/* ═══════════════════════════════════════════════════
   AUTH PAGES — 登录 / 注册
═══════════════════════════════════════════════════ */
body.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; background: var(--bg); margin: 0; }
body.auth-page main { width: 100%; display: flex; justify-content: center; }
.auth-section { width: 100%; max-width: 440px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 2.4rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.auth-logo { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 700; color: var(--brand); text-decoration: none; margin-bottom: 1.6rem; }
.auth-logo svg { flex-shrink: 0; }
.auth-title { font-size: 1.45rem; font-weight: 700; color: var(--ink); margin: 0 0 .3rem; }
.auth-sub { font-size: .92rem; color: var(--muted); margin: 0 0 1.6rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-field { display: flex; flex-direction: column; gap: .35rem; }
.auth-field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.auth-label-hint { font-size: .78rem; color: var(--muted); font-weight: 400; }
.auth-field input { border: 1px solid var(--line); border-radius: 7px; padding: .58rem .75rem; font-size: .97rem; color: var(--ink); background: var(--paper); transition: border-color .18s; outline: none; width: 100%; box-sizing: border-box; }
.auth-field input:focus { border-color: var(--brand); }
.auth-msg { font-size: .88rem; min-height: 1.3em; color: var(--muted); }
.auth-msg--err { color: #c0392b; }
.auth-msg--ok { color: var(--brand); }
.auth-submit { background: var(--brand); color: #fff; border: none; border-radius: 7px; padding: .7rem 1.4rem; font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: .4rem; transition: background .18s; }
.auth-submit:hover { background: var(--brand-2); }
.auth-submit:disabled { opacity: .6; cursor: default; }
.auth-footer-links { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }
.auth-footer-links a { color: var(--brand); text-decoration: none; }
.auth-footer-links a:hover { text-decoration: underline; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 2.6rem; }
.pw-eye { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 0; color: var(--muted); line-height: 1; }
.field-tip { font-size: .78rem; color: var(--muted); }
.field-tip.ok { color: #1a7a4a; }
.field-tip.warn { color: #b45309; }

/* ═══════════════════════════════════════════════════
   ACCOUNT PAGE — 个人中心
═══════════════════════════════════════════════════ */
.account-page { padding: 2.5rem 0; background: var(--bg); min-height: calc(100vh - 140px); }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 0; position: sticky; top: 80px; }
.acc-nav-link { display: block; padding: .65rem 1.2rem; font-size: .93rem; color: var(--ink); text-decoration: none; transition: background .15s, color .15s; }
.acc-nav-link:hover { background: var(--bg); color: var(--brand); }
.acc-nav-link.active { background: var(--bg); color: var(--brand); font-weight: 700; border-right: 3px solid var(--brand); }
.acc-nav-logout { color: #c0392b !important; }
.account-main { display: flex; flex-direction: column; gap: 1.5rem; }
.account-section { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem 1.6rem; }
.account-section-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0 0 .35rem; }
.account-section-tip { font-size: .83rem; color: var(--muted); margin: 0 0 1.2rem; }
.account-form { display: flex; flex-direction: column; gap: .9rem; }
.account-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .87rem; font-weight: 600; color: var(--ink); }
.account-form input, .account-form select, .account-form textarea { border: 1px solid var(--line); border-radius: 7px; padding: .55rem .75rem; font-size: .95rem; color: var(--ink); background: var(--paper); outline: none; }
.account-form input:focus, .account-form select:focus { border-color: var(--brand); }
.account-form select { appearance: auto; cursor: pointer; }
.account-form .province-select { height: auto; min-height: 2.5rem; }
.account-form .province-select option { padding: 0.4rem 0.5rem; line-height: 1.6; }
.form2col { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.account-empty { color: var(--muted); font-size: .92rem; padding: 1.5rem 0; }

/* Accordion list */
.acc-list { display: flex; flex-direction: column; gap: .6rem; }
.acc-row { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.acc-row-hd { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; background: var(--paper); width: 100%; border: none; cursor: pointer; text-align: left; }
.acc-row-hd:hover { background: var(--bg); }
.acc-row-id { font-size: .82rem; font-family: monospace; color: var(--muted); flex-shrink: 0; }
.acc-row-sub { flex: 1; font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-row-chevron { flex-shrink: 0; font-size: .78rem; color: var(--muted); transition: transform .2s; }
.acc-row-hd[aria-expanded="true"] .acc-row-chevron { transform: rotate(180deg); }
.acc-row-body { display: none; padding: 1rem 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; }
.acc-row-body.open { display: block; }
.acc-detail-block { margin-bottom: .8rem; }
.acc-detail-block dt { font-weight: 600; color: var(--muted); font-size: .78rem; margin-bottom: .15rem; }
.acc-reply { background: var(--bg); border-left: 3px solid var(--brand); padding: .6rem .9rem; border-radius: 0 6px 6px 0; font-size: .87rem; color: var(--ink); margin-top: .4rem; }

/* Badges */
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; }
.badge-ok   { background: #d1fae5; color: #065f46; }
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-muted{ background: #f0f0eb; color: var(--muted); }
.badge-err  { background: #fee2e2; color: #991b1b; }

/* User link in nav */
.user-link { display: inline-flex; align-items: center; gap: .3rem; }

/* Responsive */
@media(max-width: 760px){
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 0; padding: .3rem 0; }
  .acc-nav-link { padding: .5rem .9rem; flex: 0 0 auto; }
  .acc-nav-link.active { border-right: none; border-bottom: 2px solid var(--brand); }
  .form2col { grid-template-columns: 1fr; }
}

/* ── Brand wall (homepage) ── */
.brand-wall-section { text-align: center; margin-top: -4rem; }
.brand-wall-section .section-head { flex-direction: column; align-items: center; gap: .5rem; border-bottom: none; padding-bottom: 0; }
.brand-wall-section .section-head h2 { font-size: 2rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.brand-wall-section .section-head::after { content: ''; display: block; width: 48px; height: 4px; background: var(--brand); border-radius: 2px; margin: .4rem auto 0; }
.brand-wall-subtitle { max-width: 560px; margin: 1rem auto 2rem; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem 1.5rem; padding: .4rem 0; }
.brand-logo-item { display: flex; align-items: center; justify-content: center; padding: .8rem; }
.brand-logo-item img { height: 80px; width: auto; max-width: 100%; object-fit: contain; opacity: .8; filter: grayscale(15%); transition: opacity .2s, filter .2s; display: block; }
.brand-logo-item:hover img { opacity: 1; filter: none; }
.brand-name-item { display: flex; align-items: center; justify-content: center; font-size: .84rem; color: var(--muted); font-weight: 600; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; transition: color .15s, border-color .15s; }
.brand-name-item:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }
@media(max-width:900px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } }
@media(max-width:560px) { .brand-wall { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .brand-wall-section .section-head h2 { font-size: 1.4rem; } }

/* ── Honor + Stats combined section (homepage) ── */
.honor-stats-section { position: relative; z-index: 1; overflow: visible; background: #1a1a1a center/cover no-repeat; padding: 0 0 64px; margin-top: 185px; }
.honor-stats-section::before { content: ''; position: absolute; inset: 0; background: rgba(10,15,20,.52); }
/* contained slider card */
.honor-slider-outer { position: relative; z-index: 2; top: -185px; margin-bottom: -185px; }
.honor-slider-wrap { position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.40); width: calc(100% - 10%); margin-left: auto; margin-right: auto; }
.honor-slides { display: flex; will-change: transform; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.honor-slide { min-width: 100%; display: grid; grid-template-columns: 58% 42%; min-height: 370px; }
.honor-slide__img { background: #1a1a1a center/cover no-repeat; }
.honor-slide__body { background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 2.6rem 3rem; }
.honor-slide__body h2 { font-size: clamp(1.1rem,1.9vw,1.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .75rem; line-height: 1.2; color: var(--ink); }
.honor-slide__bar { width: 40px; height: 4px; background: var(--accent); margin-bottom: 1.1rem; border-radius: 2px; }
.honor-slide__body p { color: var(--muted); margin: 0 0 1.4rem; font-size: .92rem; line-height: 1.72; }
.honor-slide__body a { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: .3em; }
.honor-slide__body a:hover { color: var(--brand); text-decoration: none; }
/* arrows — outside overflow:hidden, inside .wrap */
.honor-slide__arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.38); cursor: pointer; width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 3; transition: background .15s, border-color .15s; color: #fff; }
.honor-slide__arrow:hover { background: rgba(255,255,255,.30); border-color: rgba(255,255,255,.7); }
.honor-slide__arrow--prev { left: 1rem; }
.honor-slide__arrow--next { right: 1rem; }
/* dots on dark background */
.honor-dots { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 22px 0 30px; position: relative; z-index: 1; }
.honor-dot { width: 28px; height: 4px; border-radius: 2px; border: none; background: rgba(255,255,255,.30); cursor: pointer; transition: background .2s, width .2s; padding: 0; }
.honor-dot.is-active { background: var(--accent); width: 44px; }
/* stats row */
.stats-wall__inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; align-items: start; }
.stats-item__num { font-size: clamp(3rem,7vw,5.5rem); font-weight: 900; color: #fff; line-height: 1; }
.stats-item__bar { width: 48px; height: 4px; background: var(--accent); margin: .7rem auto .9rem; border-radius: 2px; }
.stats-item__label { color: rgba(255,255,255,.82); font-size: clamp(.9rem,1.4vw,1.05rem); letter-spacing: .02em; }

@media(max-width:1080px) {
  .honor-slide__arrow--prev { left: 10px; }
  .honor-slide__arrow--next { right: 10px; }
  .honor-slide__arrow { background: rgba(255,255,255,.70); color: var(--ink); border-color: transparent; }
  .honor-slide__arrow:hover { background: #fff; }
}
@media(max-width:760px) {
  .honor-slide { grid-template-columns: 1fr; min-height: auto; }
  .honor-slide__img { min-height: 220px; }
  .honor-slide__body { padding: 1.6rem 1.5rem; }
  .stats-wall__inner { gap: 1.2rem; }
  .honor-stats-section { padding: 0 0 52px; margin-top: 150px; }
}

@media (max-width: 720px) {
    .chip-row { display: none; }
}

@media(max-width:480px) {
  .main-nav { gap: .3rem; }
  .main-nav a { font-size: .82rem; padding: .1rem .1rem; }
  .stats-wall__inner { grid-template-columns: 3, 1fr; gap: 1rem; }
  .honor-stats-section { margin-top: 100px; padding-bottom: 40px; }
  .honor-slider-outer { top: -100px; margin-bottom: -100px; }
}
