/* GLM: batch-02 — 设计令牌 + 全站样式（分区注释） */

/* ================================================================
   一、设计令牌（全站唯一色值来源）GLM: batch-02
   ================================================================ */
:root {
  /* ---------- 色：宣纸基底 + 墨色层次 + 茶金点缀 ---------- */
  --bg: #F7F3EA;            /* 宣纸底（比原米白略沉，衬托卡片） */
  --bg-deep: #F1EBDF;       /* 段落交替底 */
  --ink: #241F1A;           /* 墨（正文，加深提升对比） */
  --ink-2: #6B6154;         /* 次级文字 */
  --ink-3: #9A9083;         /* 弱文字 / 注释 */
  --brand: #8A6A22;         /* 茶金（主色，提亮增强贵气） */
  --brand-deep: #5E4715;    /* 深金（hover / 强调） */
  --brand-2: #2F6F5E;       /* 茶绿 */
  --accent: #A34A3A;        /* 枣红 */
  --line: #E5D9C5;          /* 分割线 */
  --line-soft: #EFE6D8;     /* 更弱的分隔 */
  --gold: #C9A961;          /* 金线 / 描边高光 */
  --card: #FFFFFF;

  /* ---------- 分层阴影：投影更柔、更有空气感 ---------- */
  --shadow-xs: 0 1px 2px rgba(36, 31, 26, .04);
  --shadow-sm: 0 2px 8px rgba(36, 31, 26, .05);
  --shadow: 0 8px 28px rgba(46, 42, 36, .08);
  --shadow-md: 0 14px 40px rgba(36, 31, 26, .10);
  --shadow-lg: 0 24px 64px rgba(36, 31, 26, .13);
  --shadow-gold: 0 10px 30px rgba(138, 106, 34, .16);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --font-serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", serif;
  --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --maxw: 1200px;
  --pad: 24px;
}

/* ================================================================
   二、全局重置 GLM: batch-02
   ================================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ================================================================
   三、通用布局组件 GLM: batch-02
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 96px var(--pad);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand);
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.3;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 8px;
}

/* ================================================================
   四、按钮系统 GLM: batch-02
   ================================================================ */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--brand);
  color: #FFFFFF;
  border: 2px solid var(--brand);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}

.btn-solid:hover {
  opacity: .88;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.btn-ghost:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--card);
  color: var(--brand-2);
  border: 2px solid var(--card);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.btn-white:hover {
  background: var(--bg);
}

/* ================================================================
   五、卡片系统 GLM: batch-02
   ================================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ================================================================
   六、星级评分 GLM: batch-02
   ================================================================ */
.stars {
  color: var(--brand);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ================================================================
   七、Toast 提示 GLM: batch-02
   ================================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: var(--card);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 10px;
  border-left: 4px solid var(--brand);
  box-shadow: 0 6px 24px rgba(46, 42, 36, .14);
  font-size: 14px;
  font-family: var(--font-sans);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   八、购物车角标 GLM: batch-02
   ================================================================ */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;
  padding: 0 5px;
}

/* ================================================================
   九、Header + 导航 GLM: batch-02
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background .3s ease, box-shadow .3s ease;
}

.header.scrolled {
  background: var(--bg);
  box-shadow: 0 2px 16px rgba(46, 42, 36, .06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
}

.header-logo svg {
  flex-shrink: 0;
}

/* 品牌标识（logo.svg）：header 与 footer 共用，尺寸各自覆盖 */
.header-logo .brand-mark,
.footer-brand-logo .brand-mark {
  flex-shrink: 0;
  display: block;
  width: 30px;
  height: 30px;
}

.footer-brand-logo .brand-mark {
  width: 28px;
  height: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink-2);
  letter-spacing: .03em;
  transition: color .2s ease;
  position: relative;
}

.header-nav a:hover {
  color: var(--brand);
}

/* 导航高亮 GLM: batch-02 */
.header-nav .nav-active {
  color: var(--brand);
  font-weight: 600;
}

.header-nav .nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
  transition: color .2s ease;
}

.cart-btn:hover {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46, 42, 36, .5);
  z-index: 1100;
  opacity: 0;
  transition: opacity .3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--bg);
  z-index: 1101;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right .3s ease;
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-panel a {
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: .03em;
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 24px;
  padding: 4px 8px;
}

/* ================================================================
   十、Hero（首页）GLM: batch-02
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1.25;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--ink-2);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex-shrink: 0;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

/* ================================================================
   十一、信任条（首页）GLM: batch-02 — 浅金底横块打磨
   ================================================================ */
.trust-bar {
  background: #F3EBDD;              /* 浅金底（--brand 10% 透明度效果） */
  padding: 28px var(--pad);         /* 上下 28px */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;                       /* 三项间距 48px */
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;                /* 加粗 */
  font-family: var(--font-sans);
  letter-spacing: .03em;
  position: relative;
}

/* 三项之间细分割线 GLM: batch-02 */
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: var(--line);
}

.trust-item .trust-icon {
  color: var(--brand);
  font-size: 22px;
}

/* ================================================================
   十二、产品系列（首页 4 卡）GLM: batch-02
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

/* 卡片可点区域覆盖图文；加购按钮独立于链接之外，避免误跳转 */
.product-link {
  display: block;
  width: calc(100% + 48px);
  margin: -32px -24px 22px;
}

.product-name a {
  color: inherit;
  transition: color .25s ease;
}

.product-card:hover .product-name a,
.product-name a:hover {
  color: var(--brand);
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-top: auto;
}

.product-visual {
  width: 100%;
  height: 240px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(100% 80% at 50% 10%, #FFFFFF 0%, #FBF8F2 50%, #F3EDE1 100%);
  border-bottom: 1px solid var(--line-soft);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.product-card:hover .product-visual img {
  transform: scale(1.06);
}

.product-visual svg {
  width: 100%;
  height: 100%;
}

.product-type {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brand);
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: .03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 12px;
  line-height: 1.6;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brand-deep);
  letter-spacing: .02em;
  margin-bottom: 0;
}

.product-price .price-unit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-2);
}

.product-add {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  box-shadow: 0 4px 12px rgba(122, 92, 30, .25);
}

.product-add:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.product-add:active {
  transform: scale(.95);
}

/* ================================================================
   十三、品牌故事（首页）GLM: batch-02
   ================================================================ */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(122, 92, 30, .05), rgba(47, 111, 94, .05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-visual svg {
  width: 80%;
  height: 80%;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.35;
}

.story-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}

.story-link {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--brand);
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s ease;
}

.story-link:hover {
  gap: 14px;
}

/* ================================================================
   十四、Tea Finder 引导条（首页）GLM: batch-02
   ================================================================ */
.tea-finder {
  background: var(--brand-2);
  padding: 56px var(--pad);
  text-align: center;
}

.tea-finder-title {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: .02em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.tea-finder-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-sans);
  margin-bottom: 28px;
}

/* ================================================================
   十五、礼盒场景（首页）GLM: batch-02
   ================================================================ */
.gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gift-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gift-visual {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-visual svg {
  width: 100%;
  height: 100%;
}

.gift-title {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: .03em;
  color: var(--ink);
}

.gift-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

.gift-link {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--brand);
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 首页礼盒区 → 礼盒专区页入口 */
.gift-more {
  margin-top: 28px;
  text-align: center;
}

/* ================================================================
   十六、用户之声（首页）GLM: batch-02
   ================================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
  position: relative;
  padding-top: 8px;
}

.review-quote::before {
  content: '\201C';
  font-size: 48px;
  color: var(--brand);
  font-style: normal;
  position: absolute;
  top: -14px;
  left: -4px;
  opacity: .35;
  line-height: 1;
}

.review-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author {
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-sans);
}

/* ================================================================
   十七、Footer（全站）GLM: batch-02
   ================================================================ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 72px var(--pad) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: .04em;
  color: #FFFFFF;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .55);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-sans);
  margin-bottom: 10px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .38);
  font-family: var(--font-sans);
  letter-spacing: .03em;
}

/* ================================================================
   十八、Shop 列表页 GLM: batch-02
   ================================================================ */

/* 页头 */
.shop-hero {
  padding: 120px var(--pad) 48px;
  text-align: center;
  background: var(--bg);
}

.shop-hero-title {
  font-family: var(--font-serif);
  font-size: 40px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.shop-hero-sub {
  font-size: 15px;
  color: var(--ink-2);
  font-family: var(--font-sans);
}

/* 筛选行 */
.shop-filters {
  padding: 0 var(--pad) 32px;
  position: sticky;
  top: 56px;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  flex-shrink: 0;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-tab.active {
  background: var(--brand-2);
  color: #FFFFFF;
  border-color: var(--brand-2);
  font-weight: 600;
}

.filter-sort {
  flex-shrink: 0;
}

.sort-select {
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L2 4h8z' fill='%236B6255'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  outline: none;
}

/* 产品网格 */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 空态 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--ink-2);
  font-size: 16px;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* shop 产品卡 */
.shop-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
  cursor: pointer;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.shop-card-visual {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(122, 92, 30, .03), rgba(47, 111, 94, .03));
}

.shop-card-visual svg {
  width: 100px;
  height: 100px;
}

.shop-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.shop-card-cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  align-self: flex-start;
}

.shop-card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: .03em;
  color: var(--ink);
}

.shop-card-origin {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.5;
}

.shop-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

.shop-card-rating .stars {
  font-size: 12px;
  letter-spacing: 1px;
}

.rating-num {
  font-weight: 600;
  color: var(--ink);
}

.shop-card-flavor {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.shop-card-price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--brand);
  letter-spacing: .02em;
}

.price-unit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
}

.shop-card-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  box-shadow: 0 2px 8px rgba(122, 92, 30, .2);
}

.shop-card-add:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* 奖项小标 */
.shop-card-award {
  font-size: 11px;
  color: var(--brand);
  background: rgba(122, 92, 30, .08);
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
}

/* ================================================================
   十九、Product 详情页 GLM: batch-02
   ================================================================ */

/* 面包屑 */
.breadcrumb {
  padding: 100px 0 24px;
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--ink-2);
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line);
}

/* 双栏布局 */
.detail-section {
  padding: 0 var(--pad) 48px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

/* 网格子项必须可收缩，否则商品图固有宽度会撑破移动端视口 */
.detail-layout > * {
  min-width: 0;
}

/* 左图区 */
.detail-image {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.detail-image svg {
  width: 220px;
  height: 220px;
}

/* 右信息 */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-cat-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  align-self: flex-start;
}

.detail-name {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: .03em;
  color: var(--ink);
  line-height: 1.3;
}

.detail-origin {
  font-size: 14px;
  color: var(--ink-2);
  font-family: var(--font-sans);
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.detail-rating-num {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.detail-flavor {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  font-family: var(--font-serif);
  font-style: italic;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* 奖项内联 */
.detail-award-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

/* 规格选择 */
.detail-spec-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-spec-label {
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-sans);
}

.detail-spec-options {
  display: flex;
  gap: 8px;
}

.spec-capsule {
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all .2s ease;
}

.spec-capsule:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.spec-capsule.active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  font-weight: 600;
}

/* 大价格 */
.detail-price {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--brand);
  letter-spacing: .02em;
}

.detail-price-unit {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 400;
  margin-left: 4px;
}

/* 加购按钮 */
.detail-add-btn {
  width: 100%;
  max-width: 320px;
}

.detail-tea-finder-link {
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  text-decoration: underline;
  transition: color .2s ease;
}

.detail-tea-finder-link:hover {
  color: var(--brand);
}

/* 详情 Tabs */
.detail-tabs-section {
  padding-top: 0;
  padding-bottom: 48px;
}

.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.detail-tab-btn {
  padding: 14px 28px;
  border: none;
  background: none;
  color: var(--ink-2);
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  letter-spacing: .03em;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}

.detail-tab-btn:hover {
  color: var(--brand);
}

.detail-tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 600;
}

.detail-tab-content {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
  max-width: 720px;
}

.detail-tab-content p {
  margin-bottom: 16px;
}

/* 品鉴笔记 */
.tasting-notes {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tasting-notes span {
  background: rgba(122, 92, 30, .05);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-2);
}

/* 冲泡指南 */
.brew-guide {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.brew-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 24px;
  min-width: 140px;
}

.brew-item strong {
  font-size: 12px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brew-item span {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-serif);
}

/* 产地故事 */
.origin-story {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 12px;
}

/* 奖项横条 */
.award-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 24px;
  background: rgba(122, 92, 30, .05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.award-row .award-text {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--brand);
  letter-spacing: .03em;
}

.award-badge-svg {
  flex-shrink: 0;
}

/* 相关推荐网格 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.related-card-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card-img svg {
  width: 100%;
  height: 100%;
}

.related-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: .03em;
  color: var(--ink);
  margin-bottom: 4px;
}

.related-card-price {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--brand);
}

/* 无效 ID 兜底 */
.not-found {
  text-align: center;
  padding: 160px 0 80px;
}

.not-found h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 12px;
}

.not-found p {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

/* ================================================================
   二十、响应式：768px GLM: batch-02
   ================================================================ */
@media (max-width: 768px) {
  .section {
    padding: 64px var(--pad);
  }

  .section-title {
    font-size: 26px;
  }

  /* Header 导航折叠 */
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
  }

  /* Hero */
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    width: 240px;
    height: 240px;
  }

  /* 信任条 */
  .trust-bar .container {
    gap: 28px;
  }

  /* 信任条分割线隐藏 */
  .trust-item:not(:last-child)::after {
    display: none;
  }

  /* 产品网格 */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Shop 网格 */
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-hero {
    padding-top: 100px;
  }

  .shop-hero-title {
    font-size: 30px;
  }

  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-sort {
    align-self: flex-end;
  }

  /* 品牌故事 */
  .story-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* 礼盒 */
  .gift-grid {
    grid-template-columns: 1fr;
  }

  /* 评价 */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Product 页双栏堆叠 */
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-image {
    min-height: 280px;
    padding: 32px;
  }

  .detail-image svg {
    width: 160px;
    height: 160px;
  }

  .detail-name {
    font-size: 24px;
  }

  /* 相关推荐 */
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ================================================================
   二十一、响应式：420px GLM: batch-02
   ================================================================ */
@media (max-width: 420px) {
  body {
    font-size: 14px;
  }

  .section {
    padding: 48px var(--pad);
  }

  .section-title {
    font-size: 22px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-visual {
    width: 180px;
    height: 180px;
  }

  /* 产品单列 */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Shop 单列 */
  .shop-grid {
    grid-template-columns: 1fr;
  }

  /* 评价单列 */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Product 图区更小 */
  .detail-image {
    min-height: 220px;
    padding: 24px;
  }

  .detail-image svg {
    width: 120px;
    height: 120px;
  }

  /* 相关推荐 */
  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Footer 单列 */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar .container {
    gap: 16px;
  }

  .trust-item {
    font-size: 12px;
  }

  .btn-solid,
  .btn-ghost,
  .btn-white {
    padding: 12px 24px;
    font-size: 13px;
  }

  .brewing-guide {
    flex-direction: column;
  }
}

/* ================================================================
   二十二、Tea Finder 茶选测验页 GLM: batch-03
   ================================================================ */

/* 页头 */
.finder-hero {
  padding: 120px var(--pad) 40px;
  text-align: center;
  background: var(--bg);
}

.finder-hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand);
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.finder-hero-title {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.finder-hero-sub {
  font-size: 15px;
  color: var(--ink-2);
  font-family: var(--font-sans);
}

.finder-section {
  padding-top: 32px;
}

/* 进度条 */
.finder-progress {
  max-width: 480px;
  margin: 0 auto 36px;
}

.finder-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.finder-progress-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  transition: width .3s ease;
}

.finder-progress-text {
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  text-align: center;
  letter-spacing: .05em;
}

/* 题目卡片 */
.finder-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  min-height: 280px;
}

.finder-q-title {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
}

.finder-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.finder-option {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-size: 16px;
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: center;
  letter-spacing: .03em;
  transition: all .2s ease;
  min-height: 44px;
}

.finder-option:hover {
  border-color: var(--brand);
  background: rgba(122, 92, 30, .04);
}

.finder-option.selected {
  border-color: var(--brand);
  background: rgba(122, 92, 30, .1);
  color: var(--brand);
  font-weight: 600;
}

/* 结果区 */
.finder-result {
  text-align: center;
  padding: 8px 0;
}

.finder-result-title {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.finder-result-sub {
  font-size: 14px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  line-height: 1.7;
  margin-bottom: 8px;
}

.finder-result-time {
  display: inline-block;
  font-size: 13px;
  color: var(--brand-2);
  font-family: var(--font-sans);
  background: rgba(47, 111, 94, .08);
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.finder-no-result {
  font-size: 14px;
  color: var(--ink-2);
  padding: 24px 0;
}

.finder-no-result a {
  color: var(--brand);
  text-decoration: underline;
}

.finder-result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.finder-result-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
}

.finder-result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.finder-result-visual {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.finder-result-visual svg {
  width: 64px;
  height: 64px;
}

.finder-result-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.finder-result-cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  align-self: flex-start;
}

.finder-result-name {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: .03em;
  color: var(--ink);
}

.finder-result-reason {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.finder-result-price {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--brand);
}

.finder-result-price span {
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  margin-left: 2px;
}

.finder-result-link {
  font-size: 13px;
  color: var(--brand);
  font-family: var(--font-sans);
}

.finder-restart-btn {
  margin-top: 16px;
}

/* ================================================================
   二十三、弹窗体系（购物车 + 结算）GLM: batch-03
   ================================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 42, 36, .55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(46, 42, 36, .2);
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  margin: 0 var(--pad);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: .03em;
  color: var(--ink);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--ink-2);
  padding: 4px 8px;
  line-height: 1;
  transition: color .2s ease;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

/* 购物车条目 */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-spec {
  font-size: 12px;
  color: var(--ink-2);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  min-width: 28px;
  line-height: 1;
}

.qty-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.qty-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  min-width: 24px;
  text-align: center;
}

.cart-item-price {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--brand);
  flex-shrink: 0;
  min-width: 64px;
  text-align: right;
}

.cart-item-del {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  color: var(--ink-2);
  transition: color .2s ease;
  flex-shrink: 0;
}

.cart-item-del:hover {
  color: var(--accent);
}

/* 购物车空态 */
.cart-empty {
  text-align: center;
  padding: 40px 0;
}

.cart-empty p {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 20px;
}

/* 合计行 */
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 8px 0;
}

.cart-total-label {
  font-size: 14px;
  color: var(--ink-2);
  font-family: var(--font-sans);
}

.cart-total-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brand);
  font-weight: 700;
}

.cart-modal-btns {
  display: flex;
  gap: 12px;
}

.cart-checkout-btn {
  flex: 1;
}

.cart-clear-btn {
  flex-shrink: 0;
}

/* 结算弹窗 */
.checkout-modal {
  max-width: 560px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: .03em;
}

.required {
  color: var(--accent);
}

.form-input {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color .2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(122, 92, 30, .08);
}

.form-input.form-error {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 74, 58, .08);
}

.form-textarea {
  resize: vertical;
  min-height: 60px;
}

/* 订单摘要 */
.checkout-summary {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.checkout-summary-title {
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: .05em;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
}

.checkout-total {
  text-align: right;
  font-size: 15px;
  color: var(--ink);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.checkout-total strong {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brand);
}

.checkout-empty {
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
  padding: 20px 0;
}

.checkout-submit-btn {
  width: 100%;
}

/* ================================================================
   二十四、响应式扩展（Tea Finder + 弹窗）GLM: batch-03
   ================================================================ */
@media (max-width: 768px) {
  .finder-hero {
    padding-top: 100px;
  }

  .finder-hero-title {
    font-size: 26px;
  }

  .finder-card {
    padding: 28px 20px;
  }

  .finder-q-title {
    font-size: 20px;
  }

  .finder-option {
    padding: 14px 20px;
    font-size: 15px;
  }

  .finder-result-cards {
    grid-template-columns: 1fr;
  }

  .cart-modal-btns {
    flex-direction: column;
  }

  .cart-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cart-item-price {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .finder-hero-title {
    font-size: 22px;
  }

  .finder-card {
    padding: 20px 16px;
    min-height: 220px;
  }

  .finder-q-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .finder-option {
    padding: 12px 16px;
    font-size: 14px;
  }

  .modal-card {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: 0;
    align-self: flex-end;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 16px 20px;
  }

  .modal-footer {
    padding: 12px 20px;
  }

  .cart-item {
    flex-wrap: wrap;
  }
}

/* ================================================================
   二十五、about.html 品牌故事页 GLM: batch-04
   ================================================================ */

/* ---- 页头 ---- */
.about-hero {
  padding: 120px var(--pad) 60px;
  text-align: center;
  background: var(--bg);
}

.about-hero-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--ink-1);
  margin: 12px 0;
  line-height: 1.3;
}

.about-hero-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto;
}

/* ---- 品牌理念双栏 ---- */
.about-phil-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-phil-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-1);
  margin-bottom: 16px;
}

.about-phil-text .text-accent {
  color: #7A5C1E;
  font-weight: 500;
}

.about-phil-numbers {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid #E0D5C3;
  padding-left: 40px;
}

.about-stat {
  padding: 18px 0;
  border-bottom: 1px solid #EAE4D8;
}

.about-stat:last-child { border-bottom: none; }

.about-stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  color: #7A5C1E;
  line-height: 1.2;
}

.about-stat-plus {
  font-size: 18px;
  color: var(--ink-2);
  font-family: var(--sans);
  margin-left: 4px;
}

.about-stat-label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}

/* ---- 核心产区 6 卡 ---- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.region-card {
  background: #FFFFFF;
  border: 1px solid #EAE4D8;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.region-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46,42,36,.08);
}

.region-visual {
  width: 140px;
  height: 110px;
  margin: 0 auto 16px;
}

.region-visual svg {
  width: 100%;
  height: 100%;
}

.region-name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-1);
  margin-bottom: 4px;
}

.region-type {
  font-size: 12px;
  color: #7A5C1E;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.region-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ---- 制茶工艺时间线 ---- */
.timeline {
  display: flex;
  gap: 0;
  margin-top: 40px;
  position: relative;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.timeline-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #7A5C1E;
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
}

.timeline-line {
  position: absolute;
  top: 21px;
  left: calc(50% + 21px);
  width: calc(100% - 42px);
  height: 2px;
  background: #D4C8B0;
  z-index: 1;
}

.timeline-step:last-child .timeline-line {
  display: none;
}

.timeline-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-1);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ---- 品牌里程碑 ---- */
.milestone-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.milestone-item {
  text-align: center;
  min-width: 140px;
}

.milestone-year {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: #7A5C1E;
  margin-bottom: 8px;
}

.milestone-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ---- 创始人心语 ---- */
.about-founder {
  background: #F7F3EB;
}

.founder-quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.founder-quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 80px;
  color: #7A5C1E;
  opacity: .25;
  line-height: 1;
  margin-bottom: -20px;
}

.founder-quote-text {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.75;
  color: var(--ink-1);
  font-style: italic;
}

.founder-quote-author {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 20px;
  letter-spacing: .05em;
}

/* ---- 六大茶类知识卡 ---- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.culture-card {
  background: #FFFFFF;
  border: 1px solid #EAE4D8;
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.culture-card-badge {
  display: inline-block;
  font-size: 11px;
  color: #7A5C1E;
  border: 1px solid #D4C8B0;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
  letter-spacing: .06em;
}

.culture-card-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-1);
  margin-bottom: 8px;
}

.culture-card-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.culture-card-links {
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid #F0EBE0;
  padding-top: 12px;
}

.culture-card-label {
  color: var(--ink-2);
}

.culture-card-links a {
  color: #7A5C1E;
  text-decoration: underline;
  font-weight: 500;
}

.culture-card-links a:hover {
  color: #2F6F5E;
}

/* ================================================================
   二十六、响应式扩展 — about 页 + 移动端打磨 GLM: batch-04
   ================================================================ */

@media (max-width: 768px) {
  .about-hero-title { font-size: 30px; }
  .about-hero-sub { font-size: 14px; }

  .about-phil-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-phil-numbers {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #E0D5C3;
    padding-top: 28px;
    gap: 20px;
  }

  .about-stat { border-bottom: none; padding: 8px 0; }

  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .about-hero { padding-top: 100px; padding-bottom: 40px; }
  .about-hero-title { font-size: 26px; }

  .about-phil-numbers {
    flex-direction: column;
    gap: 0;
  }

  .about-stat-num { font-size: 28px; }

  /* 产区 1 列 */
  .regions-grid {
    grid-template-columns: 1fr;
  }

  /* 茶类卡 2 列 → 1 列（极窄时） */
  .culture-grid {
    grid-template-columns: 1fr;
  }

  /* 时间线竖排 */
  .timeline {
    flex-direction: column;
    gap: 24px;
  }

  .timeline-step {
    display: flex;
    gap: 16px;
    text-align: left;
    align-items: flex-start;
  }

  .timeline-badge {
    flex-shrink: 0;
    margin: 0;
  }

  .timeline-line {
    position: absolute;
    top: 42px;
    left: 20px;
    width: 2px;
    height: calc(100% - 42px);
  }

  .timeline-title { margin-top: 2px; }

  .milestone-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .founder-quote-text { font-size: 18px; }
}

/* ================================================================
   二十七、真实摄影图替换 + Hero 视差 GLM: batch-05
   ================================================================ */

/* ---------- Hero 全幅摄影背景 + 视差 GLM: batch-05 ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 125%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(250, 246, 239, .95) 0%,
    rgba(250, 246, 239, .62) 38%,
    rgba(250, 246, 239, .12) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  justify-content: flex-start;
}

/* ---------- 各图片容器：img 撑满 + 圆角 + 克制动效 GLM: batch-05 ---------- */
.product-visual,
.shop-card-visual,
.related-card-img,
.finder-result-visual,
.region-visual,
.story-visual {
  overflow: hidden;
}

/* 注意：不要把 .detail-image img 加进这张表。
   .detail-image 是详情页画廊容器，其缩略图 .pd-thumb img 若继承这里的
   width/height:100% 会被撑成容器的高度；旧版的 min-height:400px 更会把
   72px 的缩略图撑到 400px 高，再被 overflow:hidden 裁掉 83%，
   用户只能看到图片的一条，完全看不出是什么茶。pd-* 画廊自带 img 规则。 */
.product-visual img,
.shop-card-visual img,
.related-card-img img,
.finder-result-visual img,
.region-visual img,
.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-visual {
  border-radius: 14px;
}

.region-visual img {
  border-radius: 12px;
  transition: transform .5s ease;
}

.region-card:hover .region-visual img {
  transform: scale(1.05);
}

.story-visual img {
  border-radius: 16px;
}

.product-card {
  transition: transform .35s ease, box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(42, 46, 34, .08);
}

.product-visual img {
  transition: transform .5s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(250, 246, 239, .94) 0%,
      rgba(250, 246, 239, .8) 55%,
      rgba(250, 246, 239, .55) 100%);
  }
}

/* ================================================================
   二十八、Header 微交互 + 礼盒/用户之声 GLM: batch-05-02
   ================================================================ */

/* ---------- Header 滚动压缩 GLM: batch-05-02 ---------- */
.header.scrolled {
  padding: 10px 0;                    /* 原 16px，滚动后压缩为 10px */
}

.header.scrolled .header-logo {
  font-size: 18px;                    /* 原 20px，滚动后微缩 */
}

/* ---------- 节气日期元素 GLM: batch-05-02 ---------- */
.header-date {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--brand);
  font-family: var(--font-sans);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  margin-left: 14px;
  white-space: nowrap;
  transition: opacity .3s ease;
}

.header.scrolled .header-date {
  opacity: 0;                         /* 滚动后淡出 */
}

@media (max-width: 768px) {
  .header-date { display: none; }     /* 移动端隐藏 */
}

/* ---------- 导航 hover 下划线滑入 GLM: batch-05-02 ---------- */
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
  transition: transform .25s ease;
  transform-origin: center;
}

.header-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ---------- 礼盒卡图片（配合第二十七章图片规则） GLM: batch-05-02 ---------- */
.gift-visual {
  border-radius: 14px;
  overflow: hidden;
}

.gift-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gift-card:hover .gift-visual img {
  transform: scale(1.05);
}

/* ================================================================
   二十九、语言切换按钮 GLM: batch-05-03
   ================================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 10px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--ink-2);
  letter-spacing: .05em;
  padding: 2px 4px;
  transition: color .2s ease;
}

.lang-btn:hover { color: var(--brand); }

.lang-btn.lang-active {
  color: var(--brand);
  font-weight: 600;
}

.lang-divider {
  color: var(--line);
  font-size: 12px;
}

@media (max-width: 768px) {
  .lang-switch { display: none; }
}

/* ================================================================
   二十九、武夷岩茶商品上架配套样式
   （列表卡规格副标题 / 图集 / 参数表 / 长图详情）
   ================================================================ */

/* ---------- 列表卡：视觉区放大 + 奖项角标 ---------- */
.shop-card-visual {
  height: 280px;
  position: relative;
  background:
    radial-gradient(100% 80% at 50% 10%, #FFFFFF 0%, #FBF8F2 50%, #F3EDE1 100%);
  border-bottom: 1px solid var(--line-soft);
}

.shop-card-visual .shop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.shop-card:hover .shop-card-visual .shop-card-img {
  transform: scale(1.06);
}

.shop-card-award-row {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.shop-card-award {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(138, 106, 34, .28);
}

/* 卡片整体质感 */
.shop-card {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.shop-card-body {
  padding: 22px;
  gap: 7px;
}

.shop-card-name {
  font-size: 19px;
  letter-spacing: .05em;
}

.shop-card-price {
  font-size: 20px;
}

/* ---------- 列表卡：规格副标题 ---------- */
.shop-card-sub {
  font-size: 12px;
  color: var(--brand);
  letter-spacing: .04em;
  font-family: var(--font-sans);
}

/* ---------- 详情页：主图图集 ---------- */
.detail-image {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
  overflow: visible;
}

.detail-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero .detail-product-img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  display: block;
  background: #FBFAF7;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.gallery-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: var(--brand);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 详情页：副标题 ---------- */
.detail-subtitle {
  font-size: 14px;
  color: var(--brand);
  letter-spacing: .06em;
  font-family: var(--font-sans);
  margin-top: -8px;
}

/* ---------- 打包规格胶囊（长文案换行） ---------- */
.detail-spec-options {
  flex-wrap: wrap;
}

.spec-capsule {
  white-space: normal;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
}

/* ---------- 详情页：价格单位 ---------- */
.detail-price-unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-2);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

/* ---------- 详情页：茶品参数表 ---------- */
.spec-table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.spec-table {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}

.spec-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  font-family: var(--font-sans);
}

.spec-row-k {
  flex: 0 0 72px;
  color: var(--ink-2);
  letter-spacing: .08em;
}

.spec-row-v {
  flex: 1;
  color: var(--ink);
  line-height: 1.6;
}

/* ---------- 详情页：长图详情区 ---------- */
.long-detail-section {
  padding-top: 20px;
}

.long-detail-block + .long-detail-block {
  margin-top: 72px;
}

.long-detail-block .section-title {
  margin-bottom: 32px;
}

/* 长图：两张一行，无缝拼接 */
.long-detail-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  max-width: 1000px;
  margin: 0 auto;
}

.long-detail-pair img {
  width: 100%;
  height: auto;
  display: block;
}

/* 详情切片：单列堆叠 */
.long-detail-stack {
  max-width: 790px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.long-detail-stack img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .spec-table {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .shop-card-visual {
    height: 220px;
  }

  .spec-table-wrap {
    padding: 24px 20px;
  }

  .spec-row-k {
    flex: 0 0 60px;
  }

  .long-detail-pair {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   三十、质感升级（全局组件）
   ================================================================ */

/* ---------- 小标签：金色细线 + 宽字距 ---------- */
.section-label {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  padding-left: 26px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- 区块标题：衬线 + 收紧字距 ---------- */
.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- 卡片：细描边 + 极浅投影 ---------- */
.card {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
}

/* ---------- 主按钮：金色渐变 + 抬升 ---------- */
.btn-solid {
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 40px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, filter .3s ease;
}

.btn-solid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(138, 106, 34, .24);
  filter: brightness(1.04);
}

.btn-solid:hover::after {
  transform: translateX(120%);
}

.btn-solid:active {
  transform: translateY(0);
}

/* ---------- 次级按钮 ---------- */
.btn-ghost {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 32px;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(138, 106, 34, .04);
}

/* ================================================================
   三十一、商品详情页重制（pd-* 命名空间）
   ================================================================ */

/* ---------- 左：画廊 ---------- */
.pd-gallery {
  position: sticky;
  top: 100px;
}

.pd-stage {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #FBF8F2 55%, #F4EEE2 100%);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  overflow: hidden;
}

/* 舞台内的柔光 */
.pd-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 42%, rgba(201, 169, 97, .10), transparent 70%);
  pointer-events: none;
}

.pd-hero {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-hero-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}

.pd-stage:hover .pd-hero-img {
  transform: scale(1.03);
}

.pd-hero-img.is-swapping {
  opacity: 0;
}

/* 角标 */
.pd-stage-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(138, 106, 34, .3);
}

.pd-stage-badge svg {
  width: 11px;
  height: 11px;
}

/* 缩略图 */
.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.pd-thumbs::-webkit-scrollbar {
  height: 3px;
}

.pd-thumbs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.pd-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.pd-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.pd-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;   /* 必须显式归零：否则会被外层 img 规则的 min-height 撑高后裁切 */
  object-fit: cover;
  display: block;
}

/* ---------- 右：信息区 ---------- */
.detail-info {
  gap: 0;
}

.pd-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pd-cat {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  padding: 5px 12px;
  border-radius: 999px;
}

.pd-sku {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-3);
}

.pd-name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink);
}

.pd-subtitle {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--brand);
}

.pd-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .02em;
}

/* 评分 */
.pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.pd-rating .stars {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand);
}

.pd-rating-num {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.pd-rating-count {
  font-size: 12px;
  color: var(--ink-3);
}

/* 风味描述 */
.pd-flavor {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--ink-2);
}

/* 商品标签组（送礼 / 收藏 / 新手友好 …） */
.pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.pd-tag {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201, 169, 97, .06);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-2);
  white-space: nowrap;
}

/* 奖项 */
.pd-award {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 97, .5);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201,169,97,.10), rgba(201,169,97,.03));
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--brand-deep);
}

/* ---------- 价格区 ---------- */
.pd-price-block {
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--brand-deep);
}

.pd-price-cur {
  font-size: 24px;
  margin-right: 2px;
}

.pd-price-note {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-2);
}

/* ---------- 规格选卡 ---------- */
.pd-spec-section {
  margin-top: 26px;
}

.pd-spec-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.pd-spec-hint {
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink-3);
}

.pd-spec-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pd-spec-card {
  position: relative;
  text-align: left;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pd-spec-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.pd-spec-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-sm);
}

.pd-spec-card-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.5;
}

.pd-spec-card-price {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-deep);
}

.pd-spec-card-mark {
  position: absolute;
  top: -1px;
  right: -1px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #FFFFFF;
  background: var(--brand);
  padding: 3px 8px;
  border-radius: 0 var(--radius-sm) 0 var(--radius-sm);
  opacity: 0;
  transition: opacity .2s ease;
}

.pd-spec-card.active .pd-spec-card-mark {
  opacity: 1;
}

/* ---------- 操作区 ---------- */
.pd-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-actions .btn-solid {
  flex: 1 1 220px;
}

/* ---------- 服务承诺 ---------- */
.pd-trust {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(201,169,97,.05), rgba(201,169,97,.01));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-2);
}

.pd-trust-item svg {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  color: var(--brand);
}

/* ---------- 参数表：精致化 ---------- */
.spec-table-section .spec-table-wrap {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  padding: 48px;
}

.spec-table {
  margin-top: 28px;
  gap: 0 56px;
}

.spec-row {
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-row-k {
  position: relative;
  flex: 0 0 96px;
  padding-left: 14px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.spec-row-k::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.spec-row-v {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

/* ---------- 详情 Tabs ---------- */
/* display:flex 来自 1427 行的基础样式；四个 tab 在窄屏需换行，故补 flex-wrap */
.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.detail-tab-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-2);
  background: none;
  border: none;
  padding: 14px 26px;
  cursor: pointer;
  position: relative;
  transition: color .25s ease;
}

.detail-tab-btn::after {
  content: '';
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}

.detail-tab-btn:hover {
  color: var(--ink);
}

.detail-tab-btn.active {
  color: var(--brand-deep);
  font-weight: 600;
}

.detail-tab-btn.active::after {
  transform: scaleX(1);
}

.detail-tab-content {
  padding-top: 32px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--ink-2);
}

/* 品鉴笔记三项 */
.tasting-notes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tasting-notes span {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--ink-2);
  background: linear-gradient(135deg, rgba(201,169,97,.07), rgba(201,169,97,.02));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

/* 冲泡指引 */
.brew-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brew-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  box-shadow: var(--shadow-xs);
}

.brew-item strong {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-3);
}

.brew-item span {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brand-deep);
}

/* ---------- 包装规格 Tab ---------- */
.pkg-note {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pkg-note > p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--ink-2);
}

.pkg-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pkg-specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  box-shadow: var(--shadow-xs);
}

.pkg-specs li span:first-child {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.pkg-specs li span:last-child {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brand-deep);
  white-space: nowrap;
}

/* ---------- 长图册页区 ---------- */
.long-detail-block .section-title {
  font-size: 26px;
}

.long-detail-pair {
  max-width: 1000px;
  gap: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  background: #FFFFFF;
}

.long-detail-stack {
  max-width: 820px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  background: #FFFFFF;
}

/* ---------- 相关推荐 ---------- */
.related-card {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: transform .35s ease, box-shadow .35s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pd-gallery {
    position: static;
  }

  .pd-name {
    font-size: 32px;
  }

  .pd-price {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .pd-stage {
    padding: 20px;
  }

  .pd-name {
    font-size: 28px;
  }

  .pd-price {
    font-size: 30px;
  }

  .pd-spec-options {
    grid-template-columns: 1fr;
  }

  .pd-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spec-table-section .spec-table-wrap {
    padding: 28px 22px;
  }

  .spec-row-k {
    flex: 0 0 68px;
  }

  .tasting-notes,
  .brew-guide {
    grid-template-columns: 1fr;
  }

  .detail-tab-btn {
    padding: 12px 16px;
    letter-spacing: .06em;
  }

  .detail-tab-btn::after {
    left: 16px;
    right: 16px;
  }
}

/* ================================================================
   三十二、礼盒专区页（gift.html）
   ================================================================ */
.gift-count {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-3);
  white-space: nowrap;
}

.gp-scenes-section {
  background: var(--bg-deep);
}

.gp-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gp-scene {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.gp-scene-name {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--ink);
}

.gp-scene-desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
}

.gp-picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.gp-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}

.gp-pick:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.gp-pick-img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-deep);
}

.gp-pick-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gp-pick-name {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-pick-price {
  font-size: 13px;
  color: var(--brand-deep);
  letter-spacing: .04em;
}

.gp-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gp-svc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.gp-svc-icon {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--gold);
}

.gp-svc-name {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--ink);
}

.gp-svc-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ================================================================
   三十三、茶文化页（culture.html）
   ================================================================ */
/* 四列冲泡卡：.brew-guide 基础是 3 列，这里覆盖为 4 列 */
.brew-guide-4 {
  grid-template-columns: repeat(4, 1fr);
}

.brew-note {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* 术语表单列排版（.spec-table 基础是 2 列） */
.gloss-table {
  grid-template-columns: 1fr;
}

.culture-cta .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* about.html 页内的茶文化导流卡 */
.culture-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.culture-cta-text {
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .03em;
  color: var(--ink-2);
}

@media (max-width: 1024px) {
  .gp-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .brew-guide-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gp-scenes,
  .gp-services,
  .brew-guide-4 {
    grid-template-columns: 1fr;
  }

  .gp-scene {
    padding: 26px 22px;
  }
}
