/* ============================================================
   STONEROOT — 首页样式
   仿 gandhanra.art 的 Dawn 主题骨架：
   容器 1300px / 按钮圆角 6px / 标题等宽字体 / 正文 Helvetica
   换品牌色只改下面的 :root 变量
   ============================================================ */

:root {
  /* 品牌色 */
  --ink: #14110f;
  --ink-soft: rgba(20, 17, 15, 0.75);
  --ink-mute: rgba(20, 17, 15, 0.55);
  --paper: #ffffff;
  --stone: #f4f1ec;
  --stone-2: #e8e3da;
  --gold: #b8935a;
  --gold-dark: #8f6f3d;
  --crystal: #7c9ca6;

  /* 尺寸令牌（对齐 Dawn） */
  --page-width: 1300px;
  --gutter: 20px;
  --radius: 6px;
  --radius-lg: 10px;

  /* 字体令牌 */
  --font-heading: "SF Mono", Menlo, Consolas, Monaco, "Liberation Mono", monospace;
  --font-body: Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --shadow-sm: 0 1px 2px rgba(20, 17, 15, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 17, 15, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 17, 15, 0.16);
  --header-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 4.2vw, 46px); }
h2 { font-size: clamp(22px, 2.6vw, 32px); }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding: 54px 0; }
.section--tight { padding: 34px 0; }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { margin: 6px 0 0; max-width: 62ch; color: var(--ink-mute); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink); color: #fff;
  font-family: var(--font-heading); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--stone); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn--block { width: 100%; }
.link-arrow { font-family: var(--font-heading); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ============================================================
   1. 公告栏
   ============================================================ */
.announcement {
  background: var(--ink); color: rgba(255, 255, 255, .82);
  font-size: 12px; letter-spacing: .04em;
}
.announcement__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.announcement__social { display: flex; gap: 12px; align-items: center; }
.announcement__social a { opacity: .7; }
.announcement__social a:hover { opacity: 1; }
.announcement__msg { text-align: center; flex: 1; }
@media (max-width: 989px) { .announcement__social { display: none; } .announcement__msg { text-align: left; } }

/* ============================================================
   2. 信任滚动条（对应参考站的「藏历 banner」位置）
   ============================================================ */
.trust-ticker {
  background: #1a0f00; color: var(--gold);
  border-bottom: 1px solid #3a2a10;
  font-size: 12px; letter-spacing: .05em;
  min-height: 36px; display: flex; align-items: center; justify-content: center;
  gap: 18px; padding: 8px 16px; text-align: center;
}
.trust-ticker__item { display: none; }
.trust-ticker__item.is-active { display: inline; animation: fadeIn .5s ease; }
.trust-ticker a { color: var(--gold); border-bottom: 1px solid rgba(212, 168, 83, .4); white-space: nowrap; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   3. Header + mega menu
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--stone-2);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-heading); font-size: 15px; letter-spacing: .14em; color: var(--ink); }
.brand__tag { display: block; font-size: 10px; letter-spacing: .18em; color: var(--ink-mute); }

.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 9px; font-family: var(--font-heading);
  font-size: 12px; letter-spacing: .02em; color: var(--ink); white-space: nowrap;
}
/* 7 个一级导航 + 语言切换在中等屏宽会挤，逐级收紧 */
@media (max-width: 1500px) {
  .nav__link { padding: 10px 7px; font-size: 11.5px; }
  .site-header__inner { gap: 16px; }
}
@media (max-width: 1360px) {
  .nav__link { padding: 10px 5px; font-size: 11px; letter-spacing: 0; }
  .icon-btn { width: 36px; height: 36px; }
  .lang-switch { margin-right: 0; padding: 2px 3px; }
  .lang-switch__btn { padding: 4px 6px; }
  .site-header__inner { gap: 12px; }
}
.nav__link:hover { color: var(--gold-dark); }
.nav__link::after { content: "▾"; font-size: 8px; opacity: .5; }
.nav__item--plain .nav__link::after { content: none; }

.mega {
  position: absolute; top: 100%; left: -20px;
  min-width: 560px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--stone-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none; gap: 36px;
}
.nav__item:hover .mega, .nav__item:focus-within .mega { display: flex; }
.mega__col { min-width: 160px; }
.mega__title { font-family: var(--font-heading); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.mega__list li + li { margin-top: 7px; }
.mega__list a { font-size: 14px; color: var(--ink-soft); }
.mega__list a:hover { color: var(--gold-dark); }
.mega__promo {
  width: 220px; padding: 14px; border-radius: var(--radius);
  background: var(--stone); font-size: 13px;
}
.mega__promo img { border-radius: 4px; margin-bottom: 10px; }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%; color: var(--ink); position: relative;
}
.icon-btn:hover { background: var(--stone); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #fff; border-radius: 999px;
  font-family: var(--font-heading); font-size: 10px; line-height: 1;
}
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }
@media (max-width: 1240px) { .nav { display: none; } .nav-toggle { display: inline-flex; } }

/* ============================================================
   4. Hero
   ============================================================ */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.62) 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__sub { color: rgba(255,255,255,.86); font-size: 17px; max-width: 54ch; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 13px; }
.hero__badge svg { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 749px) { .hero { min-height: 520px; } .hero__inner { padding-top: 64px; padding-bottom: 64px; } }

/* ============================================================
   5. 信任条（产地透明 / 一物一证 / 源头视频 / 全球配送）
   ============================================================ */
.trust-strip { border-bottom: 1px solid var(--stone-2); background: var(--paper); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__item { padding: 26px 22px; border-right: 1px solid var(--stone-2); }
.trust-strip__item:last-child { border-right: 0; }
.trust-strip__item svg { width: 24px; height: 24px; color: var(--gold-dark); margin-bottom: 10px; }
.trust-strip__item h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.trust-strip__item p { font-size: 13.5px; margin: 0; color: var(--ink-mute); }
@media (max-width: 989px) { .trust-strip__grid { grid-template-columns: repeat(2, 1fr); } .trust-strip__item:nth-child(2) { border-right: 0; } }
@media (max-width: 549px) { .trust-strip__grid { grid-template-columns: 1fr; } .trust-strip__item { border-right: 0; border-bottom: 1px solid var(--stone-2); } }

/* ============================================================
   6. 分类网格（10 个，桌面 5 列）
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card { display: block; }
.cat-card__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone); aspect-ratio: 1 / 1; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__name { font-family: var(--font-heading); font-size: 13.5px; color: var(--ink); margin: 12px 0 4px; }
.cat-card__desc { font-size: 12.5px; color: var(--ink-mute); margin: 0; }
@media (max-width: 989px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 549px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ============================================================
   7. 通用大横幅（礼盒 / 宠物纪念 / 入门套装）
   ============================================================ */
.band { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--stone); }
.band--flip .band__media { order: 2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__body { padding: 58px 56px; display: flex; flex-direction: column; justify-content: center; }
.band__eyebrow { font-family: var(--font-heading); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.band__body h2 { margin-bottom: 14px; }
.band__body p { max-width: 46ch; }
.band__list { margin: 18px 0 26px; }
.band__list li { position: relative; padding-left: 24px; font-size: 14.5px; margin-bottom: 9px; }
.band__list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.band__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 989px) { .band { grid-template-columns: 1fr; } .band--flip .band__media { order: 0; } .band__media img { max-height: 340px; } .band__body { padding: 36px 22px; } }

/* 双栏小横幅（捕光挂饰 / 展示收纳） */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; background: var(--ink); }
.duo__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.duo__body { position: relative; z-index: 2; padding: 32px 30px; color: #fff; }
.duo__body h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.duo__body p { font-size: 14px; opacity: .88; max-width: 40ch; margin-bottom: 16px; }
@media (max-width: 749px) { .duo { grid-template-columns: 1fr; } .duo__card { min-height: 300px; } }

/* ============================================================
   8. 鉴定 / 溯源自证区
   ============================================================ */
.verify { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.verify__steps { counter-reset: step; }
.verify__step { position: relative; padding-left: 46px; margin-bottom: 22px; }
.verify__step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold-dark);
  font-family: var(--font-heading); font-size: 12px;
}
.verify__step h3 { font-size: 15px; margin-bottom: 4px; }
.verify__step p { font-size: 14px; margin: 0; color: var(--ink-mute); }
.verify__media { position: relative; }
.verify__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.verify__float {
  position: absolute; right: -14px; bottom: 26px; width: 250px;
  background: #fff; border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-md);
  font-size: 13px;
}
.verify__float strong { font-family: var(--font-heading); font-size: 12px; letter-spacing: .06em; display: block; margin-bottom: 6px; }
@media (max-width: 989px) { .verify { grid-template-columns: 1fr; gap: 28px; } .verify__float { position: static; width: auto; margin-top: 14px; } }

/* ============================================================
   9. 商品网格（WooCommerce 结构）
   ============================================================ */
ul.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px;
  margin: 0; padding: 0; list-style: none;
}
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products li.product { position: relative; margin: 0; text-align: left; background: none; }
ul.products li.product .woocommerce-LoopProduct-link { display: block; }
.product-card__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--stone); aspect-ratio: 4 / 5; margin-bottom: 14px;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
li.product:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; color: var(--ink); border-radius: 3px;
  font-family: var(--font-heading); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 8px;
}
.product-card__badge--gold { background: var(--gold); color: #fff; }
.product-card__badge--sold { background: var(--ink); color: #fff; }
.product-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
li.product:hover .product-card__quick, li.product:focus-within .product-card__quick { opacity: 1; transform: none; }
.product-card__title, .woocommerce-loop-product__title {
  font-family: var(--font-heading); font-size: 14px; line-height: 1.4;
  color: var(--ink); margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__meta { font-size: 12.5px; color: var(--ink-mute); margin: 0 0 8px; }
.price, .woocommerce-Price-amount {
  font-family: var(--font-heading); font-size: 14px; color: var(--ink);
}
.price del { color: var(--ink-mute); margin-right: 6px; }
.price ins { text-decoration: none; color: var(--gold-dark); }
.product-card__flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 11.5px; color: var(--ink-mute); }
.product-card__flags span::before { content: "•"; margin-right: 5px; color: var(--gold); }
@media (max-width: 989px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 749px) { ul.products { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } .product-card__quick { position: static; opacity: 1; transform: none; margin-top: 10px; } }

/* ============================================================
   10. 博客 / 学习内容
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; }
.post-card__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); margin-bottom: 14px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { font-family: var(--font-heading); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.post-card h3 { font-size: 16px; margin-bottom: 8px; }
.post-card p { font-size: 14px; color: var(--ink-mute); }
@media (max-width: 989px) { .post-grid { grid-template-columns: 1fr; } }

/* ============================================================
   11. 评论
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review-card { background: #fff; border: 1px solid var(--stone-2); border-radius: var(--radius-lg); padding: 22px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.review-card__text { font-size: 14px; margin-bottom: 14px; }
.review-card__who { font-size: 12.5px; color: var(--ink-mute); }
.review-card__who b { color: var(--ink); font-weight: 600; }
.review-card__product { font-size: 12px; color: var(--gold-dark); margin-top: 6px; }
@media (max-width: 989px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 549px) { .review-grid { grid-template-columns: 1fr; } }

/* ============================================================
   12. 订阅 / 弹窗
   ============================================================ */
.newsletter { text-align: center; }
.newsletter__form { display: flex; gap: 10px; max-width: 460px; margin: 20px auto 10px; }
.newsletter__form input {
  flex: 1; min-height: 46px; padding: 0 14px; font: inherit;
  border: 1px solid var(--stone-2); border-radius: var(--radius); background: #fff;
}
.newsletter__form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.newsletter__note { font-size: 12.5px; color: var(--ink-mute); }
@media (max-width: 549px) { .newsletter__form { flex-direction: column; } }

.popup {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(20, 17, 15, .55);
}
.popup.is-open { display: flex; }
.popup__box {
  position: relative; width: min(780px, 100%); background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg);
}
.popup__media img { width: 100%; height: 100%; object-fit: cover; }
.popup__body { padding: 40px 36px; text-align: center; }
.popup__body h2 { font-size: 22px; }
.popup__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); }
.popup__form { display: grid; gap: 10px; margin: 18px 0 12px; }
.popup__form input { min-height: 46px; padding: 0 14px; font: inherit; border: 1px solid var(--stone-2); border-radius: var(--radius); }
@media (max-width: 749px) { .popup__box { grid-template-columns: 1fr; } .popup__media { display: none; } .popup__body { padding: 30px 22px; } }

/* ============================================================
   13. 购物车抽屉（WooCommerce mini-cart 容器）
   ============================================================ */
.cart-drawer { position: fixed; inset: 0; z-index: 210; pointer-events: none; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(20,17,15,.5); opacity: 0; transition: opacity .25s ease; }
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--stone-2); }
.cart-drawer__head h2 { font-size: 15px; margin: 0; letter-spacing: .08em; text-transform: uppercase; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-drawer__foot { padding: 18px 20px; border-top: 1px solid var(--stone-2); }
.cart-drawer__total { display: flex; justify-content: space-between; margin-bottom: 14px; font-family: var(--font-heading); font-size: 14px; }
.cart-empty { text-align: center; color: var(--ink-mute); padding: 40px 0; }

/* WooCommerce mini-cart 元素（将来由 woocommerce_mini_cart() 渲染） */
.widget_shopping_cart_content .cart_item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--stone-2); }
.widget_shopping_cart_content .cart_item img { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; }
.widget_shopping_cart_content .cart_item .quantity { font-size: 13px; color: var(--ink-mute); }

/* ============================================================
   14. 左侧悬浮标（对应参考站 REWARDS）
   ============================================================ */
.side-tab {
  position: fixed; left: 0; top: 42%; z-index: 55;
  writing-mode: vertical-rl; text-orientation: mixed;
  background: var(--gold); color: #fff; border: 0;
  padding: 16px 9px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.side-tab:hover { background: var(--gold-dark); }

/* ============================================================
   15. Footer
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 54px 0 26px; font-size: 14px; }
.site-footer h3 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.footer__brand p { font-size: 13.5px; max-width: 40ch; }
.footer__list li + li { margin-top: 8px; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { opacity: .7; }
.footer__social a:hover { opacity: 1; }
.footer__sub { display: flex; gap: 8px; margin-top: 12px; }
.footer__sub input { flex: 1; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--radius); }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.footer__pay span { font-size: 10px; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; padding: 4px 7px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
@media (max-width: 989px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 549px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   16. WooCommerce 通用兼容层
   （装上 Woo 后这些类会真实出现，样式已经备好）
   ============================================================ */
.woocommerce-notices-wrapper { position: fixed; top: 90px; right: 20px; z-index: 220; max-width: 340px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; padding: 14px 16px; border-radius: var(--radius);
  background: #fff; border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-md); font-size: 13.5px; margin-bottom: 10px;
}
.woocommerce-error { border-left-color: #b23b3b; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: 8px; }
.woocommerce-product-search { display: flex; }
.woocommerce-product-search input[type="search"] { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid var(--stone-2); border-radius: var(--radius) 0 0 var(--radius); font: inherit; }
.woocommerce-product-search button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink); color: #fff; }
.added_to_cart { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--gold-dark); }
.price .from { font-size: 12px; color: var(--ink-mute); }
.onsale { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--gold); color: #fff; font-family: var(--font-heading); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; }
.woocommerce-breadcrumb { font-size: 12.5px; color: var(--ink-mute); padding: 14px 0; }
.star-rating { color: var(--gold); }

/* ============================================================
   17. 移动端导航展开态
   ============================================================ */
@media (max-width: 1240px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 70;
    background: #fff; padding: 18px var(--gutter) 60px; overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--stone-2); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 14px; }
  .mega {
    position: static; display: none; min-width: 0; box-shadow: none;
    border: 0; border-radius: 0; padding: 4px 0 18px; gap: 22px; flex-wrap: wrap;
  }
  .nav__item.is-expanded .mega { display: flex; }
  .mega__promo { width: 100%; }
  .side-tab { display: none; }
}

/* ============================================================
   19. 文化属性模块（寓意标签 / 按需求选 / 开运组合 / 八宅指南）
   ============================================================ */

/* 寓意卡上的五行 + 方位标签 */
.meaning-card__tags { display: flex; gap: 6px; margin: 8px 0 0; flex-wrap: wrap; }
.meaning-card__tags span {
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: var(--stone); color: var(--ink-mute);
}
.meaning-card__text b { color: var(--ink); font-weight: 600; }

/* 按需求选 */
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.need-card {
  display: block; padding: 24px 22px 22px;
  border: 1px solid var(--stone-2); border-radius: var(--radius-lg); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.need-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.need-card h3 { font-size: 17px; margin-bottom: 6px; }
.need-card__pos {
  font-family: var(--font-heading); font-size: 11.5px; letter-spacing: .06em;
  color: var(--gold-dark); margin-bottom: 12px;
}
.need-card__text { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 14px; }
.need-card__price { font-family: var(--font-heading); font-size: 13px; color: var(--ink); margin: 0; }
@media (max-width: 989px) { .need-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 549px) { .need-grid { grid-template-columns: 1fr; } }

/* 开运组合 */
.bundle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bundle-card {
  display: grid; grid-template-columns: 42% 1fr;
  background: #fff; border: 1px solid var(--stone-2); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .25s ease, transform .25s ease;
}
.bundle-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bundle-card__media { background: var(--stone); }
.bundle-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; }
.bundle-card__body h3 { font-size: 18px; margin-bottom: 8px; }
.bundle-card__items {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .02em;
  color: var(--gold-dark); margin-bottom: 12px; line-height: 1.7;
}
.bundle-card__text { font-size: 13.5px; color: var(--ink-mute); }
.bundle-card__price { margin: auto 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bundle-card__price .woocommerce-Price-amount { font-size: 20px; }
.bundle-card__save { font-size: 11.5px; color: var(--gold-dark); }
@media (max-width: 989px) { .bundle-grid { grid-template-columns: 1fr; } }
@media (max-width: 549px) { .bundle-card { grid-template-columns: 1fr; } .bundle-card__media { aspect-ratio: 16/10; } }

/* 八宅指南 */
.bazhai { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bazhai__col { border: 1px solid var(--stone-2); border-radius: var(--radius-lg); padding: 22px 24px; background: #fff; }
.bazhai__col--good { border-top: 3px solid var(--gold); }
.bazhai__col--bad { border-top: 3px solid var(--ink); }
.bazhai__col h3 { font-size: 15px; margin-bottom: 16px; }
.bazhai__col ul li { padding: 12px 0; border-top: 1px solid var(--stone); }
.bazhai__col ul li:first-child { border-top: 0; padding-top: 0; }
.bazhai__col li b { display: block; font-family: var(--font-heading); font-size: 13px; color: var(--ink); margin-bottom: 3px; }
.bazhai__col li span { font-size: 13px; color: var(--ink-mute); }

.bazhai__rules { margin-top: 26px; }
.bazhai__rules h3 { font-size: 15px; margin-bottom: 12px; }
.bazhai__rules ol { counter-reset: r; padding: 0; list-style: none; }
.bazhai__rules li {
  position: relative; padding-left: 38px; margin-bottom: 12px; font-size: 14px; color: var(--ink-soft);
  counter-increment: r;
}
.bazhai__rules li::before {
  content: counter(r); position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold-dark); font-family: var(--font-heading); font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.bazhai__rules li b { color: var(--ink); }

.callout {
  margin-top: 24px; padding: 20px 24px;
  background: #1a0f00; color: #e8d3a8; border-radius: var(--radius-lg);
}
.callout p { margin: 0; font-size: 14.5px; }
.callout b { color: var(--gold); }
@media (max-width: 749px) { .bazhai { grid-template-columns: 1fr; } }

/* ============================================================
   20. 三大分类大卡（替代原来的 10 格小卡）
   ============================================================ */
.bigcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bigcat {
  display: flex; flex-direction: column;
  border: 1px solid var(--stone-2); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}
.bigcat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bigcat__media { aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.bigcat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bigcat:hover .bigcat__media img { transform: scale(1.04); }
.bigcat__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.bigcat__count {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px;
}
.bigcat__body h3 { font-size: 20px; margin-bottom: 8px; }
.bigcat__body p { font-size: 14px; color: var(--ink-mute); margin-bottom: 16px; }
.bigcat__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.bigcat__tags li {
  font-size: 12px; padding: 4px 9px; border-radius: 999px;
  background: var(--stone); color: var(--ink-soft);
}
@media (max-width: 989px) { .bigcat-grid { grid-template-columns: 1fr; } .bigcat { flex-direction: row; }
  .bigcat__media { aspect-ratio: 1 / 1; width: 38%; flex-shrink: 0; } }
@media (max-width: 549px) { .bigcat { flex-direction: column; } .bigcat__media { width: 100%; aspect-ratio: 4 / 3; } }

/* ============================================================
   20. 手串寓意卡（一石一意）
   ============================================================ */
.meaning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.meaning-card { text-align: left; }
.meaning-card__media {
  border-radius: var(--radius); overflow: hidden; background: var(--stone);
  aspect-ratio: 1 / 1; margin-bottom: 12px; position: relative;
}
.meaning-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.meaning-card:hover .meaning-card__media img { transform: scale(1.05); }
.meaning-card__swatch {
  position: absolute; right: 10px; bottom: 10px; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.meaning-card__name { font-size: 15px; margin-bottom: 4px; }
.meaning-card__en {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
.meaning-card__text { font-size: 13.5px; color: var(--ink-mute); margin: 0; }
.meaning-note {
  margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--gold);
  background: var(--stone); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px; color: var(--ink-mute);
}
@media (max-width: 989px) { .meaning-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 549px) { .meaning-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ============================================================
   21. 语言切换（EN / 中文）
   ============================================================ */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  margin-right: 6px; padding: 3px 4px;
  border: 1px solid var(--stone-2); border-radius: 999px;
  font-family: var(--font-heading); font-size: 11.5px; letter-spacing: .04em;
}
.lang-switch__btn {
  background: none; border: 0; border-radius: 999px;
  padding: 4px 9px; color: var(--ink-mute); line-height: 1;
  transition: background .18s ease, color .18s ease;
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active { background: var(--ink); color: #fff; }
.lang-switch__sep { color: var(--stone-2); font-size: 10px; }
@media (max-width: 549px) {
  .lang-switch { margin-right: 0; padding: 2px 3px; font-size: 11px; }
  .lang-switch__btn { padding: 4px 7px; }
}

/* 中文下标题字体换回衬线感更弱的无衬线，等宽字体对中文没有意义 */
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 {
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0;
}
html[lang="zh-CN"] .nav__link,
html[lang="zh-CN"] .btn,
html[lang="zh-CN"] .band__eyebrow,
html[lang="zh-CN"] .cat-card__name {
  font-family: var(--font-body); letter-spacing: 0;
}

/* 搜索抽屉 */
.search-drawer { position: fixed; inset: 0; z-index: 205; display: none; background: rgba(20,17,15,.5); }
.search-drawer.is-open { display: block; }
.search-drawer__panel { background: #fff; padding: 26px 0; }
.search-drawer__inner { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
