/*
Theme Name: 大枝普洱 Dazhi Tea
Theme URI: https://dazhi.tea
Author: 云南哪罕农业科技有限公司
Description: 大枝普洱茶品牌营销主题。语义化 HTML5 + Schema.org 结构化数据 + AI 搜索引擎友好（GEO）。适配 AI 爬虫与全文抓取。
Version: 2.16.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dazhi-tea
Tags: custom-menu, custom-logo, featured-images, one-column, translation-ready
*/

:root {
  --c-ink: #2f3a30;          /* 墨绿黑 */
  --c-body: #5a6152;
  --c-green: #4a7c59;        /* 茶青绿 · 主色 */
  --c-green-deep: #2c5f3f;
  --c-gold: #e0a03c;         /* 暖黄 */
  --c-gold-light: #f8d9a2;
  --c-green-light: #b9dcc2;  /* 深底上的浅绿文字 */
  --c-paper: #faf7ee;        /* 暖米纸底 */
  --c-paper-2: #f0f3e2;
  --c-line: #e3e6d3;
  --c-white: #ffffff;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(31, 42, 35, .10);
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--c-body);
  background: var(--c-paper);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.35; font-weight: 700; }
a { color: var(--c-green); text-decoration: none; }
a:hover { color: var(--c-gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.4em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--paper2 { background: var(--c-paper-2); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; letter-spacing: .35em; text-indent: .35em;
  font-size: .8rem; color: var(--c-gold); margin-bottom: 12px; font-weight: 600;
}
.section-head h2 { font-size: 2rem; margin-bottom: 14px; }
.section-head p { color: var(--c-body); }

.btn {
  display: inline-block; padding: 13px 34px; border-radius: 999px;
  background: var(--c-green); color: var(--c-white) !important;
  font-weight: 600; letter-spacing: .08em; border: 1px solid var(--c-green);
  transition: all .25s ease;
}
.btn:hover { background: var(--c-green-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--c-white) !important; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 99;
  background: rgba(250, 247, 241, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-green); color: var(--c-gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 700; font-family: "STKaiti","KaiTi",serif;
}
.brand .logo-text strong { display: block; font-size: 1.15rem; color: var(--c-ink); letter-spacing: .3em; }
.brand .logo-text span { display: block; font-size: .68rem; letter-spacing: .18em; color: var(--c-gold); }
.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  padding: 9px 15px; border-radius: 8px; color: var(--c-ink); font-size: .95rem; font-weight: 500;
}
.main-nav a:hover { background: var(--c-paper-2); color: var(--c-green); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,10,8,.25) 0%, rgba(26,10,8,.62) 78%);
}
.hero .inner { position: relative; z-index: 2; padding: 110px 24px; max-width: 720px; }
.hero .kicker { letter-spacing: .45em; text-indent: .45em; font-size: .85rem; color: var(--c-gold-light); margin-bottom: 20px; font-weight: 600; }
.hero h1 { color: #fff; font-size: 3.1rem; letter-spacing: .06em; margin-bottom: 18px; }
.hero .sub { font-size: 1.15rem; color: rgba(255,255,255,.92); margin-bottom: 34px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 数据条 ---------- */
.facts { background: var(--c-green-deep); color: #fff; padding: 34px 0; }
.facts .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.facts .num { font-size: 1.7rem; font-weight: 700; color: var(--c-gold-light); }
.facts .lbl { font-size: .85rem; opacity: .85; margin-top: 4px; }

/* ---------- 卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 34px 30px; transition: all .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card .tag { display: inline-block; font-size: .75rem; color: var(--c-gold); border: 1px solid var(--c-gold-light); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; letter-spacing: .1em; }
.card p, .card li { font-size: .95rem; }

/* 图片卡 */
.img-card { border-radius: var(--radius); overflow: hidden; background: var(--c-white); border: 1px solid var(--c-line); }
.img-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.img-card .body { padding: 24px 26px; }
.img-card h3 { margin-bottom: 8px; }

/* ---------- 分栏（图 + 文） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: 1.9rem; margin: 10px 0 18px; }
.split .lead { font-size: 1.05rem; margin-bottom: 16px; }

/* ---------- 事实表（AI 友好） ---------- */
.fact-table { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.fact-table caption, .reg-table caption { display: block; caption-side: top; text-align: left; padding-bottom: 12px; color: var(--c-gold); font-size: .85rem; letter-spacing: .1em; line-height: 1.7; }
.fact-table th, .fact-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.fact-table th { width: 180px; background: var(--c-paper-2); color: var(--c-ink); font-weight: 600; white-space: nowrap; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 12px;
  padding: 20px 26px; margin-bottom: 14px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--c-ink); font-size: 1.05rem; list-style: none; position: relative; padding-right: 28px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--c-gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq .a { margin-top: 12px; color: var(--c-body); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-green-deep); color: rgba(255,255,255,.82); padding: 64px 0 28px; }
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .15em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--c-gold-light); }
.site-footer .brandline strong { color: #fff; letter-spacing: .3em; font-size: 1.1rem; }
.site-footer .brandline .en { display: block; color: var(--c-gold-light); font-size: .72rem; letter-spacing: .2em; margin-top: 4px; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .82rem; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* 视频号动态横幅（哪罕古茶园页 · 显眼位） */
.video-banner {
	display: flex; align-items: center; gap: 16px;
	max-width: 880px; margin: -34px auto 34px; position: relative; z-index: 5;
	padding: 18px 22px; border-radius: 16px;
	background: linear-gradient(135deg, #2c5f3f, #1e4230);
	color: #fff; text-decoration: none;
	box-shadow: 0 14px 34px rgba(20, 40, 26, .30);
	transition: transform .2s ease, box-shadow .2s ease;
}
.video-banner:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(20, 40, 26, .38); color: #fff; }
.video-banner .vb-play {
	flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
	background: #fff; color: #2c5f3f;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
	animation: vb-pulse 2s ease-in-out infinite;
}
.video-banner .vb-play svg { width: 22px; height: 22px; margin-left: 3px; }
@keyframes vb-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
	50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}
.video-banner .vb-body { flex: 1; min-width: 0; }
.video-banner .vb-body strong { display: block; font-size: 1.08rem; letter-spacing: .04em; }
.video-banner .vb-body em { display: block; font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.video-banner .vb-go { flex: 0 0 auto; font-size: .88rem; color: #f8d9a2; letter-spacing: .06em; white-space: nowrap; }
@media (min-width: 701px) {
	/* 桌面端收敛尺寸（用户反馈太大太夸张） */
	.video-banner { max-width: 640px; margin: -28px auto 30px; padding: 12px 18px; gap: 12px; border-radius: 13px; box-shadow: 0 10px 24px rgba(20, 40, 26, .24); }
	.video-banner .vb-play { flex: 0 0 40px; width: 40px; height: 40px; }
	.video-banner .vb-play svg { width: 17px; height: 17px; }
	.video-banner .vb-body strong { font-size: .96rem; }
	.video-banner .vb-body em { font-size: .78rem; margin-top: 2px; }
	.video-banner .vb-go { font-size: .8rem; }
}
@media (max-width: 700px) {
	.video-banner { margin-top: -26px; padding: 14px 16px; gap: 12px; }
	.video-banner .vb-play { flex-basis: 44px; width: 44px; height: 44px; }
	.video-banner .vb-body strong { font-size: .98rem; }
	.video-banner .vb-body em { font-size: .76rem; }
	.video-banner .vb-go { display: none; }
}

/* 视频展示网格（视频号动态一览页） */
.video-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px;
}
.video-card {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  text-decoration: none; color: #fff;
  box-shadow: 0 10px 28px rgba(20, 40, 26, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(20, 40, 26, .32); color: #fff; }
.video-card .vc-cover {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #2c5f3f, #1e4230);
}
.video-card .vc-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.video-card .vc-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,34,26,.05), rgba(20,34,26,.42));
}
.video-card .vc-play {
  position: relative; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: #2c5f3f;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  animation: vb-pulse 2s ease-in-out infinite;
}
.video-card .vc-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card .vc-no {
  position: absolute; left: 14px; top: 12px; z-index: 2;
  font-size: .78rem; letter-spacing: .14em; font-weight: 700;
  color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.video-card .vc-body { padding: 14px 16px 15px; background: rgba(0,0,0,.14); }
.video-card .vc-body strong { display: block; font-size: 1rem; letter-spacing: .04em; }
.video-card .vc-body em { display: block; font-style: normal; font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 4px; }
.video-tip { margin-top: 26px; font-size: .84rem; color: var(--c-body); opacity: .8; }
@media (max-width: 560px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .video-card .vc-play { width: 42px; height: 42px; }
  .video-card .vc-play svg { width: 18px; height: 18px; }
  .video-card .vc-body { padding: 10px 12px 12px; }
  .video-card .vc-body strong { font-size: .88rem; }
  .video-card .vc-body em { font-size: .7rem; }
}

/* ---------- 内页 ---------- */
.page-hero { background: var(--c-green-deep); color: #fff; padding: 78px 0; }
.page-hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 10px; }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255,255,255,.7); font-size: .85rem; }
.entry-content { max-width: 800px; margin: 0 auto; padding: 64px 24px; font-size: 1.02rem; }
.entry-content h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.entry-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.entry-content blockquote {
  border-left: 4px solid var(--c-gold); background: var(--c-white);
  padding: 18px 26px; margin: 24px 0; border-radius: 0 12px 12px 0; color: var(--c-ink);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .facts .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .split, .site-footer .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 60px 0; }
}

/* ---------- 背景音乐按钮 ---------- */
.audio-player {
  position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
}
.audio-toggle {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(200, 167, 101, .45);
  background: rgba(29, 61, 44, .93);
  color: var(--c-gold-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  box-shadow: 0 10px 26px rgba(20, 34, 26, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease;
}
.audio-toggle:hover { transform: translateY(-2px); background: var(--c-green-deep); }
.audio-toggle:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.audio-icon { display: flex; }

/* 播放中的跳动条 */
.audio-bars { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.music-on .audio-bars { display: flex; }
.music-on .audio-icon { display: none; }
.audio-bars i {
  display: block; width: 3px; border-radius: 2px;
  background: var(--c-gold-light);
  animation: dazhi-bar 1.05s ease-in-out infinite;
}
.audio-bars i:nth-child(1) { height: 7px;  animation-delay: 0s; }
.audio-bars i:nth-child(2) { height: 14px; animation-delay: .18s; }
.audio-bars i:nth-child(3) { height: 9px;  animation-delay: .36s; }

@keyframes dazhi-bar {
  0%, 100% { transform: scaleY(.55); }
  50%      { transform: scaleY(1); }
}

/* 播放中：外圈呼吸光环 */
.music-on .audio-toggle::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(200, 167, 101, .4);
  animation: dazhi-pulse 2.6s ease-out infinite;
}
@keyframes dazhi-pulse {
  0%   { transform: scale(.95); opacity: .8; }
  70%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* 首次提示气泡 */
.audio-hint {
  background: rgba(250, 247, 241, .97);
  color: var(--c-ink);
  font-size: .82rem; line-height: 1.4;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--c-line);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(20, 34, 26, .10);
  transition: opacity .5s ease, transform .5s ease;
}
.audio-hint.is-hidden { opacity: 0; transform: translateX(10px); pointer-events: none; }

@media (max-width: 600px) {
  .audio-player { right: 16px; bottom: 16px; }
  .audio-hint { display: none; }
  .audio-toggle { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .audio-bars i, .music-on .audio-toggle::after { animation: none; }
}

/* ---------- 品种与参考价 ---------- */
.price-note {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-gold); border-radius: 0 12px 12px 0;
  padding: 18px 24px; margin-bottom: 44px;
}
.price-note strong { display: block; color: var(--c-ink); margin-bottom: 6px; font-size: .98rem; }
.price-note p { font-size: .93rem; margin: 0; }

.price-block { margin-bottom: 48px; }
.price-head {
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 2px solid var(--c-green); padding-bottom: 10px;
}
.price-head h2 { font-size: 1.3rem; margin: 0; }
.price-count {
  font-size: .78rem; color: var(--c-gold);
  border: 1px solid var(--c-gold-light); border-radius: 999px;
  padding: 1px 10px; white-space: nowrap;
}
.price-sub { font-size: .9rem; color: #7a857e; margin: 10px 0 0; }

.price-table {
  width: 100%; border-collapse: collapse; margin-top: 16px;
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 10px; overflow: hidden;
}
.price-table th, .price-table td {
  padding: 13px 16px; text-align: left; font-size: .95rem; font-weight: 400;
  border-bottom: 1px solid var(--c-line);
}
.price-table thead th {
  background: var(--c-paper-2); color: var(--c-ink);
  font-weight: 600; font-size: .84rem; letter-spacing: .05em;
}
.price-table tbody th { font-weight: 600; color: var(--c-ink); }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fcfaf5; }
.price-table .t-right { text-align: right; }
.price-cell .amount { font-weight: 700; color: var(--c-green); font-size: 1.05rem; }
.price-cell .unit { font-size: .78rem; color: #8b948c; margin-left: 4px; }

.price-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  background: var(--c-paper-2); border-radius: 14px; padding: 28px 32px;
}
.price-foot h3 { margin-bottom: 6px; font-size: 1.15rem; color: var(--c-green-deep); }
.price-foot { border-left: 4px solid var(--c-green); }

/* 底部联系方式：绿色圆图标 + 白色字 */
.contact-list { list-style: none; margin: 14px 0 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .92rem; }
.contact-list .c-ico {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	background: var(--c-green); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 8px rgba(20, 40, 26, .28);
}
.contact-list .c-ico svg { width: 15px; height: 15px; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--c-green-light); }
.price-foot p { font-size: .92rem; margin: 0; max-width: 460px; }
.price-foot .btn { margin-right: 8px; }
.screen-reader-text { position: absolute; left: -9999px; }

@media (max-width: 700px) {
  .price-block { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table { min-width: 560px; }
  .price-table th, .price-table td { padding: 11px 10px; font-size: .88rem; }
  .price-foot { padding: 22px; }
}

/* ---------- 资质与认证 ---------- */
.qual-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 28px; margin-top: 38px;
}
.qual-grid-2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.qual-card {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(26,10,8,.06);
}
.qual-figure { margin: 0; border-bottom: 1px solid var(--c-line); }
.qual-figure img { width: 100%; max-height: 380px; object-fit: contain; display: block; background: #fff; }
.qual-body { padding: 22px 26px 26px; }
.qual-body h2 { font-size: 1.12rem; color: var(--c-ink); margin-bottom: 8px; }
.qual-number { color: var(--c-green); font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.qual-issuer { color: #7a857e; font-size: .86rem; margin-bottom: 10px; }
.qual-detail { color: var(--c-body); font-size: .93rem; line-height: 1.8; }
.qual-figure-plain img { max-height: 560px; object-fit: contain; }
.qual-figure-plain figcaption {
  padding: 12px 18px; font-size: .85rem; color: #7a857e;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 700px) {
  .qual-grid { grid-template-columns: 1fr; }
}

/* ---------- 品牌图册 ---------- */
.gallery-hero { padding-bottom: 64px; }
.gallery-lede {
  max-width: 620px; margin-top: 18px; color: rgba(255,255,255,.82);
  font-size: .98rem; line-height: 1.9;
}

.gallery-filter {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(250, 247, 241, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.gallery-filter .container {
  display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px;
  scrollbar-width: none;
}
.gallery-filter .container::-webkit-scrollbar { display: none; }
.gallery-filter a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 999px; font-size: .88rem;
  color: var(--c-body); border: 1px solid var(--c-line); background: var(--c-white);
  white-space: nowrap; transition: all .2s ease;
}
.gallery-filter a span {
  font-size: .72rem; color: var(--c-gold); background: var(--c-paper-2);
  border-radius: 999px; padding: 0 7px; line-height: 1.6;
}
.gallery-filter a:hover { border-color: var(--c-gold-light); color: var(--c-ink); transform: translateY(-1px); }
.gallery-filter a.is-active {
  background: var(--c-green); border-color: var(--c-green); color: #fff; font-weight: 600;
}
.gallery-filter a.is-active span { background: rgba(255,255,255,.22); color: #fff; }
.gallery-filter-buy { margin-left: auto; border-color: var(--c-green) !important; color: var(--c-green) !important; font-weight: 600; }

.gallery-wrap { padding: 64px 0 96px; }
.gallery-group { margin-bottom: 76px; scroll-margin-top: 140px; }
.gallery-group-head {
  display: flex; gap: 20px; align-items: flex-start;
  border-bottom: 2px solid var(--c-green); padding-bottom: 16px; margin-bottom: 28px;
}
.gallery-index {
  font-size: .78rem; letter-spacing: .1em; color: var(--c-gold);
  border: 1px solid var(--c-gold-light); border-radius: 999px;
  padding: 2px 10px; margin-top: 8px; flex: 0 0 auto;
}
.gallery-group-head h2 { font-size: 1.5rem; margin-bottom: 6px; }
.gallery-group-head p { font-size: .95rem; color: #7a857e; margin: 0; }

.gallery-grid { columns: 3; column-gap: 22px; }
.gallery-card {
  break-inside: avoid; margin: 0 0 22px;
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px rgba(26,10,8,.05);
  transition: transform .28s ease, box-shadow .28s ease;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,10,8,.12); }
.gallery-open {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; position: relative; overflow: hidden;
}
.gallery-open img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery-card:hover .gallery-open img { transform: scale(1.03); }
.gallery-zoom {
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29,61,44,.72); color: #fff;
  opacity: 0; transform: translateY(6px); transition: all .25s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.gallery-card:hover .gallery-zoom { opacity: 1; transform: translateY(0); }
.gallery-card figcaption { padding: 16px 18px 18px; }
.gallery-card h3 { font-size: 1rem; margin-bottom: 7px; }
.gallery-card p { font-size: .88rem; line-height: 1.75; color: var(--c-body); }
.gallery-use { display: block; margin-top: 10px; font-size: .74rem; color: #9aa39b; letter-spacing: .02em; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(14, 22, 17, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; animation: lb-in .22s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { max-width: 1080px; max-height: 100%; display: flex; flex-direction: column; align-items: center; margin: 0; }
.lightbox img {
  max-width: 100%; max-height: 74vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  object-fit: contain;
}
.lightbox figcaption { text-align: center; margin-top: 20px; max-width: 620px; }
.lightbox figcaption h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.lightbox figcaption p { color: rgba(255,255,255,.76); font-size: .92rem; line-height: 1.8; }
.lb-count { display: block; margin-top: 10px; font-size: .78rem; color: var(--c-gold-light); letter-spacing: .1em; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 22px; right: 24px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

body.lb-open { overflow: hidden; }

/* 图册底部 CTA */
.gallery-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  background: var(--c-green-deep); color: #fff; border-radius: 18px; padding: 36px 40px;
}
.gallery-cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.gallery-cta p { color: rgba(255,255,255,.78); font-size: .93rem; max-width: 460px; margin: 0; }
.gallery-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .gallery-grid { columns: 2; }
}
@media (max-width: 640px) {
  .gallery-grid { columns: 1; }
  .gallery-filter { top: 60px; }
  .gallery-filter-buy { display: none; }
  .gallery-wrap { padding: 44px 0 70px; }
  .gallery-group { margin-bottom: 52px; }
  .lightbox { padding: 18px; }
  .lightbox img { max-height: 62vh; }
  .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 1.6rem; top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .gallery-cta { padding: 26px 22px; }
}

/* ---------- 公司介绍（关于大枝） ---------- */
.about-hero { padding-bottom: 66px; }
.about-lede { max-width: 640px; margin-top: 16px; color: rgba(255,255,255,.82); font-size: .98rem; line-height: 1.9; }

.about-wrap { padding: 70px 0 96px; }
.about-story { max-width: 760px; margin-bottom: 76px; }
.about-story h2 { font-size: 1.7rem; margin-bottom: 18px; }
.about-story p { margin-bottom: 16px; font-size: 1.02rem; }
.about-story blockquote {
  border-left: 4px solid var(--c-gold); background: var(--c-white);
  padding: 20px 26px; border-radius: 0 12px 12px 0; margin-top: 26px;
}
.about-story blockquote p { font-size: 1.05rem; color: var(--c-ink); margin-bottom: 8px; }
.about-story cite { font-style: normal; font-size: .9rem; color: #7a857e; }

.about-reg { margin-bottom: 80px; }
.about-reg .eyebrow {
  display: inline-block; letter-spacing: .35em; text-indent: .35em;
  font-size: .8rem; color: var(--c-gold); font-weight: 600; margin-bottom: 10px;
}
.about-reg h2 { font-size: 1.7rem; }
.about-reg-note { font-size: .9rem; color: #7a857e; margin-bottom: 28px; }
.about-reg-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 36px; align-items: start;
}
.reg-table {
  width: 100%; border-collapse: collapse; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; font-size: .93rem;
}
.reg-table th, .reg-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.reg-table tbody tr:last-child th, .reg-table tbody tr:last-child td { border-bottom: 0; }
.reg-table th { width: 38%; font-weight: 600; color: var(--c-ink); background: var(--c-paper-2); white-space: nowrap; }
.reg-table code {
  font-family: Consolas, "Courier New", monospace; font-size: .9em;
  color: var(--c-green); background: var(--c-paper-2); padding: 2px 8px; border-radius: 6px;
}

.reg-certs { display: flex; flex-direction: column; gap: 22px; }
.cert-card {
  margin: 0; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 18px rgba(26,10,8,.07);
}
.cert-card img { width: 100%; height: auto; display: block; }
.cert-zoom { display: block; cursor: zoom-in; }
.cert-card figcaption { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 3px; }
.cert-card figcaption strong { font-size: .98rem; color: var(--c-ink); display: flex; align-items: center; gap: 8px; }
.cert-card figcaption span { font-size: .86rem; color: var(--c-green); }
.cert-card figcaption em { font-style: normal; font-size: .8rem; color: #9aa39b; }
.cert-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  color: var(--c-gold); border: 1px solid var(--c-gold-light);
  border-radius: 999px; padding: 0 8px; line-height: 1.7; flex: 0 0 auto;
}

.about-team { margin-bottom: 72px; }
.about-cols { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: center; }
.about-col .cert-card--portrait img { max-height: 430px; object-fit: contain; }
.about-col-text .eyebrow {
  display: inline-block; letter-spacing: .35em; text-indent: .35em;
  font-size: .8rem; color: var(--c-gold); font-weight: 600; margin-bottom: 10px;
}
.about-col-text h2 { font-size: 1.55rem; margin-bottom: 14px; }
.about-col-text p { font-size: .98rem; margin-bottom: 12px; }
.about-cert-no { font-size: .86rem; color: var(--c-green); font-weight: 600; }
.about-production {
  margin-top: 24px; border-top: 1px dashed var(--c-line); padding-top: 20px;
}
.about-production h3 { font-size: 1.08rem; margin-bottom: 8px; }
.about-production p { font-size: .93rem; }

@media (max-width: 880px) {
  .about-reg-grid { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .about-col .cert-card--portrait img { max-height: 360px; }
}

/* 导航 11 项防换行：桌面窄屏（901-1199）也改用汉堡菜单，1200 起才铺开横排 */
.main-nav a { white-space: nowrap; padding: 8px 10px; font-size: .86rem; }
@media (min-width: 1200px) {
  .main-nav a { padding: 8px 9px; font-size: .84rem; letter-spacing: .01em; }
}
@media (max-width: 1199px) {
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0; background: var(--c-paper);
    border-bottom: 1px solid var(--c-line); display: none;
    padding: 10px 18px 22px; box-shadow: 0 18px 34px rgba(20, 30, 22, .18);
    animation: nav-drop .22s ease;
  }
  @keyframes nav-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav li { border-bottom: 1px dashed rgba(180, 145, 90, .25); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a {
    display: block; padding: 14px 10px; font-size: 1.05rem;
    border-radius: 8px; color: var(--c-ink); white-space: normal;
  }
  .main-nav a:hover { background: transparent; color: var(--c-green-deep); }
  .main-nav .current-menu-item > a {
    color: var(--c-green-deep); font-weight: 700;
    background: linear-gradient(90deg, rgba(200, 167, 101, .18), transparent);
  }
  /* 菜单按钮：醒目绿色胶囊 + 汉堡图标 */
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 46px; padding: 0 18px;
    background: linear-gradient(135deg, var(--c-green), var(--c-green-deep));
    color: #f3ead6; border: 0; border-radius: 999px;
    font-size: .98rem; letter-spacing: .12em; font-weight: 600;
    box-shadow: 0 4px 14px rgba(20, 45, 32, .32);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:active { transform: scale(.95); }
  .menu-toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
  .menu-toggle .bars i {
    display: block; height: 2px; border-radius: 2px;
    background: #f3ead6; transition: transform .25s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-toggle .menu-toggle-label { line-height: 1; }
}

/* ---------- 大枝系列产品卡 ---------- */
.series-grid { grid-template-columns: repeat(3, 1fr); }
.series-card figure { overflow: hidden; }
.series-card figure img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.series-card:hover figure img { transform: scale(1.04); }
.series-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-top: 12px; font-size: .84rem; color: #7a857e;
}
.series-meta strong { color: var(--c-gold); font-size: .92rem; white-space: nowrap; }
@media (max-width: 980px) { .series-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .series-grid { grid-template-columns: 1fr; } }

/* ---------- PJAX 顶部进度条 ---------- */
#pjax-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10001;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  transform: scaleX(0); transform-origin: left;
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
#pjax-bar.is-active { opacity: 1; animation: pjax-slide 1.1s ease-in-out infinite; }
@keyframes pjax-slide {
  0%   { transform: scaleX(0); }
  60%  { transform: scaleX(.75); }
  100% { transform: scaleX(1); }
}

/* ---------------------------------------------
   微信分享：悬浮按钮已移除（与 AI 客服悬浮球重叠），
   卡片内容仍由 OG 标签 + JS-SDK（如已配置签名）自动生成
   --------------------------------------------- */

/* ---------------------------------------------
   私域入口：右侧固定竖排小标签，悬停/点击展开微信二维码
   --------------------------------------------- */
.qr-side {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	display: flex;
	align-items: center;
	pointer-events: none;
}
.qr-trigger {
	pointer-events: auto;
	writing-mode: vertical-rl;
	letter-spacing: .35em;
	padding: 18px 9px;
	border: 1px solid rgba(180, 145, 90, .55);
	border-right: 0;
	border-radius: 12px 0 0 12px;
	background: linear-gradient(180deg, #2c5f3f, #1e4230);
	color: #f3ead6;
	font-size: .92rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: -4px 6px 18px rgba(30, 66, 48, .3);
	transition: background .2s ease, letter-spacing .2s ease;
}
.qr-trigger:hover,
.qr-side.is-open .qr-trigger {
	background: linear-gradient(180deg, #35724d, #24513a);
	letter-spacing: .5em;
}
.qr-panel {
	pointer-events: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateX(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
	width: 150px;
	margin-right: 6px;
	padding: 12px 12px 10px;
	background: #faf7ee;
	border: 1px solid rgba(180, 145, 90, .45);
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(30, 66, 48, .22);
	text-align: center;
}
.qr-side:hover .qr-panel,
.qr-side.is-open .qr-panel,
.qr-side:focus-within .qr-panel {
	visibility: visible;
	opacity: 1;
	transform: translateX(0);
}
.qr-panel img {
	display: block;
	width: 120px;
	height: 120px;
	margin: 0 auto 8px;
	border-radius: 8px;
}
.qr-panel strong {
	display: block;
	color: #2c5f3f;
	font-size: .88rem;
	letter-spacing: .06em;
}
.qr-panel .qr-num {
	display: block;
	color: #8a7a6e;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.5;
}
.qr-panel .qr-hint {
	display: block;
	color: #9a9080;
	font-size: .74rem;
	letter-spacing: .04em;
}

@media (max-width: 900px) {
	.qr-trigger {
		font-size: .8rem;
		padding: 14px 7px;
	}
	.qr-panel { width: 118px; }
	.qr-panel img { width: 92px; height: 92px; margin-bottom: 6px; }
	.qr-panel strong { font-size: .78rem; }
	.qr-panel .qr-num { font-size: .78rem; }
	.qr-panel .qr-hint { font-size: .68rem; }
}

/* 页脚二维码 */
.footer-qr {
	display: flex;
	align-items: center;
	gap: 14px;
}
.footer-qr img {
	width: 110px;
	height: 110px;
	border-radius: 10px;
	background: #faf7ee;
	padding: 4px;
}
.footer-qr figcaption {
	font-size: .85rem;
	color: rgba(255, 255, 255, .75);
}

/* 联系页二维码 */
.contact-qr {
	margin: 34px auto 0;
	max-width: 380px;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 22px 24px;
	background: #faf7ee;
	border: 1px solid rgba(180, 145, 90, .4);
	border-radius: 16px;
}
.contact-qr img {
	width: 176px;
	height: 176px;
	border-radius: 10px;
}
.contact-qr figcaption strong {
	display: block;
	margin-bottom: 8px;
	color: #2c5f3f;
}
.contact-qr figcaption span {
	color: #6b6152;
	font-size: .92rem;
}
@media (max-width: 480px) {
	.contact-qr { flex-direction: column; text-align: center; }
}

/* 产品卡：产地 / 口感 / 味道 */
.series-facts {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	border-top: 1px dashed rgba(180, 145, 90, .35);
	font-size: .9rem;
	line-height: 1.7;
	color: #8a7a6e;
}
.series-facts li {
	display: flex;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px dashed rgba(180, 145, 90, .25);
}
.series-facts span {
	flex: 0 0 2.6em;
	color: var(--c-gold);
	font-weight: 600;
}

/* ---------------------------------------------
   联系页：寄样 / 买茶 咨询表单
   --------------------------------------------- */
.inquiry-card {
	margin-top: 26px;
	padding: 30px 30px 26px;
	background: var(--c-paper);
	border: 1px solid rgba(180, 145, 90, .35);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(30, 40, 30, .07);
}
.inquiry-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.inquiry-field {
	display: block;
	margin-bottom: 18px;
	border: 0;
	padding: 0;
	min-width: 0;
}
.inquiry-field > span,
.inquiry-field > legend {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	color: var(--c-green);
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .02em;
}
.inquiry-field b { color: #9a6b1f; }
.inquiry-field input[type="text"],
.inquiry-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(180, 145, 90, .45);
	border-radius: 10px;
	background: #fff;
	color: var(--c-ink);
	font-size: .98rem;
	font-family: inherit;
	line-height: 1.6;
	transition: border-color .2s, box-shadow .2s;
}
.inquiry-field input[type="text"]:focus,
.inquiry-field textarea:focus {
	outline: none;
	border-color: var(--c-green);
	box-shadow: 0 0 0 3px rgba(44, 95, 63, .12);
}
.inquiry-field textarea { resize: vertical; }
#dazhi-inquiry-text { background: var(--c-paper-2); font-size: .92rem; }

.inquiry-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}
.inquiry-chip { position: relative; display: inline-flex; }
.inquiry-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.inquiry-chip span {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid rgba(180, 145, 90, .5);
	border-radius: 999px;
	background: #fff;
	color: #5c5346;
	font-size: .9rem;
	cursor: pointer;
	transition: all .18s;
}
.inquiry-chip input:checked + span {
	background: var(--c-green);
	border-color: var(--c-green);
	color: #f3ead6;
}
.inquiry-chip input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(44, 95, 63, .2);
}

.inquiry-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}
.inquiry-actions .btn--gold {
	background: var(--c-green);
	color: #f7f0dd;
	border-color: var(--c-green);
}
.inquiry-actions .btn--ghost {
	background: transparent;
	color: var(--c-green) !important;
	border-color: rgba(44, 95, 63, .35);
}
.inquiry-actions .btn--ghost:hover {
	background: rgba(44, 95, 63, .08);
}
.inquiry-actions button.btn { cursor: pointer; }

.inquiry-status {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: .92rem;
	line-height: 1.6;
	background: rgba(180, 145, 90, .12);
	color: #5c5346;
}
.inquiry-status.is-error { background: rgba(180, 85, 45, .12); color: #9c4520; }
.inquiry-status.is-ok { background: rgba(44, 95, 63, .11); color: var(--c-green); }
.inquiry-status.is-info { background: rgba(44, 95, 63, .07); color: #5a6152; }

.inquiry-result {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px dashed rgba(180, 145, 90, .4);
}
.inquiry-hint {
	margin: 12px 0 0;
	font-size: .88rem;
	color: #6b6152;
}
.inquiry-hint strong { color: var(--c-green); }

/* 本机留言表格（只存在访客浏览器，可导出 CSV） */
.inquiry-log {
	margin-top: 26px;
	padding: 22px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.inquiry-log h3 { font-size: 1.05rem; margin-bottom: 6px; }
.inquiry-log h3 span { color: var(--c-gold); font-weight: 700; }
.inquiry-log-scroll {
	margin: 14px 0 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.inquiry-log-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
	min-width: 580px;
}
.inquiry-log-table th,
.inquiry-log-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--c-line);
	vertical-align: top;
}
.inquiry-log-table th {
	background: var(--c-paper-2);
	font-weight: 600;
	color: var(--c-ink);
	white-space: nowrap;
}
.inquiry-log-table tbody tr:nth-child(even) { background: rgba(20, 34, 26, .018); }
.inquiry-log-table td:nth-child(1) { white-space: nowrap; color: #8b8272; }

@media (max-width: 640px) {
	.inquiry-card { padding: 22px 18px; }
	.inquiry-row { grid-template-columns: 1fr; gap: 0; }
	.inquiry-log { padding: 16px; }
	.inquiry-log-table { min-width: 0; }
	.inquiry-log-table thead { display: none; }
	.inquiry-log-table tbody tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid var(--c-line);
	}
	.inquiry-log-table td {
		display: flex;
		gap: 10px;
		border: 0;
		padding: 3px 0;
		font-size: .9rem;
	}
	.inquiry-log-table td::before {
		content: attr(data-label);
		flex: 0 0 76px;
		color: #8b8272;
	}
}

/* ---------------------------------------------
   手机端：表格改为上下堆叠，避免横向溢出撑破版面
   --------------------------------------------- */
body { overflow-x: hidden; }

@media (max-width: 640px) {
	.fact-table, .reg-table,
	.fact-table tbody, .reg-table tbody,
	.fact-table tr, .reg-table tr,
	.fact-table th, .reg-table th,
	.fact-table td, .reg-table td {
		display: block;
		width: auto !important;
	}
	.fact-table, .reg-table {
		border-radius: 12px;
		overflow: hidden;
	}
	.fact-table tr, .reg-table tr {
		border-bottom: 1px solid var(--c-line);
		padding-bottom: 10px;
	}
	.fact-table tr:last-child, .reg-table tr:last-child { border-bottom: 0; padding-bottom: 0; }
	.fact-table caption, .reg-table caption {
		padding: 14px 16px 4px;
		letter-spacing: .06em;
	}
	.fact-table th, .reg-table th {
		padding: 12px 16px 3px;
		background: transparent;
		border-bottom: 0;
		white-space: normal;
		font-size: .78rem;
		letter-spacing: .08em;
		color: var(--c-gold);
	}
	.fact-table td, .reg-table td {
		padding: 0 16px 12px;
		border-bottom: 0;
		font-size: .95rem;
		line-height: 1.7;
		word-break: break-word;
	}
}

/* ---------- 智能客服「茶小枝」 ---------- */
.ai-fab {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 9990;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	background: linear-gradient(135deg, var(--c-green) 0%, #2c5f3f 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(23, 74, 47, .45);
	transition: transform .2s ease, opacity .2s ease;
}
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab.is-hidden { opacity: 0; pointer-events: none; }
.ai-fab-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--c-gold);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	padding: 2px 6px;
	border-radius: 8px;
}

.ai-panel[hidden] { display: none !important; }
.ai-panel {
	position: fixed;
	left: 16px;
	bottom: 86px;
	z-index: 9991;
	width: min(360px, calc(100vw - 32px));
	max-height: min(560px, calc(100vh - 120px));
	display: flex;
	flex-direction: column;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
	overflow: hidden;
}
.ai-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--c-green) 0%, #2c5f3f 100%);
	color: #fff;
}
.ai-head-t { display: flex; align-items: center; gap: 10px; }
.ai-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .65);
	object-fit: cover;
	flex-shrink: 0;
}
.ai-msg-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	align-self: flex-end;
	flex-shrink: 0;
	margin: 2px 6px 2px 0;
}
.ai-head-name b { display: block; font-size: 1rem; }
.ai-head-t span { font-size: .74rem; opacity: .8; letter-spacing: .04em; }
.ai-close {
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, .85);
	font-size: 16px;
	cursor: pointer;
	padding: 4px 8px;
}
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #faf7f0; }
.ai-msg { display: flex; }
.ai-msg--user { justify-content: flex-end; }
.ai-bubble {
	max-width: 84%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: .92rem;
	line-height: 1.65;
	word-break: break-word;
}
.ai-msg--bot .ai-bubble { background: #fff; border: 1px solid var(--c-line); border-top-left-radius: 4px; }
.ai-msg--user .ai-bubble { background: var(--c-green); color: #fff; border-top-right-radius: 4px; }
.ai-msg--typing .ai-bubble { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.ai-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #9aa39b;
	animation: aiBlink 1.2s infinite;
}
.ai-dot:nth-child(2) { animation-delay: .2s; }
.ai-dot:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%, 70%, 100% { opacity: .3; } 35% { opacity: 1; } }

/* 联网搜索中的提示文字（v2.11.0） */
.ai-search-note {
	font-size: 12px;
	color: #7c8a7f;
	margin-right: 8px;
	letter-spacing: .02em;
}

.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #faf7f0; border-top: 1px solid var(--c-line); }
.ai-chip {
	background: #fff;
	border: 1px solid var(--c-gold-light);
	color: var(--c-ink);
	font-size: .78rem;
	padding: 5px 10px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.ai-chip:hover { background: var(--c-gold-light); transform: translateY(-1px); }

.ai-input { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--c-line); }
.ai-input input {
	flex: 1;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	padding: 9px 12px;
	font-size: .92rem;
	font-family: inherit;
	outline: none;
}
.ai-input input:focus { border-color: var(--c-green); }
.ai-input button {
	background: var(--c-green);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 0 16px;
	font-size: .88rem;
	cursor: pointer;
}
.ai-input button:hover { background: #2c5f3f; }
.ai-note { margin: 0; padding: 6px 12px 8px; font-size: .68rem; color: #9aa39b; text-align: center; background: #fff; }

@media (max-width: 640px) {
	.ai-fab { width: 50px; height: 50px; left: 14px; bottom: 14px; }
	.ai-panel {
		left: 10px;
		right: 10px;
		width: auto;
		bottom: 76px;
		max-height: calc(100vh - 100px);
	}
}

/* =========================================================
 * 古典气质改版 · 小红书向
 * ========================================================= */
:root {
  --c-rouge: #4a7c59;        /* 主绿（兼容旧变量名） */
  --c-rouge-deep: #2c5f3f;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", "Songti SC", serif;
}

/* 标题书卷气：宋体 + 微字距 */
h1, h2, h3, .section-head h2, .hero h1, .page-hero h1 { font-family: var(--serif); font-weight: 600; }
.hero h1, .page-hero h1 { letter-spacing: .12em; }
h2 { letter-spacing: .04em; }

/* 胭脂点缀：眉题与标签 */
.section-head .eyebrow { color: var(--c-rouge); }
.card .tag { color: var(--c-rouge); border-color: var(--c-rouge); }
a:hover { color: var(--c-rouge); }

/* 首屏主理人名片 */
.hero-owner {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 12px; border-radius: 999px;
  background: rgba(250, 247, 241, .12); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.hero-owner img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--c-gold-light); }
.hero-owner strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.02rem; letter-spacing: .08em; }
.hero-owner span { display: block; color: rgba(255, 255, 255, .85); font-size: .85rem; letter-spacing: .02em; }

/* 首屏标题轻描金影 */
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }

/* 卡片与按钮更柔 */
.btn { border-radius: 999px; }
.card { border-radius: 18px; }
.btn--gold { background: linear-gradient(135deg, var(--c-gold), var(--c-rouge)); border: none; }

/* 选中与滚动条的小心思 */
::selection { background: rgba(176, 104, 90, .25); }

/* 图册灯箱标题也用宋体 */
.gallery figcaption strong, .cert-card figcaption strong { font-family: var(--serif); }

/* =========================================================
 * 绿 × 暖黄 改版（茶山向 · 覆盖前面所有配色）
 * ========================================================= */
:root {
  --c-ink: #2f3a30;          /* 墨绿黑 */
  --c-body: #5a6152;         /* 暖灰绿正文 */
  --c-green: #4a7c59;        /* 茶青绿 · 主色 */
  --c-green-deep: #2c5f3f;   /* 深绿（页脚/深色区块） */
  --c-gold: #e0a03c;         /* 暖黄 */
  --c-gold-light: #f8d9a2;
  --c-green-light: #b9dcc2;  /* 深底上的浅绿文字 */   /* 深底上的暖黄 */
  --c-rouge: #4a7c59;
  --c-rouge-deep: #2c5f3f;
  --c-paper: #faf7ee;        /* 暖米纸底 */
  --c-paper-2: #f0f3e2;      /* 淡黄绿分区底 */
  --c-line: #e3e6d3;         /* 黄绿分隔线 */
  --shadow: 0 12px 40px rgba(44, 95, 63, .12);
}

body { background: var(--c-paper); }

/* 按钮：暖黄→茶青 渐变 / 绿底悬停深绿 */
.btn--gold { background: linear-gradient(135deg, #f2c25b, #7fa86b) !important; border: none !important; color: #35402e !important; }
.btn { background: var(--c-green); border-color: var(--c-green); }
.btn:hover { background: var(--c-rouge-deep); border-color: var(--c-rouge-deep); }

/* 深底上的强调字用暖黄 */
.hero .kicker, .facts .num, .page-hero .crumbs a, .page-hero .crumbs span { color: var(--c-gold-light); }

/* logo 圆标：茶青→深绿，字用奶黄 */
.brand .logo-mark { background: linear-gradient(135deg, #4a7c59, #2c5f3f); color: #f8f3dd; }

/* 标题阴影改墨绿，不再死黑 */
.hero h1 { text-shadow: 0 2px 28px rgba(20, 40, 26, .45); }

/* 卡片：黄绿描边 + 绿色悬停阴影 */
.card { border-color: #e4e8d6; }
.card:hover { box-shadow: 0 14px 32px rgba(74, 124, 89, .16); border-color: #c6d6bd; }

/* 标签：淡黄绿底 + 深绿字 */
.card .tag { color: #2c5f3f; border-color: rgba(74, 124, 89, .45); background: #f0f4e6; }

/* 表格表头、区块标题下划线等暖黄点缀 */
.reg-table th[scope="row"] { background: #f2f4e6; }
.eyebrow { color: var(--c-rouge-deep) !important; }

/* 选中色 */
::selection { background: rgba(74, 124, 89, .25); }

/* 页脚/深色区块：深茶绿底 */
.site-footer, .footer { background: linear-gradient(180deg, #2c5f3f, #1e4230); }

/* 茶园首屏：文字靠阴影保清晰 */
.page-hero h1, .page-hero p { text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .45); }
.page-hero .crumbs, .page-hero .crumbs a { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

/* =========================================================
 * 留言区视频解析（2.13）：抖音/快手分享链 → 附视频到留言
 * ========================================================= */
.inquiry-video { margin-top: 10px; }

.iv-probe {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	border: 1px dashed var(--c-gold);
	background: #fdf6e9;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: .85rem;
	color: var(--c-ink);
}

.iv-probe .iv-url {
	font-size: .72rem;
	color: #9aa39b;
	word-break: break-all;
	flex: 1 1 100%;
}

.iv-probe.is-err { border-color: #d9a0a0; background: #fbf0f0; }

.iv-card {
	display: flex;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	background: #fff;
	padding: 10px 12px;
}

.iv-cover {
	width: 64px;
	height: 84px;
	object-fit: cover;
	border-radius: 6px;
	flex: 0 0 auto;
}

.iv-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.iv-meta strong { font-size: .88rem; color: var(--c-ink); }

.iv-meta em {
	font-style: normal;
	font-size: .72rem;
	color: #9aa39b;
}

.iv-meta .iv-url {
	font-size: .7rem;
	color: #9aa39b;
	word-break: break-all;
}

.iv-del {
	margin-left: auto;
	flex: 0 0 auto;
	border: 1px solid var(--c-line);
	background: #fff;
	color: var(--c-body);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
	line-height: 1;
}

.iv-del:hover { border-color: var(--c-gold); color: var(--c-gold); }

.iv-player {
	width: 100%;
	max-width: 420px;
	display: block;
	margin-top: 10px;
	border-radius: 10px;
	background: #000;
	aspect-ratio: 3 / 4;
	object-fit: contain;
}

.iv-hint {
	margin: 6px 0 0;
	font-size: .74rem;
	color: #9aa39b;
}

.iv-log { margin-bottom: 6px; }

.iv-log a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--c-ink);
	border: 1px solid var(--c-line);
	border-radius: 8px;
	padding: 4px 8px 4px 4px;
	background: #fff;
}

.iv-log img {
	width: 34px;
	height: 44px;
	object-fit: cover;
	border-radius: 5px;
}

.iv-log b {
	font-size: .78rem;
	font-weight: 500;
}

.iv-play {
	display: inline-flex;
	width: 34px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: var(--c-paper-2);
	border-radius: 5px;
	color: var(--c-green-deep);
}


/* v2.15.0 私域入口：未解锁时的引导卡片（二维码与号码不再出现在页面源码） */
.contact-unlock {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 26px 0 0;
	padding: 24px 26px;
	border: 1px solid var(--c-line);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--c-paper-2), #fff);
	box-shadow: 0 4px 18px rgba(60, 54, 38, .06);
	cursor: pointer;
}
.contact-unlock-badge {
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--c-gold);
	border-radius: 999px;
	color: var(--c-green-deep);
	font-size: .74rem;
	letter-spacing: .06em;
}
.contact-unlock strong { font-size: 1.05rem; color: var(--c-green-deep); }
.contact-unlock p { margin: 0; line-height: 1.85; font-size: .9rem; opacity: .86; }
@media (max-width: 640px) { .contact-unlock { padding: 18px; } }
