/* finesse · register=commerce/product · A=paper-cream+vermilion · B=serif900/sans400
 * C=storefront-grid · D=static-craft · E=warm-heritage · SOUL=7 SPECTACLE=2 DENSITY=6 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --paper: #f6f1e6;
  --paper-deep: #ede5d4;
  --card: #fdfbf5;
  --ink: #26211a;
  --ink-soft: #57503f;
  --ink-faint: #8b8172;
  --vermilion: #b04527;
  --vermilion-deep: #93391f;
  --alipay: #1677ff;
  --line: rgba(38, 33, 26, .14);
  --line-soft: rgba(38, 33, 26, .08);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- top strip ---------- */
.top-strip {
  background: var(--ink);
  color: rgba(246, 241, 230, .78);
  font-size: 12px;
  letter-spacing: .04em;
}
.top-strip .wrap { display: flex; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.top-strip a:hover { color: #fff; }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 34px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.seal {
  width: 38px; height: 38px; border-radius: 6px;
  background: var(--vermilion); color: #fdfbf5;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(176, 69, 39, .28);
}
.brand-text strong { display: block; font-family: var(--serif); font-size: 18px; letter-spacing: .06em; }
.brand-text small { display: block; color: var(--ink-faint); font-size: 10px; letter-spacing: .22em; }
.nav { display: flex; gap: 28px; margin-left: 8px; }
.nav a { font-size: 14px; color: var(--ink-soft); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--vermilion); border-bottom-color: var(--vermilion); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-actions .tel { font-size: 12px; color: var(--ink-faint); letter-spacing: .04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  font-family: var(--sans); transition: all .15s ease;
}
.btn-primary { background: var(--vermilion); color: #fdfbf5; }
.btn-primary:hover { background: var(--vermilion-deep); box-shadow: 0 4px 14px rgba(176, 69, 39, .3); }
.btn-ghost { border-color: var(--line); color: var(--ink-soft); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { height: 48px; padding: 0 32px; font-size: 15px; border-radius: 7px; }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px;
  align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--vermilion); font-weight: 600; letter-spacing: .16em;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--vermilion); }
.hero h1 {
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: 46px; font-weight: 900; line-height: 1.22;
  letter-spacing: .02em;
}
.hero h1 em { font-style: normal; color: var(--vermilion); }
.hero p { max-width: 480px; color: var(--ink-soft); font-size: 15px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 12px; color: var(--ink-faint); }

/* book illustration */
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.book {
  position: relative; width: 250px; height: 340px;
  background: linear-gradient(160deg, #2e4638 0%, #22382c 100%);
  border-radius: 4px 10px 10px 4px;
  box-shadow: -14px 18px 44px rgba(38, 33, 26, .3), inset 3px 0 0 rgba(255,255,255,.12);
  transform: rotate(4deg);
}
.book::before {
  content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 1px;
  background: rgba(253, 251, 245, .25);
}
.book-title {
  position: absolute; top: 44px; right: 52px;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: #f3ecdb; letter-spacing: .32em;
}
.book-sub {
  position: absolute; top: 50px; right: 108px;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 12px;
  color: rgba(243, 236, 219, .6); letter-spacing: .3em;
}
.book-seal {
  position: absolute; bottom: 40px; right: 46px;
  width: 34px; height: 34px; border-radius: 4px;
  background: var(--vermilion);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 16px; color: #fdfbf5;
}
.book-pages {
  position: absolute; left: -10px; top: 8px; bottom: 8px; width: 8px;
  background: repeating-linear-gradient(to right, #efe7d3 0 1.5px, #ddd3ba 1.5px 3px);
  border-radius: 2px 0 0 2px;
}
.hero-art .halo {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid var(--line); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.hero-art .halo::after {
  content: ""; position: absolute; inset: -30px; border-radius: 50%;
  border: 1px dashed var(--line-soft);
}

/* ---------- stat band ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 0; text-align: center; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 800; }
.stat strong small { font-size: 14px; font-weight: 600; }
.stat span { font-size: 12px; color: var(--ink-faint); letter-spacing: .06em; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-family: var(--serif); font-size: 30px; font-weight: 800; letter-spacing: .04em; }
.section-head p { margin-top: 10px; color: var(--ink-faint); font-size: 13px; }
.section-head.left { text-align: left; display: flex; align-items: flex-end; justify-content: space-between; }
.section-head.left p { margin-top: 6px; }

/* ---------- plan cards ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 28px; position: relative;
  box-shadow: 0 6px 22px rgba(38, 33, 26, .05);
}
.plan.hot { border-color: var(--vermilion); box-shadow: 0 10px 30px rgba(176, 69, 39, .14); }
.plan-tag {
  position: absolute; top: -11px; left: 26px;
  background: var(--vermilion); color: #fdfbf5;
  font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  letter-spacing: .08em;
}
.plan h3 { font-family: var(--serif); font-size: 20px; font-weight: 800; }
.plan .price { margin: 14px 0 4px; font-family: var(--serif); font-size: 36px; font-weight: 900; }
.plan .price small { font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.plan .period { font-size: 12px; color: var(--ink-faint); }
.plan ul { list-style: none; margin: 22px 0 26px; }
.plan li { padding: 8px 0; font-size: 13px; color: var(--ink-soft); border-bottom: 1px dashed var(--line-soft); display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--vermilion); font-weight: 700; }
.plan li:last-child { border-bottom: 0; }
.plan .btn { width: 100%; }

/* ---------- category band ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px 22px; transition: all .15s ease; display: block;
}
.cat:hover { border-color: var(--vermilion); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(38, 33, 26, .08); }
.cat .glyph {
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--paper-deep); display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--vermilion-deep);
  margin-bottom: 14px;
}
.cat h4 { font-family: var(--serif); font-size: 16px; }
.cat p { margin-top: 6px; font-size: 12px; color: var(--ink-faint); }
.cat .price-line { margin-top: 14px; font-size: 12px; color: var(--ink-soft); }
.cat .price-line b { color: var(--vermilion); font-family: var(--serif); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 34px; font-weight: 900;
  color: var(--vermilion); margin-bottom: 10px;
}
.step::after {
  content: ""; position: absolute; top: 22px; left: 52px; right: 18px;
  border-top: 1px dashed var(--line);
}
.step:last-child::after { display: none; }
.step h4 { font-size: 15px; margin-bottom: 5px; }
.step p { font-size: 12px; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-family: var(--serif); font-size: 28px; font-weight: 800; }
.cta-band p { margin-top: 8px; color: rgba(246, 241, 230, .6); font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { background: #1e1a14; color: rgba(246, 241, 230, .55); font-size: 12px; }
.site-footer .wrap { padding-top: 44px; padding-bottom: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(246, 241, 230, .1); }
.foot-grid h5 { color: var(--paper); font-size: 13px; margin-bottom: 14px; font-weight: 600; }
.foot-grid a { display: block; padding: 4px 0; color: rgba(246, 241, 230, .55); }
.foot-grid a:hover { color: var(--paper); }
.foot-brand .brand-text strong { color: var(--paper); }
.foot-brand .brand-text small { color: rgba(246, 241, 230, .4); }
.foot-brand p { margin-top: 16px; line-height: 1.9; max-width: 300px; }
.foot-base { display: flex; justify-content: space-between; padding-top: 22px; gap: 10px 30px; flex-wrap: wrap; }
.foot-base a { color: rgba(246, 241, 230, .55); margin-left: 20px; }
.foot-law { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: flex-end; }
.foot-law a { margin-left: 0; }

/* ---------- svg icons ---------- */
.svg-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- PLP ---------- */
.page-head { padding: 34px 0 0; }
.crumb { font-size: 12px; color: var(--ink-faint); margin-bottom: 10px; }
.page-head h1 { font-family: var(--serif); font-size: 30px; font-weight: 800; }
.plp { display: grid; grid-template-columns: 200px 1fr; gap: 34px; padding: 28px 0 70px; }
.plp-side { position: sticky; top: 20px; align-self: start; }
.plp-side h4 { font-size: 13px; color: var(--ink-faint); letter-spacing: .1em; margin-bottom: 12px; }
.plp-side a {
  display: flex; justify-content: space-between; padding: 9px 12px;
  border-radius: 7px; font-size: 13.5px; color: var(--ink-soft);
}
.plp-side a:hover { background: var(--paper-deep); }
.plp-side a.on { background: var(--ink); color: var(--paper); font-weight: 600; }
.plp-side a i { font-style: normal; opacity: .55; font-size: 12px; }
.plp-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.plp-toolbar .count { font-size: 13px; color: var(--ink-faint); }
.plp-toolbar select {
  height: 34px; padding: 0 28px 0 12px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--card); color: var(--ink-soft); font-size: 13px;
}
.goods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.goods {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; display: flex; flex-direction: column;
  transition: all .15s ease;
}
.goods:hover { border-color: var(--vermilion); box-shadow: 0 10px 26px rgba(38, 33, 26, .09); transform: translateY(-2px); }
.goods .kind { font-size: 11px; color: var(--vermilion); font-weight: 700; letter-spacing: .12em; }
.goods h3 { font-family: var(--serif); font-size: 17px; font-weight: 800; margin-top: 8px; }
.goods .spec { margin-top: 6px; font-size: 12px; color: var(--ink-faint); min-height: 34px; }
.goods .prices { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.goods .prices b { font-family: var(--serif); font-size: 24px; font-weight: 900; color: var(--vermilion-deep); }
.goods .prices b::before { content: "¥"; font-size: 14px; margin-right: 2px; }
.goods .prices s { font-size: 12px; color: var(--ink-faint); }
.goods .moq { margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.goods .moq i { font-style: normal; color: var(--ink-faint); }
.goods .act { display: flex; gap: 10px; margin-top: 18px; }
.goods .act .btn { flex: 1; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; padding: 30px 0 80px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.panel + .panel { margin-top: 20px; }
.panel-head { padding: 18px 24px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.panel-head h3 { font-family: var(--serif); font-size: 16px; font-weight: 800; }
.panel-body { padding: 22px 24px; }
.order-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line-soft); align-items: center; }
.order-line:last-child { border-bottom: 0; }
.order-line .thumb {
  width: 44px; height: 44px; border-radius: 8px; background: var(--paper-deep);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700;
  color: var(--vermilion-deep); font-size: 16px;
}
.order-line h4 { font-size: 14px; }
.order-line small { color: var(--ink-faint); font-size: 12px; }
.order-line .amt { text-align: right; }
.order-line .amt b { font-family: var(--serif); font-size: 15px; }
.order-line .amt small { display: block; color: var(--ink-faint); font-size: 12px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; font-size: 13px; }
.info-grid .cell b { display: block; color: var(--ink-faint); font-size: 12px; font-weight: 400; margin-bottom: 3px; }
.summary { position: sticky; top: 20px; }
.summary .sum-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: var(--ink-soft); }
.summary .sum-line.discount { color: var(--vermilion); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; border-top: 1px solid var(--line); margin-top: 10px; }
.summary .total span { font-size: 13px; color: var(--ink-soft); }
.summary .total b { font-family: var(--serif); font-size: 30px; font-weight: 900; color: var(--vermilion-deep); }
.summary .total b::before { content: "¥"; font-size: 16px; margin-right: 2px; }
.pay-methods { display: grid; gap: 10px; margin: 18px 0; }
.pay-method {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px;
  background: var(--card);
}
.pay-method.on { border-color: var(--alipay); box-shadow: 0 0 0 3px rgba(22, 119, 255, .1); }
.pay-method .badge {
  width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.pay-method small { margin-left: auto; color: var(--ink-faint); font-size: 12px; }
.radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.pay-method.on .radio-dot { border-color: var(--alipay); }
.pay-method.on .radio-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--alipay);
}
.agree { display: flex; gap: 9px; font-size: 12px; color: var(--ink-faint); margin: 14px 0; line-height: 1.6; }
.agree input { margin-top: 4px; accent-color: var(--vermilion); }
.agree a { color: var(--vermilion); }
.secure-note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-soft); font-size: 11px; color: var(--ink-faint); line-height: 1.9; }
.w-full { width: 100%; }

/* ---------- data table ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  padding: 12px 16px; text-align: left; font-weight: 600; color: var(--ink-faint);
  font-size: 12px; letter-spacing: .04em; border-bottom: 1px solid var(--line);
}
.data-table td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .ono { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.data-table .goods-desc { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.data-table .amt { font-family: var(--serif); font-weight: 800; color: var(--ink); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.tag.paid { background: rgba(58, 110, 78, .12); color: #3a6e4e; }
.tag.pending { background: rgba(176, 69, 39, .1); color: var(--vermilion); }
.tag.codes { background: var(--paper-deep); color: var(--ink-soft); }
.data-table .btn { height: 30px; padding: 0 13px; font-size: 12px; }

/* ---------- policy table ---------- */
.policy-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 22px rgba(38, 33, 26, .05); }
.policy-table th { padding: 15px 20px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; text-align: left; letter-spacing: .05em; }
.policy-table td { padding: 16px 20px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--ink-soft); vertical-align: top; }
.policy-table td:first-child { font-family: var(--serif); font-weight: 800; font-size: 15px; color: var(--ink); }
.policy-table .lv-tag { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--paper-deep); font-size: 11px; font-weight: 600; color: var(--vermilion-deep); font-family: var(--sans); }
.policy-table tr.top td { background: rgba(176, 69, 39, .04); }
.policy-table td b { color: var(--vermilion-deep); font-weight: 700; }

/* ---------- tier price line ---------- */
.tier-line { display: flex; gap: 0; margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 7px; overflow: hidden; }
.tier-line span { flex: 1; padding: 7px 4px; text-align: center; font-size: 11.5px; color: var(--ink-faint); border-right: 1px solid var(--line-soft); }
.tier-line span:last-child { border-right: 0; }
.tier-line b { display: block; color: var(--ink); font-family: var(--serif); font-size: 14px; font-weight: 800; }
.tier-line span.best { background: rgba(176, 69, 39, .05); }
.tier-line span.best b { color: var(--vermilion-deep); }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .stats .wrap, .plans, .cats, .steps, .goods-grid { grid-template-columns: 1fr 1fr; }
  .plp, .checkout { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
