/* ============================================================
   黄芪源企业官网 · 设计系统
   简约专业 · 中药材品牌 · PC / 移动端自适应
   ============================================================ */

:root {
  --paper: #f3ebd4;
  --surface: #ffffff;
  --ink: #223128;
  --ink-soft: #40564a;
  --muted: #66756c;
  --line: #e3e7e0;
  --line-strong: #ccd6cc;

  --brand-900: #1a514b;
  --brand-800: #1f5d55;
  --brand-700: #276a60;
  --brand-600: #2f7a6e;
  --brand-500: #469189;
  --brand-100: #d5e8e3;
  --brand-50: #ebf4f1;

  --gold: #b05735;
  --gold-deep: #8e4429;
  --gold-bg: #f6e7db;
  --gold-line: #e3c3ad;

  --danger: #b3402f;
  --danger-bg: #fbeeeb;
  --ok: #2e7a6b;
  --ok-bg: #eaf4f0;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(31, 46, 37, 0.05), 0 4px 14px rgba(31, 46, 37, 0.06);
  --shadow-md: 0 6px 22px rgba(31, 46, 37, 0.1);
  --shadow-lg: 0 18px 50px rgba(26, 81, 75, 0.16);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    "SimSun", serif;

  --header-h: 72px;
  --container: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
::selection { background: rgba(47, 122, 110, 0.18); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- 通用布局 ---------- */
.container {
  width: min(var(--container), 100% - clamp(32px, 7vw, 72px));
  margin-inline: auto;
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--brand { background: linear-gradient(135deg, var(--brand-900), var(--brand-700)); color: #f2f6f2; }
.section--line { border-top: 1px solid var(--line); }
.site-main { min-height: 56vh; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head__kicker {
  margin-bottom: 8px; color: var(--gold-deep); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px;
}
.sec-head__kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.55; }
.sec-head__title { font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: 0.01em; }
.sec-head__title em { font-style: normal; color: var(--brand-600); }
.sec-head__sub { margin-top: 8px; color: var(--muted); font-size: 0.96rem; max-width: 620px; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--brand-700); font-weight: 600; font-size: 0.95rem; }
.sec-link svg { transition: transform 0.2s ease; }
.sec-link:hover svg { transform: translateX(3px); }

/* 骨架屏 */
.skeleton { position: relative; overflow: hidden; background: #e9ede8; border-radius: var(--radius-md); min-height: 20px; }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ---------- 按钮 / 徽章 / 标签 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 11px 22px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; line-height: 1.4; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand-700); color: #fff; box-shadow: 0 6px 18px rgba(39, 106, 96, 0.24); }
.btn--primary:hover { background: var(--brand-800); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(176, 87, 53, 0.28); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-50); }
.btn--outline { border-color: var(--line-strong); color: var(--ink-soft); background: transparent; }
.btn--outline:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }
.btn--ghost { color: var(--brand-700); }
.btn--ghost:hover { background: var(--brand-50); }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.875rem; }
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 10px; border-radius: 999px; line-height: 1.5;
}
.tag--hot { color: #8c3b12; background: #fdeadd; }
.tag--new { color: #1a514b; background: #d9efe9; }
.tag--plain { color: var(--muted); background: #eef1ec; }
.tag--outline { color: var(--brand-700); border: 1px solid var(--brand-100); background: var(--brand-50); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand__logo--wide { width: auto; height: 42px; border-radius: 0; box-shadow: none; }
.footer-miniapp { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.footer-miniapp__qr { width: 76px; height: 76px; flex: none; background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(255, 255, 255, 0.35); border-radius: 10px; display: grid; place-items: center; color: #b9cdc1; font-size: 0.72rem; }
.footer-miniapp__qr img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.footer-miniapp__text b { display: block; color: #fff; font-size: 0.9rem; }
.footer-miniapp__text small { display: block; margin-top: 3px; color: #b9cdc1; font-size: 0.72rem; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 1.18rem; letter-spacing: 0.08em; font-family: var(--font-serif); }
.brand__text small { font-size: 0.58rem; letter-spacing: 0.24em; color: var(--brand-600); font-weight: 700; }
.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__link {
  display: block; padding: 9px 15px; border-radius: 999px;
  color: var(--ink-soft); font-size: 0.95rem; font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.site-nav__link.is-active { color: var(--brand-800); background: var(--brand-100); font-weight: 700; }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-700); font-weight: 700; white-space: nowrap; }
.header-phone svg { color: var(--gold); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; gap: 0; }
.nav-toggle__bars { display: grid; gap: 5px; }
.nav-toggle__bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 页面标题条 */
.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(900px 260px at 85% -40%, rgba(214, 158, 120, 0.2), transparent 60%),
    radial-gradient(700px 300px at 0% 0%, rgba(47, 122, 110, 0.1), transparent 55%),
    linear-gradient(180deg, #fbfaf5, var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-head--brand {
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700));
  color: #fff; border-bottom: 0;
}
.page-head__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-family: var(--font-serif); letter-spacing: 0.02em; }
.page-head--brand .page-head__desc { color: rgba(255, 255, 255, 0.82); }
.page-head__desc { margin-top: 10px; max-width: 700px; color: var(--muted); font-size: 1rem; }
.page-head__mascot { position: absolute; right: clamp(16px, 6vw, 88px); bottom: 0; height: clamp(120px, 17vw, 200px); width: auto; pointer-events: none; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22)); }
.page-head__mascot--flip { transform: scaleX(-1); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a:hover { color: var(--brand-700); }
.crumbs__sep { opacity: 0.55; }

/* ---------- 首页 ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f2f6f0, var(--paper) 72%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 340px at 88% 8%, rgba(47, 122, 110, 0.12), transparent 60%),
    radial-gradient(520px 300px at 4% 92%, rgba(176, 87, 53, 0.12), transparent 60%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(30px, 5vw, 70px); align-items: center;
  padding-block: clamp(40px, 6vw, 84px);
}
.hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: 0.03em; line-height: 1.24;
  font-family: var(--font-serif);
}
.hero__title .accent-char { color: var(--brand-600); }
.hero__title .gold-char { color: var(--gold-deep); }
.hero__lead { margin-top: 20px; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); font-size: 0.9rem; }
.hero__fact { display: inline-flex; align-items: center; gap: 9px; }
.hero__fact i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); font-style: normal; color: var(--brand-600); }
.hero__visual { position: relative; }
.hero__visual figure { margin: 0; position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.35; background: var(--brand-100); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 58%; height: 58%;
  border: 1px solid rgba(176, 87, 53, 0.4); border-radius: 24px; z-index: -1;
}
.hero__float {
  position: absolute; left: -16px; bottom: 26px; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.94); padding: 10px 16px 10px 10px; border-radius: 16px;
  box-shadow: var(--shadow-md); font-size: 0.85rem;
}
.hero__float svg { color: var(--brand-600); }
.hero__float b { display: block; font-size: 0.95rem; line-height: 1.3; }
.hero__visual img.hero__mascot { position: absolute; right: -8px; bottom: -12px; width: 120px; height: auto; object-fit: contain; z-index: 2; filter: drop-shadow(0 12px 22px rgba(26, 81, 75, 0.28)); }

/* 数据条 */
.stat-strip { background: var(--brand-900); color: #fff; }
.stat-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 30px; }
.stat { text-align: center; position: relative; padding: 6px 10px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: rgba(255, 255, 255, 0.14); }
.stat__num { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; font-family: var(--font-serif); color: #e7b89a; line-height: 1.2; }
.stat__num span { font-size: 0.6em; margin-left: 2px; }
.stat__label { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); margin-top: 2px; }

/* 图文分栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--brand-100); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--small { max-width: 480px; }
.split__kicker { color: var(--gold-deep); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 12px; }
.split__title { font-size: clamp(1.55rem, 3vw, 2.15rem); font-family: var(--font-serif); }
.split__text { margin-top: 18px; color: var(--ink-soft); }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks__icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--brand-600); }
.ticks b { display: block; }
.ticks span { color: var(--muted); font-size: 0.9rem; }

/* 分类入口 */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.category-card__media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--brand-50); }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.category-card:hover .category-card__media img { transform: scale(1.06); }
.category-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; }
.category-card__name { font-weight: 700; }
.category-card__arrow { color: var(--brand-600); transition: transform 0.2s ease; flex: none; }
.category-card:hover .category-card__arrow { transform: translateX(4px); }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-50); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.product-card__title { font-size: 1.02rem; line-height: 1.5; }
.product-card__title:hover { color: var(--brand-700); }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.product-card__meta span { display: inline-flex; align-items: center; gap: 4px; background: #f3f5f1; padding: 2px 8px; border-radius: 6px; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.product-card__spec { color: var(--brand-700); font-size: 0.86rem; font-weight: 600; }
.product-card__link { font-size: 0.88rem; color: var(--gold-deep); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }

/* 资讯卡片 */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-card__media { aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--brand-50); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.article-card__title { font-size: 1.06rem; line-height: 1.55; }
.article-card__title a:hover { color: var(--brand-700); }
.article-card__excerpt { color: var(--muted); font-size: 0.9rem; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__more { margin-top: auto; font-size: 0.88rem; font-weight: 600; color: var(--brand-700); display: inline-flex; gap: 5px; align-items: center; }

/* CTA 横幅 */
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(34px, 5vw, 60px);
  background: linear-gradient(115deg, var(--brand-900), var(--brand-600) 70%, var(--brand-500));
  color: #fff; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band__inner::before {
  content: ""; position: absolute; right: -70px; top: -90px; width: 280px; height: 280px;
  border-radius: 50%; border: 34px solid rgba(255, 255, 255, 0.06);
}
.cta-band__inner::after {
  content: ""; position: absolute; right: 90px; bottom: -120px; width: 240px; height: 240px;
  border-radius: 50%; border: 26px solid rgba(231, 184, 154, 0.14);
}
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.6vw, 2rem); position: relative; z-index: 1; }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, 0.78); max-width: 620px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- 企业简介页 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qual-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 20px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; }
.qual-card__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-deep); background: var(--gold-bg); }
.qual-card b { display: block; font-size: 1rem; }
.qual-card span { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 3px; }
.qual-card__date { margin-top: 10px; font-size: 0.78rem; color: var(--brand-600); background: var(--brand-50); padding: 2px 8px; border-radius: 999px; display: inline-block; }

.gallery-3 { display: grid; grid-template-columns: 1.16fr 0.84fr; gap: 18px; }
.gallery-3__stack { display: grid; gap: 18px; }
.gallery-card { position: relative; border-radius: 20px; overflow: hidden; background: var(--brand-100); box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(26, 81, 75, 0.72); color: #fff;
  font-size: 0.84rem; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.gallery-3 .gallery-card--a { aspect-ratio: 4 / 4.6; }
.gallery-3 .gallery-card--b { aspect-ratio: 4 / 2.15; }
.gallery-3 .gallery-card--c { aspect-ratio: 4 / 2.15; }

/* 特色列 */
.feat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.feat-card__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--brand-700); background: var(--brand-50); margin-bottom: 16px; }
.feat-card b { font-size: 1.06rem; font-family: var(--font-serif); }
.feat-card p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* ---------- 产品列表 ---------- */
.filterbar { position: sticky; top: calc(var(--header-h) + 12px); z-index: 20; }
.filterbar__card { background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px 18px; backdrop-filter: blur(8px); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-row + .filter-row { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.filter-label { min-width: 52px; font-size: 0.86rem; font-weight: 700; color: var(--muted); }
.chip-filter {
  padding: 7px 16px; border-radius: 999px; font-size: 0.9rem; color: var(--ink-soft);
  background: #f1f3ef; border: 1px solid transparent; transition: all 0.16s ease;
}
.chip-filter:hover { background: var(--brand-50); color: var(--brand-700); }
.chip-filter.is-active { background: var(--brand-700); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(39, 106, 96, 0.2); }
.filter-row--tools { align-items: stretch; }
.searchbox { display: flex; margin-left: auto; width: min(340px, 100%); border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.searchbox:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(70, 145, 137, 0.14); }
.searchbox input { flex: 1; min-width: 0; border: 0; padding: 10px 8px 10px 18px; background: transparent; }
.searchbox input:focus { outline: none; }
.searchbox button { padding: 8px 18px; color: #fff; background: var(--brand-700); border-radius: 999px; margin: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.searchbox button:hover { background: var(--brand-800); }
.result-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 18px; color: var(--muted); font-size: 0.92rem; }
.result-meta b { color: var(--ink); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager__btn { min-width: 42px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 600; transition: all 0.15s ease; }
.pager__btn:hover:not(:disabled) { border-color: var(--brand-600); color: var(--brand-700); }
.pager__btn.is-current { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.pager__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty__icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--line-strong); }

/* ---------- 产品详情 ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { display: grid; gap: 14px; }
.gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--brand-50); box-shadow: var(--shadow-sm); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; }
.gallery__thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: 0.85; transition: opacity 0.2s ease, border-color 0.2s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--brand-600); opacity: 1; }
.detail-info h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-family: var(--font-serif); line-height: 1.45; }
.detail-info__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-info__chips .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; color: var(--ink-soft); }
.chip svg { color: var(--brand-600); }
.detail-info__intro { margin-top: 18px; color: var(--ink-soft); font-size: 0.97rem; }
.shop-block { margin-top: 24px; background: var(--gold-bg); border: 1px solid var(--gold-line); border-radius: 18px; padding: 18px 18px 16px; }
.shop-block__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.shop-block__title svg { color: var(--gold); }
.shop-block__note { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
.shop-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.shop-btn {
  display: inline-flex; align-items: center; gap: 9px; border-radius: 12px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--gold-line); font-weight: 600; font-size: 0.92rem;
  color: var(--ink-soft); transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.shop-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.shop-btn svg { flex: none; }
.shop-btn__glyph {
  flex: none; width: 30px; height: 30px; display: inline-grid; place-items: center;
  border-radius: 50%; background: var(--glyph-bg, var(--brand-600)); color: #fff;
  font-size: 0.82rem; font-weight: 700; line-height: 1;
}
.shop-btn__note { margin-left: auto; font-size: 0.72rem; color: var(--muted); font-weight: 400; }
.detail-main { margin-top: clamp(44px, 6vw, 72px); display: grid; gap: 44px; }
.info-block { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.info-block__head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfcf9, var(--surface)); }
.info-block__head h2 { font-size: 1.14rem; font-family: var(--font-serif); }
.info-block__head .no { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--brand-700); font-size: 0.82rem; font-weight: 700; }
.info-block__body { padding: 20px 22px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spec-item { background: var(--brand-50); border-radius: 12px; padding: 12px 14px; }
.spec-item small { display: block; color: var(--muted); font-size: 0.76rem; }
.spec-item strong { font-size: 0.94rem; font-weight: 700; }
.info-text { color: var(--ink-soft); font-size: 0.96rem; line-height: 2; white-space: pre-line; }
.craft-step { display: grid; gap: 10px; }
.craft-step li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.craft-step li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-top: 11px; }

/* ---------- 溯源查询 ---------- */
.trace-hero { position: relative; overflow: hidden; }
.trace-hero__inner { position: relative; text-align: center; padding-block: clamp(34px, 5vw, 60px); }
.trace-mark { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; background: var(--brand-800); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); }
.trace-hero h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.trace-hero__desc { margin: 10px auto 0; max-width: 640px; color: var(--muted); }
.trace-search { margin: clamp(22px, 4vw, 34px) auto 0; max-width: 720px; }
.trace-search__box { display: flex; gap: 8px; background: #fff; border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.trace-search__box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 16px; font-size: 1.02rem; }
.trace-search__box input:focus { outline: none; }
.trace-search__box .btn { border-radius: 16px; }
.trace-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.trace-examples button { color: var(--brand-700); background: rgba(47, 122, 110, 0.08); padding: 4px 12px; border-radius: 999px; font-size: 0.82rem; }
.trace-examples button:hover { background: rgba(47, 122, 110, 0.16); }
.trace-loading { margin-top: 30px; text-align: center; color: var(--muted); }

.trace-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(18px, 3vw, 30px); }
.trace-result { margin-top: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.warn-banner {
  display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 16px 18px;
  background: var(--danger-bg); border: 1px solid #f0cbc2; color: var(--danger);
}
.warn-banner svg { flex: none; margin-top: 2px; }
.warn-banner b { display: block; font-size: 1.02rem; }
.warn-banner p { font-size: 0.9rem; margin-top: 3px; }
.ok-banner { display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 16px 18px; background: var(--ok-bg); border: 1px solid #c4e3de; color: var(--ok); }
.ok-banner b { font-size: 1.02rem; display: block; }
.ok-banner p { margin-top: 3px; font-size: 0.9rem; }
.trace-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.trace-code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(1.05rem, 2.4vw, 1.4rem); letter-spacing: 0.05em; color: var(--brand-800); font-weight: 700; word-break: break-all; }
.trace-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.86rem; }
.trace-meta span { display: inline-flex; align-items: center; gap: 6px; }
.timeline { margin-top: 22px; display: grid; gap: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--brand-700); box-shadow: 0 4px 10px rgba(39, 106, 96, 0.2); z-index: 1; }
.timeline__item:nth-child(odd) .timeline__icon { background: var(--gold); box-shadow: 0 4px 10px rgba(176, 87, 53, 0.22); }
.timeline__body { background: #fbfcf9; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; }
.timeline__body h3 { font-size: 0.96rem; display: flex; align-items: center; gap: 8px; }
.timeline__body h3 em { font-style: normal; font-weight: 400; font-size: 0.74rem; color: var(--muted); margin-left: auto; }
.timeline__body p { margin-top: 6px; color: var(--ink-soft); font-size: 0.92rem; white-space: pre-line; }
.trace-tip { margin-top: 26px; display: flex; gap: 10px; color: var(--muted); font-size: 0.85rem; background: #f4f5f1; border-radius: 14px; padding: 12px 16px; }

/* ---------- 资讯详情 ---------- */
.article-detail { max-width: 760px; margin-inline: auto; }
.article-detail__head { text-align: center; }
.article-detail__title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.5; }
.article-detail__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
.article-detail__cover { margin-top: 26px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 7.4; background: var(--brand-50); }
.article-detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 42px); }
.article-body p { margin-bottom: 1.1em; color: var(--ink-soft); line-height: 2.05; font-size: 1rem; }
.article-body h3 { font-size: 1.15rem; margin: 1.6em 0 0.6em; font-family: var(--font-serif); }
.article-back { margin-top: 34px; display: flex; justify-content: center; }

/* ---------- 招商合作 ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.policy-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); opacity: 0; transition: opacity 0.2s ease; }
.policy-card:hover::before { opacity: 1; }
.policy-card__no { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); line-height: 1; font-weight: 800; }
.policy-card b { display: block; margin-top: 12px; font-size: 1.1rem; }
.policy-card p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.policy-card ul { margin-top: 14px; display: grid; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.policy-card li { display: flex; gap: 8px; }
.policy-card li::before { content: "·"; color: var(--brand-600); font-weight: 800; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 18px; text-align: center; }
.step-card__no { width: 40px; height: 40px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); }
.step-card b { font-size: 0.98rem; }
.step-card p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.table th { background: var(--brand-50); color: var(--brand-800); font-weight: 700; white-space: nowrap; }
.table td { color: var(--ink-soft); }
.table tr:last-child td { border-bottom: 0; }
.table .num { color: var(--gold-deep); font-weight: 700; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.info-card { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.info-item__icon { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--brand-700); background: var(--brand-50); }
.info-item b { display: block; font-size: 0.95rem; }
.info-item span { color: var(--muted); font-size: 0.9rem; word-break: break-all; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(20px, 3.4vw, 34px); }
.form-card h2 { font-family: var(--font-serif); font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.field label i { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 14px;
  background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(70, 145, 137, 0.13); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.8rem; min-height: 1.2em; }
.field-hint { color: var(--muted); font-size: 0.78rem; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.notice { display: flex; gap: 12px; border-radius: 14px; padding: 14px 16px; font-size: 0.92rem; }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--err { background: var(--danger-bg); color: var(--danger); }
.notice svg { flex: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-900); color: rgba(240, 244, 240, 0.82); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr; gap: clamp(24px, 4vw, 48px); padding-block: clamp(42px, 6vw, 66px) 34px; }
.footer-brand .brand__text strong, .footer-brand .brand__text small { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 300px; color: rgba(240, 244, 240, 0.66); }
.footer-col h3 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col ul { display: grid; gap: 9px; font-size: 0.9rem; }
.footer-col a:hover { color: #e7b89a; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; color: #e7b89a; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 18px; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.82rem; color: rgba(240, 244, 240, 0.5); }

/* ---------- Toast / 返回顶部 ---------- */
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; width: min(360px, calc(100vw - 36px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-600); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 0.9rem; animation: toast-in 0.25s ease; }
.toast--err { border-left-color: var(--danger); }
.toast--warn { border-left-color: var(--gold); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.back-top { position: fixed; right: 20px; bottom: 24px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: none; place-items: center; background: var(--brand-700); color: #fff; box-shadow: var(--shadow-md); }
.back-top.is-visible { display: grid; }
.back-top:hover { background: var(--brand-800); }

/* 引导 / 无脚本 */
.boot { min-height: 60vh; display: grid; place-items: center; align-content: center; gap: 14px; }
.boot__mark { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 24px; color: #fff; font-size: 2.2rem; font-family: var(--font-serif); background: linear-gradient(135deg, var(--brand-600), var(--brand-900)); box-shadow: var(--shadow-lg); animation: boot-pulse 1.6s ease infinite; }
@keyframes boot-pulse { 50% { transform: scale(1.05); } }
.boot__text { color: var(--muted); letter-spacing: 0.2em; font-size: 0.86rem; }
.noscript { text-align: center; padding: 18px; color: #fff; background: var(--brand-800); }
.error-page { min-height: 52vh; display: grid; place-items: center; text-align: center; gap: 10px; }
.error-page h1 { font-size: 3rem; font-family: var(--font-serif); color: var(--brand-700); }
.error-page p { color: var(--muted); max-width: 460px; }
.error-page__mark {
  width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 6px;
  border-radius: 24px; color: var(--gold); background: var(--gold-bg);
  border: 1px solid var(--gold-line); box-shadow: var(--shadow-sm);
}
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .site-header__inner { min-height: 64px; }
  :root { --header-h: 64px; }
  .header-phone { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .gallery__main { aspect-ratio: 4 / 3.2; }
  .footer-grid, .site-footer__top { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(320px, 86vw);
    background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%);
    visibility: hidden; transition: transform 0.28s ease, visibility 0.28s;
    display: flex; flex-direction: column;
    padding: 84px 24px 30px; margin: 0; border-left: 1px solid var(--line);
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav__list { flex-direction: column; gap: 6px; }
  .site-nav__link { font-size: 1.05rem; padding: 12px 16px; }
  .site-nav__overlay { position: fixed; inset: 0; background: rgba(18, 32, 24, 0.42); z-index: 70; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  .site-nav__overlay.is-open { opacity: 1; pointer-events: auto; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid, .article-grid, .qual-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feat-row { grid-template-columns: 1fr; }
  .stat-strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stat:nth-child(3)::before { display: none; }
  .stat-strip__grid .stat:nth-child(even)::before { display: none; }
  .gallery-3 { grid-template-columns: 1fr; }
  .gallery-3 .gallery-card--a { aspect-ratio: 4 / 3; }
  .filterbar { position: static; }
  .result-meta { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__float { left: 10px; bottom: 14px; }
  .hero__visual img.hero__mascot { width: 84px; right: -4px; bottom: -8px; }
  .shop-links { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .trace-hero__inner { padding-top: 30px; }
  .timeline__item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .timeline__icon { width: 40px; height: 40px; border-radius: 13px; }
  .timeline__item::before { left: 19px; }
}

@media (max-width: 540px) {
  :root { --header-h: 58px; }
  .container { width: calc(100% - 28px); }
  .site-header__inner { min-height: 58px; gap: 10px; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__logo--wide { width: auto; height: 32px; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 1.06rem; }
  .btn--lg { padding: 12px 22px; }
  .product-grid, .article-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card__body { padding: 12px 13px 14px; }
  .product-card__title { font-size: 0.92rem; }
  .product-card__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .product-card__meta span { font-size: 0.72rem; }
  .category-card__name { font-size: 0.9rem; }
  .trace-search__box { flex-direction: column; border-radius: 18px; }
  .trace-search__box .btn { width: 100%; border-radius: 13px; }
  .policy-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .page-head { padding-top: 30px; }
  .page-head__mascot { height: 92px; right: 4px; opacity: 0.92; }
  .gallery__thumb { width: 64px; height: 64px; }
  .steps-row { grid-template-columns: 1fr; }
  .searchbox { width: 100%; }
  .filter-row--tools { flex-direction: column; align-items: stretch; }
  .filter-row--tools .btn { justify-content: center; }
  .hero__actions .btn { flex: 1; }
}

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