body.storefront--refund .policy-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  overflow-x: hidden;
}

body.storefront--refund {
  overflow-x: hidden;
}

.policy-hero {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  border: 1px solid var(--store-line, rgba(117, 167, 214, 0.22));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 247, 255, 0.92)),
    var(--store-panel, #fff);
  box-shadow: 0 22px 60px rgba(60, 107, 156, 0.1);
}

.policy-hero h1 {
  margin: 12px 0 14px;
  color: var(--store-text, #12253a);
}

.policy-hero__lead {
  max-width: 74ch;
  margin: 0;
  color: var(--store-text-soft, #5f7893);
  font-size: 1rem;
  line-height: 1.9;
}

.policy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.policy-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.policy-rule {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--store-line, rgba(117, 167, 214, 0.22));
  background: rgba(255, 255, 255, 0.9);
}

.policy-rule__index {
  color: var(--store-accent-strong, #588dff);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.policy-rule h2,
.policy-section h2,
.policy-note strong {
  color: var(--store-text, #12253a);
}

.policy-rule h2 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.policy-rule p,
.policy-section p,
.policy-note p,
.policy-steps span {
  margin: 0;
  color: var(--store-text-soft, #5f7893);
  font-size: 0.94rem;
  line-height: 1.8;
}

.policy-section {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  border: 1px solid var(--store-line, rgba(117, 167, 214, 0.22));
  background: rgba(255, 255, 255, 0.92);
}

.policy-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}

.policy-section__head h2,
.policy-section--split h2 {
  margin: 0;
  font-size: 1.15rem;
}

.policy-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.policy-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.policy-table th,
.policy-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--store-line, rgba(117, 167, 214, 0.2));
  text-align: left;
  vertical-align: top;
}

.policy-table thead th {
  color: var(--store-text-soft, #5f7893);
  font-size: 12px;
  font-weight: 700;
}

.policy-table tbody th {
  color: var(--store-text, #12253a);
  font-weight: 650;
}

.policy-table td {
  color: var(--store-text-soft, #5f7893);
}

.policy-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: policy-step;
}

.policy-steps li {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--store-line-strong, rgba(61, 199, 255, 0.32));
  counter-increment: policy-step;
}

.policy-steps li::before {
  content: "0" counter(policy-step);
  display: block;
  margin-bottom: 8px;
  color: var(--store-accent-strong, #588dff);
  font-size: 12px;
  font-weight: 800;
}

.policy-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--store-text, #12253a);
}

.policy-section--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.policy-section--split article + article {
  padding-left: 34px;
  border-left: 1px solid var(--store-line, rgba(117, 167, 214, 0.22));
}

.policy-section--split p + p {
  margin-top: 8px;
}

.policy-section a,
.policy-steps a {
  color: var(--store-accent-strong, #588dff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-note {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 8px;
  border-left: 3px solid var(--store-accent-strong, #588dff);
  background: rgba(237, 247, 255, 0.78);
}

.policy-note p {
  margin-top: 6px;
}

.checkout-delivery__policy-links,
.product-policy-links,
.orders-policy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.checkout-delivery__policy-links a,
.product-policy-links a,
.orders-policy-links a {
  color: var(--store-accent-strong, #588dff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-faq {
  margin-top: 18px;
  border-radius: 8px;
  border: 1px solid var(--store-line, rgba(117, 167, 214, 0.22));
  background: rgba(255, 255, 255, 0.9);
}

.product-faq__item {
  border-bottom: 1px solid var(--store-line, rgba(117, 167, 214, 0.18));
}

.product-faq__item:last-child {
  border-bottom: 0;
}

.product-faq__item summary {
  padding: 16px 20px;
  cursor: pointer;
  color: var(--store-text, #12253a);
  font-size: 0.95rem;
  font-weight: 650;
}

.product-faq__item p {
  margin: 0;
  padding: 0 20px 17px;
  color: var(--store-text-soft, #5f7893);
  font-size: 0.92rem;
  line-height: 1.8;
}

.support-policy-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #dbe8f6;
  border-radius: 8px;
  background: #f8fbff;
  color: #4a5b73;
  font-size: 13px;
  line-height: 1.7;
}

.support-policy-strip a {
  color: #2563eb;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 820px) {
  .policy-rules,
  .policy-steps,
  .policy-section--split {
    grid-template-columns: 1fr;
  }

  .policy-section--split article + article {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--store-line, rgba(117, 167, 214, 0.22));
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .policy-hero,
  .policy-rule,
  .policy-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .policy-hero__actions .button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .policy-table th,
  .policy-table td {
    padding: 11px 10px;
  }
}

/* 订阅商城：货架摘要行 + 平台对比表里的「去货架」跳转 */
.shelf-meta {
  margin: -6px 0 18px;
  color: var(--store-text-soft, #5f7893);
  font-size: 12.5px;
  line-height: 1.5;
}

.policy-table .shelf-jump {
  color: var(--store-accent-strong, #588dff);
  font-weight: 650;
  white-space: nowrap;
}

/* 服务索引页的条目列表：故意做得像目录，不像营销板块。 */
.service-index__list {
  margin: 16px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--store-text-muted, #5b6b7d);
}

.service-index__list li + li {
  margin-top: 6px;
}

.service-index__list a {
  color: var(--store-accent-strong, #588dff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 页脚前的一行同义说法：只给搜索和 AI 检索看「这页还叫这些名字」，
   字体和颜色压到脚注级别，不参与营销视觉。 */
.service-keywords {
  margin: 26px auto 0;
  max-width: 1080px;
  padding: 0 24px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--store-text-muted, #6b7a8c);
}

.service-keywords a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 免费模型权益规则 ─────────────────────────────────────────────────
   挂在定价页的 policy-section 里，沿用页面既有的浅色底。
   刻意不用卡片：档位表本身就是内容，套卡片会让四行数字浮起来、
   和上面的价格表失去同一个视觉层级。 */
.free-tier-notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.free-tier-notes li {
  position: relative;
  padding-left: 16px;
  color: var(--store-text-soft, #5f7893);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* 用短横而不是圆点或数字：这些是并列的「注意事项」，不是有先后的步骤，
   编号会暗示顺序。 */
.free-tier-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--store-accent-strong, #588dff);
}

.free-tier-notes strong {
  color: var(--store-text, #12253a);
  font-weight: 650;
}

.free-tier-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--store-line, rgba(117, 167, 214, 0.2));
  font-size: 0.88rem;
}

.free-tier-foot a {
  color: var(--store-accent-strong, #588dff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .free-tier-notes li { font-size: 0.9rem; }
}
