/* 商店前台：首页、商品详情、付款页共用 */
:root {
  --bg: #f4f6fa;
  --bg-wash: rgba(54, 110, 230, 0.07);
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --ink: #111827;
  --ink-soft: #4b5565;
  --ink-dim: #8a94a6;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --ok: #0f9d58;
  --ok-soft: rgba(15, 157, 88, 0.1);
  --warn: #b45309;
  --warn-soft: rgba(217, 119, 6, 0.1);
  --danger: #dc2626;
  --alipay: #1677ff;
  --wxpay: #07c160;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.05), 0 18px 40px rgba(15, 23, 42, 0.09);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.75);
  --radius: 20px;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg);
  background-image: radial-gradient(1100px 520px at 50% -180px, var(--bg-wash), transparent 70%);
  background-repeat: no-repeat;
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 顶栏 ---------- */
.shop-header {
  position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px max(20px, calc((100% - 1160px) / 2)) 0; pointer-events: none;
}
.shop-header > * { pointer-events: auto; }
.brand, .shop-header nav {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 4px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 999px;
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.brand { gap: 9px; padding: 4px 16px 4px 5px; font-weight: 650; letter-spacing: 0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 5px; }
.shop-header nav a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 999px;
  font-size: 14px; color: var(--ink-soft); transition: background .15s, color .15s;
}
.shop-header nav a:hover { color: var(--ink); background: var(--accent-soft); }
.shop-header nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); font-weight: 560; }

main { max-width: 1160px; margin: 0 auto; padding: 96px 20px 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.muted { color: var(--ink-soft); }
.dim { color: var(--ink-dim); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 560; color: var(--accent-ink); letter-spacing: 0.02em; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
footer { max-width: 1160px; margin: 0 auto; padding: 28px 20px 40px; font-size: 13px; color: var(--ink-dim); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- 按钮 / 表单 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 560; font-size: 15px;
  transition: transform .12s, box-shadow .15s, background .15s, opacity .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: .5; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24); }
.btn-primary:hover:not(:disabled) { background: var(--accent-ink); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-soft); }
.btn-block { width: 100%; min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-danger { color: var(--danger); }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 520; }
.field input, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; font-weight: 400;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hint { font-size: 12.5px; font-weight: 400; color: var(--ink-dim); }
.error { color: var(--danger); font-size: 13.5px; margin: 0; }
.error:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 560; background: var(--surface-soft); color: var(--ink-soft); border: 1px solid var(--line); }
.tag.ok { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.tag.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.tag.accent { color: var(--accent-ink); background: var(--accent-soft); border-color: transparent; }

/* ---------- 首页 ---------- */
.hero { padding: 36px 4px 34px; max-width: 720px; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; font-weight: 750; }
.hero p { margin: 16px 0 0; font-size: 17px; color: var(--ink-soft); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-soft); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: var(--ok); }
.notice { padding: 18px 22px; margin-bottom: 24px; display: flex; gap: 14px; }
.notice svg { color: var(--accent); margin-top: 3px; }
.notice p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; flex-wrap: wrap; }
.catalog-bar h2 { font-size: 22px; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; }
.segmented button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.segmented button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 560; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 13px; color: var(--ink-dim); width: 16px; height: 16px; }
.search input { width: 220px; min-height: 40px; padding: 0 14px 0 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); outline: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.catalog-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product {
  display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.product-top { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 20px 0; }
.logo-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); font-weight: 700; color: var(--accent-ink); }
.logo-tile img { width: 28px; height: 28px; }
.product-top .eyebrow { margin: 0; font-size: 12.5px; }
.product-top .tag { margin-left: auto; }
.product-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 20px 20px; }
.product-body h3 { font-size: 21px; font-weight: 680; }
.product-body > p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.features { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-soft); }
.features li { display: flex; gap: 8px; align-items: flex-start; }
.features svg { width: 15px; height: 15px; color: var(--accent); margin-top: 3px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 28px; font-weight: 720; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.price small { font-size: 13px; font-weight: 500; color: var(--ink-dim); margin-left: 3px; letter-spacing: 0; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 560; color: var(--accent-ink); }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
.product:hover .more svg { transform: translateX(3px); }
.product.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow); }
.empty { padding: 40px; text-align: center; color: var(--ink-dim); }

.lookup-panel { margin-top: 40px; padding: 26px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.lookup-panel h2 { font-size: 20px; }
.lookup-panel p { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }
.lookup-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.recent { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-soft); font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.chip:hover { color: var(--accent-ink); border-color: var(--accent-soft); }
.chip.plain { background: none; border-color: transparent; color: var(--ink-dim); }

/* ---------- 商品详情 ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; margin: 4px 0 18px; font-size: 13.5px; color: var(--ink-dim); }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs svg { width: 14px; height: 14px; }
.item-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.item-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.item-head { padding: 28px; display: grid; gap: 16px; }
.item-head .row { display: flex; align-items: center; gap: 14px; }
.item-head .logo-tile { width: 56px; height: 56px; border-radius: 16px; }
.item-head .logo-tile img { width: 34px; height: 34px; }
.item-head h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 720; }
.item-head .lead { margin: 0; font-size: 16px; color: var(--ink-soft); }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--surface-soft); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.feature-chips svg { width: 14px; height: 14px; color: var(--accent); }
.section { padding: 26px 28px; }
.section > h2 { font-size: 18px; margin-bottom: 14px; }
.details h3 { font-size: 15.5px; margin: 20px 0 8px; }
.details h3:first-child { margin-top: 0; }
.details p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14.5px; }
.details ul { margin: 0 0 6px; padding: 0; list-style: none; display: grid; gap: 7px; }
.details li { position: relative; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }
.details li::before { content: ""; position: absolute; left: 3px; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .55; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; padding: 14px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; font-size: 12.5px; }
.steps strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }

.buy-card { position: sticky; top: 88px; padding: 24px; display: grid; gap: 16px; }
.buy-card .price { font-size: 36px; }
.buy-status { display: flex; flex-wrap: wrap; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; width: max-content; }
.qty button { width: 42px; height: 42px; border: 0; background: var(--surface-soft); cursor: pointer; font-size: 18px; color: var(--ink-soft); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty input { width: 54px; height: 42px; border: 0; text-align: center; background: var(--surface); outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 14px; color: var(--ink-soft); }
.total strong { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-marks { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 12.5px; color: var(--ink-dim); }
.pay-marks span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.alipay { background: var(--alipay); }
.dot.wxpay { background: var(--wxpay); }

/* ---------- 付款页 ---------- */
.pay-wrap { max-width: 620px; margin: 0 auto; display: grid; gap: 18px; }
.pay-summary { padding: 26px; display: grid; gap: 18px; }
.pay-summary .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-summary h1 { font-size: 22px; font-weight: 680; }
.amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amount strong { font-size: 40px; font-weight: 740; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown { font-size: 13.5px; color: var(--warn); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.meta dt { color: var(--ink-dim); }
.meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.meta code { font-family: var(--mono); font-size: 13px; }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--warn-soft); color: var(--warn); }
.status[data-status="delivered"] { background: var(--ok-soft); color: var(--ok); }
.status[data-status="paid"] { background: var(--accent-soft); color: var(--accent-ink); }
.status[data-status="expired"], .status[data-status="cancelled"] { background: var(--surface-soft); color: var(--ink-dim); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: 16px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method .mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 15px; }
.method.alipay .mark { background: var(--alipay); }
.method.wxpay .mark { background: var(--wxpay); }
.method strong { display: block; font-size: 15px; }
.method small { color: var(--ink-dim); font-size: 12.5px; }
.method:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.method:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.callout { padding: 16px 18px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.callout p { margin: 0 0 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout.ok { background: var(--ok-soft); border-color: transparent; color: var(--ink); }
.delivery { display: grid; gap: 12px; }
.delivery-box { position: relative; padding: 16px 18px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); }
.delivery-box pre { margin: 0; font-family: var(--mono); font-size: 15px; white-space: pre-wrap; word-break: break-all; padding-right: 72px; }
.delivery-box .btn { position: absolute; top: 10px; right: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 10px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; box-shadow: var(--shadow-lift); z-index: 50; }
.key-form { display: grid; gap: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .item-layout { grid-template-columns: minmax(0, 1fr); }
  .buy-card { position: static; order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookup-panel { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .shop-header { padding: 12px 16px 0; }
  .brand { padding-right: 12px; font-size: 14.5px; }
  .brand img { width: 30px; height: 30px; }
  .shop-header nav a { padding: 0 11px; font-size: 13px; }
  main { padding: 84px 16px 16px; }
  .hero { padding: 22px 2px 26px; }
  .hero p { font-size: 15.5px; }
  .search input { width: 100%; }
  .catalog-tools, .search { width: 100%; }
  .products { grid-template-columns: 1fr; gap: 14px; }
  .lookup-form { grid-template-columns: 1fr; }
  .item-head, .section, .buy-card, .pay-summary { padding: 20px; }
  .methods { grid-template-columns: 1fr; }
  .amount strong { font-size: 34px; }
  footer { padding: 24px 16px 32px; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
  .brand { padding-right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- 对比表 ---------- */
.compare { margin-top: 28px; }
.compare-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.compare-head h2 { font-size: 22px; margin-bottom: 6px; }
.compare-head p { margin: 0; }
.compare-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare-table th, .compare-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-dim); white-space: nowrap; }
.compare-table tbody th { font-weight: 520; color: var(--ink-soft); width: 34%; }
.compare-table td { color: var(--ink); }
.compare-table .rec { background: var(--accent-soft); }
.compare-table thead .rec { border-radius: 12px 12px 0 0; color: var(--accent-ink); }
.compare-table tbody tr:last-child .rec { border-radius: 0 0 12px 12px; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table svg { width: 20px; height: 20px; stroke-width: 2.2; }
.compare-table svg.yes { color: var(--ok); }
.compare-table svg.no { color: var(--ink-dim); opacity: .7; }
.compare .hint { margin: 14px 0 0; }
.compare .hint a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.methods.compact { grid-template-columns: 1fr 1fr; gap: 10px; }
.methods.compact .method { padding: 10px 12px; border-radius: 12px; gap: 10px; }
.methods.compact .mark { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.methods.compact strong { font-size: 14px; }
@media (max-width: 600px) {
  .compare-table th, .compare-table td { padding: 11px 10px; font-size: 13px; }
  .compare-table tbody th { width: 38%; }
  .compare-head .btn { width: 100%; }
}

/* ---------- 账号 ---------- */
.order-list { display: grid; gap: 10px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); transition: border-color .15s; }
.order-row:hover { border-color: var(--accent); }
.order-row strong { display: block; font-size: 15px; }
.order-row small { font-size: 12.5px; }
.order-side { display: flex; align-items: center; gap: 12px; flex: none; }
.order-amount { font-weight: 640; font-variant-numeric: tabular-nums; }

/* =====================================================================
   玻璃质感层：沿用 AI 小铺原来的材质（硅丝背景、半透明卡片、胶囊玻璃按钮、渐变封面）。
   放在文件最后，用同名颜色变量覆盖，所以其他页面（订单找回等）自动跟着变。
   ===================================================================== */
:root {
  --shade: 49, 79, 106;
  --bg: #f8faff;
  --surface: rgba(255, 255, 255, 0.64);
  --surface-soft: rgba(49, 79, 106, 0.04);
  --line: rgba(49, 79, 106, 0.08);
  --line-strong: rgba(49, 79, 106, 0.16);
  --ink: #263a4a;
  --ink-soft: #566d7e;
  --ink-dim: #667b8d;
  --accent: #1762ad;
  --accent-ink: #0e538f;
  --accent-soft: rgba(23, 98, 173, 0.07);
  --ok: #237a60;
  --ok-soft: rgba(35, 122, 96, 0.08);
  --warn: #95651f;
  --warn-soft: rgba(149, 101, 31, 0.08);
  --danger: #ad4247;
  --ctl-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.035) 46%, rgba(181, 215, 242, 0.055));
  --ctl-active: linear-gradient(150deg, rgba(255, 255, 255, 0.4), rgba(217, 237, 251, 0.075) 46%, rgba(156, 201, 234, 0.105));
  --primary-bg: linear-gradient(150deg, rgba(229, 245, 255, 0.32), rgba(145, 192, 232, 0.065) 46%, rgba(143, 190, 231, 0.16));
  --ctl-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(72, 123, 168, 0.14), 0 0 0 0.5px rgba(77, 122, 160, 0.12), 0 8px 18px -14px rgba(var(--shade), 0.25);
  --card-bg: rgba(255, 255, 255, 0.64);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 0.5px rgba(var(--shade), 0.045), 0 16px 40px -28px rgba(var(--shade), 0.2);
  --shadow: var(--card-shadow);
  --shadow-lift: inset 0 1px 0 #fff, 0 0 0 0.5px rgba(var(--shade), 0.07), 0 18px 34px -23px rgba(var(--shade), 0.3);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: transparent;
}
body {
  font-size: 14px;
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('/static/img/liquid-silk.svg') center / cover fixed no-repeat;
  background-color: var(--bg);
}
::selection { background: rgba(23, 98, 173, 0.15); }
:is(button, .btn, a, input, select, textarea):focus-visible { outline: 3px solid rgba(23, 98, 173, 0.55); outline-offset: 4px; }

/* ---------- 顶栏：玻璃胶囊 ---------- */
.shop-header { padding: 18px max(26px, calc((100% - 1060px) / 2)) 0; }
.brand, .shop-header nav {
  position: relative; isolation: isolate; border: 0; min-height: 42px;
  background: var(--ctl-bg); box-shadow: var(--ctl-shadow);
}
.brand { background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; }
.brand img { background: transparent; padding: 0; width: 30px; height: 30px; }
.shop-header nav { -webkit-backdrop-filter: blur(0.8px) saturate(110%); backdrop-filter: blur(0.8px) saturate(110%); }
.shop-header nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: url('/static/img/glass-light.svg') center / 100% 100% no-repeat; opacity: 0.55; pointer-events: none;
}
.shop-header nav a { min-height: 40px; padding: 7px 16px; font-size: 13px; font-weight: 500; }
.shop-header nav a:hover { color: var(--accent); background: rgba(255, 255, 255, 0.24); }
.shop-header nav a[aria-current="page"] { color: var(--accent-ink); background: var(--ctl-active); box-shadow: var(--ctl-shadow); font-weight: 500; }

/* ---------- 版心与标题 ---------- */
main { max-width: 1112px; padding: 104px 26px 24px; }
.hero { max-width: none; padding: 29px 3px 36px; }
.hero .eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.07em; color: var(--ink-dim); }
.hero h1 { max-width: 800px; font-size: clamp(32px, 4.6vw, 48px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.25; }
.hero p { max-width: 680px; margin-top: 15px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.hero-points { margin-top: 21px; gap: 9px 20px; font-size: 12px; }
.hero-points svg { width: 14px; height: 14px; color: var(--accent); }
.eyebrow { color: var(--accent); }

/* ---------- 阅读层：半透明卡片 ---------- */
.panel { border: 0; border-radius: 28px; background: var(--card-bg); box-shadow: var(--card-shadow); }
.notice { background: rgba(242, 249, 255, 0.66); border-radius: 24px; }
.lookup-panel h2, .section > h2, .compare-head h2 { font-weight: 500; letter-spacing: -0.025em; }
.catalog-bar h2 { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; }

/* ---------- 玻璃按钮 ---------- */
.btn, .qty button {
  position: relative; isolation: isolate; border: 0; border-radius: 999px;
  min-height: 46px; padding: 0 22px; font-size: 13.5px; font-weight: 500; color: var(--accent-ink);
  background: var(--primary-bg); box-shadow: var(--ctl-shadow);
  -webkit-backdrop-filter: blur(0.6px) saturate(110%); backdrop-filter: blur(0.6px) saturate(110%);
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.btn::before, .qty button::before, .chip::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at var(--glass-x, 25%) var(--glass-y, 0%), #fff, rgba(255, 255, 255, 0.06) 58%), linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.08) 46%, rgba(89, 134, 175, 0.16) 78%, rgba(255, 255, 255, 0.7));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
}
.btn::after {
  content: ''; position: absolute; inset: 2px 8px auto; height: 2px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at var(--glass-x, 30%) 50%, rgba(255, 255, 255, 0.9), transparent 72%);
}
.btn-primary { color: var(--accent-ink); background: var(--primary-bg); }
.btn-ghost, .qty button { color: var(--ink-soft); background: var(--ctl-bg); }
.btn:hover:not(:disabled), .qty button:hover:not(:disabled) { background: var(--ctl-active); color: var(--accent-ink); box-shadow: var(--ctl-shadow), 0 9px 18px -15px rgba(23, 98, 173, 0.25); }
.btn-primary:hover:not(:disabled) { background: var(--ctl-active); }
.btn:disabled, .qty button:disabled { opacity: 1; color: var(--ink-dim); background: rgba(var(--shade), 0.035); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07); }
.btn:disabled::before, .btn:disabled::after { opacity: 0.3; }
.btn-danger { color: var(--danger); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
.btn-block { min-height: 52px; font-size: 14.5px; }
.qty { border: 0; border-radius: 999px; overflow: visible; gap: 6px; align-items: center; background: transparent; }
.qty button { min-height: 40px; width: 40px; padding: 0; font-size: 17px; }
.qty input { background: rgba(255, 255, 255, 0.56); border-radius: 12px; height: 40px; width: 54px; border: 1px solid var(--line-strong); }

/* ---------- 分类与搜索 ---------- */
.segmented { position: relative; isolation: isolate; border: 0; gap: 3px; background: var(--ctl-bg); box-shadow: var(--ctl-shadow); }
.segmented::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url('/static/img/glass-light.svg') center / 100% 100% no-repeat; opacity: 0.55; pointer-events: none; }
.segmented button { min-height: 40px; padding: 0 15px; border-radius: 999px; font-size: 12.5px; color: var(--ink-soft); }
.segmented button[aria-selected="true"] { color: var(--accent-ink); background: var(--ctl-active); box-shadow: var(--ctl-shadow); font-weight: 500; }
.search input { min-height: 48px; border-radius: 999px; background: rgba(255, 255, 255, 0.38); border-color: rgba(var(--shade), 0.1); }
.search input:focus { background: rgba(255, 255, 255, 0.86); }

/* ---------- 输入框 ---------- */
.field input, .field textarea, .search input, .recovery-fallback textarea {
  border: 1px solid rgba(var(--shade), 0.14); border-radius: 15px; background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 2px rgba(var(--shade), 0.015);
}
.field input:hover, .field textarea:hover { border-color: rgba(var(--shade), 0.24); }
.field input:focus, .field textarea:focus, .search input:focus { background: rgba(255, 255, 255, 0.9); border-color: rgba(23, 98, 173, 0.5); box-shadow: 0 0 0 3px rgba(23, 98, 173, 0.09); }
.field { color: var(--ink-soft); font-size: 12.5px; }

/* ---------- 商品卡片：渐变封面 + 白色信息区 ---------- */
.products { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; margin-top: 4px; }
.product {
  --cover-tone: #dceaf7; --mark-ink: #356987;
  border: 1px solid rgba(255, 255, 255, 0.86); border-radius: 26px; background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--card-shadow); overflow: hidden; transition: transform 250ms var(--ease), background 200ms ease, box-shadow 250ms ease;
}
.product:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.75); box-shadow: var(--shadow-lift); }
.product[data-service="plus"] { --cover-tone: #d5e9f8; --mark-ink: #2c668c; }
.product[data-service="pro"] { --cover-tone: #dde5f1; --mark-ink: #4c607a; }
.product[data-service="business"] { --cover-tone: #cfe5f8; --mark-ink: #1f6190; }
.product.featured { border-color: rgba(23, 98, 173, 0.42); box-shadow: 0 0 0 1px rgba(23, 98, 173, 0.1), var(--card-shadow), 0 20px 40px -26px rgba(23, 98, 173, 0.4); }
.cover { position: relative; flex-shrink: 0; width: 100%; height: 130px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background: radial-gradient(ellipse at 45% 0%, rgba(255, 255, 255, 0.85), transparent 66%), linear-gradient(155deg, rgba(255, 255, 255, 0.55), var(--cover-tone)); }
.product-mark {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; padding: 6px; border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06)); box-shadow: var(--ctl-shadow);
}
.product-mark img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.cover-caption { max-width: 85%; font-size: 10.5px; line-height: 1.5; font-weight: 500; letter-spacing: 0.025em; color: var(--mark-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; line-height: 1.5; font-weight: 500; color: var(--mark-ink); background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 0.5px rgba(var(--shade), 0.06); }
.flag.accent { color: #fff; background: var(--accent); box-shadow: none; }
.product-info { display: flex; flex-direction: column; flex: 1; gap: 10px; min-width: 0; padding: 18px 20px 20px; }
.product-info h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.product-info > p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }
.features { font-size: 12.5px; }
.features svg { color: var(--accent); }
.product-foot { border-top: 0; padding-top: 6px; align-items: center; }
.price { font-size: 23px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
.price small { font-size: 11px; font-weight: 400; color: var(--ink-soft); }
.more { position: relative; isolation: isolate; height: 37px; padding: 0 14px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--accent); background: var(--ctl-bg); box-shadow: var(--ctl-shadow); transition: transform 200ms var(--ease), background 200ms ease; }
.product:hover .more { transform: translateX(1px); background: var(--ctl-active); }
.more svg { width: 15px; height: 15px; }

/* ---------- 标签、徽标 ---------- */
.tag { border: 0; border-radius: 8px; background: rgba(var(--shade), 0.045); font-weight: 500; }
.tag.ok { background: var(--ok-soft); }
.tag.warn { background: var(--warn-soft); }
.tag.accent { background: var(--accent-soft); }
.chip { position: relative; isolation: isolate; border: 0; background: rgba(255, 255, 255, 0.36); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07); }
.chip.plain { background: transparent; box-shadow: none; }
.chip.plain::before { content: none; }

/* ---------- 商品详情、付款页 ---------- */
.logo-tile { width: 50px; height: 50px; border: 0; border-radius: 17px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1)); box-shadow: var(--ctl-shadow); }
.logo-tile img { mix-blend-mode: multiply; }
.item-head .logo-tile { width: 58px; height: 58px; border-radius: 19px; }
.item-head h1 { font-weight: 600; letter-spacing: -0.035em; }
.feature-chips span { border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.06); }
.steps li { border: 0; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.06); border-radius: 16px; }
.buy-card .price { font-size: 34px; }
.total { border-top-color: rgba(var(--shade), 0.14); }
.method { border: 1px solid rgba(var(--shade), 0.12); background: rgba(255, 255, 255, 0.5); border-radius: 18px; }
.method:has(input:checked) { border-color: rgba(23, 98, 173, 0.55); background: rgba(255, 255, 255, 0.82); box-shadow: 0 0 0 3px rgba(23, 98, 173, 0.09); }
.callout { border: 0; border-radius: 17px; background: var(--accent-soft); }
.callout.ok { background: var(--ok-soft); }
.delivery-box { border: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.58); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07); }
.compare-table th, .compare-table td { border-bottom-color: rgba(var(--shade), 0.07); }
.compare-table .rec { background: rgba(23, 98, 173, 0.06); }
.order-row { border: 0; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07); border-radius: 18px; }
.order-row:hover { background: rgba(255, 255, 255, 0.8); }
.toast { color: var(--ink); background: rgba(255, 255, 255, 0.86); box-shadow: var(--ctl-shadow), 0 16px 34px -20px rgba(var(--shade), 0.4); }
footer { font-size: 12px; }

@media (max-width: 600px) {
  .shop-header { padding: 13px 16px 0; }
  .shop-header nav a { min-height: 36px; padding: 6px 10px; font-size: 12px; }
  main { padding: 86px 16px 16px; }
  .hero { padding: 14px 2px 26px; }
  .products { grid-template-columns: 1fr; }
  .cover { height: 112px; }
  .product-info { padding: 16px 18px 18px; }
}

footer { max-width: 1112px; padding: 28px 26px 40px; }
@media (max-width: 600px) { footer { padding: 24px 16px 32px; } }

/* =====================================================================
   商城 v2：紧凑商品列表、分类、客服浮层、帮助页、订单页、售后、移动端购买条。
   玻璃只用在导航、按钮、分类切换和浮层；商品正文用实心白底，保证清楚。
   ===================================================================== */
:root { --wrap: 1240px; --row-bg: rgba(255, 255, 255, 0.9); }
body {
  background: linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)), url('/static/img/liquid-silk.svg') center / cover fixed no-repeat;
  background-color: #fbfcff;
}
.shop-header { padding: 16px max(24px, calc((100% - var(--wrap)) / 2 + 24px)) 0; }
main { max-width: var(--wrap); padding: 92px 24px 24px; }
footer { max-width: var(--wrap); padding: 28px 24px 40px; }

/* 主按钮：实心蓝色玻璃，白字，保证对比度 */
.btn-primary {
  color: #fff;
  background: linear-gradient(160deg, #2a7fd4 0%, #1762ad 55%, #11528f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 1px rgba(5, 40, 80, 0.25), 0 10px 22px -14px rgba(23, 98, 173, 0.65);
}
.btn-primary:hover:not(:disabled) { color: #fff; background: linear-gradient(160deg, #3189de 0%, #1a6bbd 55%, #125a9c 100%); }
.btn-primary::before { opacity: 0.55; }
.btn-primary:disabled { color: var(--ink-dim); }

/* ---------- 顶栏：商品 / 订单 / 帮助 / 账号 + 客服 ---------- */
.header-tools { display: flex; align-items: center; gap: 8px; }
.support-btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px;
  border: 0; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.72); box-shadow: var(--ctl-shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.support-btn svg { width: 16px; height: 16px; }
.support-pop {
  position: absolute; top: 64px; right: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); z-index: 30; width: min(320px, calc(100vw - 32px));
  padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); box-shadow: var(--ctl-shadow), 0 24px 50px -26px rgba(var(--shade), 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); pointer-events: auto;
}
.support-pop h2 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.support-pop .contact-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.support-pop p { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.support-pop a { color: var(--accent-ink); }

/* ---------- 首页：简短介绍 + 公告 ---------- */
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 12px 2px 22px; }
.intro h1 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; }
.intro p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-soft); max-width: 640px; }
.intro-links { display: flex; gap: 8px; flex-wrap: wrap; }
.notice-bar { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 12px 16px; border-radius: 16px; background: rgba(239, 246, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(23, 98, 173, 0.1); font-size: 13px; color: var(--ink-soft); }
.notice-bar svg { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.notice-text { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.notice-text li { overflow-wrap: anywhere; }
.notice-text a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(29, 78, 216, 0.3); text-underline-offset: 3px; }
.notice-text a:hover { text-decoration-color: currentColor; }
.notice-bar.collapsed .notice-text li:nth-child(n+3) { display: none; }
.notice-bar button { flex: none; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--accent-ink); cursor: pointer; }

/* ---------- 首页：分类 + 紧凑列表 ---------- */
.catalog { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.catalog.has-side { grid-template-columns: 196px minmax(0, 1fr); }
.category-side { position: sticky; top: 84px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.62); box-shadow: var(--ctl-shadow); }
.category-side h2 { padding: 6px 10px 8px; font-size: 12px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.04em; }
.category-side a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; color: var(--ink-soft); }
.category-side a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.category-side a[aria-current="true"] { color: var(--accent-ink); background: var(--ctl-active); box-shadow: var(--ctl-shadow); font-weight: 600; }
.category-side .count { font-size: 11.5px; color: var(--ink-dim); }
.catalog-main { min-width: 0; }
.catalog-bar { margin: 0 0 12px; }
.catalog-bar h2 { font-size: 18px; }
.catalog.has-side #categories { display: none; }

.list-head, .prow { display: grid; grid-template-columns: 44px minmax(0, 1fr) 128px 150px 112px; align-items: center; gap: 16px; }
.list-head { padding: 0 18px 8px; font-size: 12px; color: var(--ink-dim); }
.list-head span:nth-child(3), .list-head span:nth-child(4) { text-align: right; }
.product-list { display: grid; gap: 10px; }
.prow {
  padding: 14px 18px; border-radius: 18px; background: var(--row-bg); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07), 0 10px 26px -24px rgba(var(--shade), 0.4);
  transition: box-shadow 180ms ease, transform 180ms var(--ease);
}
.prow:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(23, 98, 173, 0.22), 0 14px 30px -22px rgba(var(--shade), 0.45); }
.prow.featured { box-shadow: inset 0 0 0 1.5px rgba(23, 98, 173, 0.38), 0 14px 30px -24px rgba(23, 98, 173, 0.45); }
.prow-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(145deg, #fff, #eef5fc); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.08); }
.prow-icon img { width: 26px; height: 26px; }
.prow-main { min-width: 0; display: grid; gap: 4px; }
.prow-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.prow-title .name { overflow-wrap: anywhere; }
.prow-cond { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prow-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--ink-dim); }
.prow-meta span { display: inline-flex; align-items: center; gap: 5px; }
.prow-meta svg { width: 13px; height: 13px; color: var(--accent); }
.prow-stock { display: grid; justify-items: end; gap: 2px; text-align: right; font-size: 12.5px; font-weight: 500; }
.prow-stock small { font-size: 11.5px; font-weight: 400; color: var(--ink-dim); }
.stock-ok { color: var(--ok); }
.stock-low { color: var(--warn); }
.stock-preorder { color: var(--accent-ink); }
.stock-out { color: var(--warn); }
.stock-open { color: var(--ink-soft); }
.prow-title .tag { height: 21px; padding: 0 7px; font-size: 11.5px; }
.tag.auto { color: var(--ok); background: var(--ok-soft); }
.tag.manual { color: var(--ink-soft); }
.prow-price { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.25; }
.prow-price strong { font-size: 20px; font-weight: 650; letter-spacing: -0.03em; }
.prow-price small { margin-left: 2px; font-size: 11.5px; color: var(--ink-dim); font-weight: 400; }
.prow-price em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--ok); }
.prow-cta { justify-self: end; min-height: 38px; padding: 0 18px; font-size: 13px; pointer-events: none; }
.state-box { display: grid; justify-items: center; gap: 12px; padding: 36px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07); text-align: center; color: var(--ink-soft); font-size: 13.5px; }
.skeleton { height: 76px; border-radius: 18px; background: linear-gradient(90deg, rgba(255,255,255,0.7) 25%, rgba(234,241,249,0.9) 50%, rgba(255,255,255,0.7) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 详情页：服务信息、阶梯价、合计 ---------- */
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.08); background: rgba(255, 255, 255, 0.85); }
.facts dt, .facts dd { margin: 0; padding: 11px 16px; font-size: 13.5px; border-top: 1px solid rgba(var(--shade), 0.07); }
.facts dt { color: var(--ink-dim); background: rgba(var(--shade), 0.025); }
.facts dd { color: var(--ink); overflow-wrap: anywhere; }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tier-table th, .tier-table td { padding: 7px 10px; text-align: left; border-bottom: 1px solid rgba(var(--shade), 0.07); }
.tier-table th { font-weight: 500; color: var(--ink-dim); }
.tier-table tr.on td { color: var(--accent-ink); font-weight: 600; background: var(--accent-soft); }
.tiers-box { padding: 12px 14px; border-radius: 14px; background: rgba(239, 246, 255, 0.75); }
.tiers-box h3 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sum { display: grid; gap: 6px; padding-top: 12px; border-top: 1px dashed rgba(var(--shade), 0.16); font-size: 13px; color: var(--ink-soft); }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .save { color: var(--ok); }
.sum .due strong { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.sold-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 12.5px; }
.preorder-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; line-height: 1.7; }
.detail-table-wrap { margin: 4px 0 14px; overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.08); background: rgba(255, 255, 255, 0.85); }
.detail-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 13.5px; }
.detail-table th, .detail-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid rgba(var(--shade), 0.07); overflow-wrap: anywhere; }
.detail-table thead th { border-top: 0; font-weight: 600; color: var(--ink); background: rgba(239, 246, 255, 0.8); }
.detail-table td { color: var(--ink-soft); }
.detail-table td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- 下单确认弹窗 ---------- */
.confirm-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 24px; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 30px 70px -20px rgba(15, 23, 42, 0.35); }
.confirm-dialog::backdrop { background: rgba(15, 23, 42, 0.28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.confirm-body { display: grid; gap: 14px; padding: 22px 22px 18px; }
.confirm-body h2 { margin: 0; font-size: 17px; font-weight: 600; }
.confirm-sum { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-radius: 14px; overflow: hidden; background: rgba(239, 246, 255, 0.7); }
.confirm-sum dt, .confirm-sum dd { margin: 0; padding: 9px 14px; font-size: 13.5px; }
.confirm-sum dt { color: var(--ink-dim); }
.confirm-sum dd { overflow-wrap: anywhere; }
.confirm-sum strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.confirm-notes { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.confirm-notes a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.confirm-check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; cursor: pointer; }
.confirm-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }
.confirm-actions .btn { min-height: 44px; }
.confirm-actions .btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.buy-bar { display: none; }

/* ---------- 订单页、帮助页 ---------- */
.page-title { padding: 8px 2px 18px; }
.page-title h1 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.03em; }
.page-title p { margin: 6px 0 0; color: var(--ink-soft); font-size: 13.5px; }
.narrow { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.help-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
.help-nav { position: sticky; top: 84px; display: grid; gap: 2px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.62); box-shadow: var(--ctl-shadow); }
.help-nav a { padding: 8px 12px; border-radius: 12px; font-size: 13px; color: var(--ink-soft); }
.help-nav a:hover { background: rgba(255, 255, 255, 0.8); color: var(--accent-ink); }
.help-body { display: grid; gap: 14px; }
.help-body section { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.07); scroll-margin-top: 90px; }
.help-body h2 { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; }
.help-body p, .help-body li { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.help-body p { margin: 0 0 8px; }
.help-body ol, .help-body ul { margin: 0; padding-left: 20px; }
.help-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); }
.contact-card strong { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- 批量卡密 ---------- */
.card-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.card-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.08); }
.card-list .idx { flex: none; width: 24px; font-size: 12px; color: var(--ink-dim); text-align: right; }
.card-list code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.card-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- 售后 ---------- */
.tickets { display: grid; gap: 12px; }
.ticket { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.08); }
.ticket-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; }
.msgs { display: grid; gap: 8px; margin: 10px 0 0; }
.msg { padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; background: rgba(var(--shade), 0.04); }
.msg.admin { background: var(--accent-soft); }
.msg small { display: block; margin-bottom: 2px; color: var(--ink-dim); font-size: 11.5px; }
.ticket form { display: grid; gap: 8px; margin-top: 10px; }
.field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(var(--shade), 0.14); border-radius: 15px; background: rgba(255, 255, 255, 0.7); font: inherit; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }

/* ---------- 账号 ---------- */
.inline-form { display: grid; gap: 12px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.banner { padding: 12px 14px; border-radius: 14px; font-size: 13px; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.ok { background: var(--ok-soft); color: var(--ok); }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .catalog.has-side { grid-template-columns: 1fr; }
  .catalog.has-side .category-side { display: none; }
  .catalog.has-side #categories { display: inline-flex; }
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; display: flex; overflow-x: auto; }
  .help-nav a { white-space: nowrap; }
}
@media (max-width: 900px) {
  .list-head { display: none; }
  .prow { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "icon main main" "icon stock price" "icon cta cta"; row-gap: 10px; }
  .prow-icon { grid-area: icon; align-self: start; }
  .prow-main { grid-area: main; }
  .prow-stock { grid-area: stock; display: flex; align-items: baseline; gap: 8px; text-align: left; align-self: center; }
  .prow-price { grid-area: price; }
  .prow-cta { grid-area: cta; justify-self: stretch; }
  .buy-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
    border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: var(--ctl-shadow), 0 18px 40px -20px rgba(var(--shade), 0.5);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    transition: transform 200ms var(--ease), opacity 200ms ease;
  }
  .buy-bar[hidden] { display: none !important; }
  .buy-bar strong { font-size: 18px; font-variant-numeric: tabular-nums; }
  .buy-bar .btn { min-height: 44px; }
  body.has-buy-bar footer { padding-bottom: 100px; }
}
@media (max-width: 600px) {
  .shop-header { padding: 12px 12px 0; gap: 8px; }
  .brand span { display: none; }
  .brand { padding: 4px; }
  .shop-header nav a { padding: 6px 9px; font-size: 12.5px; }
  .support-btn { padding: 0 11px; min-height: 40px; }
  .support-btn span { display: none; }
  .support-pop { right: 12px; top: 60px; }
  main { padding: 80px 14px 14px; }
  .intro { padding: 6px 2px 16px; }
  .prow { padding: 14px; }
  .help-body section { padding: 18px; }
  .confirm-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .confirm-body { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .confirm-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .support-pop, .buy-bar, .brand, .support-btn { background: #fff; }
}

/* 缺货时只留提示和不可点的按钮 */
.is-sold-out .field, .is-sold-out .sum, .is-sold-out #pay-offline { display: none !important; }

/* ---------- 首页商品大卡片：库存行、封面图 ---------- */
.products .product { display: flex; flex-direction: column; color: var(--ink); }
.cover.photo { display: block; padding: 0; height: 160px; background: var(--surface-soft); }
.cover.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; }
.product-status .tag { height: 21px; padding: 0 7px; font-size: 11.5px; }
.product-status .sold { color: var(--ink-dim); }
.products .state-box { grid-column: 1 / -1; }
.skeleton.card { height: 320px; border-radius: 26px; }

/* =====================================================================
   首页改版（2026-10）：公告滚动通栏、居中标题 + 分类标签、定价式商品卡片、保障条
   颜色和图标沿用原来的白底、浅蓝、玻璃质感
   ===================================================================== */
.ticker { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 7px 8px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); box-shadow: var(--ctl-shadow); font-size: 13px; color: var(--ink-soft); overflow: hidden; }
.ticker-tag { flex: none; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(160deg, #2a7fd4, #1762ad); }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker-copy { display: flex; flex: none; }
.ticker-item { flex: none; padding-right: 56px; white-space: nowrap; }
.ticker-item a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(29, 78, 216, 0.3); text-underline-offset: 3px; }
.ticker.moving .ticker-track { animation: ticker-move var(--ticker-dur, 30s) linear infinite; }
.ticker.moving:hover .ticker-track, .ticker.moving:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker.moving .ticker-track { animation: none; width: auto; }
  .ticker.moving .ticker-view { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .ticker.moving .ticker-copy { flex-wrap: wrap; }
  .ticker.moving .ticker-item { white-space: normal; }
  .ticker-dup { display: none; }
  .ticker { border-radius: 20px; align-items: flex-start; }
}

.hero-center { display: grid; justify-items: center; gap: 10px; padding: 18px 8px 28px; text-align: center; }
.hero-center h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.25; }
.hero-center p { margin: 0; max-width: 560px; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.hero-center .segmented { margin-top: 10px; }
.catalog-search { display: flex; justify-content: center; margin: 0 0 18px; }

.products .state-box { grid-column: 1 / -1; }
.product-info em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--ok); }
.product-status .stock-text { font-weight: 500; }
.product-status.ok .stock-text { color: var(--ok); }
.product-status.low .stock-text, .product-status.out .stock-text { color: var(--warn); }
.product-status.pre .stock-text { color: var(--accent-ink); }
.product.soldout .cover { filter: grayscale(0.7); opacity: 0.75; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 44px 0 6px; }
.trust div { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.72); box-shadow: var(--card-shadow); }
.trust svg { grid-row: 1 / 3; width: 36px; height: 36px; padding: 8px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); }
.trust strong { font-size: 14px; font-weight: 600; }
.trust span { font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 1000px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .trust { grid-template-columns: 1fr; gap: 10px; }
  .hero-center { padding: 8px 4px 22px; }
  .ticker { margin-bottom: 18px; font-size: 12.5px; }
}

/* ---------- 下单步骤条、结算页、同类商品 ---------- */
.stepbar { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 22px; padding: 0; list-style: none; max-width: 520px; }
.stepbar li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-dim); }
.stepbar li::before { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: rgba(var(--shade), 0.12); z-index: 0; }
.stepbar li:first-child::before { display: none; }
.stepbar li span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--ink-dim); background: #fff; box-shadow: var(--ctl-shadow); }
.stepbar li.on { color: var(--accent-ink); font-weight: 600; }
.stepbar li.on span { color: #fff; background: linear-gradient(160deg, #2a7fd4, #1762ad); box-shadow: 0 8px 16px -10px rgba(23, 98, 173, 0.8); }
.stepbar li.done { color: var(--ink-soft); }
.stepbar li.done span { color: var(--accent-ink); background: var(--accent-soft); }
.stepbar li.done::before, .stepbar li.on::before { background: rgba(23, 98, 173, 0.45); }

.co-product { display: flex; align-items: center; gap: 12px; }
.co-product > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.co-product strong { overflow-wrap: anywhere; }
.co-unit { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pw-row { display: flex; align-items: center; gap: 10px; }
.pw-row input { flex: 1; min-width: 0; }
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 1px solid rgba(var(--shade), 0.14); border-radius: 15px; background: rgba(255, 255, 255, 0.7); font: inherit; text-transform: uppercase; }
.coupon-row input::placeholder { text-transform: none; }
.coupon-row .btn { min-height: 46px; padding: 0 20px; }
.coupon-ok { color: var(--ok); }
.coupon-bad { color: var(--danger); }
.co-notes { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.co-notes a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.co-title { font-size: 16px; font-weight: 600; margin: 0; }
.co-sum { margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.co-sum div { display: flex; justify-content: space-between; gap: 12px; }
.co-sum dt, .co-sum dd { margin: 0; }
.co-sum dt small { margin-left: 4px; color: var(--ink-dim); }
.co-sum .save { color: var(--ok); }
.co-sum .due { padding-top: 12px; border-top: 1px dashed rgba(var(--shade), 0.16); align-items: baseline; color: var(--ink); }
.co-sum .due strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.page-h1 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.breakdown { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(var(--shade), 0.16); }
.pay-again { display: grid; gap: 10px; }
.pay-again .actions { display: flex; flex-wrap: wrap; gap: 8px; }

.related { margin-top: 36px; }
.related h2 { font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.related .products { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); }
@media (max-width: 600px) {
  .stepbar li { font-size: 12px; }
  .coupon-row { flex-direction: column; }
}
.stepbar { width: 100%; }
.panel > .field + .field { margin-top: 16px; }
@media (max-width: 1000px) { .buy-card.co-aside { order: 0; } }

/* ---------- 打开或刷新页面时的 LOADING 过渡 ---------- */
.page-loading { position: fixed; inset: 0; z-index: 100; display: grid; align-content: center; justify-items: center; gap: 22px; background: rgba(251, 252, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0s 0.25s; }
.page-loading.show { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.2s ease; }
.page-loading.done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0s 0.3s; }
.loading-mark { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: radial-gradient(ellipse at 40% 0%, rgba(255, 255, 255, 0.95), transparent 70%), linear-gradient(150deg, #fff, #dceaf7); box-shadow: var(--ctl-shadow), 0 18px 34px -22px rgba(var(--shade), 0.55); }
.loading-mark img { width: 42px; height: 42px; mix-blend-mode: multiply; }
.loading-ring { position: absolute; inset: -9px; border-radius: 34px; border: 2.5px solid rgba(23, 98, 173, 0.14); border-top-color: var(--accent); animation: loading-spin 1s linear infinite; }
.page-loading p { margin: 0; font-size: 12px; letter-spacing: 0.34em; text-indent: 0.34em; color: var(--ink-dim); }
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-ring { animation: none; border-top-color: rgba(23, 98, 173, 0.45); } }

/* Keep order IDs, delivery text and long email addresses inside small screens. */
.pay-wrap { grid-template-columns: minmax(0, 1fr); }
.pay-wrap > * { min-width: 0; }
.pay-wrap .meta { grid-template-columns: auto minmax(0, 1fr); }
.pay-wrap .top > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .pay-wrap .delivery-box { display: flex; flex-direction: column; gap: 12px; }
  .pay-wrap .delivery-box pre { padding-right: 0; overflow-wrap: anywhere; }
  .pay-wrap .delivery-box .btn { position: static; align-self: flex-start; }
}
.pay-wrap .pay-summary { grid-template-columns: minmax(0, 1fr); }
html body[data-liquid-glass] .pay-wrap .share-note a { white-space: normal; overflow-wrap: anywhere; }
