/* ============================================
   万家佛 · 禅意风格
   宣纸底色 / 墨色文字 / 朱砂点缀 / 竹青辅助
   ============================================ */
:root {
  --paper: #faf6ef;
  --paper-deep: #f1e9da;
  --ink: #2b2b2b;
  --ink-light: #6b6b6b;
  --cinnabar: #a63d2f;
  --bamboo: #5a7d6a;
  --line: #d8cdb8;
  --gold: #b08d57;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Georgia, "Songti SC", "SimSun", "STSong", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-size: 16px;
}

a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cinnabar); }

.zen-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.zen-header {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.zen-header .zen-container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.zen-logo a {
  font-size: 26px; font-weight: bold; letter-spacing: 4px; color: var(--ink);
}
.zen-logo-mark { color: var(--cinnabar); font-size: 30px; margin-right: 4px; }
.zen-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.zen-nav a {
  font-size: 15px; letter-spacing: 1px; color: var(--ink-light);
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.zen-nav a:hover { color: var(--cinnabar); border-bottom-color: var(--cinnabar); }

/* ---------- 主体 ---------- */
.zen-main { padding: 30px 0 50px; min-height: 60vh; }

/* 面包屑 */
.zen-breadcrumb {
  font-size: 13px; color: var(--ink-light);
  padding: 10px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.zen-breadcrumb a { color: var(--ink-light); }
.zen-breadcrumb a:hover { color: var(--cinnabar); }

/* 文章详情 */
.zen-article {
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 40px 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.zen-article-title {
  font-size: 28px; font-weight: bold; text-align: center;
  letter-spacing: 2px; margin-bottom: 14px; line-height: 1.5;
}
.zen-article-meta {
  text-align: center; font-size: 13px; color: var(--ink-light);
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.zen-article-meta span { margin: 0 12px; }
.zen-article-body { font-size: 16.5px; }
.zen-article-body p { margin-bottom: 16px; text-indent: 2em; }
.zen-article-body img { max-width: 100%; height: auto; display: block; margin: 16px auto; }
.zen-article-body h1, .zen-article-body h2, .zen-article-body h3 {
  margin: 20px 0 12px; color: var(--ink); letter-spacing: 1px;
}

/* 相关文章 */
.zen-related { margin-top: 30px; }
.zen-section-title {
  font-size: 18px; letter-spacing: 2px; color: var(--cinnabar);
  padding-left: 12px; border-left: 3px solid var(--cinnabar); margin-bottom: 14px;
}

/* 列表 */
.zen-list { list-style: none; }
.zen-list li {
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.zen-list-title { font-size: 16px; }
.zen-list-date { font-size: 12px; color: var(--ink-light); margin-left: auto; }
.zen-list-desc {
  width: 100%; font-size: 13px; color: var(--ink-light);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 列表页 */
.zen-list-page { background: #fffdf8; border: 1px solid var(--line); padding: 30px 36px; }
.zen-page-title {
  font-size: 24px; letter-spacing: 3px; text-align: center;
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}

/* 分页 */
.zen-pagination {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  margin-top: 24px; font-size: 14px;
}
.zen-pagination a {
  padding: 6px 16px; border: 1px solid var(--line); background: var(--paper);
}
.zen-pagination a:hover { border-color: var(--cinnabar); color: var(--cinnabar); }
.zen-page-info { color: var(--ink-light); }

/* ---------- 底部 ---------- */
.zen-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding: 30px 0; text-align: center; font-size: 13px; color: var(--ink-light);
}
.zen-footer p { margin-bottom: 6px; }
.zen-footer-links a { color: var(--ink-light); margin: 0 6px; }
.zen-footer-links a:hover { color: var(--cinnabar); }

/* ---------- 首页横幅 ---------- */
.zen-hero {
  background: linear-gradient(180deg, var(--paper-deep), var(--paper));
  border: 1px solid var(--line);
  text-align: center;
  padding: 60px 20px 50px;
  margin-bottom: 30px;
  position: relative;
}
.zen-hero::before {
  content: "☸";
  position: absolute; top: 18px; right: 30px;
  font-size: 60px; color: var(--line); opacity: .5;
}
.zen-hero-title {
  font-size: 48px; letter-spacing: 16px; font-weight: bold;
  color: var(--ink); margin-bottom: 10px;
}
.zen-hero-sub {
  font-size: 18px; letter-spacing: 8px; color: var(--cinnabar); margin-bottom: 16px;
}
.zen-hero-desc { font-size: 15px; color: var(--ink-light); margin-bottom: 28px; }
.zen-btn {
  display: inline-block; padding: 10px 34px;
  background: var(--cinnabar); color: #fff;
  letter-spacing: 3px; font-size: 15px;
  border: 1px solid var(--cinnabar); margin: 0 6px;
}
.zen-btn:hover { background: #8c3226; color: #fff; }
.zen-btn-ghost {
  background: transparent; color: var(--cinnabar);
}
.zen-btn-ghost:hover { background: var(--cinnabar); color: #fff; }

/* 每日禅语 */
.zen-daily {
  background: #fffdf8; border: 1px solid var(--line);
  padding: 26px 30px; margin-bottom: 30px; text-align: center;
  position: relative;
}
.zen-daily-mark {
  width: 40px; height: 40px; line-height: 40px;
  background: var(--cinnabar); color: #fff; border-radius: 50%;
  font-size: 20px; margin: 0 auto 12px;
}
.zen-daily-text { font-size: 17px; letter-spacing: 1px; margin-bottom: 8px; }
.zen-daily-src { font-size: 13px; color: var(--ink-light); }

/* 板块入口 */
.zen-sections {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.zen-section {
  background: #fffdf8; border: 1px solid var(--line);
  padding: 22px 26px;
}
.zen-section .zen-section-title { margin-bottom: 10px; }
.zen-section .zen-section-title a { color: var(--cinnabar); }
.zen-section .zen-list li { padding: 8px 0; }

/* 统计 */
.zen-stats {
  text-align: center; color: var(--ink-light);
  font-size: 14px; margin-top: 30px; padding: 16px;
  border-top: 1px solid var(--line);
}
.zen-stats strong { color: var(--cinnabar); font-size: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .zen-sections { grid-template-columns: 1fr; }
  .zen-hero-title { font-size: 34px; letter-spacing: 8px; }
}
@media (max-width: 768px) {
  .zen-header .zen-container { flex-direction: column; align-items: flex-start; }
  .zen-article { padding: 24px 20px; }
  .zen-article-title { font-size: 22px; }
  .zen-list-page { padding: 20px 16px; }
}

/* ===== 商城 · 禅意文创 ===== */
/* 通用输入框基础样式（商城/查询/订单页 zen-input 此前无样式） */
.zen-input { padding: 10px 12px; border: 1px solid #ddd2b8; border-radius: 4px; font-size: 14px; background: #fdfbf6; color: var(--ink); font-family: inherit; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.zen-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.12); }

/* ===== 商城改版 · 东方编辑风 v20260831b =====
   观夏/上下式编辑陈列：全宽摄影 hero + 品类分区叙事 + 无边框竖图卡 */
:root {
  --ink-deep: #1d1a15;   /* 深墨：hero/横带底色 */
  --gold-deep: #96733c;
  --cream: #f6efe1;      /* 压深色图上的米白文字 */
}
body { overflow-x: clip; }  /* hero 全宽溢出防护（clip 不破坏 sticky） */

/* 首屏：全宽摄影大图 */
.shop-hero2 { position: relative; margin: -30px calc(50% - 50vw) 0; height: clamp(400px, 58vh, 620px);
  overflow: hidden; background: var(--ink-deep); }
.shop-hero2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.shop-hero2-mask { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,20,15,.62) 0%, rgba(24,20,15,.32) 44%, rgba(24,20,15,.06) 72%, rgba(24,20,15,.28) 100%),
              linear-gradient(180deg, rgba(24,20,15,.22), transparent 28%, transparent 66%, rgba(29,26,21,.42) 100%); }
.shop-hero2-body { position: relative; z-index: 2; height: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--cream); }
.shop-hero2-kicker { font-size: 11px; letter-spacing: 5px; color: rgba(246,239,225,.75); margin: 0 0 16px; }
.shop-hero2-title { font-size: clamp(38px, 5vw, 54px); letter-spacing: 24px; padding-left: 4px; font-weight: 700;
  color: #fbf6ea; margin: 0 0 14px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.shop-hero2-sub { font-size: 17px; letter-spacing: 7px; color: rgba(246,239,225,.92); margin: 0 0 20px; }
.shop-hero2-rule { display: flex; align-items: center; gap: 12px; width: min(300px, 60%); margin-bottom: 18px; }
.shop-hero2-rule i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(216,196,150,.9), transparent); }
.shop-hero2-rule i:last-child { background: linear-gradient(90deg, transparent, rgba(216,196,150,.6)); }
.shop-hero2-rule b { width: 7px; height: 7px; background: #d8c496; transform: rotate(45deg); }
.shop-hero2-desc { font-size: 14px; letter-spacing: 3px; color: rgba(246,239,225,.7); margin: 0; }
.shop-hero2-seal { position: absolute; right: max(22px, calc(50vw - 540px + 22px)); bottom: 30px;
  width: 62px; height: 62px; opacity: .92; transform: rotate(6deg); z-index: 2; }

/* 品类锚点导航（sticky） */
.shop-cate-nav { position: sticky; top: 0; z-index: 50; background: rgba(250,246,239,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shop-cate-scroll { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; gap: 4px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.shop-cate-scroll::-webkit-scrollbar { display: none; }
.shop-cate-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 13px 13px; flex: none;
  font-size: 14px; letter-spacing: 2px; color: var(--ink-light); border-bottom: 2px solid transparent; transition: color .2s; }
.shop-cate-nav a i { font-style: normal; font-size: 11px; color: var(--gold); }
.shop-cate-nav a:hover { color: var(--ink); }
.shop-cate-nav a.on { color: var(--cinnabar); border-bottom-color: var(--cinnabar); }

/* 分区：序号方章 + 品类名 + 英文小字（编辑式区头） */
.shop-section { margin-top: 64px; scroll-margin-top: 62px; }
.shop-sec-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.shop-sec-no { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold); font-size: 17px; margin-top: 5px; position: relative; }
.shop-sec-no::after { content: ""; position: absolute; inset: 2px; border: 1px solid rgba(176,141,87,.35); }
.shop-sec-no-diamond::before { content: ""; width: 8px; height: 8px; background: var(--cinnabar); transform: rotate(45deg); }
.shop-sec-headtext { flex: 1; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.shop-sec-en { font-size: 10.5px; letter-spacing: 4px; color: var(--bamboo); margin: 0 0 6px; }
.shop-sec-title { font-size: 23px; letter-spacing: 6px; color: var(--ink); margin: 0;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.shop-sec-title em { font-style: normal; font-size: 12.5px; letter-spacing: 3px; color: var(--ink-light); font-weight: normal; }

/* 中段禅语横带（全宽图 + 压字） */
.shop-zen-break { position: relative; margin: 64px calc(50% - 50vw) 0; height: 300px; overflow: hidden;
  background: var(--ink-deep); display: flex; align-items: center; justify-content: center; }
.shop-zen-break img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.shop-zen-break::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,20,15,.34), rgba(24,20,15,.58)); }
.shop-zen-break-body { position: relative; z-index: 1; text-align: center; color: var(--cream); padding: 0 20px; }
.shop-zen-break-quote { font-size: clamp(19px, 2.6vw, 25px); letter-spacing: 10px; padding-left: 10px; margin: 0 0 12px; }
.shop-zen-break-en { font-size: 10.5px; letter-spacing: 4px; color: rgba(246,239,225,.62); margin: 0; }

/* 页尾结缘寄语 */
.shop-closing { margin: 76px 0 6px; text-align: center; }
.shop-closing b { display: block; font-size: 19px; letter-spacing: 8px; padding-left: 8px; color: var(--ink); font-weight: normal; margin-bottom: 10px; }
.shop-closing i { display: block; font-style: normal; font-size: 10.5px; letter-spacing: 4px; color: rgba(107,107,107,.55); margin-bottom: 18px; }
.shop-closing-link { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--gold-deep);
  padding: 8px 22px; border: 1px solid var(--line); transition: all .25s; }
.shop-closing-link:hover { border-color: var(--gold); color: var(--cinnabar); }

/* 商品卡片 v2：无边框悬浮于纸底（编辑式陈列） */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.shop-grid-duo { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; }
.shop-card { position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--ink);
  transition: transform .28s ease; }
.shop-card:hover { transform: translateY(-4px); }
.shop-card-img { position: relative; aspect-ratio: 3/4; background: var(--paper-deep); overflow: hidden;
  border-radius: 3px; transition: box-shadow .3s ease; }
.shop-card:hover .shop-card-img { box-shadow: 0 16px 32px rgba(107,91,62,.16); }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shop-card:hover .shop-card-img img { transform: scale(1.05); }
.shop-tag-hot { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--cinnabar); color: #fff;
  font-size: 12px; letter-spacing: 2px; padding: 3px 9px; border-radius: 2px; box-shadow: 0 1px 4px rgba(140,50,38,.35); }
/* 无图商品：宣纸竹青禅意占位（替代裂图） */
.shop-noimg { aspect-ratio: 3/4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 50% 38%, rgba(90,125,106,.10), transparent 58%),
              repeating-linear-gradient(45deg, rgba(216,205,184,.14) 0 2px, transparent 2px 9px),
              var(--paper-deep); }
.shop-noimg b { font-size: 84px; font-weight: 400; color: rgba(90,125,106,.30); line-height: 1; }
.shop-noimg span { font-size: 12px; letter-spacing: 6px; padding-left: 6px; color: rgba(107,107,107,.45); }
.shop-card-body { padding: 12px 2px 2px; }
.shop-card-name { font-size: 15px; font-weight: normal; line-height: 1.5; height: 45px; overflow: hidden; margin: 0 0 6px; letter-spacing: .5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color .2s; }
.shop-card:hover .shop-card-name { color: var(--cinnabar); }
.shop-card-desc { font-size: 12.5px; color: var(--ink-light); margin: 0 0 10px; letter-spacing: .3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card-meta { display: flex; align-items: baseline; justify-content: space-between; }
.shop-card-price { color: var(--cinnabar); font-size: 19px; font-weight: bold; }
.shop-card-price i { font-style: normal; font-size: 12.5px; font-weight: normal; margin-right: 2px; }
.shop-card-go { font-size: 12px; letter-spacing: 2px; color: var(--gold-deep); opacity: 0; transform: translateX(4px); transition: all .28s ease; }
.shop-card-go i { font-style: normal; margin-left: 4px; }
.shop-card:hover .shop-card-go { opacity: 1; transform: none; }

/* 结缘精选：编辑式混排（首件大卡 2×2 + 竖卡） */
.shop-pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.shop-card-xl { grid-column: span 2; grid-row: span 2; }
.shop-card-xl .shop-card-img { aspect-ratio: auto; flex: 1; min-height: 0; }
.shop-card-xl .shop-card-name { font-size: 17px; height: auto; margin-bottom: 8px; }
.shop-card-xl .shop-card-desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.shop-card-xl .shop-card-price { font-size: 24px; }
.shop-card-xl .shop-card-go { opacity: 1; transform: none; }

/* 末位热销：横版跨两列（4:3 图），补齐网格末行 */
.shop-card-wide { grid-column: span 2; }
.shop-card-wide .shop-card-img { aspect-ratio: 4/3; }
.shop-card-wide .shop-card-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.shop-card-wide .shop-card-name { height: auto; margin-bottom: 6px; }

/* 详情页 */
.shop-detail { display: flex; gap: 34px; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 30px; flex-wrap: wrap; }
.shop-detail-img { flex: 0 0 400px; max-width: 100%; }
.shop-detail-img img { width: 100%; border-radius: 4px; border: 1px solid var(--line); display: block; background: var(--paper-deep); }
.shop-detail-img .shop-noimg { border-radius: 4px; border: 1px solid var(--line); }
.shop-detail-info { flex: 1; min-width: 300px; }
.shop-detail-name { font-size: 24px; letter-spacing: 1px; margin: 0 0 12px; }
.shop-detail-sdetail { color: var(--ink-light); padding: 2px 0 2px 14px; border-left: 3px solid var(--bamboo); margin-bottom: 18px; line-height: 1.9; }
.shop-detail-price { display: flex; align-items: baseline; gap: 12px; padding: 14px 4px; margin-bottom: 4px; font-size: 30px; font-weight: bold; color: var(--cinnabar);
  background: linear-gradient(90deg, rgba(176,141,87,.12), transparent 70%); border-bottom: 1px dashed var(--line); }
.shop-detail-price i { font-style: normal; font-size: 15px; font-weight: normal; }
.shop-detail-price em { font-style: normal; font-size: 12px; font-weight: normal; color: #fff; background: var(--gold); letter-spacing: 2px; padding: 3px 9px; border-radius: 2px; }
.shop-form { margin-top: 22px; }
.shop-form-group { margin-bottom: 16px; }
.shop-form-group > label { display: block; margin-bottom: 8px; color: var(--bamboo); font-size: 13px; letter-spacing: 3px; }
.shop-specs { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-spec { position: relative; }
.shop-spec input { position: absolute; opacity: 0; }
.shop-spec span { display: inline-block; border: 1px solid var(--line); background: var(--paper); padding: 7px 14px; border-radius: 3px; cursor: pointer; font-size: 13px; color: var(--ink-light); transition: all .2s; }
.shop-spec:hover span { border-color: var(--gold); color: var(--ink); }
.shop-spec input:checked + span { border-color: var(--cinnabar); color: var(--cinnabar); background: rgba(166,61,47,.08); box-shadow: inset 0 0 0 1px var(--cinnabar); }
.shop-count-input { width: 120px; }
.shop-address-input { display: block; width: 100%; min-height: 68px; resize: vertical; }
.shop-detail-desc { margin-top: 32px; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 26px 30px; }
.shop-detail-desc .zen-section-title { margin-bottom: 16px; }
.zen-rich { line-height: 1.9; color: #4a3a28; }
.zen-rich img { max-width: 100%; }

/* 订单状态徽章 */
.zen-status { display: inline-block; padding: 3px 14px; border-radius: 2px; font-size: 13px; letter-spacing: 2px; border: 1px solid transparent; }
.st-wait { color: var(--cinnabar); border-color: rgba(166,61,47,.4); background: rgba(166,61,47,.06); }
.st-paid { color: var(--bamboo); border-color: rgba(90,125,106,.4); background: rgba(90,125,106,.06); }
.st-done { color: var(--gold); border-color: rgba(176,141,87,.45); background: rgba(176,141,87,.08); }
.st-cancel { color: #999; border-color: #ccc; background: #f5f5f5; }

/* 订单页头部 */
.shop-order-head { text-align: center; padding: 24px 16px 22px; border-bottom: 1px dashed var(--line); margin-bottom: 22px; }
.shop-order-head .zen-status { margin-bottom: 14px; }
.shop-order-title { font-size: 22px; letter-spacing: 4px; margin: 0 0 8px; color: var(--ink); }
.shop-order-no { font-size: 13px; color: var(--ink-light); letter-spacing: 1px; }
.shop-order-amount { margin-top: 16px; font-size: 15px; color: var(--ink-light); }
.shop-order-amount strong { font-size: 34px; color: var(--cinnabar); margin-left: 8px; }
.shop-order-amount strong i { font-style: normal; font-size: 16px; font-weight: normal; margin-right: 2px; }

/* 查询页 */
.shop-query-card { max-width: 600px; margin: 0 auto; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 32px 30px; }
.shop-query-card .zen-search-form { max-width: none; margin: 0 0 6px; }

.zen-card { background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-top: 20px; }
.shop-en-tag { font-style: normal; font-size: 10.5px; letter-spacing: 4px; color: var(--bamboo); margin-left: 12px; font-weight: normal; }
.zen-page-ensub { text-align: center; font-size: 10.5px; letter-spacing: 5px; color: var(--bamboo); margin: -14px 0 20px; }
.zen-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.zen-table th, .zen-table td { border: 1px solid #eee3d0; padding: 10px 12px; text-align: left; font-size: 14px; }
.zen-table th { background: #f8f4ea; width: 120px; color: #6a5a45; font-weight: normal; }
.zen-price { color: #a03030; font-weight: bold; }
.zen-pay-box { margin-top: 20px; border-top: 1px dashed #d8cbb0; padding-top: 20px; text-align: center; }
.zen-pay-qrcode { margin: 16px auto; }
.zen-pay-hint { color: #8a7a65; font-size: 13px; }
.zen-pay-confirm { max-width: 420px; margin: 16px auto; display: flex; gap: 10px; }
.zen-pay-confirm .zen-input { flex: 1; }
.zen-msg { margin-top: 12px; font-size: 14px; }
.zen-msg-ok { color: #2a7a3a; }
.zen-msg-err { color: #a03030; }
.zen-search-form { display: flex; gap: 10px; max-width: 480px; margin: 20px 0; }
.zen-search-form .zen-input { flex: 1; }
.zen-breadcrumb { color: #8a7a65; font-size: 13px; margin-bottom: 10px; }
.zen-breadcrumb a { color: #6a5a45; }
.zen-404 { font-size: 80px; color: #d8cbb0; margin: 40px 0 10px; }
.zen-center { text-align: center; padding: 60px 0; }
.zen-empty { color: #8a7a65; text-align: center; padding: 40px 0; }

/* ===== 用户/会员模块 ===== */
.zen-auth{max-width:420px;margin:40px auto;}
.zen-auth-box{background:#fff;border:1px solid #e5dcc8;border-radius:8px;padding:36px 32px;box-shadow:0 4px 20px rgba(0,0,0,.04);}
.zen-auth-title{font-size:24px;color:#3a2f1f;text-align:center;margin-bottom:6px;font-weight:600;}
.zen-auth-sub{text-align:center;color:#9a8c6f;font-size:13px;margin-bottom:24px;}
.zen-form .zen-form-item{margin-bottom:16px;}
.zen-form .zen-form-item label{display:block;font-size:13px;color:#6b5d45;margin-bottom:6px;}
.zen-form .zen-form-item input{width:100%;padding:10px 12px;border:1px solid #ddd2b8;border-radius:6px;font-size:14px;background:#fdfbf6;box-sizing:border-box;}
.zen-form .zen-form-item input:focus{outline:none;border-color:#a8844a;}
.zen-btn-block{width:100%;}
.zen-btn-wechat{background:#07c160;color:#fff;}
.zen-btn-wechat:hover{background:#06ad56;color:#fff;}
.zen-auth-divider{display:flex;align-items:center;gap:12px;color:#aaa;font-size:12px;margin:16px 0;}
.zen-auth-divider::before,.zen-auth-divider::after{content:"";flex:1;height:1px;background:#e5e5e5;}
.zen-auth-tip{text-align:center;color:#a8844a;font-size:13px;min-height:18px;margin-top:10px;}
.zen-auth-switch{text-align:center;font-size:13px;color:#8a7a5f;margin-top:8px;}
.zen-auth-switch a{color:#a8844a;text-decoration:underline;}
.zen-user{max-width:900px;margin:30px auto;}
.zen-user-head{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e5dcc8;border-radius:8px;padding:20px 24px;margin-bottom:20px;}
.zen-user-avatar{width:56px;height:56px;border-radius:50%;background:#a8844a;color:#fff;font-size:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.zen-user-info{flex:1;}
.zen-user-info h2{font-size:20px;color:#3a2f1f;margin-bottom:6px;}
.zen-tag{display:inline-block;background:#f5efe2;color:#8a7a5f;border:1px solid #e5dcc8;border-radius:20px;padding:2px 12px;font-size:12px;margin-right:6px;}
.zen-tag-gold{background:#f7ecd0;color:#a8844a;border-color:#e8d5a8;}
.zen-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.zen-user-card{background:#fff;border:1px solid #e5dcc8;border-radius:8px;padding:24px;}
.zen-user-card h3{font-size:17px;color:#3a2f1f;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f0e8d8;}
.zen-user-desc{color:#8a7a5f;font-size:14px;line-height:1.7;margin-bottom:14px;}
.zen-user-list{list-style:none;padding:0;margin:0 0 14px;}
.zen-user-list li{padding:6px 0 6px 20px;position:relative;color:#5d5240;font-size:14px;}
.zen-user-list li::before{content:"·";position:absolute;left:6px;color:#a8844a;font-weight:bold;}
.zen-user-card-wide{grid-column:1 / -1;}
.zen-wish-list{list-style:none;padding:0;margin:0;}
.zen-wish-list li{display:flex;gap:12px;padding:10px 0;border-bottom:1px dashed #eee5d2;font-size:14px;}
.zen-wish-list li:last-child{border-bottom:none;}
.zen-wish-name{color:#a8844a;font-weight:600;flex-shrink:0;}
.zen-wish-text{color:#5d5240;flex:1;}
.zen-wish-time{color:#b0a48c;font-size:12px;flex-shrink:0;}
.zen-member-box{background:#fff;border:1px solid #e5dcc8;border-radius:8px;padding:28px;}
.zen-member-box h3{font-size:18px;color:#3a2f1f;margin-bottom:12px;}
.zen-member-price{text-align:center;margin:20px 0;}
.zen-price{font-size:40px;color:#a8844a;font-weight:700;}
.zen-price-unit{color:#8a7a5f;font-size:14px;}
.zen-pay-box{margin-top:20px;padding-top:20px;border-top:1px dashed #e5dcc8;text-align:center;}
.zen-pay-qrcode{width:200px;height:200px;border:1px solid #e5dcc8;border-radius:8px;margin:12px auto;display:block;}
.zen-pay-box .zen-form{max-width:360px;margin:0 auto;text-align:left;}

/* ===== 寺庙板块 ===== */
.province-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.province-bar a { padding: 6px 14px; border: 1px solid #c8b89a; border-radius: 20px; color: #6b5b3e; font-size: 14px; text-decoration: none; transition: all .2s; }
.province-bar a:hover { background: #f5efe2; }
.province-bar a.active { background: #6b5b3e; color: #fff; border-color: #6b5b3e; }
.temple-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 20px 0; }
.temple-card { display: block; background: #fff; border: 1px solid #e8e0d0; border-radius: 8px; padding: 18px; text-decoration: none; color: #3a3a3a; transition: all .25s; }
.temple-card:hover { box-shadow: 0 4px 16px rgba(107,91,62,.15); transform: translateY(-2px); border-color: #c8b89a; }
.temple-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.temple-name { font-size: 18px; font-weight: 600; color: #6b5b3e; }
.temple-loc { font-size: 13px; color: #999; }
.temple-intro { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.temple-more { font-size: 13px; color: #a08c5e; }
.temple-detail { display: grid; grid-template-columns: 1fr 360px; gap: 24px; margin-top: 20px; }
.temple-detail-main { background: #fff; border: 1px solid #e8e0d0; border-radius: 8px; padding: 24px; }
.temple-section { margin-bottom: 24px; }
.temple-section h2 { font-size: 18px; color: #6b5b3e; border-left: 3px solid #c8b89a; padding-left: 10px; margin-bottom: 12px; }
.temple-text { font-size: 15px; line-height: 1.8; color: #444; }
.temple-info-table { width: 100%; border-collapse: collapse; }
.temple-info-table td { padding: 8px 12px; border-bottom: 1px solid #f0eadc; font-size: 14px; }
.temple-info-table td:first-child { color: #999; width: 100px; }
.temple-article-list { list-style: none; }
.temple-article-list li { padding: 6px 0; border-bottom: 1px dashed #eee; }
.temple-article-list a { color: #6b5b3e; text-decoration: none; font-size: 14px; }
.temple-article-list a:hover { color: #a08c5e; }
.temple-detail-side { display: flex; flex-direction: column; gap: 16px; }
.temple-map-box { background: #fff; border: 1px solid #e8e0d0; border-radius: 8px; padding: 16px; }
.temple-map-box h3 { font-size: 16px; color: #6b5b3e; margin-bottom: 10px; }
.temple-map { width: 100%; height: 320px; border: 0; border-radius: 6px; }
.map-tip { font-size: 12px; color: #999; margin-top: 8px; }
.temple-cta { display: flex; flex-direction: column; gap: 10px; }
.btn-zen { display: block; text-align: center; padding: 12px; background: #6b5b3e; color: #fff; border-radius: 6px; text-decoration: none; font-size: 15px; transition: all .2s; }
.btn-zen:hover { background: #8a7650; }
.btn-zen.btn-ghost { background: #fff; color: #6b5b3e; border: 1px solid #c8b89a; }
.btn-zen.btn-ghost:hover { background: #f5efe2; }
.empty-tip { text-align: center; color: #999; padding: 40px 0; }
@media (max-width: 768px) { .temple-detail { grid-template-columns: 1fr; } }

/* ===== 佛经分册导航 ===== */
.zen-volume-nav {
  margin: 18px 0;
  padding: 16px 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.zen-volume-nav .zen-section-title {
  font-size: 16px;
  color: var(--bamboo);
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
}
.zen-volume-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zen-volume-list li {
  margin: 0;
}
.zen-volume-list a,
.zen-volume-pending {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
}
.zen-volume-list a:hover {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}
.zen-volume-pending {
  color: #aaa;
  background: #f7f3ea;
  cursor: not-allowed;
}

/* ===== 佛经上下卷翻页 ===== */
.zen-volume-pager {
  margin: 26px 0 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.zen-volume-pager a,
.zen-pager-disabled {
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 4px;
}
.zen-volume-pager a {
  border: 1px solid var(--line);
  background: #fff;
}
.zen-volume-pager a:hover {
  border-color: var(--bamboo);
  color: var(--bamboo);
}
.zen-pager-home {
  border: 1px solid var(--bamboo) !important;
  color: var(--bamboo);
}
.zen-pager-disabled {
  color: #bbb;
  border: 1px dashed var(--line);
}

/* ===== 商城响应式（编辑风 v20260831b）===== */
@media (max-width: 1024px) {
  .shop-grid, .shop-pick-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid-duo { grid-template-columns: repeat(2, 1fr); }
  .shop-section { margin-top: 52px; }
  .shop-zen-break { margin-top: 52px; }
}
@media (max-width: 768px) {
  .shop-hero2 { height: clamp(340px, 52vh, 460px); margin-top: -30px; }
  .shop-hero2-title { font-size: 34px; letter-spacing: 14px; }
  .shop-hero2-sub { font-size: 14px; letter-spacing: 5px; }
  .shop-hero2-rule { width: 72%; }
  .shop-hero2-desc { font-size: 12.5px; letter-spacing: 2px; }
  .shop-hero2-seal { width: 46px; height: 46px; right: 16px; bottom: 18px; }
  .shop-cate-nav a { padding: 11px 10px; font-size: 13px; }
  .shop-section { margin-top: 40px; }
  .shop-sec-head { gap: 12px; margin-bottom: 18px; }
  .shop-sec-no { width: 34px; height: 34px; font-size: 15px; margin-top: 3px; }
  .shop-sec-title { font-size: 18px; letter-spacing: 4px; }
  .shop-sec-title em { font-size: 11.5px; }
  .shop-zen-break { height: 200px; margin-top: 40px; }
  .shop-zen-break-quote { letter-spacing: 6px; padding-left: 6px; }
  .shop-grid, .shop-pick-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .shop-card-xl { grid-column: span 2; grid-row: auto; }
  .shop-card-xl .shop-card-img { aspect-ratio: 3/4; }
  .shop-card-xl .shop-card-price { font-size: 20px; }
  .shop-card-go, .shop-card-xl .shop-card-go { display: none; }
  .shop-card-name { font-size: 13.5px; height: 40px; }
  .shop-card-price { font-size: 17px; }
  .shop-noimg b { font-size: 60px; }
  .shop-closing { margin-top: 52px; }
  .shop-closing b { font-size: 16px; letter-spacing: 5px; }
  .shop-detail { padding: 16px; gap: 18px; }
  .shop-detail-name { font-size: 20px; }
  .shop-detail-price { font-size: 24px; }
  .shop-detail-desc { padding: 18px 16px; }
  .shop-query-card { padding: 22px 16px; }
}

/* ===== 商品详情：图集轮播 + 详情图（B2C 二轮 v20260831a）===== */
.shop-carousel { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-deep); }
.sp-track { display: flex; height: 100%; transition: transform .35s ease; }
.sp-slide { flex: 0 0 100%; height: 100%; }
.sp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-slide .shop-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255, 253, 248, .88); color: var(--ink); font-size: 20px; line-height: 34px; text-align: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); transition: background .2s; padding: 0; }
.sp-arrow:hover { background: #fff; }
.sp-prev { left: 10px; }
.sp-next { right: 10px; }
.sp-badge { position: absolute; right: 10px; bottom: 14px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 10px; }
.sp-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.sp-dots span { width: 8px; height: 8px; border-radius: 5px; background: rgba(255, 253, 248, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .28); cursor: pointer; transition: all .2s; }
.sp-dots span.on { background: var(--cinnabar); width: 18px; }
.shop-spec span b { color: var(--cinnabar); font-weight: 600; margin-left: 6px; }
.shop-detail-shot { width: 100%; border: 1px solid var(--line); border-radius: 4px; margin-top: 14px; display: block; background: var(--paper-deep); }
@media (max-width: 768px) {
  .sp-arrow { width: 30px; height: 30px; line-height: 30px; font-size: 18px; }
  .shop-detail-shot { border-radius: 4px; }
}

/* ===== 商品详情改版：1688 式左右结构（左媒体+详情长图 / 右 sticky 购买面板 / 移动端 媒体→面板→详情）v20260831e ===== */
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "media panel" "detail panel"; column-gap: 30px; row-gap: 26px; align-items: start; }
.pd-media { grid-area: media; display: flex; gap: 14px; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.pd-thumbs { display: flex; flex-direction: column; gap: 8px; width: 64px; flex: 0 0 64px; max-height: 620px; overflow-y: auto; scrollbar-width: thin; }
.pd-thumb { position: relative; width: 62px; height: 62px; flex: 0 0 62px; border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 0; cursor: pointer; overflow: hidden; opacity: .8; transition: all .15s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.on { border-color: var(--cinnabar); opacity: 1; box-shadow: 0 0 0 1px var(--cinnabar); }
.pd-thumb-video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink-light); font-size: 11px; }
.pd-thumb-video i { font-style: normal; color: var(--cinnabar); font-size: 15px; }
.pd-thumb-video.on { color: var(--cinnabar); }
.pd-stage { flex: 1 1 auto; min-width: 0; }
.pd-stage-img { position: relative; aspect-ratio: 1/1; max-height: 640px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper-deep); }
.pd-stage-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-stage-img .shop-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pd-stage-video { aspect-ratio: 1/1; max-height: 640px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #17151a; }
.pd-stage-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-detailimgs { grid-area: detail; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; min-width: 0; }
.pd-panel { grid-area: panel; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; padding: 22px 20px 18px; scrollbar-width: thin; }
.pd-name { font-size: 22px; letter-spacing: 1px; margin: 0 0 10px; line-height: 1.5; }
.pd-sdetail { color: var(--ink-light); padding: 2px 0 2px 12px; border-left: 3px solid var(--bamboo); margin-bottom: 14px; line-height: 1.9; font-size: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 8px; padding: 14px 12px; margin-bottom: 6px; font-size: 34px; font-weight: bold; color: var(--cinnabar); background: linear-gradient(90deg, rgba(176, 141, 87, .10), transparent); border-radius: 4px; }
.pd-price i { font-style: normal; font-size: 16px; font-weight: normal; }
.pd-price em { font-style: normal; font-size: 12px; font-weight: normal; color: #fff; background: var(--gold); letter-spacing: 2px; padding: 3px 9px; border-radius: 2px; }
.pd-price-note { margin-left: auto; font-size: 12px; color: var(--ink-light); font-weight: normal; letter-spacing: 0; }
.pd-form { margin-top: 14px; }
.pd-spec { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 3px; padding: 5px 12px 5px 6px; cursor: pointer; background: var(--paper); transition: all .2s; margin: 0; }
.pd-spec input { position: absolute; opacity: 0; pointer-events: none; }
.pd-spec:hover { border-color: var(--gold); }
.pd-spec-img { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-deep); }
.pd-spec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-spec-txt { display: flex; flex-direction: column; justify-content: center; line-height: 1.4; }
.pd-spec-txt b { color: var(--cinnabar); font-weight: 600; font-size: 12px; }
.pd-spec:has(input:checked) { border-color: var(--cinnabar); background: rgba(166, 61, 47, .08); box-shadow: inset 0 0 0 1px var(--cinnabar); }
.pd-buy { margin-top: 8px; height: 48px; font-size: 16px; letter-spacing: 10px; text-indent: 10px; }
.pd-assure { text-align: center; color: var(--ink-light); font-size: 12px; margin: 10px 0 0; letter-spacing: 1px; }
@media (max-width: 900px) {
  .pd-layout { display: flex; flex-direction: column; gap: 18px; }
  .pd-media { padding: 12px; gap: 10px; }
  .pd-thumbs { flex-direction: row; width: auto; max-height: none; overflow-x: auto; order: 2; }
  .pd-thumb { width: 56px; height: 56px; flex: 0 0 56px; }
  .pd-stage { order: 1; }
  .pd-stage-img, .pd-stage-video { max-height: none; }
  .pd-panel { position: static; max-height: none; overflow: visible; padding: 18px 16px; }
  .pd-name { font-size: 19px; }
  .pd-price { font-size: 27px; }
  .pd-detailimgs { padding: 18px 14px; }
}
.shop-params { margin: 12px 0 4px; color: var(--ink-light); font-size: 13px; letter-spacing: .5px; line-height: 2; }
.shop-params b { color: var(--bamboo); font-weight: 600; margin-right: 2px; }

/* ===== 正文变现 CTA 卡（2026-09-04 增长整改：文章详情按频道匹配，zen-cta） ===== */
.zen-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 26px 0 6px; padding: 18px 20px; border: 1px solid #e6d9b8; border-left: 4px solid #c0392b;
  border-radius: 10px; background: #fffdf6; }
.zen-cta-txt { min-width: 0; }
.zen-cta-txt b { display: block; font-size: 16px; color: #7a5a1e; margin-bottom: 5px; }
.zen-cta-txt span { display: block; font-size: 13px; color: #8a7a5c; line-height: 1.7; }
.zen-cta-txt span a { color: #b03a2e; }
.zen-cta-btn { flex: none; display: inline-block; padding: 10px 24px; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, #b03a2e, #8e2f26); border-radius: 6px; text-decoration: none; }
.zen-cta-btn:hover { opacity: .9; }
@media (max-width: 640px) {
  .zen-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .zen-cta-btn { text-align: center; }
}
