/* ---------- 头图搜索：居中，筛选卡压在横幅下沿 ---------- */
.pr-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--dark-900) url(../../img/gen/banner-pricing.jpg) center 62% / cover no-repeat;
  color: var(--white);
}
.pr-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--dark-rgb), .4) 0%, rgba(var(--dark-rgb), 0) 70%); pointer-events: none; }
.pr-banner-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 40px; text-align: center; }
.pr-banner-title { font-size: 36px; font-weight: 600; line-height: 48px; letter-spacing: 1px; }
.pr-banner-sub { margin-top: 6px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .72); }
.pr-banner-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.pr-search {
  display: flex;
  align-items: center;
  width: 600px;
  height: 48px;
  padding: 0 4px 0 24px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--sh-3);
  transition: box-shadow var(--dur-2);
}
.pr-search:focus-within { box-shadow: var(--sh-3), 0 0 0 4px rgba(255, 255, 255, .2); }
.pr-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 14px; color: var(--title); }
.pr-search input::placeholder { color: var(--placeholder); }
.pr-search input::-webkit-search-cancel-button { display: none; }
.pr-search button { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-500); color: var(--white); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
.pr-search button:hover { transform: scale(1.06); box-shadow: var(--glow); }
.pr-search button svg { width: 18px; height: 18px; }
.pr-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.pr-consult .ico { --ico-c: currentColor; --ico-f: transparent; }
.pr-consult:hover { border-color: var(--white); background: var(--white); color: var(--title); }
.pr-wrap { position: relative; margin: -56px var(--wrap-x) 0; padding-bottom: var(--sec-y); }
/* ---------- 筛选面板 ---------- */
.pr-filter { padding: 12px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.pr-frow { display: flex; align-items: flex-start; gap: 8px; padding: 10px 0; }
.pr-frow + .pr-frow { border-top: 1px solid var(--line-soft); }
.pr-flabel { flex: none; width: 72px; font-size: 14px; line-height: 28px; color: var(--sub); }
.pr-fopts { display: flex; flex: 1; flex-wrap: wrap; gap: 8px 4px; min-width: 0; }
.pr-fopt {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  line-height: 28px;
  color: var(--title);
  white-space: nowrap;
  transition: color var(--dur-2), background var(--dur-2);
}
.pr-fopt:hover { color: var(--brand-500); }
.pr-fopt.is-active { color: var(--brand-500); font-weight: 500; }
.pr-fopts.is-fold { max-height: 64px; overflow: hidden; }
.pr-fopts.is-fold.is-open { max-height: none; }
.pr-fopts.is-open .pr-fopt.is-rise { animation: pr-rise 280ms var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 10) * 14ms); }
@keyframes pr-rise { from { opacity: 0; transform: translateY(-6px); } }
.pr-fold, .pr-reset { display: inline-flex; flex: none; align-items: center; gap: 4px; height: 28px; padding: 0 4px 0 8px; font-size: 14px; color: var(--sub); transition: color var(--dur-2); }
.pr-fold:hover, .pr-reset:hover { color: var(--brand-500); }
.pr-fold .caret { width: 10px; height: 6px; transition: transform var(--dur-2) var(--ease-out); }
.pr-fold[aria-expanded="true"] .caret { transform: rotate(180deg); }
.pr-reset svg { width: 14px; height: 14px; }

/* ---------- 排序条 ---------- */
.pr-sort { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.pr-sort-opts { display: flex; align-items: stretch; gap: 28px; height: 36px; }
.pr-sort-opts > .tab-ink { bottom: 2px; }
.pr-sort-opt { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--sub); transition: color var(--dur-2); }
.pr-sort-opt:hover { color: var(--title); }
.pr-sort-opt.is-active { color: var(--title); font-weight: 500; }
.pr-ar-both { position: relative; width: 7px; height: 12px; color: var(--placeholder); }
.pr-ar-both::before, .pr-ar-both::after { content: ""; position: absolute; left: 1px; width: 4px; height: 4px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; }
.pr-ar-both::before { top: 1px; transform: rotate(45deg); }
.pr-ar-both::after { bottom: 1px; transform: rotate(-135deg); }
.pr-sort-opt.is-active .pr-ar-both::after { color: var(--brand-500); }
.pr-sort-opt.is-active.is-desc .pr-ar-both::before { color: var(--brand-500); }
.pr-sort-opt.is-active.is-desc .pr-ar-both::after { color: var(--placeholder); }
.pr-count { font-size: 14px; color: var(--sub); }
.pr-count em { margin: 0 2px; font-style: normal; font-weight: 500; color: var(--title); }

/* ---------- 产品行 ---------- */
.pr-item {
  position: relative;
  margin-bottom: 16px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-1);
  scroll-margin-top: 96px;
  cursor: pointer;
  transition: box-shadow var(--dur-3) var(--ease-out);
}
.pr-item:hover { box-shadow: var(--sh-2); }
.pr-item:focus-within { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.pr-title > a:first-of-type::after { content: ""; position: absolute; inset: 0; }
.pr-item .pr-intro,
.pr-item .pr-consult-link,
.pr-item .pr-seg,
.pr-item .pr-btn { position: relative; z-index: 1; }
.pr-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; padding: 0 24px 0 28px; border-bottom: 1px solid var(--line-soft); }
.pr-head-main { min-width: 0; }
.pr-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pr-title .pr-intro { margin-left: 12px; font-size: 14px; font-weight: 400; line-height: 20px; color: var(--sub); }
.pr-meta { display: flex; align-items: center; margin-top: 4px; font-size: 14px; line-height: 18px; color: var(--muted); white-space: nowrap; }
.pr-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: var(--placeholder); vertical-align: middle; }
.pr-head-side { display: flex; flex: none; align-items: center; gap: 20px; font-size: 14px; line-height: 20px; color: var(--sub); }
.pr-side-note { color: var(--muted); }
.pr-intro { display: inline-flex; align-items: center; gap: 6px; color: var(--text); transition: color var(--dur-2); }
.pr-intro .arrow-r { width: 6px; height: 6px; }
.pr-intro:hover { color: var(--brand-500); }
.pr-consult-link { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; color: var(--text); transition: color var(--dur-2), border-color var(--dur-2), background var(--dur-2); }
.pr-consult-link .arrow-r { width: 6px; height: 6px; }
.pr-consult-link:hover { border-color: var(--brand-500); color: var(--brand-500); }

.pr-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; grid-template-rows: auto auto; column-gap: 40px; padding: 18px 24px 22px 28px; }
.pr-plans { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.pr-plans-label { flex: none; width: 72px; font-size: 14px; line-height: 28px; color: var(--sub); }
.pr-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pr-seg::-webkit-scrollbar { display: none; }
.pr-plan { flex: none; }
.pr-plan-static { font-size: 14px; line-height: 28px; color: var(--muted); }
.pr-panel { display: contents; }
.js .pr-panel:not([hidden]) > * { animation: panel-in 360ms var(--ease-out) both; }
.pr-specs { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.5fr); grid-template-rows: auto auto; grid-auto-flow: column; gap: 10px 32px; margin-top: 16px; }
.pr-specs div { display: flex; gap: 12px; min-width: 0; }
.pr-specs dt { flex: none; width: 60px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pr-specs dd { min-width: 0; font-size: 14px; font-weight: 500; line-height: 22px; color: var(--title); white-space: nowrap; }
.pr-specs div:nth-child(n+5) dd { white-space: normal; }
.pr-plan-rec { margin-left: 4px; padding: 0 4px; border-radius: var(--r-xs); background: var(--brand-500); color: var(--white); font-size: 12px; font-style: normal; line-height: 16px; }
.pr-title > a:first-child { color: inherit; transition: color var(--dur-1); }
.pr-title > a:first-child:hover { color: var(--brand-500); }
.pr-rules .sec-sub .link-more { margin-left: 12px; }
.pr-rules .faq { max-width: 960px; margin: 0 auto; }
.pr-buy { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; padding-left: 32px; border-left: 1px solid var(--line-soft); }
.pr-price { display: flex; align-items: baseline; gap: 2px; color: var(--price); white-space: nowrap; }
.pr-price small { font-size: 16px; font-weight: 500; }
.pr-price b { font-size: 32px; font-weight: 500; line-height: 40px; font-variant-numeric: tabular-nums; }
.pr-price span { margin-left: 2px; font-size: 14px; color: var(--muted); }
.pr-price.is-talk { font-size: 20px; font-weight: 500; line-height: 40px; color: var(--title); }
.pr-btn { width: 128px; height: 36px; font-size: 14px; }
.pr-empty { padding: 72px 0; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--white); font-size: 14px; color: var(--muted); text-align: center; }
.pr-empty button { color: var(--brand-500); font-size: 14px; }

/* ---------- 分页 ---------- */
.pr-pager { display: flex; align-items: center; justify-content: center; gap: 8px; height: 32px; margin-top: 24px; font-size: 14px; color: var(--title); }
.pr-pg, .pr-pg-nav, .pr-pg-more { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-family: var(--font-num); font-size: 14px; color: var(--title); transition: color var(--dur-2), border-color var(--dur-2), background var(--dur-2); }
.pr-pg-nav { padding: 0 14px; font-family: var(--font); font-size: 14px; }
.pr-pg-more { border-color: transparent; background: none; font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.pr-pg:hover, .pr-pg-nav:not(:disabled):hover { border-color: var(--brand-500); color: var(--brand-500); }
.pr-pg.is-active { border-color: var(--brand-500); background: var(--brand-500); color: var(--white); }
.pr-pg-nav:disabled { color: var(--placeholder); cursor: not-allowed; }
.pr-pg-jump { display: flex; align-items: center; gap: 8px; margin-left: 16px; font-size: 14px; color: var(--sub); }
.pr-pg-jump input { width: 48px; height: 32px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-family: var(--font-num); font-size: 14px; text-align: center; -moz-appearance: textfield; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.pr-pg-jump input:focus { border-color: var(--brand-500); box-shadow: var(--ring); outline: 0; }
.pr-pg-jump input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* 901–1199：规格从三栏两行改成两栏三行（版本 / 计费、额度 / 有效期、包含 / 场景） */
@media (max-width: 1199px) and (min-width: 901px) {
  .pr-body { grid-template-columns: minmax(0, 1fr) 200px; column-gap: 32px; }
  .pr-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; gap: 10px 24px; }
  .pr-buy { padding-left: 24px; }
}

@media (max-width: 900px) {
  .pr-banner { height: auto; padding: 32px var(--pad-x) 88px; }
  .pr-banner-inner { padding-top: 0; }
  .pr-banner-title { font-size: 24px; line-height: 34px; }
  .pr-banner-sub { font-size: 14px; }
  .pr-banner-row { width: 100%; gap: 8px; margin-top: 18px; }
  .pr-search { flex: 1; width: auto; height: 46px; padding-left: 16px; }
  .pr-search button { width: 40px; height: 40px; }
  .pr-pg, .pr-pg-nav, .pr-pg-more { min-width: 40px; height: 40px; }
  .pr-consult { height: 46px; padding: 0 14px; }
  .pr-consult .ico { display: none; }
  .pr-wrap { width: auto; margin: -56px var(--pad-x) 0; padding-bottom: var(--sec-y-sm); }
  .pr-filter { padding: 6px 14px; }
  .pr-frow { flex-direction: column; gap: 4px; }
  .pr-frow--ids { display: none; }
  .pr-fopts { gap: 6px 2px; }
  .pr-fopt { padding: 0 10px; font-size: 14px; }
  .pr-reset { padding-left: 0; }
  .pr-sort { height: auto; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .pr-sort-opts { gap: 20px; }
  .pr-head { flex-direction: column; align-items: flex-start; gap: 8px; height: auto; padding: 14px 16px; }
  .pr-title { flex-wrap: wrap; max-width: 100%; font-size: 16px; line-height: 24px; gap: 6px; }
  .pr-meta { flex-wrap: wrap; white-space: normal; }
  .pr-head-side { flex-wrap: wrap; gap: 12px; font-size: 14px; }
  .pr-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding: 14px 16px 16px; }
  .pr-plans { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pr-plans-label { width: auto; line-height: 20px; }
  .pr-specs { grid-row: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 8px; margin-top: 14px; }
  .pr-buy { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .pr-price b { font-size: 24px; line-height: 32px; }
  .pr-pager { flex-wrap: wrap; height: auto; }
  .pr-pg-jump { display: none; }
}
