@charset "UTF-8";
/*!
 * 智天保商城 · 商城首页 / 分支页 / 服务包详情页样式
 * 依赖 base.css 的设计令牌；页头 .cat-hero / .crumb 见 catalog.css
 */

/* ============================ 商城定位条 ============================ */
.mall-values { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.mall-value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
.mall-value__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand); margin-bottom: 16px;
}
.mall-value__icon svg { width: 22px; height: 22px; }
.mall-value h3 { font-size: 16.5px; font-weight: 800; }
.mall-value p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* ============================ 商城分支卡片 ============================ */
.branch-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }

.branch {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.branch::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--b1, var(--brand)), var(--b2, var(--brand-300)));
  transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.branch:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.branch:hover::before { transform: scaleX(1); }
.branch--coming { background: linear-gradient(180deg, var(--coming-bg-1) 0%, var(--coming-bg-2) 100%); }
.branch--coming:hover { transform: none; box-shadow: var(--sh-sm); border-color: var(--line); }
.branch--coming:hover::before { transform: none; }

.branch__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.branch__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bi-bg, var(--brand-100)); color: var(--bi-fg, var(--brand)); flex: none;
}
.branch__icon svg { width: 25px; height: 25px; }
.branch__title { margin-top: 18px; font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.branch__desc { margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--muted); flex: 1; }
.branch__feats { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.branch__foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap;
}
.branch--packages { --bi-bg: #f3edfd; --bi-fg: #6d4bc4; --b1: #6d4bc4; --b2: #a98ce8; }

/* ============================ 服务流程 ============================ */
.flow { display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); position: relative; }
.flow::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--brand-300), var(--accent)); opacity: .5;
}
.flow-step { position: relative; padding: 0 20px; text-align: center; }
.flow-step__dot {
  position: relative; z-index: 1; width: 52px; height: 52px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  border: 2px solid var(--brand-300); color: var(--brand); font-weight: 800; font-size: 15px;
}
.flow-step__title { font-size: 16px; font-weight: 800; }
.flow-step__desc { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ============================ 服务包详情页 ============================ */
.detail-layout { display: grid; gap: 34px; grid-template-columns: 1fr 340px; align-items: start; }
.detail-main { min-width: 0; }
.detail-section + .detail-section { margin-top: 40px; }
.detail-section > h2 {
  font-size: 21px; font-weight: 800; letter-spacing: -.2px;
  padding-bottom: 14px; border-bottom: 2px solid var(--line); margin-bottom: 22px;
}
.detail-section > h2 .tag {
  display: inline-block; margin-left: 10px; vertical-align: middle;
  font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .08em;
}
.detail-section p { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.detail-section p + p { margin-top: 12px; }

/* 保障清单 */
.cover-list { display: grid; gap: 14px; }
.cover-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.cover-item__mark {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand); font-size: 13px; font-weight: 800;
}
.cover-item--service .cover-item__mark { background: var(--accent-100); color: var(--accent-700); }
.cover-item__title { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.cover-item__desc { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* 档位表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); }
.spec-table caption { text-align: left; font-size: 13px; color: var(--faint); padding-bottom: 10px; }
.spec-table th, .spec-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: center; }
.spec-table th { background: var(--bg-soft); font-weight: 700; color: var(--ink); white-space: nowrap; }
.spec-table td:first-child, .spec-table th:first-child { text-align: left; }
.spec-table tbody tr:nth-child(even) td { background: var(--surface-2); }
.spec-table .hl { color: var(--brand); font-weight: 700; }
.spec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 信息表 */
.info-rows { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-row { display: flex; gap: 16px; padding: 15px 20px; font-size: 14.5px; }
.info-row + .info-row { border-top: 1px solid var(--line-soft); }
.info-row:nth-child(odd) { background: var(--surface-2); }
.info-row dt { flex: none; width: 108px; color: var(--faint); font-weight: 600; }
.info-row dd { margin: 0; flex: 1; color: var(--ink-2); line-height: 1.75; }

/* 提示条 */
.notice {
  padding: 18px 22px; border-radius: var(--radius); font-size: 14px; line-height: 1.9;
  background: #fdf7ec; border: 1px solid #f3e2c4; border-left: 3px solid var(--warn); color: #7a5a1e;
}
.notice + .notice { margin-top: 12px; }
.notice--info { background: var(--brand-100); border-color: #cfe0f8; border-left-color: var(--brand); color: var(--brand-700); }

/* ============================ 侧栏（购买卡） ============================ */
.buy-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--sh-md); overflow: hidden;
}
.buy-card__head {
  padding: 22px 24px; color: #fff;
  background: linear-gradient(150deg, #0f3566 0%, #1e50a2 70%, #2f6bcc 100%);
}
.buy-card__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: .1em; color: #9dc4ff; font-weight: 700;
}
.buy-card__name { margin-top: 8px; font-size: 21px; font-weight: 800; }
.buy-card__sub { margin-top: 6px; font-size: 13.5px; color: #cfe0ff; }
.buy-card__body { padding: 22px 24px; display: grid; gap: 14px; }
.buy-card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.buy-card__row dt { color: var(--faint); }
.buy-card__row dd { margin: 0; font-weight: 600; color: var(--ink-2); text-align: right; }
.buy-card__actions { padding: 0 24px 24px; display: grid; gap: 10px; }
.buy-card__actions .btn { width: 100%; }
.buy-card__foot {
  padding: 16px 24px 20px; border-top: 1px solid var(--line-soft); background: var(--surface-2);
  font-size: 12.5px; color: var(--faint); line-height: 1.8;
}

@media (max-width: 1000px) {
  .mall-values, .branch-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow::before { display: none; }
  .flow-step { text-align: left; padding: 0 0 0 70px; }
  .flow-step__dot { position: absolute; left: 0; top: 0; margin: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .buy-card { position: static; }
}
