/* 五档服务规格：S1–S6 分档组件 / 五档卡补充 / 完整规格 / 右侧抽屉 / 选购区底色 / 档位图标
   拆分自 assets/css/design-system.css（2026-08-30）
   只被 service-flow-stair.html 引用，配合 tier-stair.css。 */

/* =========================================================
   分档页专用组件层（S1–S6）
   规格源：04_产品分档页_OpenDesign设计规格.md
   ========================================================= */

/* ----- S1 页头主张 ----- */
.tier-hero { padding: var(--sp-7) 0; background: var(--bg); }
.tier-hero .eyebrow { margin-bottom: var(--sp-2); }
.tier-hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--navy-600);
  margin: 0 0 var(--sp-4);
  max-width: 15em;
}
.tier-lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted-500);
  max-width: 40em;
  margin: 0;
}
.tier-lead strong { font-weight: 700; color: var(--ink-800); }

/* ----- S2 四档速览卡 ----- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--r-m);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.tier-card.is-recommended { border: 1.5px solid var(--teal-500); }
.tier-card > .tier-deco {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .35;
  border-radius: 0 0 var(--r-m) var(--r-m);
  mask-image: linear-gradient(transparent 10%, rgba(0,0,0,0.85) 45%, #000 100%);
  -webkit-mask-image: linear-gradient(transparent 10%, rgba(0,0,0,0.85) 45%, #000 100%);
  pointer-events: none;
}
.tier-card > *:not(.tier-deco) { position: relative; }
.tier-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: var(--teal-500);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.tier-code {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-500);
  margin-bottom: 6px;
}
.tier-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-600);
  margin: 0 0 var(--sp-2);
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-600);
  line-height: 1.1;
}
.tier-price .unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-500);
  letter-spacing: 0;
}
.tier-early {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted-500);
  margin: 6px 0 0;
}
.tier-deliver {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tier-deliver li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-600);
}
.tier-deliver li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 3px;
  height: 3px;
  background: var(--teal-500);
}
.tier-split {
  height: 1px;
  background: var(--line-100);
  border: 0;
  margin: var(--sp-3) 0;
}
.tier-fit {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-800);
  margin: 0;
}
.tier-fit b { font-weight: 700; color: var(--navy-600); }
.tier-gate {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted-500);
  margin: var(--sp-4) 0 0;
  max-width: 46em;
}
.tier-gate strong { font-weight: 700; color: var(--ink-800); }

/* ----- S3 逐项对比表 ----- */
.ctable-wrap {
  border: 1px solid var(--line-200);
  border-radius: var(--r-s);
  background: #fff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ctable {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  table-layout: fixed;
}
.ctable col.c-item { width: 200px; }
.ctable thead th {
  background: var(--navy-600);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  padding: 14px 12px;
  vertical-align: middle;
}
.ctable thead th.c-head-item { text-align: left; }
.ctable thead th:first-child { border-top-left-radius: 8px; }
.ctable thead th:last-child { border-top-right-radius: 8px; }
.ctable thead th .th-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}
.ctable thead th.is-featured { box-shadow: inset 0 -2px 0 var(--teal-500); }
.ctable tbody th {
  background: var(--bg-tint);
  color: var(--navy-600);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-100);
  vertical-align: top;
}
.ctable tbody th .th-note {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted-500);
  margin-top: 3px;
}
.ctable tbody td {
  padding: 12px 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-600);
  border-bottom: 1px solid var(--line-100);
  vertical-align: middle;
}
.ctable tbody td.is-featured { background: var(--bg-tint); }
.ctable tbody td.t-text { font-size: 13.5px; font-weight: 600; color: var(--ink-600); }
.ctable tbody td.t-price { font-size: 17px; font-weight: 800; color: var(--navy-600); }
.ctable tbody td.t-price .price-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-500);
  margin-top: 2px;
}
.ctable tbody td.t-span {
  text-align: left;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-600);
  line-height: 1.7;
}
.ctable tbody tr.ctable-group th,
.ctable tbody tr.ctable-group td {
  background: var(--bg-soft);
  color: var(--navy-600);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line-100);
}
.ctable tbody tr:last-child th,
.ctable tbody tr:last-child td { border-bottom: none; }
.tick {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--teal-100);
  color: var(--teal-500);
}
.tick .icon { width: 11px; height: 11px; stroke-width: 2.75; }
.dash {
  display: inline-block;
  width: 12px;
  height: 1.5px;
  background: var(--muted-500);
  vertical-align: middle;
}
.ctable-hint {
  display: none;
  font-size: 12.5px;
  color: var(--muted-500);
  text-align: center;
  margin: var(--sp-2) 0 0;
}

/* ----- S4 差价阶梯 ----- */
.gap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}
.gap-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--r-m);
  padding: var(--sp-4);
}
.gap-range {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-500);
  margin-bottom: 6px;
}
.gap-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-600);
  margin: 0 0 var(--sp-2);
}
.gap-text {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-600);
  margin: 0;
}

/* ----- S5 服务边界 ----- */
.boundary-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-left: 3px solid var(--danger-500);
  border-radius: var(--r-m);
  padding: var(--sp-5);
}
.boundary-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-600);
  margin: 0 0 var(--sp-3);
}
.boundary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.boundary-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-600);
}
.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 3px;
  height: 3px;
  background: var(--danger-500);
}

/* ----- 图片占位（待 Midjourney） ----- */
.img-slot {
  position: relative;
  display: grid;
  place-items: center;
  border: 1.5px dashed #C3CFDA;
  border-radius: var(--r-m);
  background: var(--bg-soft);
  overflow: hidden;
  text-align: center;
  padding: var(--sp-4);
}
.img-slot.ratio-wide { aspect-ratio: 16 / 6; }
.img-slot.ratio-16-10 { aspect-ratio: 16 / 10; }
.img-slot .slot-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-400);
  margin-bottom: 6px;
}
.img-slot .slot-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-600);
  margin: 0 0 4px;
}
.img-slot .slot-hint {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-500);
  margin: 0;
  max-width: 34em;
}

/* ----- 分档页响应式 ----- */
@media (max-width: 1280px) {
  .tier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .tier-hero { padding: var(--sp-6) 0; }
  .tier-hero h1 { font-size: 26px; }
  .tier-lead { font-size: 15.5px; }
  .ctable-hint { display: block; }
  .ctable-wrap { border-radius: var(--r-s); }
  .ctable thead th.c-head-item,
  .ctable tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    border-right: 1px solid var(--line-200);
    box-shadow: 2px 0 6px rgba(15, 31, 51, 0.06);
  }
  .ctable thead th.c-head-item { background: var(--navy-600); }
  .boundary-card { padding: var(--sp-4); }
  .boundary-list li { font-size: 14px; }
}
@media (max-width: 720px) {
  .tier-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .gap-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ----- 背景大图层（Midjourney 待生成，图未到位时自动降级为纯色/渐变） ----- */
.bg-photo { position: relative; isolation: isolate; overflow: hidden; }
.bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}
.bg-photo--hero::before {
  background-image: url("assets/images/tier-hero-desk.jpg");
  opacity: 0.14;
  mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.35) 46%, transparent 78%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.35) 46%, transparent 78%);
}
.bg-photo--footer::before {
  background-image: url("assets/images/tier-footer-archive.jpg");
  opacity: 0.16;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.slot-chip {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px dashed #C3CFDA;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-400);
  box-shadow: var(--shadow-sm);
}
.slot-chip.on-dark {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(13, 43, 71, 0.72);
  color: #B9CEDD;
  box-shadow: none;
}
@media (max-width: 720px) {
  .slot-chip { display: none; }
}

/* =========================================================
   五档卡片补充（V2 五档规格）
   ========================================================= */
.tier-grid { gap: var(--sp-3); }
.tier-card { padding: var(--sp-4) var(--sp-3); }
.tier-name { font-size: 17px; }
.tier-price { font-size: 25px; }
.tier-deliver li { font-size: 13px; padding-left: 12px; }
.tier-fit { font-size: 13px; }

/* 档位入口卡（P0 99 元）*/
.tier-card.is-entry {
  background: var(--bg-gold-tint);
  border: 1.5px solid var(--gold-300);
}
.tier-card.is-entry .tier-price { color: var(--gold-700); }
.tier-card.is-entry .tier-deliver li::before { background: var(--gold-500); }

/* 「含上一档全部权益」递进标记 */
.tier-inherit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: var(--sp-3) 0 0;
  padding: 4px 9px;
  border-radius: var(--r-s);
  background: var(--bg-tint);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--teal-600);
}
.tier-card.is-entry .tier-inherit { background: rgba(217,177,102,0.16); color: var(--gold-700); }

/* 院内时长 / 线上会议时长小字行 */
.tier-meta {
  list-style: none;
  margin: var(--sp-2) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier-meta li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-500);
}
.tier-meta li b { font-weight: 700; color: var(--ink-700); text-align: right; }

/* 交付物图例带 D1–D5 */
.doc-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-4) 0 0;
}
.doc-chip {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--r-m);
  padding: var(--sp-3);
}
.doc-chip .code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--r-s);
  background: var(--navy-600);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.doc-chip .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-700);
  margin: 0 0 4px;
}
.doc-chip .desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted-500);
  margin: 0;
}
@media (max-width: 1024px) { .doc-band { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .doc-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .doc-band { grid-template-columns: 1fr; } }


/* ============================================================
   档位完整规格详情（V2 六段式）
   ============================================================ */


.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: start; }
.spec-block { min-width: 0; }
.spec-block.span-2 { grid-column: 1 / -1; }

.spec-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; color: var(--navy-700);
  margin: 0 0 12px;
}
.spec-title .sn {
  flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--gold-700); background: var(--gold-soft);
  border: 1px solid var(--gold-100);
}
.spec-body { font-size: 14px; line-height: 1.85; color: var(--ink-600); }
.spec-body p { margin: 0 0 10px; }
.spec-body p:last-child { margin-bottom: 0; }
.spec-body strong { color: var(--ink-800); font-weight: 700; }

.spec-list { margin: 0; padding: 0; list-style: none; }
.spec-list li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 14px; line-height: 1.8; color: var(--ink-600);
}
.spec-list li:last-child { margin-bottom: 0; }
.spec-list li strong { color: var(--ink-800); font-weight: 700; }
.spec-list.is-num { counter-reset: sl; }
.spec-list.is-num li::before {
  counter-increment: sl; content: counter(sl);
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  color: var(--navy-600); background: var(--line-50); border: 1px solid var(--line-200);
}
.spec-list.is-dot li::before {
  content: ""; position: absolute; left: 7px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal-500);
}
.spec-list.is-check li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--teal-500); border-bottom: 2px solid var(--teal-500);
  transform: rotate(-45deg);
}

.spec-flow { display: grid; gap: 10px; }
.spec-step {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  background: var(--line-50); border: 1px solid var(--line-100);
  border-radius: 14px; padding: 14px 16px;
}
.spec-step.is-exclusive { background: var(--gold-soft); border-color: var(--gold-100); }
.spec-step .ss-num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px; font-weight: 700; letter-spacing: -.02em;
  color: #fff; background: var(--navy-500);
  border-radius: 8px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.spec-step.is-exclusive .ss-num { background: var(--gold-600); }
.spec-step .ss-title {
  font-size: 14.5px; font-weight: 700; color: var(--ink-900);
  margin: 2px 0 0; line-height: 1.5;
}
.spec-step .ss-text { font-size: 13.5px; line-height: 1.8; color: var(--ink-600); margin: 7px 0 0; }
.spec-step .spec-list { margin-top: 8px; }
.spec-step .spec-list li { font-size: 13.5px; margin-bottom: 6px; }
.spec-docs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.spec-docs li {
  font-size: 12px; font-weight: 600; color: var(--teal-dark);
  background: var(--teal-soft); border: 1px solid var(--teal-100);
  border-radius: 6px; padding: 3px 9px;
}
.spec-docs li::before { content: "\2192\a0"; color: var(--teal-500); font-weight: 400; }

.spec-callout {
  border-left: 3px solid var(--gold-500);
  background: var(--gold-soft);
  border-radius: 0 10px 10px 0;
  padding: 13px 16px;
  font-size: 13.5px; line-height: 1.8; color: var(--ink-700);
  margin: 0 0 var(--sp-4);
}
.spec-callout strong { color: var(--gold-700); }

.spec-block.is-bound .spec-title { color: var(--danger-600); }
.spec-block.is-bound .spec-title .sn { color: var(--danger-600); background: var(--danger-soft); border-color: #EBC9C9; }
.spec-block.is-bound { background: #FCF8F8; border: 1px solid #F0DEDE; border-radius: 14px; padding: 16px 18px; }
.spec-block.is-bound .spec-list li { font-size: 13.5px; color: var(--ink-500); }
.spec-block.is-bound .spec-list.is-num li::before { color: var(--danger-600); background: #fff; border-color: #EBC9C9; }

.spec-block.is-rule { background: var(--bg-tint); border: 1px solid var(--teal-100); border-radius: 14px; padding: 16px 18px; }

@media (max-width: 1024px) {
  .spec-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   档位规格右侧抽屉（方案 B）
   ============================================================ */
.tier-card.is-clickable { cursor: pointer; }
.tier-card.is-clickable:hover { border-color: var(--navy-400); box-shadow: 0 6px 22px rgba(18,58,95,.10); transform: translateY(-2px); }
.tier-card { transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.tier-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--sp-3);
  font-size: 12.5px; font-weight: 700; color: var(--teal-dark);
}
.tier-more::after {
  content: ""; width: 6px; height: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.tier-card.is-entry .tier-more { color: var(--gold-700); }

.drawer-scrim {
  position: fixed; inset: 0; z-index: 109;
  background: rgba(10,31,51,.52);
  opacity: 0; pointer-events: none;
  transition: opacity .24s ease;
}
.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

.spec-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
  width: min(760px, 94vw);
  background: #fff;
  box-shadow: -18px 0 48px rgba(10,31,51,.22);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.32,.72,.28,1);
  display: flex; flex-direction: column;
}
.spec-drawer.is-open { transform: translateX(0); }

.drawer-close-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  border: 0;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  color: #fff;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.drawer-close-icon:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}
.drawer-close-icon:active { transform: scale(0.95); }
.drawer-close-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}
.drawer-close-icon .icon { width: 18px; height: 18px; }

.drawer-head {
  flex: none; position: relative;
  background:
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 55%, #1a574d 100%);
  color: #fff;
  padding: 14px 18px 16px 22px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "code"
    "name"
    "price"
    "meta";
  column-gap: 0;
  row-gap: 5px;
  align-items: start;
}
.drawer-head::before {
  content: "";
  position: absolute;
  top: -60%; left: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(223,183,168,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.drawer-head::after {
  content: "";
  position: absolute;
  bottom: -40%; right: 20%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(132,200,179,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.drawer-close-icon {
  position: absolute; bottom: -14px; right: 18px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  width: 32px; height: 32px; flex: none;
  padding: 0; margin: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-200);
  color: var(--navy-700);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform var(--duration-fast) var(--ease-out);
}
.drawer-close-icon .dcx { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%); }
.drawer-close-icon .dcx::before,
.drawer-close-icon .dcx::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.drawer-close-icon .dcx::before { transform: translate(-50%,-50%) rotate(45deg); }
.drawer-close-icon .dcx::after { transform: translate(-50%,-50%) rotate(-45deg); }
.drawer-close-icon:hover { transform: scale(1.08); }
.drawer-close-icon:active { transform: scale(.94); }
.drawer-close-icon:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }

.drawer-head .drawer-head .dh-code {
  grid-area: code;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--gold-light); display: inline-block;
  align-self: start;
  opacity: 0.9;
}
.drawer-head .dh-name {
  grid-area: name;
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 0;
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.01em;
}
.drawer-head .dh-price {
  grid-area: price;
  font-size: 44px;
  font-weight: 800;
  color: var(--gold-light);
  margin: 2px 0 0;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(223,183,168,0.25);
}
.drawer-head .dh-price .unit {
  font-size: 16px; font-weight: 600;
  color: rgba(223,183,168,0.85);
  margin-left: 3px;
  letter-spacing: 0;
}
.drawer-head .dh-meta {
  grid-area: meta;
  display: flex; flex-direction: column; gap: 4px;
  margin: 8px 0 0; padding: 0; list-style: none;
  position: relative; z-index: 1;
}
.drawer-head .dh-meta li {
  font-size: 13px; color: rgba(255,255,255,0.88);
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}
.drawer-head .dh-meta li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(223,183,168,0.2);
}
.drawer-head .dh-meta li b { color: #fff; font-weight: 700; }
.drawer-head .dh-meta li.is-inherit { color: var(--gold-light); }
.drawer-head .dh-meta li.is-inherit::before {
  background: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(223,183,168,0.3);
}


.spec-qr-block {
  margin-bottom: var(--sp-4);
}
.spec-qr-block .qr-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-50) 100%);
  border: 1px solid var(--gold-200);
  border-radius: var(--r-m);
  box-shadow: 0 4px 14px rgba(171, 119, 103, 0.12);
}
.spec-qr-block .qr-img-wrap {
  flex: none;
  width: 108px;
  height: 108px;
  background: #fff;
  border-radius: var(--r-s);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 31, 51, 0.08);
}
.spec-qr-block .qr-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.spec-qr-block .qr-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-qr-block .qr-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  border-radius: 999px;
}
.spec-qr-block .qr-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-800);
  line-height: 1.4;
}
.spec-qr-block .qr-tip {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-700);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.spec-qr-block .qr-tip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 8px rgba(196, 142, 122, 0.6);
}

.drawer-body {
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain;
  padding: var(--sp-5);
  background: var(--line-50);
}
.drawer-body .spec-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
.drawer-body .spec-block.span-2 { grid-column: auto; }
.drawer-body .spec-block.is-rule, .drawer-body .spec-block.is-bound { background: #fff; }
.drawer-body .spec-step { background: #fff; }
.drawer-body .spec-step.is-exclusive { background: var(--gold-soft); }
.drawer-body .spec-panel[hidden] { display: none; }

.drawer-foot {
  flex: none; border-top: 1px solid var(--line-200);
  background: #fff;
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.drawer-foot .df-note { display: none; }
.drawer-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.drawer-nav button {
  appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit;
  font-size: 12.5px; font-weight: 600; color: var(--navy-600);
  background: var(--line-50); border: 1px solid var(--line-200);
  border-radius: 8px; padding: 7px 13px;
}
.drawer-nav button:hover:not(:disabled) { background: #fff; border-color: var(--navy-300); }
.drawer-nav button:disabled { opacity: .4; cursor: default; }

body.drawer-open { overflow: hidden; }

@media (max-width: 720px) {
  .spec-drawer { width: 100%; }
  .drawer-head {
    gap: 12px;
    padding: 16px 16px 18px;
  }
  .drawer-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "code"
      "name"
      "price"
      "meta"
      "meta";
    column-gap: 0;
    row-gap: 4px;
    padding: 12px 16px 16px;
    justify-items: start;
    text-align: left;
  }
  .drawer-head .dh-code { justify-self: start; }
  .drawer-head .dh-name { font-size: 18px; margin-top: 2px; }
  .drawer-head .dh-price { font-size: 34px; margin-top: 2px; }
  .drawer-head .dh-price .unit { font-size: 14px; }
  .drawer-head .dh-meta {
    margin-top: 6px; gap: 4px;
    align-self: start; width: 100%;
    justify-content: flex-start;
  }
  .drawer-head .dh-meta li { font-size: 13px; padding-left: 18px; display: inline-block; }
  .drawer-head .dh-meta li::before { width: 7px; height: 7px; top: 7px; left: 0; }
  .drawer-close-foot { height: 40px; padding: 0 14px; font-size: 13.5px; gap: 6px; }
  .drawer-close-foot .dcx,
  .drawer-close-foot .dcx::before,
  .drawer-close-foot .dcx::after { width: 12px; }
  .drawer-head, .drawer-body, .drawer-foot { padding-left: var(--sp-3); padding-right: var(--sp-3); }
  .drawer-foot { padding: 12px var(--sp-3); gap: 10px; }
  .drawer-nav { gap: 8px; }
  .drawer-nav button { padding: 7px 11px; font-size: 12.5px; }
  .spec-qr-block .qr-card { flex-direction: column; text-align: center; gap: 14px; padding: 18px; }
  .spec-qr-block .qr-info { align-items: center; }
  .spec-qr-block .qr-tag { align-self: center; }
  .drawer-body { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
}

/* ============================================================
   档位选购区底色（方案 B）
   ============================================================ */
.tier-picker {
  background: linear-gradient(180deg, var(--bg-steel-deep) 0%, var(--bg-steel-deeper) 100%);
  border-top: 1px solid var(--bg-steel-deeper);
  border-bottom: 1px solid var(--bg-steel-deeper);
}
.tier-picker .tier-card {
  background: #fff;
  border-color: var(--line-steel);
  box-shadow: 0 1px 2px rgba(18,58,95,.08), 0 6px 18px rgba(18,58,95,.10);
}
.tier-picker .tier-card.is-clickable:hover {
  box-shadow: 0 2px 6px rgba(18,58,95,.10), 0 14px 34px rgba(18,58,95,.18);
}
.tier-picker .tier-card.is-entry {
  background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 58%);
}
.tier-picker .tier-gate,
.module.bg-steel .tier-gate {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line-steel);
  border-radius: var(--r-m);
  padding: 14px 18px;
  margin-top: var(--sp-4);
}

/* 五档卡：档位图标 + 代号同行 */
.tier-code-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.tier-code-row .tier-code { margin-bottom: 0; }
.tier-ico {
  width: 30px;
  height: 30px;
  border-radius: var(--r-s);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--navy-600);
  background: var(--line-50);
  border: 1px solid var(--line-200);
}
.tier-card.is-entry .tier-ico {
  color: var(--gold-700);
  background: var(--gold-soft);
  border-color: var(--gold-100);
}
.tier-card.is-recommended .tier-ico {
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-color: var(--teal-100);
}
