/* DULINKPACK — Shared Styles */
:root {
  --paper: #ffffff;
  --cream: #eef5f1;
  --ink: #0d1b16;
  --body: #46594f;
  --accent: #0e7c52;
  --green-d: #0a5e3e;
  --green-l: #e7f4ee;
  --hairline: #e4ebe7;
  --dark-muted: #9fbdb0;
  --dark-label: #c9d6d0;
  --logo-gray: #8fa89c;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* 公共页排版严格对齐 docs/pages 原型：全站仅用 Inter（无 Playfair 衬线）。 */
h1, h2, h3, h4, h5, h6 { font-family: var(--sans); letter-spacing: -.02em; line-height: 1.15; }
img { max-width: 100%; height: auto; display: block; }

/* 后台列表封面缩略图：限制最大宽高，避免原图过大撑破表格 */
.admin-thumb {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 120px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1440px; margin: 0 auto; }

.label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase; white-space: nowrap;
}
.section-title { font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1.15; }
.btn {
  display: inline-block; padding: 18px 32px; font-size: 15px; font-weight: 500;
  transition: opacity .2s ease, background .2s ease; cursor: pointer; border: none;
}
.btn:hover { opacity: .85; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-accent { background: var(--accent); color: var(--paper); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 64px;
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo-word { font-size: 16px; font-weight: 600; letter-spacing: 3px; }
nav { display: flex; align-items: center; gap: 40px; }
nav a { font-size: 14px; font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); }
.header-cta { padding: 13px 24px; font-size: 14px; }

/* ---------- Hero (home) ---------- */
.hero {
  display: flex; align-items: center; gap: 80px;
  padding: 80px 64px 96px;
}
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero-copy h1 { font-family: var(--serif); font-weight: 500; font-size: 64px; line-height: 74px; }
.hero-copy .sub { font-size: 17px; line-height: 29px; color: var(--body); max-width: 640px; }
.hero-ctas { display: flex; gap: 16px; }
.hero-img { width: 460px; height: 620px; flex-shrink: 0; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 50px 0 24px; border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: 72px; line-height: 1.08; margin: 28px 0 24px; }
.page-hero .sub { font-size: 17px; line-height: 29px; color: var(--body); max-width: 620px; }
.page-hero.dark { background: var(--ink); color: var(--paper); border-bottom: none; }
.page-hero.dark .label { color: var(--dark-label); }
.page-hero.dark .sub { color: var(--dark-muted); }

/* ---------- Sections shared ---------- */
section { padding: 112px 64px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 48px; margin-bottom: 72px;
}
.alt { background: var(--cream); }

/* ---------- Heritage (home) ---------- */
.heritage-body { display: flex; gap: 80px; margin-bottom: 72px; }
.heritage-lead {
  font-family: var(--serif); font-style: italic; font-size: 24px;
  line-height: 37px; width: 440px; flex-shrink: 0;
}
.heritage-text { flex: 1; display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.heritage-text p { font-size: 16px; line-height: 28px; color: var(--body); }
.stats { display: flex; gap: 56px; }
.stat .v { font-family: var(--serif); font-weight: 500; font-size: 46px; }
.stat .l { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--body); margin-top: 10px; }
.heritage-img { height: 460px; }

/* ---------- Timeline (heritage page) ---------- */
.timeline { display: flex; flex-direction: column; }
.t-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 64px;
  padding: 48px 0; border-top: 1px solid var(--hairline);
}
.t-item:last-child { border-bottom: 1px solid var(--hairline); }
.t-year { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); }
.t-item h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 12px; }
.t-item p { font-size: 16px; line-height: 28px; color: var(--body); max-width: 720px; }

/* ---------- Feature rows (alternating) ---------- */
.feature-row { display: flex; align-items: center; gap: 80px; padding: 64px 0; border-top: 1px solid var(--hairline); }
.feature-row:first-child { border-top: none; padding-top: 0; }
.feature-row:last-child { padding-bottom: 0; }
.feature-row.flip { flex-direction: row-reverse; }
.feature-row .f-img { width: 50%; height: 420px; flex-shrink: 0; overflow: hidden; }
.feature-row .f-img img { transition: transform .6s ease; }
.feature-row:hover .f-img img { transform: scale(1.03); }
.feature-row .f-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.feature-row h3 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.2; }
.feature-row p { font-size: 16px; line-height: 28px; color: var(--body); }
.feature-row .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }

/* ---------- Collection (home + papers) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product { display: flex; flex-direction: column; gap: 18px; }
.product .p-img { height: 360px; overflow: hidden; }
.product .p-img img { transition: transform .6s ease; }
.product:hover .p-img img { transform: scale(1.04); }
.product .no { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--accent); }
.product h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.product .spec { font-size: 14px; color: var(--body); }
.product .trade { font-size: 13px; font-weight: 500; }

/* 产品卡片包裹（承载「加入报价单」悬浮按钮） */
.product-card { position: relative; }
.add-quote {
  border: 1px solid var(--hairline); background: #fff;
  color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .3px;
  padding: 7px 11px; border-radius: 999px; cursor: pointer;
  transition: all .2s ease; white-space: nowrap;
}
.add-quote:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.add-quote.added { background: #2e7d4f; border-color: #2e7d4f; color: #fff; }
/* v2 卡片内联 add-quote：覆盖 position absolute（v1 遗留），用 btn-ghost 的样式 */
.btn-ghost.add-quote, .card .add-quote { position: static; border: 1px solid var(--hairline); background: #fff; color: var(--accent); }
.btn-ghost.add-quote:hover, .card .add-quote:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.filter-row {
  display: flex; gap: 40px; border-bottom: 1px solid var(--hairline);
  padding-bottom: 24px; margin-bottom: 56px;
}
.filter-row a { font-size: 14px; font-weight: 500; color: var(--body); transition: color .2s; }
.filter-row a:hover { color: var(--ink); }
.filter-row a.active { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 23px; }

/* ---------- Search row (product list) ---------- */
.search-row { display: flex; gap: 12px; align-items: center; margin: 0 0 28px; max-width: 420px; }
.search-row input[type="text"] {
  flex: 1; height: 44px; padding: 0 16px; border: 1px solid var(--hairline);
  border-radius: 8px; font-family: var(--sans); font-size: 14px; background: var(--cream); color: var(--ink);
}
.search-row input[type="text"]:focus { outline: none; border-color: var(--accent); }
.search-row .btn { height: 44px; padding: 0 22px; }
.search-row .clear { font-size: 13px; color: var(--accent); text-decoration: underline; }

/* ---------- Product inquiry modal (Request a Quote) ---------- */
.inquiry-overlay {
  position: fixed; inset: 0; z-index: 70; padding: 20px;
  background: rgba(28,26,23,.5); display: none; align-items: center; justify-content: center;
}
.inquiry-modal {
  position: relative; background: #fff; border-radius: 12px; padding: 28px 32px;
  max-width: 560px; width: 100%; max-height: 90vh; overflow: auto;
}
.inquiry-close {
  position: absolute; top: 10px; right: 14px; border: none; background: none;
  font-size: 24px; line-height: 1; cursor: pointer; color: var(--logo-gray);
}
.inquiry-modal h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 4px; }
.inquiry-modal .sub { font-size: 13px; color: var(--body); margin-bottom: 20px; }
.inquiry-modal .field { margin-bottom: 14px; }
.inquiry-modal .field label { display: block; font-size: 12px; color: var(--logo-gray); margin-bottom: 6px; }
.inquiry-modal .field input,
.inquiry-modal .field textarea {
  width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--hairline);
  border-radius: 8px; font-family: var(--sans); font-size: 14px; background: var(--cream); color: var(--ink);
}
.inquiry-modal .field textarea { height: 88px; padding: 12px 14px; resize: vertical; }
.inquiry-modal .field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-modal .actions { margin-top: 8px; }
.inquiry-modal .ok-msg { color: var(--accent); font-size: 14px; margin-top: 14px; display: none; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
}
.wa-float:hover { color: #fff; filter: brightness(1.05); }
.wa-float svg { width: 22px; height: 22px; }

/* ---------- Trade band (dark) ---------- */
.trade-band { background: var(--ink); color: var(--paper); padding: 96px 64px; }
.trade-band .inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.trade-item { border-top: 1px solid rgba(245,241,232,.25); padding-top: 28px; }
.trade-item .t { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 12px; }
.trade-item p { font-size: 14px; line-height: 24px; color: var(--dark-muted); }

/* ---------- Craft (dark, home) ---------- */
.craft { background: var(--ink); color: var(--paper); }
.craft .label { color: var(--dark-label); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { border-top: 1px solid rgba(245,241,232,.25); padding-top: 28px; }
.step .n { font-family: var(--serif); font-style: italic; font-size: 38px; color: var(--accent); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 14px 0; }
.step p { font-size: 14px; line-height: 24px; color: var(--dark-muted); }

/* ---------- Proof (home) ---------- */
.proof { text-align: center; }
.proof .label { display: block; margin-bottom: 72px; }
.proof blockquote {
  font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 50px;
  max-width: 980px; margin: 0 auto 32px;
}
.proof .attr { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--body); }
.clients {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hairline); margin-top: 72px; padding: 40px 24px 0;
}
.clients span { color: var(--logo-gray); }
.clients .serif { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.clients .serif-i { font-family: var(--serif); font-style: italic; font-size: 20px; }
.clients .caps { font-size: 14px; font-weight: 600; letter-spacing: 3px; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article { display: flex; flex-direction: column; gap: 16px; }
.article .a-img { height: 260px; overflow: hidden; }
.article .a-img img { transition: transform .6s ease; }
.article:hover .a-img img { transform: scale(1.04); }
.article .date, .featured-article .date { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--accent); }
.article h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 30px; }
.article p.excerpt { font-size: 14px; line-height: 24px; color: var(--body); }
.view-all { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.featured-article { display: flex; gap: 64px; align-items: center; margin-bottom: 96px; }
.featured-article .fa-img { width: 55%; height: 460px; flex-shrink: 0; overflow: hidden; }
.featured-article .fa-img img { transition: transform .6s ease; }
.featured-article:hover .fa-img img { transform: scale(1.03); }
.featured-article .fa-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.featured-article h2 { font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.2; }
.featured-article p { font-size: 16px; line-height: 28px; color: var(--body); }

/* ---------- Contact ---------- */
.contact-grid { display: flex; gap: 120px; }
.contact-info { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 48px; }
.info-block .t { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--logo-gray); margin-bottom: 14px; }
.info-block .v { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.4; }
.info-block p { font-size: 15px; line-height: 26px; color: var(--body); margin-top: 8px; }
.inquiry-form { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; min-width: 0; }
.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--body); text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--hairline);
  padding: 12px 0; outline: none; transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-bottom-color: var(--ink); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; line-height: 22px; color: var(--body); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--paper); padding: 96px 64px 40px; }
.footer-top { display: flex; gap: 120px; margin-bottom: 80px; }
.footer-cta { flex: 1; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; min-width: 0; }
.footer-cta h2 { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 58px; }
.footer-cta p { font-size: 16px; line-height: 27px; color: var(--dark-muted); max-width: 520px; }
.footer-links { display: flex; gap: 72px; }
.fcol { display: flex; flex-direction: column; gap: 16px; }
.fcol .t { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--logo-gray); }
.fcol a { font-size: 15px; transition: color .2s; }
.fcol a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(245,241,232,.15); padding-top: 32px;
  font-size: 13px; color: var(--logo-gray);
}
.footer-bottom .loc { font-size: 12px; font-weight: 600; letter-spacing: 3px; }

/* ---------- Rich content (article / about / details) ---------- */
.rich-content { max-width: 820px; margin: 0 auto; color: var(--ink); }
.rich-content > :first-child { margin-top: 0; }
.rich-content p { font-size: 17px; line-height: 31px; color: var(--ink); margin: 0 0 26px; }
.rich-content h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.2; margin: 44px 0 18px; }
.rich-content h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 36px 0 14px; }
.rich-content h4 { font-family: var(--sans); font-weight: 600; font-size: 18px; margin: 28px 0 12px; }
.rich-content ul, .rich-content ol { margin: 0 0 26px 22px; padding: 0; }
.rich-content li { font-size: 17px; line-height: 30px; margin-bottom: 10px; color: var(--body); }
.rich-content img { width: 100%; height: auto; margin: 24px 0; border-radius: 2px; }
.rich-content figure { margin: 24px 0; }
.rich-content figure img { margin: 0 0 10px; }
.rich-content figcaption { font-size: 13px; color: var(--logo-gray); text-align: center; }
.rich-content blockquote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 40px; border-left: 3px solid var(--accent); padding-left: 28px; margin: 32px 0; color: var(--ink); }
.rich-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rich-content hr { border: none; border-top: 1px solid var(--hairline); margin: 40px 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 15px; }
.rich-content th, .rich-content td { border: 1px solid var(--hairline); padding: 10px 14px; text-align: left; }
.rich-content th { background: var(--cream); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-img { width: 100%; height: 420px; }
  .heritage-body { flex-direction: column; }
  .heritage-lead { width: 100%; }
  .product-grid, .product-grid.cols-4, .steps, .trade-band .inner { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 64px; }
  nav { display: none; }
  .section-title { font-size: 40px; }
  .hero-copy h1 { font-size: 44px; line-height: 54px; }
  .page-hero h1 { font-size: 44px; }
  .feature-row, .feature-row.flip { flex-direction: column; align-items: flex-start; }
  .feature-row .f-img { width: 100%; height: 320px; }
  .featured-article { flex-direction: column; align-items: flex-start; }
  .featured-article .fa-img { width: 100%; height: 320px; }
  .contact-grid { flex-direction: column; gap: 72px; }
  .contact-info { width: 100%; }
  .inquiry-form { grid-template-columns: 1fr; }
  .t-item { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Product spec table (detail page) ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.spec-table th { color: var(--logo-gray); font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.spec-table td:first-child { color: var(--logo-gray); }

/* ---------- Mobile drawer menu ---------- */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--ink); padding: 4px 8px;
}
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(28, 26, 23, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 90;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 80%; max-width: 320px; background: var(--paper);
  z-index: 100; transform: translateX(100%); transition: transform .3s ease;
  box-shadow: 0px 0 0px rgba(0,0,0,.15) rgba(0,0,0,.15);
  display: flex; flex-direction: column; padding: 22px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-head .t { font-family: var(--sans); font-size: 18px; font-weight: 700; }
.drawer-close { background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  padding: 14px 4px; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--hairline); color: var(--ink);
}
.drawer-nav a:hover, .drawer-nav a.active { color: var(--accent); }
.drawer-cta { margin-top: 22px; text-align: center; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ============ 后台（layui）表单与表格辅助样式 ============ */
/* 后台弹窗内两列表单：窄屏自动折行 */
.admin-form-row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.admin-form-row > .layui-form-item { flex: 1 1 320px; margin-bottom: 15px; }
/* 后台弹窗表单栅格：短字段两列并排（一行两个），长字段占满整行 */
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  align-items: start;
}
.admin-form-grid > .layui-form-item { margin-bottom: 15px; min-width: 0; }
.admin-form-grid > .layui-form-item.full { grid-column: 1 / -1; }
.admin-form-grid > fieldset { grid-column: 1 / -1; min-width: 0; }
/* 栅格内标签适当收窄，保证两列下不挤压输入框 */
.admin-form-grid .layui-form-label { width: 92px; padding-left: 0; }
.admin-form-grid .layui-input-block { margin-left: 108px; }
/* 抵消全局 img 规则对后台表格封面 / 预览图的影响 */
.layui-table img { width: auto; max-width: 100%; }
.upload-preview {
  width: auto !important; height: auto !important;
  max-width: 160px; max-height: 120px; object-fit: contain;
  border: 1px solid #eee; border-radius: 4px; margin-top: 6px;
}
/* 通用辅助类（后台少量文本提示复用） */
.text-muted { color: #999 !important; }

/* 语言切换器（右上角，下拉列表） */
.lang-switch { position: relative; display: inline-block; margin-left: 4px; }
.lang-switch .lang-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--hairline);
  color: var(--ink); font: 600 12px/1 Inter, system-ui, sans-serif;
  padding: 7px 11px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.lang-switch .lang-trigger:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch .caret { font-size: 9px; opacity: .7; }
.lang-switch .lang-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 150px; background: #fff; border: 1px solid #eee;
  border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 6px; z-index: 60;
  list-style: none; margin: 0;
}
.lang-switch.open .lang-dropdown { display: block; }
.lang-switch .lang-dropdown a {
  display: flex; align-items: baseline; gap: 8px; padding: 9px 12px;
  border-radius: 8px; color: #2b2622; text-decoration: none;
  font: 600 13px/1.2 Inter, system-ui, sans-serif;
}
.lang-switch .lang-dropdown a:hover { background: var(--green-l); color: var(--accent); }
.lang-switch .lang-dropdown a.active { color: var(--accent); background: var(--green-l); }
.lang-switch .lang-dropdown a span { font: 400 12px/1.2 Inter, system-ui, sans-serif; color: #8a8079; }

/* 购物车角标 */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--hairline);
  color: var(--ink); margin-left: 6px; transition: all .15s; }
.cart-link:hover { border-color: var(--accent); color: var(--accent); }
.cart-link svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--accent); color: #fff; font: 700 11px/18px Inter, system-ui, sans-serif;
  text-align: center; box-shadow: 0 0 0 2px #fff; }
.cart-count[hidden], .cart-count[style*="display:none"] { display: none; }

/* RFQ 加入提示 toast */
.rfq-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: #2b2622; color: #fff; padding: 10px 18px; border-radius: 999px; font: 600 14px/1.2 Inter, system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transition: all .3s; z-index: 9999; }
.rfq-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 购物车页 */
.cart-page { max-width: 1080px; margin: 0 auto; padding: 40px 20px 80px; }
.cart-page h1 { font: 600 32px/1.1 Georgia, 'Times New Roman', serif; margin: 0 0 6px; }
.cart-page .sub { color: #6b625a; margin: 0 0 28px; }
.cart-ok { background: #eaf6ee; border: 1px solid #bfe3cb; color: #2e7d4f; padding: 12px 16px; border-radius: 10px; margin-bottom: 22px; font-size: 14px; }
.cart-err { background: #fdecec; border: 1px solid #f4c4c4; color: #b42318; padding: 12px 16px; border-radius: 10px; margin-bottom: 22px; font-size: 14px; }
.cart-empty { text-align: center; padding: 64px 20px; border: 1px dashed rgba(166,61,42,.3); border-radius: 16px; }
.cart-empty p { color: #6b625a; margin: 0 0 20px; }
.cart-summary { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.cart-items { flex: 2 1 460px; min-width: 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-table th { font: 600 12px/1 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #8a8079; }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; vertical-align: middle; }
.cart-table .ci-product { min-width: 220px; }
.cart-table .ci-link { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.cart-table .ci-link:hover span { color: var(--accent); }
.cart-table .qty-input { width: 72px; padding: 8px; border: 1px solid #ddd; border-radius: 8px; text-align: center; font: 400 14px/1 Inter, system-ui, sans-serif; }
.cart-table .cart-remove { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 13px; padding: 0; }
.cart-note { font-size: 12px; color: #8a8079; margin: 14px 2px 0; }
.cart-aside { flex: 1 1 340px; max-width: 420px; background: var(--green-l); border: 1px solid #eee4d8; border-radius: 14px; padding: 24px; }
.cart-aside h3 { font: 600 17px/1.2 Georgia, serif; margin: 0 0 6px; }
.cart-form-note { font-size: 13px; color: #8a8079; line-height: 1.5; margin: 0 0 18px; }
.cart-aside .row { margin-bottom: 14px; }
.cart-aside label { display: block; font: 600 13px/1 Inter, system-ui, sans-serif; margin: 0 0 6px; color: #4a443e; }
.cart-aside input, .cart-aside textarea { width: 100%; padding: 11px 12px; border: 1px solid #ddd; border-radius: 9px; font: 400 14px/1.4 Inter, system-ui, sans-serif; box-sizing: border-box; }
.cart-aside textarea { min-height: 92px; resize: vertical; }
.cart-aside .row.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart-submit { width: 100%; margin-top: 6px; }
@media (max-width: 860px) {
  .cart-summary { flex-direction: column; }
  .cart-aside { max-width: 100%; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .lang-switch { margin-left: auto; }
}
/* 后台上传后的 PDF 链接预览 */
.upload-link { color: #1e9fff; font-weight: 600; text-decoration: none; }
.upload-link:hover { text-decoration: underline; }

/* 后台仪表盘统计卡 */
.admin-stat {
  background: #fafafa; border: 1px solid #f0f0f0; border-radius: 4px;
  padding: 20px 12px; text-align: center; height: 100%;
}
.admin-stat .num { font-size: 30px; font-weight: 700; line-height: 1.1; }
.admin-stat .label { color: #888; font-size: 13px; margin-top: 6px; }
.c-product { color: #1e9fff; }
.c-news { color: #5fb878; }
.c-banner { color: #ffb800; }
.c-admin { color: #ff5722; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 后台定义列表（站点信息展示） */
.admin-dl { display: grid; grid-template-columns: 110px 1fr; row-gap: 10px; column-gap: 14px; margin: 0; }
.admin-dl dt { color: #888; }
.admin-dl dd { margin: 0; word-break: break-all; }

/* 后台代码/文本预展示（SEO robots / sitemap 预览） */
.admin-pre {
  border: 1px solid #eee; border-radius: 4px; padding: 10px;
  background: #fafafa; font-size: 13px; color: #555;
  white-space: pre-wrap; word-break: break-all;
  max-height: 160px; overflow: auto; margin: 0;
}


/* 全局表单操作行（登录/注册/资料/地址表单复用） */
.actions { display: flex; gap: 12px; align-items: center; }
.actions.full { grid-column: 1 / -1; }
.actions .btn { min-width: 140px; }

/* ---------- 会员账户入口（header 与抽屉） ---------- */
.link-btn { color: #2b2622; font: 500 14px/1 Inter, system-ui, sans-serif; margin-right: 8px; text-decoration: none; }
.link-btn:hover { color: var(--accent); }
.header-cta-sm { padding: 8px 16px; font-size: 13px; margin-left: 4px; }
.account-menu { position: relative; margin-left: 6px; }
.account-trigger { display: inline-flex; align-items: center; gap: 4px; background: none; border: 1px solid rgba(166,61,42,.28); color: #2b2622; border-radius: 999px; padding: 7px 14px; font: 500 13px/1 Inter, system-ui, sans-serif; cursor: pointer; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-trigger:hover { border-color: var(--accent); color: var(--accent); }
.account-menu .caret { font-size: 10px; }
.account-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 184px; background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 8px; z-index: 60; }
.account-menu:hover .account-dropdown, .account-menu.open .account-dropdown { display: block; }
.account-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: #2b2622; text-decoration: none; font: 500 14px/1.2 Inter, system-ui, sans-serif; }
.account-dropdown a:hover { background: var(--green-l); color: var(--accent); }
.account-dropdown a.logout { color: #b23b2a; }

/* ---------- 登录 / 注册 ---------- */
.auth-wrap { max-width: 560px; margin: 0 auto; padding: 96px 20px 80px; }
.auth-card { background: #fff; border: 1px solid #eee; border-radius: 18px; padding: 40px; }
.auth-card h1 { font: 500 32px/1.1 Georgia, serif; margin: 0 0 6px; }
.auth-sub { color: #6b625a; margin: 0 0 26px; }
.auth-alt { margin-top: 22px; font-size: 14px; color: #6b625a; text-align: center; }
.auth-alt a { color: var(--accent); }
.auth-error { background: #fdecea; color: #b23b2a; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }
.auth-card .inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.auth-card .form-field.full { grid-column: 1 / -1; }
.auth-card .actions.full { grid-column: 1 / -1; }
.auth-card .actions .btn { width: 100%; }

/* ---------- 会员中心布局 ---------- */
.account-wrap { max-width: 1080px; margin: 0 auto; padding: 64px 20px 80px; display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.account-side { position: sticky; top: 24px; background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 22px; }
.account-user { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.account-user .avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 600 18px/1 Georgia, serif; }
.account-user .uname { font: 600 15px/1.2 Inter, system-ui, sans-serif; }
.account-user .uemail { font-size: 12px; color: #8a8079; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a { padding: 10px 12px; border-radius: 9px; color: #4a443e; text-decoration: none; font: 500 14px/1.2 Inter, system-ui, sans-serif; }
.account-nav a:hover { background: var(--green-l); }
.account-nav a.active { background: var(--accent); color: #fff; }
.account-nav a.logout { color: #b23b2a; margin-top: 8px; }
.account-main { min-width: 0; }
.account-head { margin-bottom: 28px; }
.account-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.account-head h1 { font: 500 34px/1.1 Georgia, serif; margin: 0 0 8px; }
.account-head p { color: #6b625a; margin: 0; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 36px; }
.stat-card { background: var(--green-l); border: 1px solid #eee4d8; border-radius: 14px; padding: 22px; text-decoration: none; color: #2b2622; }
.stat-card:hover { border-color: var(--accent); }
.stat-num { font: 600 30px/1 Georgia, serif; color: var(--accent); }
.stat-label { font-size: 13px; color: #6b625a; margin-top: 6px; }
.account-section { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 24px; }
.account-section h2 { font: 500 20px/1.2 Georgia, serif; margin: 0 0 16px; }

/* ---------- 地址卡 ---------- */
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.addr-card { position: relative; background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; }
.addr-card.is-default { border-color: var(--accent); }
.addr-line { font-size: 14px; line-height: 1.7; }
.addr-line.muted, .muted { color: #8a8079; }
.addr-actions { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.addr-actions .link { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 13px; padding: 0; }
.addr-actions .link.danger { color: #b23b2a; }
.inline { display: inline; }

/* ---------- 询盘中心 ---------- */
.inquiry-list { display: flex; flex-direction: column; gap: 16px; }
.inquiry-item { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; }
.inquiry-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.inquiry-subject { font: 600 16px/1.2 Inter, system-ui, sans-serif; }
.inquiry-status { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.inquiry-status.pending { background: #fff3e0; color: #b26a00; }
.inquiry-status.replied { background: #e6f4ea; color: #1f7a3d; }
.inquiry-meta { font-size: 12px; color: #8a8079; margin: 6px 0 10px; }
.inquiry-content { font-size: 14px; line-height: 1.7; color: #4a443e; margin: 0; }
.inquiry-reply { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #eee; }
.reply-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.inquiry-reply p { font-size: 14px; line-height: 1.7; margin: 4px 0 0; color: #4a443e; }

/* 资料/地址表单提示 */
.section-divider { grid-column: 1 / -1; font: 600 13px/1 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #8a8079; margin: 8px 0 0; }
.checkbox-field input { width: auto; margin-right: 8px; }
.checkbox-field .cb { display: flex; align-items: center; font-size: 14px; }
.ok-msg.show { display: block; background: #e6f4ea; color: #1f7a3d; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }

/* FAQ 列表（公开页 /faq） */
.faq-list { max-width: 820px; margin: 0 auto; padding: 24px 0 64px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font: 600 17px/1.4 var(--serif); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 22px 20px; color: var(--body); font-size: 15px; line-height: 26px; }
.faq-a :first-child { margin-top: 0; }
.faq-a p { margin: 10px 0; }
.page-cta { text-align: center; padding: 64px 24px 96px; border-top: 1px solid var(--hairline); }
.page-cta p { color: var(--body); margin-bottom: 20px; font-size: 16px; }

@media (max-width: 860px) {
  .account-wrap { grid-template-columns: 1fr; }
  .auth-card .inquiry-form { grid-template-columns: 1fr; }
  .addr-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DOCS/PAGES DESIGN SYSTEM (DulinkPack_blog / _news / _*_article.html)
   应用于：文章列表/详情页 + 共享 chrome（.nav / footer.dp-foot）
   复用上方 v1 令牌：--accent(--green) --green-d --green-l --hairline(--line)
            --ink --body(--ink-soft) --paper(--bg-soft) --dark-muted(--muted)
   注意：以下类仅作用于改用 docs/pages 标记的焦点页与 chrome；
        首页/产品等仍使用上方的 v1 内容类（.page-hero/.journal-grid/.article 等）。
   ============================================================ */
:root { --muted: #7a8a82; --dp-radius: 16px; --dp-shadow: 0 1px 2px rgba(13,27,22,.04), 0 8px 24px rgba(13,27,22,.06); }

/* 容器：居中 1180 + 24px 侧栏（覆盖 v1 .wrap 的 1440 无内边距） */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- 导航（chrome） ---- */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--body); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.wa { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--accent); }

/* ---- 通用 ---- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: .18s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--green-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
/* 顶栏登录/注册：比普通 .btn 略紧凑，保证始终可见（含移动端） */
.nav-auth { padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* ---- 页头 ---- */
.phead { padding: 50px 0 24px; background: linear-gradient(180deg, #f6f9f7 0%, #ffffff 80%); }
.phead h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 12px 0 14px; }
.phead p { font-size: 18px; color: var(--body); max-width: 620px; margin: 0; }

/* ---- 分类筛选（news 列表） ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; }
.filters a { font-size: 13px; font-weight: 600; color: var(--body); background: var(--paper); border: 1px solid var(--hairline); padding: 7px 14px; border-radius: 999px; transition: .18s; }
.filters a:hover, .filters a.on { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ---- 头条文章 ---- */
.featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--hairline); border-radius: var(--dp-radius); overflow: hidden; margin: 30px 0 50px; box-shadow: var(--dp-shadow); }
.featured .ph { background: linear-gradient(135deg, #0e7c52, #0a5e3e); min-height: 300px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; letter-spacing: .04em; }
.featured .body { padding: 34px; }
.cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--green-l); padding: 5px 12px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.featured h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.featured p { color: var(--body); font-size: 15px; margin: 0 0 18px; }
.meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* ---- 卡片网格 ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 50px; }
.card {padding:24px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--dp-radius); overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--dp-shadow); border-color: #cfe3da; }
.ph { aspect-ratio: 16/9; background: linear-gradient(135deg, #e7f4ee, #cfe7dc); display: flex; align-items: center; justify-content: center; color: var(--green-d); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card .cat { margin-bottom: 10px; }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.card p { color: var(--body); font-size: 14px; margin: 8px 0 12px; }
.card .meta { margin: 0; margin-top: auto; }
.card .more { color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 10px; }

/* ---- 订阅 ---- */
.nl { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--dp-radius); padding: 36px; text-align: center; margin-bottom: 56px; }
.nl h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.nl p { color: var(--body); font-size: 15px; margin: 0 0 20px; }
.nl form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nl input { flex: 1; min-width: 220px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; font-size: 14px; font-family: inherit; }
.nl input:focus { outline: none; border-color: var(--accent); }

/* ---- CTA band ---- */
.band { background: linear-gradient(135deg, #0e7c52, #0a5e3e); color: #fff; border-radius: 24px; padding: 48px; text-align: center; margin: 0 auto; }
.band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.band p { color: #dff0e8; margin: 0 0 24px; font-size: 17px; }
.band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.band .btn-ghost:hover { background: #fff; color: var(--accent); }

/* ---- 文章详情 ---- */
.crumb { font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.crumb a:hover { color: var(--accent); }
.ahead { padding: 18px 0 24px; }
.ahead h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; margin-bottom: 14px; }
.ahead .lead { font-size: 19px; color: var(--body); margin: 0; }
article .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.hero-img, article .hero-img { aspect-ratio: 16/7; background: linear-gradient(135deg, #0e7c52, #0a5e3e); border-radius: var(--dp-radius); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; letter-spacing: .04em; margin: 28px 0; }
article { padding: 30px 0 20px; }
article h2 { font-size: 26px; font-weight: 800; margin: 34px 0 12px; }
article h3 { font-size: 20px; font-weight: 700; margin: 24px 0 10px; }
article p { font-size: 16px; color: var(--body); margin: 0 0 16px; }
article ul, article ol { color: var(--body); font-size: 16px; padding-left: 22px; margin: 0 0 16px; }
article li { margin-bottom: 8px; }
.callout { background: var(--green-l); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 22px 0; }
.callout b { color: var(--green-d); }
.callout p { margin: 0; color: var(--ink); }
.author { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--dp-radius); padding: 18px 22px; margin: 34px 0; }
.author .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #0e7c52, #0a5e3e); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.author b { font-size: 15px; }
.author span { font-size: 13px; color: var(--muted); }

/* ---- 相关文章 ---- */
.related { max-width: 1180px; margin: 56px auto 0; padding: 0 24px; }
.related h2 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }

/* ---- 文章详情页：窄阅读栏（对齐 docs/pages 文章页 --maxw:820） ---- */
.article-page { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---- 页脚（chrome，作用域避免影响 v1 页脚） ---- */
footer.dp-foot { background: var(--ink); color: #cfe0d8; padding: 54px 0 30px; margin-top: 56px; }
footer.dp-foot .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
footer.dp-foot h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
footer.dp-foot a { color: #cfe0d8; font-size: 14px; display: block; margin-bottom: 8px; }
footer.dp-foot a:hover { color: #fff; }
footer.dp-foot .foot-contact div { margin-bottom: 12px; font-size: 14px; }
footer.dp-foot .foot-brand p { color: #cfe0d8; font-size: 14px; line-height: 1.7; margin: 12px 0 16px; max-width: 300px; }
footer.dp-foot .foot-brand .wa { margin-top: 4px; }
footer.dp-foot .foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8fa89c; }

/* ---- 响应式（docs/pages） ---- */
@media (max-width: 980px) {
  .featured { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  footer.dp-foot .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .band { padding: 34px 22px; }
}

/* ============================================================
   DOCS/PAGES v2 — 补全（首页/产品/详情/关于/联系/FAQ/文章）
   与上方 v1/account 块共存；v2 类仅作用于改用 docs/pages 标记的焦点页。
   配色令牌复用上方 :root（--accent=绿 --hairline --ink --body --paper
   --green-d --green-l --cream）。图片默认用 .ph / .hero-img 渐变占位。
   ============================================================ */

/* 图片占位：.ph 默认渐变 + 文字标签；有图时由视图写入 inline background-image 覆盖渐变 */
.ph { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e7f4ee, #cfe7dc); display: flex; align-items: center; justify-content: center; color: var(--green-d); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.ph .ph-label { text-align: center; padding: 0 12px; }

.bg-soft { background: var(--cream); }

/* ---- 首页 ---- */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f6f9f7 0%, #ffffff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin: 14px 0 18px; line-height: 1.08; }
.hero p.lead { font-size: 18px; color: var(--body); max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.tb { display: flex; flex-direction: column; }
.tb b { font-size: 22px; font-weight: 800; color: var(--ink); }
.tb span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #0e7c52, #0a5e3e); aspect-ratio: 4 / 3.4; box-shadow: var(--dp-shadow); }
.hero-visual .tag { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.hero-visual .float { position: absolute; top: 18px; right: 18px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 12px; box-shadow: var(--dp-shadow); }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.strip { background: var(--ink); color: #fff; padding: 22px 0; }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.strip-in p { margin: 0; font-size: 15px; color: #cfe0d8; }
.certs { display: flex; gap: 12px; flex-wrap: wrap; }
.cert { font-size: 12px; font-weight: 700; letter-spacing: .05em; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #dff0e8; }

section.block { padding: 72px 0; }
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin: 12px 0 12px; }
.sec-head p { color: var(--body); font-size: 17px; margin: 0; }

.why { background: var(--cream); }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .ic { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--green-l); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feat h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.feat p { color: var(--body); font-size: 14px; margin: 0; }

.sol { position: relative; border-radius: var(--radius); padding: 26px; color: #fff; overflow: hidden; min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end; }
.sol::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,22,0) 30%, rgba(13,27,22,.55)); }
.sol h3, .sol span { position: relative; z-index: 1; }
.sol h3 { font-size: 19px; font-weight: 700; margin: 0; }
.sol span { font-size: 13px; opacity: .85; }
.s1 { background: linear-gradient(135deg, #0e7c52, #0a5e3e); }
.s2 { background: linear-gradient(135deg, #b8743a, #8a5223); }
.s3 { background: linear-gradient(135deg, #2f6f8f, #1d4a63); }
.s4 { background: linear-gradient(135deg, #5a5f6b, #33373f); }
.s5 { background: linear-gradient(135deg, #9a3b6b, #6e2850); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.step .n { counter-increment: s; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step .n::before { content: counter(s); }
.step h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.step p { font-size: 13px; color: var(--body); margin: 0; }

.quote { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; }
.quote p { font-size: 15px; color: var(--ink); margin: 0 0 16px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #0e7c52, #0a5e3e); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.quote .who b { font-size: 14px; display: block; }
.quote .who span { font-size: 13px; color: var(--muted); }

.faq { max-width: 820px; margin: 0 auto; }
.qa { border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.qa h3 { font-size: 16px; font-weight: 700; display: flex; gap: 10px; align-items: center; margin: 0; }
.qa h3::before { content: "Q"; color: var(--accent); font-weight: 800; }
.qa p { color: var(--body); font-size: 14px; margin: 10px 0 0 28px; }

/* ---- 产品列表 ---- */
.fchip { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hairline); background: #fff; color: var(--body); cursor: pointer; text-decoration: none; transition: .18s; }
.fchip:hover, .fchip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--green-l); color: var(--green-d); }
.card .moq { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.psearch { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; max-width: 520px; }
.psearch input { flex: 1; min-width: 220px; padding: 11px 16px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 14px; background: #fff; }
.psearch input:focus { outline: none; border-color: var(--accent); }
.psearch .clear { align-self: center; color: var(--muted); font-size: 13px; text-decoration: none; }
.card .body { display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.card p { color: var(--body); font-size: 14px; margin: 0 0 14px; }
.card .more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 14px; }
.card .ph { aspect-ratio: 4 / 2.5; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wt { text-align: center; padding: 10px; }
.wt .ic { font-size: 26px; }
.wt b { display: block; font-size: 16px; margin: 8px 0 4px; }
.wt span { font-size: 13px; color: var(--body); }

/* ---- 产品详情 ---- */
.crumb { font-size: 13px; color: var(--muted); padding: 22px 0 4px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; padding: 18px 0 12px; }
.gallery { position: relative; }
.carousel { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #0e7c52, #0a5e3e); }
.slides { display: flex; height: 100%; transition: transform .4s ease; }
.slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; letter-spacing: .04em; font-size: 15px; background-size: cover; background-position: center; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--dp-shadow); transition: .15s; }
.car-btn:hover { background: #fff; }
.car-btn.prev { left: 12px; }
.car-btn.next { right: 12px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { flex: 0 0 64px; aspect-ratio: 1 / 1; border-radius: 12px; cursor: pointer; border: 2px solid transparent; background: linear-gradient(135deg, #e7f4ee, #cfe7dc); display: flex; align-items: center; justify-content: center; color: var(--green-d); font-size: 12px; font-weight: 700; transition: .15s; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.thumb:hover { opacity: .85; }
.thumb.active { border-color: var(--accent); }
.carousel .slide { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 24px; background-size: cover; background-position: center; }
.carousel .slide[style*="display: none"], .carousel .slide[style*="display:none"] { display: none; }
.pdp-info h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 6px 0 12px; }
.pdp-info > .lede { color: var(--body); font-size: 16px; margin: 0 0 20px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--green-l); color: var(--green-d); }
.chip.alt { background: #fdf2e0; color: #9a6208; }
.pdp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.mini-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.desc { padding: 48px 0 8px; border-top: 1px solid var(--hairline); margin-top: 36px; }
.desc h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 16px; }
.desc p { color: var(--body); font-size: 16px; margin: 0 0 16px; max-width: 840px; }
.elements { padding: 34px 0 12px; }
.elements h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 18px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; max-width: 840px; }
.spec td { padding: 14px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.spec td:first-child { color: var(--muted); font-weight: 600; width: 34%; }
.spec tr:last-child td { border-bottom: none; }
.feat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.feat-row .feat { background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px; }

/* ---- 关于 ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .ph { aspect-ratio: 4 / 3.4; border-radius: var(--radius); background: linear-gradient(135deg, #0e7c52, #0a5e3e); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; letter-spacing: .04em; }
.split h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 10px 0 14px; }
.split p { color: var(--body); font-size: 16px; margin: 0 0 14px; }
.net { background: var(--paper); border-radius: var(--radius); padding: 30px; text-align: center; }
.net .hub { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 14px 22px; border-radius: 14px; margin-bottom: 22px; }
.net .nodes { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.net .node { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--body); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--green-d); line-height: 1; }
.stat span { font-size: 14px; color: var(--body); display: block; margin-top: 8px; }
.certs-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.certs-row .cert { border-color: var(--hairline); color: var(--green-d); background: #fff; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-l); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.values .card { padding: 24px; }

/* ---- 联系 ---- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; padding: 36px 0 56px; }
.form-card { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px; box-shadow: var(--dp-shadow); }
.form-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.form-card p.s { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--body); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.trust-row b { color: var(--green-d); }
.info h3 { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.info-box { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.info-box .line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; }
.info-box .line:last-child { margin-bottom: 0; }
.info-box .ic { flex: 0 0 30px; height: 30px; border-radius: 8px; background: var(--green-l); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.info-box b { display: block; }
.info-box span { color: var(--body); font-size: 13px; }
.wa-card { background: linear-gradient(135deg, #0e7c52, #0a5e3e); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; }
.wa-card h3 { color: #fff; margin: 0 0 6px; }
.wa-card p { color: #dff0e8; font-size: 14px; margin: 0 0 16px; }
.wa-card .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.wa-card .btn-ghost:hover { background: #fff; color: var(--accent); }

/* ---- FAQ 页标签 ---- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 14px 0 36px; }
.tab { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hairline); background: #fff; color: var(--body); cursor: pointer; }
.tab.on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- 文章页头 meta ---- */
.ahead .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }

/* ---- 响应式补全（焦点页） ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .split { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp .gallery { order: -1; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feat-row { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 32px; }
  .nav-cta .wa, .nav-cta .header-cta { display: none; }
  .phead { padding: 36px 0 20px; }
  .phead h1 { font-size: clamp(26px, 5vw, 38px); }
  .psearch { flex-direction: column; }
  .psearch input { width: 100%; }
}
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .nav-cta { gap: 8px; }
  .lang-trigger { padding: 7px 10px; }
  .cart-link { padding: 6px; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .hero p.lead { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .trust-badges { gap: 14px; }
  .tb b { font-size: 18px; }
  section.block { padding: 48px 0; }
  .phead { padding: 28px 0 16px; }
  .phead h1 { font-size: clamp(24px, 6vw, 32px); }
  .phead p { font-size: 16px; }
  .filters { gap: 8px; }
  .filters a { padding: 6px 12px; font-size: 12px; }
  .ahead h1 { font-size: clamp(24px, 6vw, 36px); }
  .band { padding: 34px 22px; }
  .band .btn { width: 100%; justify-content: center; }
  .wa-card { padding: 22px; }
  .form-card { padding: 22px; }
}
