:root {
  --background: #f6f5f0;
  --foreground: #171817;
  --muted: #656761;
  --line: #d8d5cc;
  --paper: #fffdf8;
  --ink: #1f211f;
  --bronze: #b08245;
  --forest: #26372f;
  --sage: #dfe7df;
  --mist: #ecebe5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  align-items: center;
  background: rgba(246, 245, 240, 0.94);
  border-bottom: 1px solid rgba(23, 24, 23, 0.1);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  min-height: 68px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand-mark { color: var(--forest); font-size: 1.05rem; font-weight: 900; }
.nav-links { display: flex; gap: 28px; justify-content: center; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 800; }
.header-actions { align-items: center; display: flex; gap: 12px; justify-content: end; }
.language-switch {
  align-items: center;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 4px;
  padding: 4px;
}
.language-switch button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 10px;
}
.language-switch button.is-active { background: var(--ink); color: #fffdf8; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(20, 22, 20, 0.78), rgba(20, 22, 20, 0.18)); }
html[dir="rtl"] .hero-overlay { left: auto; right: 32px; }
html[dir="rtl"] .image-watermark,
html[dir="rtl"] .detail-gallery figcaption { left: 12px; right: auto; }
html[dir="rtl"] .product-topline strong,
html[dir="rtl"] .price-row strong { text-align: left; }
.header-action, .primary-button, .secondary-button, .detail-link {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}
.header-action, .primary-button, .detail-link { background: var(--ink); color: #fffdf8; }
.secondary-button { background: rgba(255, 253, 248, 0.94); color: var(--ink); }
.hero { min-height: calc(92svh - 68px); overflow: hidden; position: relative; }
.hero img { height: calc(92svh - 68px); object-fit: cover; width: 100%; }
.hero::after { background: linear-gradient(90deg, rgba(20, 22, 20, 0.78), rgba(20, 22, 20, 0.18)); content: ""; inset: 0; position: absolute; }
.hero-overlay { color: #fffdf8; left: 32px; max-width: 780px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.eyebrow { color: var(--bronze); font-size: 0.78rem; font-weight: 900; letter-spacing: 0; margin: 0 0 14px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 5.25rem; line-height: 0.98; margin-bottom: 24px; max-width: 720px; }
h2 { font-size: 3.1rem; line-height: 1.08; margin-bottom: 16px; }
h3 { font-size: 1.38rem; line-height: 1.24; margin-bottom: 14px; }
.hero-overlay > p:not(.eyebrow), .section-heading p, .product-card p, .detail-summary p, .material-panel p { line-height: 1.75; }
.hero-overlay > p:not(.eyebrow) { color: rgba(255, 253, 248, 0.86); font-size: 1.14rem; }
.section-heading p, .product-card p, .detail-summary p, .material-panel p { color: var(--muted); }
.hero-price-note {
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  color: #fffdf8;
  display: inline-flex;
  font-weight: 900;
  margin-top: 6px;
  padding: 10px 14px;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-stats span { background: rgba(255, 253, 248, 0.14); border: 1px solid rgba(255, 253, 248, 0.24); border-radius: 8px; color: rgba(255, 253, 248, 0.78); display: grid; gap: 4px; min-width: 132px; padding: 14px 16px; }
.hero-stats strong { color: #fffdf8; font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.section { padding: 86px 32px; }
.section-heading { margin: 0 auto 38px; max-width: 900px; text-align: center; }
.product-search { display: grid; gap: 10px; margin: -12px auto 44px; max-width: 760px; }
.product-search label { color: var(--forest); font-size: 0.9rem; font-weight: 900; }
.product-search-row { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto auto; }
.product-search input {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--foreground);
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
}
.product-search button {
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  color: #fffdf8;
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  padding: 0 18px;
}
.product-search .search-reset { background: transparent; border: 1px solid var(--line); color: var(--forest); }
.search-status { color: var(--muted); font-size: 0.9rem; margin: 0; }
.intro-section { background: var(--paper); }
.intro-grid { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 auto; max-width: 1240px; }
.intro-grid a, .product-card, .material-panel, .price-table { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.intro-grid a { display: grid; gap: 10px; min-height: 128px; padding: 24px; }
.intro-grid span, .intro-grid small, .product-topline span, .product-specs dt, .detail-facts dt { color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.intro-grid strong { color: var(--forest); font-size: 1.55rem; }
.intro-grid small { line-height: 1.5; }
.product-section, .gallery-section { background: var(--mist); }
.category-block { margin: 0 auto 72px; max-width: 1240px; }
.category-block[hidden], .product-card[hidden] { display: none !important; }
.category-block:last-child { margin-bottom: 0; }
.category-heading { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
.category-heading h3 { color: var(--forest); font-size: 2rem; margin-bottom: 0; }
.category-heading span { color: var(--muted); font-weight: 900; }
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; max-width: 1240px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.product-media { aspect-ratio: 4 / 3; background: #d8d5cc; display: block; overflow: hidden; position: relative; }
.product-media img, .detail-media img, .detail-gallery img { height: 100%; object-fit: cover; width: 100%; }
.image-watermark, .detail-gallery figcaption { background: rgba(31, 33, 31, 0.72); border: 1px solid rgba(255, 253, 248, 0.28); border-radius: 999px; bottom: 12px; color: #fffdf8; font-size: 0.8rem; font-weight: 900; padding: 6px 12px; position: absolute; right: 12px; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.product-topline { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 12px; }
.product-topline strong, .price-row strong, .detail-price { color: #b33b24; font-weight: 950; }
.product-topline strong { font-size: 1.18rem; text-align: right; }
.product-topline strong::before {
  color: var(--muted);
  content: "B2B内部价";
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2px;
}
.product-specs { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 0 0 14px; }
.product-specs div, .detail-facts div { background: #f6f5f0; border-radius: 6px; min-width: 0; padding: 10px; }
.product-specs dt, .product-specs dd, .detail-facts dt, .detail-facts dd { margin: 0; }
.product-specs dd, .detail-facts dd { color: var(--forest); font-weight: 900; margin-top: 5px; overflow-wrap: anywhere; }
.product-card p { display: -webkit-box; font-size: 0.94rem; margin-bottom: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.detail-link { margin-top: 18px; }
.detail-hero { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); min-height: calc(86svh - 68px); }
.detail-media { background: #d8d5cc; min-height: 520px; overflow: hidden; position: relative; }
.detail-summary { align-content: center; background: var(--paper); display: grid; padding: 54px; }
.detail-summary h1 { color: var(--forest); font-size: 4.4rem; max-width: 620px; }
.detail-price { font-size: 2.2rem; margin: 24px 0; }
.detail-price::before {
  color: var(--muted);
  content: "B2B渠道合作内部价";
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.detail-facts { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.material-panel { margin: 0 auto; max-width: 980px; padding: 30px; }
.material-panel > p { color: var(--foreground); font-size: 1.08rem; line-height: 1.9; }
.remark-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.remark-grid article { background: #f6f5f0; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 8px; padding: 18px; }
.remark-grid span { color: var(--muted); font-size: 0.82rem; font-weight: 900; }
.remark-grid strong { color: var(--forest); line-height: 1.6; }
.price-section { background: var(--sage); }
.price-table { margin: 0 auto; max-width: 980px; overflow: hidden; }
.price-row { align-items: center; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 160px; min-height: 58px; padding: 14px 18px; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-head { background: var(--forest); color: #fffdf8; font-weight: 900; }
.price-row span { overflow-wrap: anywhere; }
.price-row strong { font-size: 1.12rem; text-align: right; }
.price-disclaimer {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 14px auto 0;
  max-width: 980px;
}
.detail-gallery { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; max-width: 1240px; }
.detail-gallery figure { aspect-ratio: 4 / 3; background: #d8d5cc; border-radius: 8px; margin: 0; overflow: hidden; position: relative; }
.empty-detail { color: var(--muted); margin: 0 auto; max-width: 760px; text-align: center; }
.channel-section { background: var(--paper); }
.channel-panel {
  background: var(--forest);
  border-radius: 8px;
  color: rgba(255, 253, 248, 0.84);
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 920px;
  padding: 28px;
  text-align: center;
}
.channel-panel span {
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.channel-panel strong {
  color: #fffdf8;
  font-size: 2.05rem;
  line-height: 1.15;
}
.channel-panel p {
  line-height: 1.8;
  margin: 0 auto;
  max-width: 720px;
}
.channel-panel a {
  background: #fffdf8;
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  justify-self: center;
  min-height: 44px;
  padding: 0 20px;
}
.channel-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; max-width: 1240px; }
.channel-card {
  background: #f6f5f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 24px;
}
.channel-card span { color: var(--bronze); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.channel-card h3 { color: var(--forest); font-size: 1.46rem; margin-bottom: 0; }
.channel-card p { color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.channel-card a {
  align-self: end;
  background: var(--ink);
  border-radius: 6px;
  color: #fffdf8;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
}
.channel-note {
  align-items: center;
  background: var(--forest);
  border-radius: 8px;
  color: rgba(255, 253, 248, 0.84);
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 22px auto 0;
  max-width: 1240px;
  padding: 18px 22px;
}
.channel-note strong { color: #fffdf8; white-space: nowrap; }
.channel-note p { line-height: 1.7; margin: 0; }
.inquiry { align-items: start; display: grid; gap: 52px; grid-template-columns: minmax(0, 1fr) minmax(340px, 480px); margin: 0 auto; max-width: 1180px; }
.contact-panel {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  margin-top: 26px;
  padding: 18px;
}
.contact-panel img { border: 1px solid var(--line); border-radius: 8px; width: 150px; }
.contact-panel span { color: var(--bronze); font-size: 0.82rem; font-weight: 900; }
.contact-panel strong { color: var(--forest); display: block; font-size: 1.18rem; margin: 6px 0 8px; }
.contact-panel a { color: var(--foreground); font-weight: 900; overflow-wrap: anywhere; }
.inquiry-form { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 12px; padding: 24px; }
.inquiry-form label { font-size: 0.9rem; font-weight: 900; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; color: var(--foreground); min-height: 46px; padding: 0 14px; width: 100%; }
.inquiry-form textarea { min-height: 112px; padding: 12px 14px; resize: vertical; }
.inquiry-form button { background: var(--ink); border: 0; border-radius: 6px; color: #fffdf8; cursor: pointer; font-weight: 900; min-height: 44px; }
.floating-contact {
  align-items: center;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 20px;
  box-shadow: 0 12px 36px rgba(23, 24, 23, 0.16);
  color: var(--foreground);
  display: grid;
  gap: 10px;
  grid-template-columns: 72px auto;
  padding: 10px;
  position: fixed;
  right: 20px;
  z-index: 30;
}
.floating-contact img { border: 1px solid var(--line); border-radius: 6px; width: 72px; }
.floating-contact strong { color: var(--forest); display: block; font-size: 0.92rem; }
.floating-contact a { color: #b33b24; font-size: 0.86rem; font-weight: 900; }
@media (max-width: 1120px) {
  h1 { font-size: 4.15rem; }
  .intro-grid, .product-grid, .detail-gallery, .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-summary h1 { font-size: 3.4rem; }
}
@media (max-width: 900px) {
  .intro-grid, .inquiry, .detail-facts, .remark-grid, .channel-grid, .channel-note { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { gap: 10px; grid-template-columns: 1fr auto; padding: 0 14px; }
  .nav-links { display: none; }
  .header-actions { gap: 8px; }
  .header-action { display: none; }
  .language-switch { gap: 2px; padding: 3px; }
  .language-switch button { font-size: 0.74rem; min-height: 32px; padding: 0 5px; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.15rem; }
  .hero, .hero img { min-height: calc(88svh - 68px); }
  .hero-overlay { left: 18px; max-width: calc(100% - 36px); }
  html[dir="rtl"] .hero-overlay { left: auto; right: 18px; }
  .hero-stats span { min-width: calc(50% - 5px); }
  .hero-actions a { width: 100%; }
  .section { padding-left: 18px; padding-right: 18px; }
  .product-grid, .detail-gallery { grid-template-columns: 1fr; }
  .product-search-row { grid-template-columns: 1fr; }
  .channel-panel strong { font-size: 1.55rem; }
  .channel-card { min-height: auto; }
  .category-heading { align-items: start; display: grid; }
  .detail-media { min-height: 360px; }
  .detail-summary { padding: 34px 18px; }
  .detail-summary h1 { font-size: 2.8rem; }
  .price-row { grid-template-columns: 1fr; }
  .price-row strong { text-align: left; }
  .contact-panel { grid-template-columns: 112px minmax(0, 1fr); }
  .contact-panel img { width: 112px; }
  .floating-contact { bottom: 12px; grid-template-columns: 56px auto; padding: 8px; right: 12px; }
  .floating-contact img { width: 56px; }
}
