/* ===========================================================
   AURUM · 暗色奢华电商样式
   纯静态，无构建。主题色由后台设置注入 --accent。
   =========================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #0d0d0f;
  --panel: #141417;
  --panel-2: #1a1b1f;
  --ink: #f0ebe3;
  --ink-2: #cfc8bc;
  --sub: #98928a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .05);
  --gold: #c8a96a;
  --gold-2: #e8d5a8;
  --accent: #c8a96a;
  --accent-soft: rgba(200, 169, 106, .12);
  --ok: #58a882;
  --warn: #d0a04c;
  --bad: #c9576b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, .8);
  --serif: "Playfair Display", "Didot", "Bodoni MT", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 420px at 50% -120px, rgba(200, 169, 106, .10), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); }
::placeholder { color: #6d6862; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- 顶部细条 ---------- */

.topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--sub);
}
.topbar__in { display: flex; align-items: center; gap: 18px; height: 34px; }
.topbar__welcome { letter-spacing: .06em; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar a:hover { color: var(--ink); }

.lang-sw { display: inline-flex; gap: 2px; }
.lang-sw button {
  border: none; background: none; cursor: pointer;
  color: var(--sub); font-size: 12px; padding: 2px 7px; border-radius: 4px;
}
.lang-sw button.is-on { color: var(--gold-2); background: rgba(255, 255, 255, .05); }

/* ---------- 主头部 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  background: rgba(10, 10, 11, .86);
  border-bottom: 1px solid var(--line);
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 38px; width: auto; border-radius: 4px; }
.brand__name {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.brand__name::first-letter { color: var(--accent); }

.search { flex: 1 1 auto; display: flex; justify-content: center; }
.search__box {
  position: relative;
  width: min(560px, 100%);
}
.search__box input {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0 20px 0 46px;
  font-size: 13.5px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search__box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search__box svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: var(--sub); pointer-events: none;
}

.cart-pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 20px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px; cursor: pointer;
  font-size: 13px; color: var(--ink-2);
  transition: border-color .2s, color .2s;
  flex: none;
}
.cart-pill:hover { border-color: var(--accent); color: var(--gold-2); }
.cart-pill b {
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #0b0b0c;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}

/* ---------- 分类导航 ---------- */

.navbar {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, .86);
  backdrop-filter: blur(16px);
  position: sticky; top: 74px; z-index: 40;
}
.navbar__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.navbar__in::-webkit-scrollbar { display: none; }

.navlink {
  flex: none;
  padding: 0 18px; height: 46px;
  display: inline-flex; align-items: center;
  font-size: 13.5px; color: var(--ink-2);
  letter-spacing: .04em;
  border: none; background: none; cursor: pointer;
  position: relative; white-space: nowrap;
}
.navlink::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s;
}
.navlink:hover { color: var(--ink); }
.navlink.is-on { color: var(--gold-2); }
.navlink.is-on::after { transform: scaleX(1); }

/* ---------- 首屏 ---------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.55), rgba(10,10,11,.86) 82%, var(--bg));
}
.hero__in { position: relative; padding: 84px 0 74px; text-align: center; }
.hero__eyebrow {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px;
}
.hero__in h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: .02em;
  margin: 0 auto 18px;
  max-width: 22ch;
}
.hero__in p {
  margin: 0 auto; max-width: 58ch;
  color: var(--sub); font-size: 14.5px; letter-spacing: .02em;
}

/* ---------- 排序条 ---------- */

.sortbar { display: flex; align-items: center; gap: 14px; padding: 26px 0 20px; }
.sortbar__count { color: var(--sub); font-size: 12.5px; letter-spacing: .04em; }
.sortbar select {
  margin-left: auto;
  height: 36px; padding: 0 12px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink-2); font-size: 12.5px; outline: none; cursor: pointer;
}
.sortbar select:focus { border-color: var(--accent); }

/* ---------- 商品网格 ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px 22px;
  padding-bottom: 96px;
}

.card { cursor: pointer; display: flex; flex-direction: column; }
.thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-2);
  transition: border-color .35s, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.card:hover .thumb {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 106, .4);
  box-shadow: var(--shadow);
}
.thumb img, .thumb video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.card:hover .thumb img { transform: scale(1.05); }

.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--ph-a), var(--ph-b));
}
.ph span {
  font-family: var(--serif);
  font-size: 58px;
  color: rgba(240, 235, 227, .8);
  letter-spacing: .06em;
}
.ph::after {
  content: attr(data-cat);
  position: absolute; bottom: 14px;
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(240, 235, 227, .55);
}

.tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10, 10, 11, .78);
  color: var(--gold-2);
  border: 1px solid rgba(200, 169, 106, .35);
  font-size: 10.5px; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 4px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.tag--sold { color: var(--sub); border-color: var(--line); }

.card__body { padding: 15px 2px 0; }
.card__name {
  font-size: 14px; line-height: 1.55; margin: 0 0 8px;
  color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 3.1em;
  transition: color .2s;
}
.card:hover .card__name { color: var(--ink); }
.card__price {
  font-family: var(--serif);
  font-size: 17px; font-weight: 600; color: var(--gold-2);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.card__price small { font-size: 11.5px; opacity: .65; margin-right: 2px; }

.empty {
  grid-column: 1 / -1;
  padding: 90px 0; text-align: center; color: var(--sub); font-size: 13.5px;
}

/* ---------- 面包屑 ---------- */

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; padding: 24px 0 20px; font-size: 12.5px; color: var(--sub); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { color: #57534d; }
.crumbs .here { color: var(--ink-2); }

/* ---------- 商品详情页 ---------- */

.pd { display: grid; grid-template-columns: minmax(360px, 500px) 1fr; gap: 44px; padding-bottom: 30px; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 26px; } }

.gal__main {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
}
.gal__main img, .gal__main video { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gal__thumb {
  width: 62px; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); cursor: pointer; padding: 0; background: var(--panel);
  position: relative;
}
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb.is-on { border-color: var(--accent); }
.gal__thumb .vflag {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--gold-2); font-size: 16px; background: rgba(0,0,0,.4);
}

.pd__info h1 {
  font-family: var(--serif);
  font-size: 25px; font-weight: 500; line-height: 1.4;
  margin: 4px 0 14px; letter-spacing: .01em;
}
.pd__priceline {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.pd__price {
  font-family: var(--serif);
  font-size: 30px; font-weight: 600; color: var(--gold-2);
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.pd__price small { font-size: 13px; margin-right: 2px; opacity: .7; }
.pd__usdt { color: var(--sub); font-size: 12.5px; font-family: var(--mono); }
.pd__stock { margin-left: auto; font-size: 12.5px; color: var(--sub); }
.pd__stock.is-out { color: var(--bad); }

.pd__meta { color: var(--sub); font-size: 13px; line-height: 1.8; margin: 0 0 22px; white-space: pre-wrap; }

.qtyrow { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qtyrow > label { font-size: 12.5px; color: var(--sub); }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  height: 38px; background: var(--panel); overflow: hidden;
}
.qty button {
  width: 36px; height: 100%; border: none; background: transparent;
  cursor: pointer; color: var(--ink-2); font-size: 16px;
}
.qty button:hover { color: var(--gold-2); }
.qty span { min-width: 34px; text-align: center; font-size: 13.5px; font-variant-numeric: tabular-nums; }

.pd__btns { display: flex; gap: 12px; margin-bottom: 26px; }
.pd__btns .btn { flex: 1; height: 48px; }

.services {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 12px; color: var(--sub); letter-spacing: .05em;
}
.services span { display: inline-flex; align-items: center; gap: 7px; }
.services span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ---------- 详情流 ---------- */

.stream { max-width: 920px; margin: 40px auto 0; padding-bottom: 90px; }
.stream > h2 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  text-align: center; letter-spacing: .1em; margin: 0 0 6px;
}
.stream > .stream__rule {
  width: 44px; height: 1px; background: var(--accent);
  margin: 0 auto 34px; opacity: .8;
}
.stream__p { color: var(--ink-2); font-size: 14.5px; line-height: 2; margin: 0 0 18px; }
.stream__img { border-radius: var(--radius); margin: 0 0 18px; border: 1px solid var(--line-2); }
.stream__vid { width: 100%; border-radius: var(--radius); margin: 0 0 18px; background: #000; border: 1px solid var(--line-2); }

/* ---------- 弹层 ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 0, 0, .66);
  backdrop-filter: blur(4px);
  display: flex;
  opacity: 0; transition: opacity .28s;
}
.overlay.is-open { opacity: 1; }
.overlay[data-kind="drawer"] { justify-content: flex-end; }
.overlay[data-kind="modal"] { align-items: center; justify-content: center; padding: 24px; }

.drawer {
  width: min(430px, 100%); height: 100%;
  background: var(--panel);
  display: flex; flex-direction: column;
  transform: translateX(24px); opacity: 0;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .34s;
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .9);
}
.overlay.is-open .drawer { transform: none; opacity: 1; }

.sheet {
  background: var(--panel);
  width: min(560px, 100%);
  max-height: min(90vh, 920px);
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(14px) scale(.99); opacity: 0;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .34s;
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, .9);
}
.sheet--wide { width: min(680px, 100%); }
.overlay.is-open .sheet { transform: none; opacity: 1; }

.sheet__head {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; border-bottom: 1px solid var(--line); flex: none;
}
.sheet__head h2 {
  margin: 0; font-family: var(--serif);
  font-size: 18px; font-weight: 500; letter-spacing: .04em;
}
.sheet__head .sub { font-size: 12px; color: var(--sub); margin-left: auto; }

.icon-btn {
  margin-left: auto; width: 32px; height: 32px;
  display: grid; place-items: center;
  border: none; background: transparent; border-radius: 50%;
  cursor: pointer; color: var(--sub); font-size: 15px;
  transition: background .18s, color .18s; flex: none;
}
.icon-btn:hover { background: rgba(255,255,255,.06); color: var(--ink); }

.sheet__body { padding: 24px; overflow-y: auto; flex: 1 1 auto; overscroll-behavior: contain; }
.sheet__foot {
  padding: 16px 24px; border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center; flex: none;
  background: var(--bg-2);
}

/* ---------- 表单 ---------- */

.field { margin-bottom: 16px; }
.field > label {
  display: block; font-size: 12px; color: var(--sub);
  margin-bottom: 7px; letter-spacing: .06em;
}
.field > label i { color: var(--accent); font-style: normal; }

.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 14px; outline: none;
  transition: border-color .18s, box-shadow .18s;
  color: var(--ink);
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 84px; resize: vertical; }
.hint { font-size: 11.5px; color: var(--sub); margin-top: 6px; line-height: 1.6; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: #0c0b09;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s, filter .18s, border-color .18s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .35; cursor: not-allowed; }

.btn--ghost {
  background: transparent; border-color: var(--line); color: var(--ink-2);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--gold-2); filter: none; }

.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12.5px; }

.link-btn {
  border: none; background: none; padding: 0;
  color: var(--sub); font-size: 12px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--gold-2); }

/* ---------- 购物车 ---------- */

.citem {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line-2); align-items: center;
}
.citem__media { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); }
.citem__name { font-size: 13.5px; margin-bottom: 4px; color: var(--ink-2); }
.citem__price { font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.citem__right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

.qty--sm { height: 30px; }
.qty--sm button { width: 28px; font-size: 14px; }
.qty--sm span { min-width: 26px; font-size: 12.5px; }

.sum { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.sum div { display: flex; justify-content: space-between; color: var(--sub); }
.sum div span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.sum .sum__total {
  padding-top: 11px; margin-top: 4px; border-top: 1px solid var(--line);
  color: var(--ink); font-size: 15px;
}
.sum .sum__total span:last-child {
  font-family: var(--serif); font-size: 22px; color: var(--gold-2); font-weight: 600;
}

/* ---------- 结算步骤 ---------- */

.steps { display: flex; gap: 6px; padding: 14px 24px 0; flex: none; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.step {
  font-size: 11.5px; color: var(--sub); padding: 0 0 13px;
  position: relative; margin-right: 20px; letter-spacing: .08em;
}
.step::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: transparent; transition: background .25s;
}
.step.is-active { color: var(--ink); }
.step.is-active::after { background: var(--accent); }
.step.is-done { color: var(--ok); }

/* ---------- 支付 ---------- */

.paylist { display: grid; gap: 10px; }
.payopt {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; background: var(--panel-2);
  transition: border-color .18s, box-shadow .18s;
}
.payopt:hover { border-color: rgba(200,169,106,.35); }
.payopt.is-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.payopt__icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center; font-size: 16px;
  background: rgba(255,255,255,.05); flex: none; overflow: hidden;
  color: var(--gold-2);
}
.payopt__icon img { width: 100%; height: 100%; object-fit: contain; }
.payopt__name { font-size: 13.5px; }
.payopt__tip { font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.payopt__radio {
  margin-left: auto; width: 17px; height: 17px;
  border-radius: 50%; border: 1px solid var(--line); flex: none; position: relative;
}
.payopt.is-on .payopt__radio { border-color: var(--accent); }
.payopt.is-on .payopt__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}

.paybox {
  margin-top: 18px;
  border: 1px dashed rgba(200, 169, 106, .4);
  border-radius: var(--radius);
  padding: 22px; text-align: center;
  background: var(--bg-2);
}
.qr {
  width: 190px; aspect-ratio: 1; margin: 0 auto 14px;
  border-radius: 10px; overflow: hidden;
  background: #fff; padding: 8px;
}
.qr img { width: 100%; height: 100%; object-fit: contain; }

.paybox__amount {
  font-family: var(--serif);
  font-size: 27px; font-weight: 600; color: var(--gold-2);
  letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin: 0 0 2px;
}
.paybox__amount small { font-size: 13px; font-weight: 400; color: var(--sub); }

.copyrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-family: var(--mono); font-size: 12px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 7px; padding: 7px 11px;
  word-break: break-all; max-width: 100%;
}
.copyrow b { font-weight: 600; color: var(--gold-2); }

.notice {
  background: var(--accent-soft);
  border: 1px solid rgba(200, 169, 106, .25);
  border-radius: var(--radius-sm);
  padding: 13px 15px; font-size: 12.5px; line-height: 1.8;
  color: var(--gold-2); text-align: left; margin-top: 18px;
}
.notice--neutral { background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- 完成页 ---------- */

.done { text-align: center; padding: 10px 0 6px; }
.done__mark {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ok); color: #06110c;
  display: grid; place-items: center; margin: 0 auto 16px; font-size: 24px;
}
.done h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; font-weight: 500; letter-spacing: .03em; }
.done p { color: var(--sub); font-size: 13px; margin: 0 0 20px; }
.order-no {
  font-family: var(--mono); font-size: 16px; letter-spacing: .08em;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px; margin-bottom: 8px; user-select: all;
  color: var(--gold-2);
}

/* ---------- 状态点 ---------- */

.dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--ink-2); white-space: nowrap;
}
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sub); }
.dot--pending::before { background: var(--warn); }
.dot--paid::before { background: #5b8def; }
.dot--shipped::before { background: #9a7fe8; }
.dot--done::before { background: var(--ok); }
.dot--cancel::before { background: var(--bad); }

/* ---------- 页脚 ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 46px 0 60px;
  text-align: center;
}
.site-foot__brand { font-family: var(--serif); font-size: 19px; letter-spacing: .2em; margin-bottom: 8px; }
.site-foot__line { color: var(--sub); font-size: 12px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.site-foot__line a:hover { color: var(--gold-2); }
.site-foot__fine { color: #57534d; font-size: 11px; margin-top: 16px; letter-spacing: .08em; }

/* ---------- 独立页通用 ---------- */

.page { min-height: 62vh; padding: 46px 0 90px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.panel + .panel { margin-top: 18px; }
.panel h2 { font-family: var(--serif); font-size: 17px; margin: 0 0 4px; font-weight: 500; letter-spacing: .04em; }
.panel .lead { color: var(--sub); font-size: 12.5px; margin: 0 0 22px; }

.kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--sub); }
.kv dd { margin: 0; word-break: break-all; }

.lines { margin-top: 8px; }
.line {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.line:last-child { border-bottom: none; }
.line b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--gold-2); }

.timeline { margin-top: 18px; border-left: 2px solid var(--line); padding-left: 18px; display: grid; gap: 14px; }
.timeline div { position: relative; font-size: 13px; color: var(--ink-2); }
.timeline div::before {
  content: ""; position: absolute; left: -24px; top: 5px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--line);
}
.timeline div.is-last::before { background: var(--ok); }
.timeline time { color: var(--sub); font-size: 11.5px; margin-left: 8px; }

/* ---------- 后台补充 ---------- */

.chip {
  height: 34px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer; font-size: 12.5px;
  transition: all .18s; white-space: nowrap;
}
.chip:hover { border-color: rgba(200,169,106,.4); background: var(--panel-2); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #0c0b09; font-weight: 600; }

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  color: var(--ink);
}
.stat span { font-size: 11.5px; color: var(--sub); letter-spacing: .04em; }

/* ---------- 提示条 ---------- */

.toast {
  position: fixed; left: 50%; bottom: 34px;
  transform: translate(-50%, 14px);
  background: #f0ebe3; color: #0b0b0c;
  font-size: 13px; padding: 11px 22px; border-radius: 999px;
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.8);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 悬浮客服 ---------- */

.contact-fab {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  background: rgba(20, 20, 23, .92);
  border: 1px solid rgba(200, 169, 106, .5);
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: .04em;
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .85);
  backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s;
}
.contact-fab:hover { transform: translateY(-2px); border-color: var(--gold-2); }
.contact-fab span { font-size: 15px; }
.contact-fab i { font-style: normal; }

@media (max-width: 640px) {
  .contact-fab { right: 16px; bottom: 18px; height: 42px; padding: 0 14px 0 13px; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  .wrap { width: min(1240px, 100% - 28px); }
  .site-head__in { height: 64px; gap: 14px; }
  .brand__name { font-size: 20px; letter-spacing: .12em; }
  .search { order: 3; flex-basis: 100%; padding-bottom: 12px; }
  .site-head__in { flex-wrap: wrap; height: auto; padding-top: 12px; }
  .navbar { top: 0; position: static; }
  .hero__in { padding: 56px 0 48px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 14px; }
  .card__name { font-size: 12.5px; }
  .card__price { font-size: 15px; }
  .overlay[data-kind="modal"] { padding: 0; align-items: flex-end; }
  .sheet, .sheet--wide { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .sheet__body { padding: 20px; }
  .kv { grid-template-columns: 78px 1fr; }
  .topbar__welcome { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
