/* ==========================================================================
   舒兰大米产业联合体 · 站点样式
   现代农商风格：田野绿 + 嫩芽青 + 暖白，粗体无衬线标题，柔和圆角与细颗粒质感。
   纯静态、无外部依赖，字体使用系统自带中文字体。
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0b1f15;
  --ink-2: #143324;
  --forest: #0d3b24;
  --forest-2: #14572f;
  --green: #1e7a44;
  --leaf: #3ea25c;
  --lime: #c9e968;
  --lime-soft: #eaf6c9;
  --mint: #eef4e7;
  --cream: #f7f6f0;
  --white: #ffffff;
  --sand: #e9e5d6;
  --amber: #dfa53a;
  --seal: #b0442f;
  --text: #15271c;
  --muted: #5d7063;
  --line: rgba(13, 33, 23, 0.09);
  --line-strong: rgba(13, 33, 23, 0.18);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(11, 31, 21, 0.04), 0 10px 28px rgba(11, 31, 21, 0.05);
  --shadow: 0 28px 70px rgba(11, 31, 21, 0.12);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 细颗粒质感：覆盖全站的低透明度纸张颗粒 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section { padding-block: clamp(72px, 9vw, 122px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--mint); }
.section--dark,
.section--ink {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(201, 233, 104, 0.16), transparent 62%),
    linear-gradient(158deg, #0a2c1a 0%, #0f4026 55%, #0b3220 100%);
  color: var(--white);
  overflow: hidden;
}
[id] { scroll-margin-top: 100px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head__side { padding-bottom: 6px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(62, 162, 92, 0.14);
}
.section--dark .eyebrow,
.section--ink .eyebrow { color: var(--lime); }
.section--dark .eyebrow::before,
.section--ink .eyebrow::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 233, 104, 0.16);
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.015em;
}
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.h4 { font-size: 1.08rem; }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.95;
  color: var(--muted);
}
.section--dark .lead,
.section--ink .lead { color: rgba(255, 255, 255, 0.7); }

.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.8; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}
.section--dark .rule,
.section--ink .rule { background: var(--line-light); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(30, 122, 68, 0.18);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  background: var(--forest-2);
  border-color: var(--forest-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 59, 36, 0.24);
}
.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: rgba(13, 59, 36, 0.28);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(13, 59, 36, 0.2);
}
.btn--gold {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(160, 198, 60, 0.28);
}
.btn--gold:hover {
  background: #d8f27e;
  border-color: #d8f27e;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(160, 198, 60, 0.36);
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(30, 122, 68, 0.35);
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow::after { content: "→"; color: var(--green); }
.link-arrow:hover { gap: 15px; color: var(--green); border-color: var(--green); }
.section--dark .link-arrow,
.section--ink .link-arrow { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.section--dark .link-arrow::after,
.section--ink .link-arrow::after { color: var(--lime); }

/* ---------- 5. Topbar & header ---------- */
.topbar {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
}
.topbar p { margin: 0; }
.topbar__meta { display: flex; align-items: center; gap: 10px; }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 240, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 246, 240, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(11, 31, 21, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
  transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .header__inner { min-height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand__text small {
  margin-top: 4px;
  color: var(--green);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--green); background: rgba(30, 122, 68, 0.07); }
.nav a.is-active {
  color: var(--green);
  background: var(--mint);
  font-weight: 700;
}
.nav__cta {
  margin-left: 8px;
  padding: 10px 20px !important;
  border: 1px solid var(--green);
  border-radius: 999px !important;
  background: var(--green);
  color: var(--white) !important;
  font-weight: 700 !important;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta:hover,
.nav__cta.is-active {
  background: var(--forest-2) !important;
  border-color: var(--forest-2) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(640px, 87vh, 880px);
  overflow: hidden;
  background: #dcecd1;
  color: var(--text);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 246, 240, 0.97) 0%, rgba(247, 246, 240, 0.9) 30%, rgba(247, 246, 240, 0.5) 55%, rgba(247, 246, 240, 0) 76%),
    linear-gradient(180deg, rgba(247, 246, 240, 0.42) 0%, rgba(247, 246, 240, 0) 34%, rgba(13, 59, 36, 0.12) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  flex: none;
  width: 100%;
  padding-block: clamp(88px, 12vh, 140px) 0;
}
.hero__content { max-width: 800px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 9px 18px;
  border: 1px solid rgba(30, 122, 68, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(62, 162, 92, 0.15);
}
.hero h1 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(3.9rem, 10.5vw, 8.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 8px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--lime));
}
.hero__sub {
  max-width: 620px;
  margin: 28px 0 36px;
  color: #3d5144;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.95;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--ghost { color: var(--forest); border-color: rgba(13, 59, 36, 0.3); }
.hero__actions .btn--ghost:hover { background: var(--forest); color: var(--white); }

.hero__badge {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  top: clamp(150px, 24vh, 250px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 46px rgba(13, 59, 36, 0.12);
}
.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--lime);
}
.hero__badge-icon svg { width: 22px; height: 22px; }
.hero__badge-text { display: flex; flex-direction: column; line-height: 1.45; }
.hero__badge-text strong { color: var(--forest); font-size: 14px; font-weight: 800; }
.hero__badge-text small { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; }

.hero__stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(44px, 7vh, 76px);
  padding-inline: clamp(20px, 4vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.hero__stats-grid.container {
  max-width: var(--container);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(13, 59, 36, 0.13);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__stat {
  padding: 18px 26px 20px;
  border-left: 1px solid rgba(13, 33, 23, 0.08);
}
.hero__stat:first-child { border-left: 0; }
.hero__stat strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hero__stat strong em {
  font-style: normal;
  margin-left: 3px;
  font-family: var(--font-sans);
  font-size: 0.5em;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}
.hero__stat span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ---------- 7. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(92px, 12vw, 148px) clamp(64px, 8vw, 96px);
  border-radius: 0 0 clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px);
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(1.05);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(7, 32, 20, 0.95) 0%, rgba(7, 32, 20, 0.72) 52%, rgba(7, 32, 20, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 32, 20, 0.2), rgba(7, 32, 20, 0.5));
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 620px;
  height: 620px;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 233, 104, 0.22), transparent 66%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.8vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.page-hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.95;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 233, 104, 0.16); }

/* ---------- 8. Intro / split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split > *,
.trace-layout > *,
.contact-grid > * { min-width: 0; }
.split__aside { display: flex; flex-direction: column; gap: 24px; }

.vertical-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: var(--mint);
  box-shadow: var(--shadow);
}
.figure img { width: 100%; height: auto; display: block; }
.figure__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* 图与数据卡上下排列，留出胶囊说明条，不使用负边距叠压 */
.split__aside .figure + .stats {
  position: relative;
  z-index: 2;
  margin: 0;
  box-shadow: 0 22px 48px rgba(11, 31, 21, 0.14);
}

/* ---------- 9. Stat grid ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stat {
  padding: 26px 24px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__value {
  display: block;
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__value em {
  margin-left: 3px;
  font-family: var(--font-sans);
  font-size: 0.4em;
  font-style: normal;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}
.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.section--dark .stats {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.section--dark .stat { border-color: rgba(255, 255, 255, 0.12); }
.section--dark .stat__value { color: var(--white); }
.section--dark .stat__value em { color: var(--lime); }
.section--dark .stat__label { color: rgba(255, 255, 255, 0.58); }

/* ---------- 10. Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 162, 92, 0.4);
  box-shadow: var(--shadow);
}
.card__num {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.card h3 { margin-bottom: 10px; font-size: 1.24rem; font-weight: 800; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.card--dark {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.card--dark:hover {
  border-color: rgba(201, 233, 104, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}
.card--dark p { color: rgba(255, 255, 255, 0.68); }
.card--dark .card__num { background: rgba(201, 233, 104, 0.14); color: var(--lime); }
.card--dark .card__meta { border-color: rgba(255, 255, 255, 0.16); color: var(--lime); }

/* Icon mark */
.mark-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  padding: 11px;
  border-radius: 14px;
  background: var(--lime-soft);
  color: var(--green);
}
.mark-icon svg { width: 100%; height: 100%; }

/* ---------- 11. Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust__item {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.trust__item:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 162, 92, 0.4);
  box-shadow: var(--shadow);
}
.trust__item h3 { margin: 0 0 8px; font-size: 1.06rem; font-weight: 800; }
.trust__item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.trust__item .mark-icon { width: 44px; height: 44px; margin-bottom: 16px; }

/* ---------- 12. River map ---------- */
.river-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.river-map svg { width: 100%; height: auto; }
.river-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.river-legend div {
  padding: 16px 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.river-legend div:first-child { border-left: 0; }
.river-legend strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- 13. Timeline / process ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.timeline__item {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(16px, 4vw, 48px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__date {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.timeline__item h3 { font-size: 1.08rem; font-weight: 800; }
.timeline__item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.section--dark .timeline { border-color: rgba(255, 255, 255, 0.15); }
.section--dark .timeline__item { border-color: rgba(255, 255, 255, 0.12); }
.section--dark .timeline__date { color: var(--lime); }
.section--dark .timeline__item p { color: rgba(255, 255, 255, 0.64); }

.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.process__step {
  position: relative;
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.process__step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  margin-bottom: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.process__step strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.process__step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.process__step::after { content: none; }

/* ---------- 14. Tables ---------- */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--mint);
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
td { color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(62, 162, 92, 0.05); }

/* ---------- 15. Badges / tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(30, 122, 68, 0.2);
  border-radius: 999px;
  background: rgba(30, 122, 68, 0.06);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge--seal { color: var(--seal); border-color: rgba(176, 68, 47, 0.25); background: rgba(176, 68, 47, 0.06); }
.badge--muted { color: var(--muted); border-color: var(--line-strong); background: transparent; }
.badge--ok { color: #237a4c; border-color: rgba(35, 122, 76, 0.25); background: rgba(35, 122, 76, 0.07); }

.sample-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(223, 165, 58, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(223, 165, 58, 0.08);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}
.sample-note strong { color: var(--ink); font-weight: 700; }

/* ---------- 16. Member cards ---------- */
.member {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.member:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 162, 92, 0.4);
  box-shadow: var(--shadow);
}
.member__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.member h3 { font-size: 1.02rem; line-height: 1.5; font-weight: 800; }
.member dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px 12px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
}
.member dt { color: var(--muted); }
.member dd { margin: 0; color: var(--ink); }

/* ---------- 17. Trace tool ---------- */
.trace-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.trace-panel {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.trace-form { display: grid; gap: 14px; }
.trace-form label {
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.trace-input-row { display: flex; gap: 10px; }
.trace-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.trace-input-row input::placeholder { color: #a2ab9f; letter-spacing: 0.01em; }
.trace-input-row input:focus {
  border-color: var(--leaf);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(62, 162, 92, 0.12);
  outline: none;
}
.trace-form .btn { min-height: 52px; }

.trace-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.trace-demo button {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.trace-demo button:hover { border-color: var(--leaf); background: var(--mint); color: var(--forest); }

.trace-result { margin-top: 22px; }
.trace-empty {
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.trace-error {
  border: 1px solid rgba(176, 68, 47, 0.25);
  border-left: 3px solid var(--seal);
  background: rgba(176, 68, 47, 0.05);
  color: var(--seal);
}
.trace-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.trace-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}
.trace-card__head strong {
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trace-card__body { padding: 8px 22px 18px; margin: 0; }
.trace-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.trace-row:last-child { border-bottom: 0; }
.trace-row dt { color: var(--muted); font-size: 13px; }
.trace-row dd { margin: 0; }
.trace-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- 18. News list ---------- */
.news-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.news-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 36px);
  align-items: baseline;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: rgba(62, 162, 92, 0.035); }
.news-item__date {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.news-item h3 { font-size: 1.03rem; font-weight: 700; line-height: 1.6; letter-spacing: 0; }
.news-item h3 a:hover { color: var(--green); }
.news-item p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.news-item__source { color: var(--muted); font-size: 12px; white-space: nowrap; }
.section--dark .news-list {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}
.section--dark .news-item { border-color: rgba(255, 255, 255, 0.1); }
.section--dark .news-item__date { color: var(--lime); }
.section--dark .news-item p,
.section--dark .news-item__source { color: rgba(255, 255, 255, 0.58); }

/* ---------- 19. CTA band ---------- */
.cta-band {
  position: relative;
  margin: clamp(16px, 2.4vw, 32px) clamp(16px, 3.6vw, 44px) clamp(16px, 3.6vw, 44px);
  border-radius: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 88% 0%, rgba(201, 233, 104, 0.2), transparent 60%),
    linear-gradient(140deg, #0a2c1a, #11472a 60%, #0c3520);
  color: var(--white);
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 32px;
  align-items: center;
  padding-block: clamp(52px, 7vw, 84px);
}
.cta-band .eyebrow { color: var(--lime); }
.cta-band .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 233, 104, 0.16); }
.cta-band h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 800; letter-spacing: -0.015em; }
.cta-band p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 14px; line-height: 1.85; }
.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.cta-band .btn--ghost:hover { background: var(--white); color: var(--forest); border-color: var(--white); }

/* ---------- 20. Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}
.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.contact-item dd { margin: 0; font-size: 15px; }
.form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--forest); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--cream);
  font-size: 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--leaf);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(62, 162, 92, 0.12);
  outline: none;
}
.form__hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* ---------- 21. Footer ---------- */
.site-footer {
  border-radius: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 60px);
  padding-block: clamp(56px, 7vw, 76px) clamp(36px, 5vw, 52px);
}
.footer__brand .brand { color: var(--white); margin-bottom: 18px; }
.footer__brand .brand__text small { color: var(--lime); }
.footer__brand p { max-width: 360px; margin: 0; font-size: 12.5px; line-height: 1.9; }
.footer__col h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.footer__col li { margin-bottom: 9px; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 11.5px;
}
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--lime); }

/* ---------- 22. Reveal animation ----------
   默认可见；仅在 JS 可用时隐藏，避免脚本失败或禁用 JS 时整页空白。 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .hero__badge { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .trace-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .shop-count { margin-left: 0; }
}

@media (max-width: 860px) {
  .topbar__meta { display: none; }
  .header__inner { min-height: 70px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 24px;
    background: rgba(247, 246, 240, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(11, 31, 21, 0.12);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
  }
  .nav__cta {
    margin: 12px 0 0;
    padding: 14px 16px !important;
    text-align: center;
  }
  .hero { min-height: 620px; }
  .hero h1 { font-size: clamp(3.4rem, 13vw, 5.4rem); }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { padding: 16px 20px; }
  .hero__stat:nth-child(3) { border-left: 0; }
  .hero__stat:nth-child(n + 3) { border-top: 1px solid rgba(13, 33, 23, 0.08); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px; }
  .news-item__date { grid-column: 1 / -1; }
  .river-legend { grid-template-columns: 1fr; }
  .river-legend div { border-left: 0; border-top: 1px solid var(--line); }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; }
  .split__aside .figure + .stats { margin: 0; }
}

@media (max-width: 560px) {
  .brand__text small { display: none; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: 600px; }
  .hero__inner { padding-top: 92px; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(247, 246, 240, 0.98) 0%, rgba(247, 246, 240, 0.92) 48%, rgba(247, 246, 240, 0.55) 72%, rgba(247, 246, 240, 0.15) 100%);
  }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stat strong { font-size: clamp(1.2rem, 5.6vw, 1.6rem); }
  .hero__stat { padding: 14px 16px; }
  .grid--4, .trust, .stats, .stats--grid { grid-template-columns: 1fr; }
  .trust__item,
  .stat,
  .stat:nth-child(3) { border-left: 0; padding-left: 22px; }
  .trust__item { padding-left: 24px; }
  .stat:nth-child(n + 2),
  .hero__stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero__stat:nth-child(n + 3) { border-top: 1px solid rgba(13, 33, 23, 0.08); }
  .hero__stat:nth-child(2n + 1) { border-left: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .trace-input-row { flex-direction: column; }
  .trace-input-row input { width: 100%; }
  .trace-row { grid-template-columns: 1fr; gap: 2px; }
  .section-head { margin-bottom: 32px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item__source { justify-self: start; }
  .cta-band { margin-inline: 12px; }
}

@media (max-width: 400px) {
  .process { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .stat:nth-child(n + 2) { border-top: 1px solid var(--line); }
}

/* ---------- 23b. Grid modifiers ---------- */
.split--wide-right { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }

.stats--2 { grid-template-columns: repeat(2, 1fr); }
.stats--2 .stat:nth-child(odd) { border-left: 0; }
.stats--2 .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

.stats--grid { grid-template-columns: repeat(4, 1fr); }
.stats--grid .stat:nth-child(4n + 1) { border-left: 0; }
.stats--grid .stat:nth-child(n + 5) { border-top: 1px solid var(--line); }

/* 4 列工序（8 道工序分两行） */
.process--4 { grid-template-columns: repeat(4, 1fr); }

/* 2 列紧凑时间线（加入条件等） */
.timeline--compact .timeline__item {
  grid-template-columns: 88px minmax(0, 1fr);
  row-gap: 4px;
  align-items: start;
}
.timeline--compact .timeline__date {
  grid-row: 1 / span 2;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
}
.timeline--compact .timeline__item h3,
.timeline--compact .timeline__item p { grid-column: 2; }

@media (max-width: 1024px) {
  .split--wide-right { grid-template-columns: 1fr; }
  .process--4 { grid-template-columns: repeat(2, 1fr); }
  .stats--grid { grid-template-columns: repeat(2, 1fr); }
  .stats--grid .stat:nth-child(4n + 1) { border-left: 1px solid var(--line); }
  .stats--grid .stat:nth-child(2n + 1) { border-left: 0; }
  .stats--grid .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .stats--grid { grid-template-columns: repeat(2, 1fr); }
  .timeline--compact .timeline__item { grid-template-columns: 1fr; }
  .timeline--compact .timeline__date { grid-row: auto; }
  .timeline--compact .timeline__item h3,
  .timeline--compact .timeline__item p { grid-column: 1; }
}

@media (max-width: 560px) {
  .stats--2 { grid-template-columns: 1fr; }
  .stats--2 .stat { border-left: 0; padding-left: 22px; }
  .stats--2 .stat:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .stats--grid { grid-template-columns: 1fr; }
  .stats--grid .stat { border-left: 0; padding-left: 22px; }
  .stats--grid .stat:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .process--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 23.5 Shop prototype ---------- */
.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 42px;
  height: 42px;
  margin-left: 4px;
  padding: 0 !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
}
.nav__cart:hover { color: var(--green); background: var(--mint); }
.nav__cart.is-active { border-color: var(--green); background: var(--mint); color: var(--green); }
.nav__cart svg { width: 19px; height: 19px; }
.nav__cart-label { display: none; }
.nav__cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.nav__cart-count[hidden] { display: none; }

.shop-bar {
  padding-block: clamp(38px, 5vw, 58px) clamp(32px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.shop-bar--slim { padding-block: 22px; }
.shop-bar__title { margin: 4px 0 0; font-size: clamp(2.1rem, 4vw, 3.1rem); }
.shop-bar__lead { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumb--dark { margin-bottom: 22px; color: var(--muted); }
.breadcrumb--dark a { color: var(--forest); }
.breadcrumb--dark a:hover { color: var(--green); }
.shop-bar--slim .breadcrumb { margin-bottom: 0; }

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(160, 198, 60, 0.45);
  border-radius: 18px;
  background: var(--lime-soft);
  color: #3f4d22;
  font-size: 13.5px;
  line-height: 1.8;
}
.demo-note p { margin: 0; }
.demo-note strong { color: var(--ink); }
.demo-note__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
}
.demo-note__icon svg { width: 18px; height: 18px; }

.shop-entry-section { padding-block: clamp(48px, 6vw, 84px); }
.shop-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(600px 320px at 88% 8%, rgba(201, 233, 104, 0.2), transparent 66%),
    linear-gradient(135deg, #0a2c1a 0%, #14572f 58%, #1e7a44 100%);
  color: var(--white);
}
.shop-entry::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201, 233, 104, 0.2);
  border-radius: 50%;
  pointer-events: none;
}
.shop-entry__content { position: relative; z-index: 2; }
.shop-entry .eyebrow { color: var(--lime); }
.shop-entry .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 233, 104, 0.16); }
.shop-entry .h2 { color: var(--white); }
.shop-entry .lead { color: rgba(255, 255, 255, 0.72); }
.shop-entry .hero__actions { margin-top: 28px; }
.shop-entry .btn--ghost { border-color: rgba(255, 255, 255, 0.34); color: var(--white); }
.shop-entry .btn--ghost:hover { border-color: var(--white); background: var(--white); color: var(--forest); }
.shop-entry__note { margin: 18px 0 0; color: rgba(255, 255, 255, 0.46); font-size: 12px; }
.shop-entry__visual { position: relative; z-index: 2; min-height: 380px; }
.shop-entry__img {
  position: absolute;
  width: clamp(160px, 18vw, 252px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.3);
}
.shop-entry__img--1 { left: 0; top: 62px; transform: rotate(-7deg); }
.shop-entry__img--2 { left: 24%; top: 0; z-index: 2; transform: rotate(2deg); }
.shop-entry__img--3 { left: 50%; top: 68px; transform: rotate(8deg); }

.shop-count {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin: 0 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.shop-count::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 30px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-pill:hover { border-color: var(--green); color: var(--green); }
.filter-pill.is-active { border-color: var(--forest); background: var(--forest); color: var(--white); }
.shop-selects { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-select { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.shop-select select {
  min-height: 38px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mint);
}
.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.15); }
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.product-card__supplier { margin: 0; color: var(--green); font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; }
.product-card h3 { margin: 7px 0 0; font-size: 19px; font-weight: 800; }
.product-card h3 a:hover { color: var(--green); }
.product-card__spec { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.price { display: flex; align-items: baseline; gap: 3px; margin: 0; }
.price strong { color: var(--forest); font-size: 22px; font-weight: 800; }
.price span { color: var(--muted); font-size: 12px; }
.product-card__foot .btn { min-height: 38px; padding: 0 14px; font-size: 12px; }

.shop-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  text-align: center;
}
.shop-empty--big { padding: clamp(60px, 9vw, 96px) 24px; }
.shop-empty h1 { margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3rem); }
.shop-empty p { margin: 0; color: var(--muted); }
.shop-empty .btn { margin-top: 20px; }

.product-section { padding-top: clamp(36px, 5vw, 60px); }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.product-gallery {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--mint);
}
.product-gallery img { display: block; width: 100%; height: auto; transform: scale(1.05); }
.product-gallery__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
}
.product-info h1 { margin: 14px 0 0; font-size: clamp(2.2rem, 4vw, 3.3rem); }
.product-info__supplier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}
.product-info__supplier:hover { background: var(--lime-soft); color: var(--green); }
.product-info__sub { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 24px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.product-price strong { color: var(--forest); font-size: clamp(2.2rem, 3.4vw, 2.8rem); font-weight: 800; }
.product-price > span:first-of-type { color: var(--muted); font-size: 13px; }
.product-price .badge { margin-left: auto; }
.product-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.product-spec > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.product-spec > div:nth-child(odd) { border-right: 1px solid var(--line); }
.product-spec > div:nth-last-child(-n + 2) { border-bottom: 0; }
.product-spec dt { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.product-spec dd { margin: 0; color: var(--text); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.product-batch {
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: #41521f;
  font-size: 12.5px;
}
.product-batch a { color: var(--forest); font-family: var(--font-mono); font-weight: 700; }
.product-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
}
.qty button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 18px;
  cursor: pointer;
}
.qty button:hover { background: var(--mint); }
.qty input {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.product-actions { display: flex; flex: 1; flex-wrap: wrap; gap: 12px; }
.product-actions .btn { flex: 1 1 160px; }
.product-trust {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.product-trust li { display: flex; gap: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.product-trust li span { flex: none; padding-top: 1px; color: var(--green); font-family: var(--font-mono); font-size: 11px; font-weight: 700; }

.product-extra-section { padding-bottom: clamp(36px, 5vw, 60px); }
.product-extra {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.product-desc { margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.product-desc p { margin: 0; }
.product-desc__note { margin-top: 18px; color: var(--muted); font-size: 12px; }
.supplier-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.supplier-card .mark-icon { flex: none; }
.supplier-card h3 { margin: 0 0 8px; font-size: 17px; }
.supplier-card p:last-child { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cart-item__media img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: var(--mint);
  object-fit: cover;
}
.cart-item__supplier { margin: 0 0 3px; color: var(--green); font-size: 11px; font-weight: 700; }
.cart-item h3 { margin: 0; font-size: 16px; }
.cart-item h3 a:hover { color: var(--green); }
.cart-item__meta { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.cart-item__controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.cart-item .qty button { width: 34px; height: 34px; font-size: 15px; }
.cart-item .qty input { width: 36px; height: 34px; }
.cart-item__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  text-decoration: underline;
  cursor: pointer;
}
.cart-item__remove:hover { color: var(--seal); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-item__price { color: var(--forest); font-size: 17px; font-weight: 800; }
.cart-clear {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.cart-clear:hover { color: var(--seal); }
.cart-summary {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cart-summary__title { margin: 0 0 18px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--muted); font-size: 13px; }
.summary-row span:last-child { color: var(--text); font-weight: 600; }
.summary-hint { margin: 8px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
}
.summary-total strong { color: var(--forest); font-size: 26px; font-weight: 800; }
.cart-summary__btn { width: 100%; margin-top: 18px; }
.summary-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.checkout { margin-top: clamp(56px, 8vw, 88px); scroll-margin-top: 100px; }
.checkout-form { gap: 22px; }
.field__error { margin: 0; color: var(--seal); font-size: 11.5px; }
.field__error:empty { display: none; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--seal);
  background: #fff7f5;
  box-shadow: 0 0 0 4px rgba(176, 68, 47, 0.08);
}
.pay-field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.pay-field legend { margin-bottom: 8px; padding: 0; color: var(--forest); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-option:has(input:checked) { border-color: var(--green); background: var(--mint); }
.pay-option input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--green); }
.pay-option span { display: flex; flex-direction: column; gap: 3px; }
.pay-option strong { color: var(--text); font-size: 13px; }
.pay-option small { color: var(--muted); font-size: 11.5px; }
.checkout-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}
.checkout-submit__total { margin: 0; color: var(--muted); font-size: 13px; }
.checkout-submit__total strong { margin-left: 8px; color: var(--forest); font-size: 24px; }
.checkout-submit .btn { min-width: 200px; }

.cart-empty {
  padding: clamp(56px, 8vw, 90px) 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  text-align: center;
}
.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
}
.cart-empty__icon svg { width: 28px; height: 28px; }
.cart-empty h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cart-empty p { margin: 0; color: var(--muted); font-size: 14px; }
.cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

.order-success {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.order-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: 28px;
  font-weight: 800;
}
.order-success h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.order-success__detail {
  display: grid;
  gap: 6px;
  max-width: 460px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}
.order-success__detail p { margin: 0; }
.order-success__detail strong { color: var(--forest); }
.order-success__total { margin-top: 8px !important; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.order-success__total strong { font-size: 20px; }
.order-success__note { max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.order-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  box-shadow: 0 18px 40px rgba(11, 31, 21, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.shop-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-extra { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
  .shop-count { margin-left: 0; }
  .shop-entry { grid-template-columns: 1fr; gap: 36px; }
  .shop-entry__visual { min-height: 340px; }
  .shop-entry__img { width: 210px; }
}

@media (max-width: 860px) {
  .nav__cart {
    width: auto;
    height: auto;
    margin: 0;
    padding: 14px 16px !important;
    justify-content: flex-start;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
  }
  .nav__cart svg { width: 18px; height: 18px; }
  .nav__cart-label { display: inline; font-size: 15px; font-weight: 500; }
  .nav__cart-count { position: static; margin-left: auto; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { max-width: 620px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout { scroll-margin-top: 84px; }
  .shop-entry__visual { min-height: 320px; }
  .shop-entry__img { width: 190px; }
  .shop-entry__img--2 { left: 28%; }
  .shop-entry__img--3 { left: 56%; }
}

@media (max-width: 560px) {
  .shop-bar { padding-block: 30px 34px; }
  .shop-toolbar { align-items: stretch; }
  .shop-selects { width: 100%; }
  .shop-select { flex: 1 1 160px; justify-content: space-between; }
  .shop-select select { flex: 1; }
  .product-grid { grid-template-columns: 1fr; }
  .product-spec { grid-template-columns: 1fr; }
  .product-spec > div:nth-child(odd) { border-right: 0; }
  .product-spec > div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .product-spec > div:last-child { border-bottom: 0; }
  .product-buy { align-items: stretch; }
  .product-actions { flex-basis: 100%; }
  .product-card__body { padding: 18px 18px 20px; }
  .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .cart-item__media img { width: 76px; height: 76px; }
  .cart-item__right {
    grid-column: 2;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }
  .checkout-submit { flex-direction: column; align-items: stretch; }
  .checkout-submit .btn { width: 100%; }
  .order-success { padding: 32px 20px; }
  .shop-entry { padding: 26px 22px 30px; }
  .shop-entry__visual { min-height: 240px; margin-top: 6px; }
  .shop-entry__img { width: 138px; border-radius: 14px; }
  .shop-entry__img--1 { top: 40px; }
  .shop-entry__img--2 { left: 30%; }
  .shop-entry__img--3 { left: 60%; top: 44px; }
  .shop-entry .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- 23c. Stacked tables on narrow screens ---------- */
@media (max-width: 860px) {
  .table-wrap.is-labeled {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .table-wrap.is-labeled table { min-width: 0; width: 100%; }
  .table-wrap.is-labeled thead { display: none; }
  .table-wrap.is-labeled tbody,
  .table-wrap.is-labeled tr { display: block; width: 100%; }
  .table-wrap.is-labeled tbody tr {
    margin-bottom: 10px;
    padding: 12px 16px 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  .table-wrap.is-labeled tbody tr:hover { background: var(--white); }
  .table-wrap.is-labeled td {
    position: relative;
    display: block;
    padding: 8px 0 8px 92px;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
    line-height: 1.75;
  }
  .table-wrap.is-labeled tbody tr td:last-child { border-bottom: 0; }
  .table-wrap.is-labeled td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 8px;
    width: 80px;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.95;
    letter-spacing: 0.02em;
  }
  .table-wrap.is-labeled caption { padding: 0 0 12px !important; }
}

/* ---------- 24. Accounts, auth, checkout gate, admin ---------- */

/* hidden 属性优先于 .form 等 display 规则 */
[hidden] { display: none !important; }

.nav__account { position: relative; }
.nav__account[hidden] { display: none; }
.nav__account::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--leaf);
  vertical-align: 2px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.is-loading { cursor: progress; }

.form-alert {
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid rgba(30, 122, 68, 0.2);
  border-radius: 13px;
  background: var(--mint);
  color: var(--forest);
  font-size: 13px;
  line-height: 1.75;
}
.form-alert--success {
  border-color: rgba(30, 122, 68, 0.22);
  background: var(--mint);
  color: var(--forest);
}
.form-alert--error {
  border-color: rgba(176, 68, 47, 0.25);
  background: rgba(176, 68, 47, 0.07);
  color: #8c3524;
}
.form-alert--warning {
  border-color: rgba(223, 165, 58, 0.32);
  background: rgba(223, 165, 58, 0.1);
  color: #7a520d;
}
.form-alert--info {
  border-color: var(--line-strong);
  background: var(--cream);
  color: var(--muted);
}
.form-alert strong { color: var(--ink); }

.account-loading {
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.account-loading::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--leaf);
  animation: sldm-pulse 1.2s var(--ease) infinite;
}
@keyframes sldm-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
  cursor: pointer;
}
.check-field input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--green);
}
.check-field small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}
.check-field a { color: var(--green); border-bottom: 1px solid rgba(30, 122, 68, 0.3); }
.check-field--terms { background: var(--mint); }

/* 24a. 登录 / 注册 */
.auth-section {
  padding-block: clamp(44px, 6vw, 82px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 233, 104, 0.24), transparent 34%),
    linear-gradient(180deg, var(--mint), var(--cream) 62%);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.auth-aside { padding-top: 6px; }
.auth-aside__title {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.auth-aside .lead { max-width: 540px; margin: 22px 0 0; }
.auth-points {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  max-width: 540px;
}
.auth-points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.auth-points span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.auth-aside__note {
  max-width: 520px;
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--leaf);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.auth-card {
  width: 100%;
  max-width: 540px;
  justify-self: end;
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.auth-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}
.auth-card__lead { margin: 8px 0 24px; color: var(--muted); font-size: 13.5px; }
.auth-form.form {
  gap: 17px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.auth-form__submit { width: 100%; margin-top: 4px; }
.auth-switch {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.auth-switch a { color: var(--green); font-weight: 700; border-bottom: 1px solid rgba(30, 122, 68, 0.3); }

/* 24b. 我的账户 */
.account-hero,
.admin-hero {
  position: relative;
  padding-block: clamp(34px, 4vw, 48px) clamp(44px, 5vw, 64px);
  border-radius: 0 0 clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px);
  background:
    radial-gradient(circle at 82% 12%, rgba(201, 233, 104, 0.18), transparent 40%),
    linear-gradient(120deg, var(--forest), var(--ink));
  color: var(--white);
  overflow: hidden;
}
.account-hero h1,
.admin-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
}
.account-hero .eyebrow,
.admin-hero .eyebrow { color: var(--lime); }
.account-hero .eyebrow::before,
.admin-hero .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 233, 104, 0.16); }
.account-hero__lead,
.admin-hero__lead {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.9;
}
.account-section { padding-top: clamp(36px, 5vw, 60px); }
.account-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.account-side { position: sticky; top: 94px; }
.profile-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.profile-card h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  word-break: break-word;
}
.profile-card__phone {
  margin: 6px 0 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}
.profile-card__actions { display: grid; gap: 10px; margin-top: 22px; }
.profile-card__actions .btn { width: 100%; }
.account-side__note {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(30, 122, 68, 0.12);
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}
.account-side__note p { margin: 0 0 10px; }
.account-side__note .link-arrow { font-size: 12px; }
.account-main { display: grid; gap: 20px; min-width: 0; }
.account-panel {
  padding: clamp(20px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.account-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.account-panel__head .eyebrow { margin-bottom: 8px; }
.account-panel__head h2 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.account-panel__actions { display: flex; justify-content: flex-start; }
.account-panel .form {
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.account-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  vertical-align: 3px;
}

.orders-list { display: grid; gap: 14px; }
.order-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.order-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.order-card__no { margin: 0; color: var(--forest); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.order-card__date { margin: 3px 0 0; color: var(--muted); font-size: 11.5px; }
.order-items { margin: 14px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 13px;
}
.order-item__name { min-width: 0; }
.order-item__name small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.order-item__qty { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.order-item__price { color: var(--forest); font-weight: 700; white-space: nowrap; }
.order-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.order-card__total { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.order-card__total strong { color: var(--forest); font-size: 17px; }
.order-card__foot .btn { margin-left: auto; }
.order-detail { margin-top: 10px; color: var(--muted); font-size: 12px; }
.order-detail summary { cursor: pointer; color: var(--green); font-weight: 600; }
.order-detail p { margin: 6px 0 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}
.status-pill--pending { background: rgba(223, 165, 58, 0.16); color: #7a520d; }
.status-pill--confirmed { background: rgba(62, 162, 92, 0.15); color: #1d6b3f; }
.status-pill--shipped { background: rgba(43, 95, 138, 0.13); color: #285a83; }
.status-pill--completed { background: var(--forest); color: var(--white); }
.status-pill--cancelled { background: rgba(13, 33, 23, 0.08); color: var(--muted); }

.empty-state {
  padding: clamp(38px, 6vw, 64px) 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}
.empty-state h2,
.empty-state h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.empty-state p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.85; }
.empty-state .eyebrow { margin-bottom: 12px; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.empty-state--small { padding: 28px 20px; }
.empty-state--small h3 { font-size: 1.15rem; }

/* 24c. 结算登录门 */
.checkout-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(30, 122, 68, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--mint), #fbfcf6);
}
.checkout-gate__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  box-shadow: var(--shadow-sm);
}
.checkout-gate__icon svg { width: 22px; height: 22px; }
.checkout-gate__body { flex: 1 1 280px; min-width: 0; }
.checkout-gate__body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.checkout-gate__body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.checkout-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; }
#checkoutStatus { margin-bottom: 14px; }
#checkoutUnavailable,
#checkoutError { margin-bottom: 18px; }
#checkoutForm { scroll-margin-top: 96px; }

/* 24d. 管理后台 */
.admin-section { padding-top: clamp(34px, 4.5vw, 56px); }
.admin-shell { min-width: 0; }
.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-head .eyebrow { margin-bottom: 8px; }
.admin-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  max-width: 100%;
}
.admin-tab {
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.admin-tab:hover { color: var(--green); background: var(--mint); }
.admin-tab.is-active { background: var(--forest); color: var(--white); }
.admin-panel { min-width: 0; }
.admin-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.admin-panel__head .eyebrow { margin-bottom: 8px; }
.admin-panel__head h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  position: relative;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stat-card__label { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.03em; }
.stat-card__value { display: inline-block; margin-top: 8px; color: var(--forest); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.stat-card__unit { margin-left: 5px; color: var(--muted); font-size: 12px; }
.stat-card--pending { border-color: rgba(223, 165, 58, 0.3); background: linear-gradient(160deg, #fffdf6, var(--white)); }
.stat-card--warn { border-color: rgba(176, 68, 47, 0.28); background: linear-gradient(160deg, #fff8f5, var(--white)); }
.stat-card--warn .stat-card__value { color: var(--seal); }
.admin-stats__note { margin: 12px 0 0; }
.admin-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.admin-tips article {
  padding: 20px;
  border: 1px solid rgba(30, 122, 68, 0.12);
  border-radius: var(--radius);
  background: var(--mint);
}
.admin-tips h3 { margin: 0 0 6px; font-size: 1rem; }
.admin-tips p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.admin-select { display: grid; gap: 5px; }
.admin-select span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.admin-select select {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}
.admin-orders { display: grid; gap: 12px; }
.admin-order {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.admin-order__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.admin-order__head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-order__no { color: var(--forest); font-family: var(--font-mono); font-size: 13px; }
.admin-order__meta { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.admin-order__meta strong { color: var(--forest); }
.admin-order .order-items { margin: 12px 0; }
.admin-order__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.admin-editor {
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(30, 122, 68, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 92px;
}
.admin-editor__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.admin-editor__head h3 { margin: 0; font-size: 1.2rem; }
.admin-editor__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.admin-form.form {
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-form textarea { min-height: 96px; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  min-height: 44px;
}
.admin-checks .check-field { padding: 10px 12px; background: var(--cream); }
.admin-table { min-width: 720px; }
.admin-table td { font-size: 13px; }
.stock-low { color: var(--seal); font-weight: 800; }
.admin-table .btn + .btn { margin-left: 4px; }

/* 24e. 条款与隐私 */
.page-hero--compact { padding-block: clamp(56px, 8vw, 92px) clamp(44px, 6vw, 66px); }
.page-hero--compact h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}
.legal-meta {
  position: sticky;
  top: 94px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}
.legal-meta dl { display: grid; gap: 10px; margin: 16px 0; }
.legal-meta dl > div { display: grid; gap: 2px; }
.legal-meta dt { color: var(--muted); font-size: 10.5px; letter-spacing: 0.05em; }
.legal-meta dd { margin: 0; color: var(--text); font-size: 12px; line-height: 1.65; }
.legal-meta .link-arrow { font-size: 12px; }
.legal {
  max-width: 820px;
  padding: clamp(24px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.legal > .form-alert { margin-bottom: 26px; }
.legal h2 {
  margin: 34px 0 10px;
  color: var(--forest);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 12px; color: var(--text); font-size: 13.5px; line-height: 1.95; }
.legal ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--forest); }
.legal a { color: var(--green); border-bottom: 1px solid rgba(30, 122, 68, 0.3); }
.legal code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--mint);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.legal__updated { margin-top: 34px !important; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 12px !important; }

@media (max-width: 1024px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .account-layout { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-tips { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 210px minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .auth-layout { grid-template-columns: 1fr; gap: 26px; }
  .auth-aside { padding-top: 0; }
  .auth-aside__title { font-size: clamp(2rem, 8vw, 3rem); }
  .auth-card { justify-self: stretch; max-width: 620px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; }
  .profile-card__actions { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--3 { grid-template-columns: 1fr; }
  .admin-editor { scroll-margin-top: 80px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-meta { position: static; }
  .legal-meta dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .auth-section { padding-block: 30px 56px; }
  .auth-card { padding: 22px 18px; border-radius: 22px; }
  .auth-points li { grid-template-columns: 34px minmax(0, 1fr); }
  .account-hero h1,
  .admin-hero h1 { font-size: 2rem; }
  .account-panel { padding: 18px 16px; }
  .profile-card__actions { grid-template-columns: 1fr; }
  .order-card__foot { align-items: flex-start; }
  .order-card__total { margin-left: 0; }
  .order-card__foot .btn { margin-left: 0; }
  .checkout-gate { padding: 18px; }
  .checkout-gate__actions { width: 100%; }
  .checkout-gate__actions .btn { flex: 1 1 120px; }
  .admin-tabs { width: 100%; justify-content: space-between; }
  .admin-tab { flex: 1 1 auto; padding: 9px 10px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { padding: 16px; }
  .admin-panel__head { align-items: stretch; }
  .admin-panel__head > .btn { width: 100%; }
  .admin-toolbar { width: 100%; }
  .admin-select { flex: 1 1 160px; }
  .admin-select select { width: 100%; }
  .admin-editor { padding: 18px 16px; }
  .admin-editor__actions .btn { flex: 1 1 130px; }
  .admin-checks { min-height: 0; }
  .legal { padding: 22px 18px; border-radius: 20px; }
  .legal-meta dl { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .admin-stats { grid-template-columns: 1fr; }
  .order-item { grid-template-columns: minmax(0, 1fr) auto; }
  .order-item__price { grid-column: 1 / -1; }
}

/* ---------- 25. Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  body::after { display: none; }
  .topbar, .site-header, .cta-band, .site-footer, .nav-toggle { display: none !important; }
  .hero, .page-hero { min-height: 0; padding: 24px 0; background: #fff; color: #000; }
  .hero__bg, .hero__overlay, .page-hero__bg, .page-hero__overlay { display: none; }
  .hero h1, .page-hero h1 { color: #000; }
  .section, .section--dark, .section--paper2 { background: #fff !important; color: #000 !important; padding-block: 24px; }
  .card, .trust__item, .stats, .news-list, .trace-panel, .form { border: 1px solid #ccc; box-shadow: none; }
  a { text-decoration: underline; }
}
