/* ============================================================
 * 大秦反挂 · 月卡商城「克制精修」视觉
 * 适用：shop/index.html · shop/pay.html · shop/result.html
 * 思路：沿用官网蓝白骨架，降低饱和度、收细线条、放大留白，
 *       仅以极少量香槟金作点缀，不做大面积换色。
 * ============================================================ */

:root {
  --navy: #1b355c;          /* 主墨蓝 */
  --navy-2: #2c5591;        /* 次级蓝 */
  --blue: #2f62b8;          /* 链接 / 强调 */
  --gold: #b79a63;          /* 点缀金（仅细线、序号） */
  --ink: #1c2431;
  --muted: #6b7688;
  --line: #e4e9f1;
  --bg: #f6f8fb;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
}

body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* 通用：章节标题 */
.dq-eyebrow {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .46);
}
.dq-section-title {
  position: relative;
  text-align: center;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .2em;
  text-indent: .2em;
  padding-top: 88px;
}
.dq-section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  margin: 20px auto 0;
  background: var(--gold);
  opacity: .7;
}

/* ===================== HERO ===================== */
.dq-hero {
  position: relative;
  padding: 152px 16px 88px;
  text-align: center;
  background: radial-gradient(900px 400px at 50% -20%, #1b3054 0%, #111f39 48%, #0d1729 100%);
}
.dq-hero.dq-hero-sm { padding: 140px 16px 74px; }
.dq-hero h1 {
  margin: 18px 0 0;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .26em;
  text-indent: .26em;
  color: #f4f7fc;
}
.dq-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto 0; }
.dq-divider i { display: block; width: 52px; height: 1px; background: linear-gradient(90deg, transparent, rgba(183, 154, 99, .55)); }
.dq-divider i:last-child { background: linear-gradient(90deg, rgba(183, 154, 99, .55), transparent); }
.dq-divider b { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
.dq-hero p { color: #94a6c2; font-size: 14px; letter-spacing: .06em; margin-top: 20px; }
.dq-hero-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.dq-hero-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 28px; }
.dq-hero-tags span {
  padding: 0 22px;
  color: #a8b6cc;
  font-size: 12px;
  letter-spacing: .1em;
  border-right: 1px solid rgba(255, 255, 255, .14);
}
.dq-hero-tags span:last-child { border-right: 0; }

/* ===================== 商品卡片 ===================== */
.dq-products-wrap { background: var(--bg); padding: 46px 16px 92px; }
.dq-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.dq-card {
  position: relative;
  padding: 42px 38px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(24, 48, 92, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.dq-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 46%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy-2) 40%, var(--gold) 60%, transparent);
  opacity: .7;
}
.dq-card:hover {
  transform: translateY(-5px);
  border-color: #d3dcea;
  box-shadow: 0 18px 44px rgba(24, 48, 92, .11);
}
.dq-badge {
  position: absolute; top: 20px; right: 26px;
  padding: 6px 14px;
  border: 1px solid #d8e1ef;
  border-radius: 3px;
  background: #f7faff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
}
.dq-ver { font-family: var(--serif); color: #9aa6b8; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; }
.dq-name { color: var(--ink); font-size: 25px; font-weight: 500; letter-spacing: .1em; margin-top: 10px; }
.dq-desc { color: var(--muted); font-size: 13px; letter-spacing: .05em; margin-top: 9px; }
.dq-price { margin: 28px 0 4px; display: flex; align-items: baseline; gap: 12px; }
/* 金额：货币符号与数字严格基线对齐、同色；数字强制等高（lining）与等宽（tabular），
   避免衬线字体的老式数字高低错落，保证两位小数与千分位规整 */
.dq-price b {
  display: inline-flex;
  align-items: baseline;
  font-family: "Times New Roman", Georgia, var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.dq-price b .dq-cur { font-size: 26px; line-height: 1; margin-right: 6px; color: var(--navy); }
.dq-price span { font-size: 13px; color: #929cad; letter-spacing: .08em; }
.dq-features { list-style: none; padding: 22px 0 0; margin: 24px 0 30px; border-top: 1px solid var(--line); }
.dq-features li { color: #5f6b80; font-size: 14px; padding: 8px 0; display: flex; align-items: center; gap: 11px; }
.dq-features li i {
  width: 15px; height: 15px;
  border: 1px solid #cbd7e9;
  border-radius: 50%;
  color: var(--navy-2);
  font-size: 9px;
  font-style: normal;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

/* 主按钮：低饱和纯色墨蓝，无渐变 */
.dq-btn {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .2em;
  text-indent: .2em;
  padding: 15px 0;
  border-radius: 6px;
  background: var(--navy);
  transition: background .25s ease, box-shadow .25s ease;
}
.dq-btn:hover { background: var(--navy-2); box-shadow: 0 8px 20px rgba(27, 53, 92, .18); }
.dq-btn:disabled { opacity: .6; cursor: not-allowed; }
.dq-stock { text-align: center; color: #9aa4b5; font-size: 12px; margin-top: 12px; }
.dq-stock::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 7px; vertical-align: 2px; background: var(--gold); transform: rotate(45deg); }

/* 服务说明条 */
.dq-assurance {
  max-width: 1000px;
  margin: 30px auto 0;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.dq-assurance div { display: flex; align-items: center; justify-content: center; gap: 10px; color: #77839a; font-size: 13px; letter-spacing: .05em; }
.dq-assurance div:not(:last-child) { border-right: 1px solid var(--line); }
.dq-assurance i { width: 5px; height: 5px; flex: none; background: var(--gold); transform: rotate(45deg); opacity: .75; }

/* ===================== 购买流程 ===================== */
.dq-steps { max-width: 1000px; margin: 48px auto 100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 16px; }
.dq-step {
  border: 1px solid var(--line);
  border-top: 2px solid #dbe4f1;
  border-radius: 6px;
  padding: 28px 22px 26px;
  background: #fff;
  transition: border-color .3s ease, transform .3s ease;
}
.dq-step:hover { border-top-color: var(--navy-2); transform: translateY(-3px); }
.dq-step em { display: block; font-family: var(--serif); font-style: normal; font-size: 24px; line-height: 1; color: var(--gold); opacity: .85; margin-bottom: 18px; }
.dq-step b { display: block; color: var(--navy); font-size: 14px; font-weight: 600; letter-spacing: .08em; margin-bottom: 9px; }
.dq-step p { color: #7a869a; font-size: 13px; line-height: 1.85; margin: 0; }

/* ===================== 购买须知（商品页摘要卡） ===================== */
.dq-notes { background: #f1f4f9; padding: 0 16px 92px; }
a.dq-notes-inner {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  padding: 34px 38px 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #6b778b;
  font-size: 13px;
  line-height: 2.15;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
a.dq-notes-inner:hover { border-color: #cfdaea; box-shadow: 0 12px 32px rgba(24, 48, 92, .08); transform: translateY(-2px); }
.dq-notes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dq-notes-head h3 { color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: .14em; margin: 0; }
.dq-notes-more { color: var(--blue); font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.dq-note-line { display: block; padding-left: 20px; position: relative; }
.dq-note-line::before { content: ''; position: absolute; left: 2px; top: 13px; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
.dq-notes-goto { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--navy); font-size: 13px; letter-spacing: .1em; text-align: right; }
.dq-inline-link { color: var(--blue); text-decoration: underline; }

/* ===================== 购买须知单页 ===================== */
.dq-notice-body { background: var(--bg); padding: 56px 16px 104px; }
.dq-notice-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 58px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(24, 48, 92, .06);
}
.dq-notice-card::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34%; height: 2px; background: linear-gradient(90deg, transparent, var(--navy-2), transparent); }
.dq-notice-meta {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 22px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  color: #8b96a9; font-size: 12px; letter-spacing: .1em;
}
.dq-notice-meta::before { content: ''; display: block; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
.dq-notice-content { color: #4d586c; font-size: 15px; line-height: 2.05; word-break: break-word; }
.dq-notice-content > *:first-child { margin-top: 0; }
.dq-notice-content h2, .dq-notice-content h3, .dq-notice-content h4 {
  color: var(--navy); font-weight: 600; letter-spacing: .06em; line-height: 1.6;
}
.dq-notice-content h2 { font-size: 19px; margin: 34px 0 12px; }
.dq-notice-content h3 { font-size: 16px; margin: 30px 0 10px; padding-left: 13px; border-left: 2px solid var(--gold); }
.dq-notice-content h4 { font-size: 15px; margin: 24px 0 8px; }
.dq-notice-content p { margin: 0 0 14px; }
.dq-notice-content ul, .dq-notice-content ol { margin: 0 0 18px; padding-left: 24px; }
.dq-notice-content li { margin: 6px 0; }
.dq-notice-content strong { color: var(--ink); font-weight: 600; }
.dq-notice-content a { color: var(--blue); text-decoration: underline; }
.dq-notice-content img { max-width: 100%; height: auto; border-radius: 4px; }
.dq-notice-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.dq-notice-content th, .dq-notice-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.dq-notice-content th { background: #f7f9fc; color: var(--navy); font-weight: 600; }
.dq-notice-content blockquote { margin: 16px 0; padding: 12px 18px; border-left: 3px solid #dbe4f1; background: #f8fafd; color: #6b778b; }
.dq-notice-content hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.dq-notice-empty { text-align: center; color: #98a4bb; padding: 30px 0; }
.dq-notice-actions { max-width: 860px; margin: 26px auto 0; display: flex; gap: 14px; justify-content: center; }
.dq-notice-actions a {
  min-width: 168px; padding: 13px 20px; border-radius: 6px;
  text-align: center; font-size: 14px; letter-spacing: .1em; text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
}
.dq-notice-actions .primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.dq-notice-actions .primary:hover { background: var(--navy-2); }
.dq-notice-actions .ghost { background: #fff; color: var(--muted); border: 1px solid #dfe6f2; }
.dq-notice-actions .ghost:hover { border-color: #b9c8e0; color: var(--navy); }

.dq-recent {
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 13px 18px;
  border: 1px solid #ecdfc4;
  border-radius: 6px;
  background: #fffaf0;
  color: #8a7346;
  font-size: 13px;
  display: none;
}
.dq-recent a { color: var(--blue); text-decoration: underline; margin-left: 10px; }

/* ===================== 弹窗 ===================== */
.dq-mask { position: fixed; inset: 0; background: rgba(10, 20, 38, .6); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; }
.dq-modal {
  position: relative;
  width: 460px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 24, 48, .24);
}
.dq-modal::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 44%; height: 2px; background: linear-gradient(90deg, transparent, var(--navy-2), transparent); }
.dq-modal h2 { font-size: 20px; color: var(--ink); font-weight: 500; letter-spacing: .14em; text-align: center; margin: 0 0 20px; }
.dq-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 24px; font-weight: 300; color: #9aa5b8; cursor: pointer; line-height: 1; }
.dq-close:hover { color: var(--navy); }
.dq-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eef1f7; color: var(--muted); font-size: 14px; }
.dq-row b { color: var(--ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dq-alert { margin-top: 12px; color: #a8453b; }
.dq-modal .dq-btn { margin-top: 22px; }
.dq-panel { display: none; }
.dq-panel.on { display: block; }
.dq-tip { text-align: center; color: #7b879c; font-size: 13px; line-height: 1.85; }

/* 支付宝官方网页支付 · 跳转收银台 */
.dq-pay-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 auto 20px; }
.dq-pay-badge span { width: 62px; height: 62px; border-radius: 14px; background: #1677ff; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(22, 119, 255, .18); }
.dq-pay-badge small { color: #7b879c; font-size: 12px; letter-spacing: .14em; }
.dq-btn-go { display: block; max-width: 340px; margin: 22px auto 0; text-align: center; text-decoration: none; }
.dq-btn-go:hover { text-decoration: none; }
.dq-codebox {
  margin: 22px 0 10px;
  padding: 20px 12px;
  border: 1px dashed #b9c8e0;
  border-radius: 8px;
  background: #f5f9ff;
  text-align: center;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--navy);
  word-break: break-all;
  user-select: all;
}
.dq-ok { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #eef4fc; color: var(--navy-2); font-size: 30px; display: flex; align-items: center; justify-content: center; }
.dq-ghost { display: block; width: 100%; margin-top: 12px; padding: 12px 0; border: 1px solid #dfe6f2; border-radius: 6px; background: #fff; color: #5f6b82; cursor: pointer; font-size: 14px; transition: all .2s ease; }
.dq-ghost:hover { border-color: #b9c8e0; color: var(--navy); }

/* ===================== 支付页 / 结果页 ===================== */
.dq-body { background: var(--bg); padding: 60px 16px 100px; }
.dq-box {
  max-width: 660px;
  margin: 0 auto;
  padding: 38px 40px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(24, 48, 92, .06);
  position: relative;
}
.dq-box.dq-box-center { text-align: center; }
.dq-box::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 2px; background: linear-gradient(90deg, transparent, var(--navy-2), transparent); }
.dq-box h2 { color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: .14em; text-align: center; margin: 0; }
.dq-state { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dq-state .icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: #eef4fc; color: var(--navy-2); }
.dq-state h2 { font-size: 20px; }
.dq-state p { color: #7b879c; font-size: 13px; margin-top: 8px; }
.dq-rows { margin-top: 24px; }
.dq-row b { word-break: break-all; text-align: right; }
.dq-links { text-align: center; margin-top: 26px; }
.dq-links a { color: var(--blue); font-size: 13px; margin: 0 14px; text-decoration: underline; }
.dq-body .dq-tip { color: #98a4bb; font-size: 13px; line-height: 1.9; margin-top: 18px; }

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .dq-assurance { grid-template-columns: 1fr; gap: 12px; }
  .dq-assurance div:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .dq-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dq-hero, .dq-hero.dq-hero-sm { padding: 126px 16px 62px; }
  .dq-hero h1 { font-size: 25px; letter-spacing: .18em; text-indent: .18em; }
  .dq-hero-sub { font-size: 13px; letter-spacing: 0; line-height: 1.9; }
  .dq-sub-sep { display: none; }
  .dq-sub-2 { display: block; margin-top: 2px; }
  .dq-hero-tags span { padding: 0 12px; font-size: 11px; }
  .dq-grid, .dq-steps { grid-template-columns: 1fr; }
  .dq-grid { gap: 20px; }
  .dq-card { padding: 34px 24px 30px; }
  .dq-badge { top: 18px; right: 20px; }
  .dq-price b { font-size: 40px; }
  .dq-name { font-size: 22px; }
  .dq-section-title { padding-top: 66px; font-size: 21px; }
  a.dq-notes-inner { padding: 26px 22px 22px; }
  .dq-notes-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dq-notice-body { padding: 36px 14px 72px; }
  .dq-notice-card { padding: 30px 22px 28px; }
  .dq-notice-content { font-size: 14px; line-height: 1.95; }
  .dq-notice-content h2 { font-size: 17px; }
  .dq-notice-content h3 { font-size: 15px; }
  .dq-notice-actions { flex-direction: column; }
  .dq-notice-actions a { min-width: 0; width: 100%; }
  .dq-modal { padding: 28px 22px 26px; }
  .dq-box { padding: 30px 22px 26px; }
  .dq-codebox { font-size: 16px; }
  .dq-steps { margin-bottom: 70px; }
}
