/* ===========================================================
   极光数码 AURORA — 主样式（Apple 风格）
   =========================================================== */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #fafafc;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0071e3;
  --blue-h: #0077ed;
  --red: #bf4800;
  --green: #1d9d55;
  --nav-h: 48px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.tiny { font-size: 12px; color: var(--ink-3); }
.hidden { display: none !important; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(251, 251, 253, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: 8px;
  white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, #0a84ff, #7d5cff);
  box-shadow: 0 0 12px rgba(10, 132, 255, .6);
}
.nav-links { display: flex; align-items: center; gap: 26px; flex: 1; }
.nav-links a {
  font-size: 12.5px;
  color: rgba(29, 29, 31, .82);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #000; text-decoration: none; }
.nav-tools { display: flex; align-items: center; gap: 18px; }
.nav-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 50%; color: var(--ink);
  position: relative;
  transition: background .2s;
}
.nav-icon:hover { background: rgba(0, 0, 0, .06); }
.nav-icon svg { width: 17px; height: 17px; }
.badge-count {
  position: absolute;
  top: -1px; right: -3px;
  min-width: 16px; height: 16px;
  border-radius: 9px;
  background: #0a84ff;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
  font-weight: 600;
  display: none;
}
.badge-count.on { display: block; }

/* 二级导航（产品页） */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 150;
  height: 52px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.subnav-inner {
  max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; gap: 28px;
}
.subnav .ttl { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-right: auto; }
.subnav a.tab { font-size: 12.5px; color: var(--ink-2); text-decoration: none; }
.subnav a.tab:hover { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .12s;
  white-space: nowrap;
}
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); text-decoration: none; color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; text-decoration: none; }
.btn-dark { background: #1d1d1f; color: #fff; }
.btn-dark:hover { background: #35353a; color: #fff; text-decoration: none; }
.btn-light { background: #fff; color: #1d1d1f; }
.btn-light:hover { background: #e8e8ed; text-decoration: none; }
.btn-sm { padding: 8px 17px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .42; cursor: not-allowed; }
.link-arrow { font-size: 15px; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- 头图 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 76px 22px 0;
  background: var(--bg-2);
}
.hero.dark { background: #000; color: #f5f5f7; }
.hero.dark .sub { color: #a1a1a6; }
.hero.gradient {
  background:
    radial-gradient(120% 90% at 50% 0%, #eaf1ff 0%, #f5f5f7 55%, #f5f5f7 100%);
}
.hero .eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #bf4800;
  margin-bottom: 6px;
}
.hero.dark .eyebrow { color: #f5a623; }
.hero h1 {
  font-size: clamp(42px, 7.4vw, 82px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.035em;
  margin-bottom: 10px;
}
.hero .sub {
  font-size: clamp(18px, 2.3vw, 27px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.hero .price-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.hero-links { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.hero-art { margin: 26px auto -6px; max-width: 620px; position: relative; }
.hero-art svg { width: 100%; height: auto; margin: 0 auto; }
.hero-art img { width: 100%; height: auto; border-radius: 22px; }
.hero-art.small { max-width: 460px; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
}

/* ---------- 区块 ---------- */
.section { padding: 92px 22px; }
.section.tight { padding: 62px 22px; }
.section.gray { background: var(--bg-2); }
.section.dark { background: #000; color: #f5f5f7; }
.section.dark .sec-sub, .section.dark .muted { color: #a1a1a6; }
.sec-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.sec-head p { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); }
.sec-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}

/* ---------- 产品卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}
.card {
  position: relative;
  background: var(--bg-2);
  border-radius: 22px;
  padding: 34px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  min-height: 440px;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(0, 0, 0, .11); }
.card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #bf4800;
  margin-bottom: 6px;
  min-height: 15px;
}
.card h3 { font-size: 25px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.card .tagline { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.card .art { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; margin: 6px 0 14px; }
.card .art svg { max-height: 210px; width: auto; max-width: 100%; }
.card .price { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.card .price b { color: var(--ink); font-weight: 500; }
.card .actions { display: flex; gap: 10px; align-items: center; }

/* ---------- 特色小格 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}
.feature {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 26px 24px;
}
.feature .ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: #eef5ff; color: var(--blue);
  margin-bottom: 14px;
}
.feature .ico svg { width: 19px; height: 19px; }
.feature h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.section.dark .feature { background: #121214; border-color: #232326; }
.section.dark .feature p { color: #a1a1a6; }

/* ---------- 双栏展示 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.split.reverse .visual { order: 2; }
.split .visual { display: flex; align-items: center; justify-content: center; }
.split h3 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.split p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 14px; }
.split ul.dots li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: 15px; color: var(--ink-2);
}
.split ul.dots li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.section.dark .split p, .section.dark .split ul.dots li { color: #a1a1a6; }

/* ---------- 规格表 ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table th { font-weight: 500; color: var(--ink-2); width: 34%; background: #fafafc; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: 0; }
.spec-block { background: #fff; border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; }

/* ---------- 商品列表 / 筛选 ---------- */
.filter-bar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}
.filter-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.chip {
  padding: 8px 16px; border-radius: 980px;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font-size: 13px; cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: #a1a1a6; }
.chip.on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.filter-spacer { flex: 1; }
.select {
  appearance: none;
  padding: 8px 34px 8px 14px;
  border-radius: 980px;
  border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.4'/></svg>") no-repeat right 14px center;
  font-size: 13px; cursor: pointer;
}
.result-count { font-size: 13px; color: var(--ink-3); padding: 18px 22px 0; max-width: 1280px; margin: 0 auto; }

/* ---------- 商品详情 ---------- */
.pdp { max-width: 1180px; margin: 0 auto; padding: 40px 22px 90px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.gallery {
  position: sticky; top: 76px;
  background: var(--bg-2);
  border-radius: 26px;
  padding: 40px;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}
.gallery svg { max-height: 420px; width: auto; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }
.thumbs button {
  width: 62px; height: 62px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; display: grid; place-items: center; overflow: hidden;
}
.thumbs button.on { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0, 113, 227, .2); }
.thumbs svg { max-height: 46px; width: auto; }

.pdp-info h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.pdp-info .tagline { font-size: 17px; color: var(--ink-2); margin-top: 8px; }
.pdp-price { font-size: 27px; font-weight: 500; margin: 22px 0 4px; letter-spacing: -.02em; }
.pdp-price .inst { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; margin-top: 4px; }
.opt-group { margin: 28px 0; }
.opt-group .lbl { font-size: 13px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-group .lbl span { font-weight: 400; color: var(--ink-2); }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  cursor: pointer; position: relative;
  transition: transform .2s;
}
.swatch:hover { transform: scale(1.06); }
.swatch.on::after {
  content: ""; position: absolute; inset: -5px;
  border: 2px solid var(--blue); border-radius: 50%;
}
.opt-list { display: flex; gap: 10px; flex-wrap: wrap; }
.opt {
  min-width: 116px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  text-align: left; transition: all .2s; font-size: 14px;
}
.opt:hover { border-color: #a1a1a6; }
.opt.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.opt small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: #fff; cursor: pointer; font-size: 17px; color: var(--ink-2); }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 44px; height: 38px; border: 0; text-align: center; font-size: 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.buy-row { display: flex; gap: 12px; margin: 22px 0; }
.buy-row .btn { flex: 1; }
.pdp-meta { border-top: 1px solid var(--line-soft); margin-top: 26px; padding-top: 20px; font-size: 13px; color: var(--ink-2); }
.pdp-meta .row { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; }
.pdp-meta .row svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--ink-3); }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--green); }
.stock-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock-pill.out { color: #bf4800; }

/* ---------- 购物车 ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 48px; align-items: start; }
.cart-list { border-top: 1px solid var(--line-soft); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-item .thumb { background: var(--bg-2); border-radius: 14px; padding: 10px; display: grid; place-items: center; height: 96px; }
.cart-item .thumb svg { max-height: 74px; width: auto; }
.cart-item h4 { font-size: 17px; font-weight: 600; }
.cart-item .variant { font-size: 13px; color: var(--ink-2); margin: 3px 0 10px; }
.cart-item .line-price { font-size: 16px; font-weight: 500; text-align: right; white-space: nowrap; }
.cart-item .links { font-size: 12.5px; color: var(--blue); display: flex; gap: 14px; margin-top: 8px; }
.cart-item .links button { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font-size: 12.5px; }
.summary { background: var(--bg-2); border-radius: 20px; padding: 26px; position: sticky; top: 76px; }
.summary h3 { font-size: 19px; font-weight: 600; margin-bottom: 18px; }
.summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--ink-2); }
.summary .row b { color: var(--ink); font-weight: 500; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.summary .total span { font-size: 15px; }
.summary .total b { font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .15); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }
.field .err { color: #d70015; font-size: 12px; margin-top: 5px; display: none; }
.field.invalid .input { border-color: #d70015; }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .big { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { color: var(--ink-2); margin-bottom: 20px; }

/* ---------- 结算 ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line-soft); border-radius: 18px; padding: 26px; margin-bottom: 18px; }
.panel h3 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  margin-bottom: 10px; cursor: pointer; transition: all .2s;
}
.pay-opt:hover { border-color: #a1a1a6; }
.pay-opt.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.pay-opt .dot { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line); flex: none; display: grid; place-items: center; }
.pay-opt.on .dot { border-color: var(--blue); }
.pay-opt.on .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.pay-opt .nm { font-size: 14px; }
.pay-opt .desc { font-size: 12px; color: var(--ink-3); }
.success-box { text-align: center; max-width: 620px; margin: 0 auto; padding: 70px 22px; }
.success-box .check {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f7ee; color: #1d9d55;
  display: grid; place-items: center; margin: 0 auto 22px;
}
.success-box h1 { font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 10px; }
.success-box .oid { font-size: 15px; color: var(--ink-2); margin-bottom: 26px; }
.success-box .oid b { color: var(--ink); }

/* ---------- 账户 ---------- */
.auth-wrap { max-width: 460px; margin: 60px auto 90px; padding: 0 22px; }
.auth-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 20px; padding: 32px; box-shadow: 0 10px 40px rgba(0, 0, 0, .05); }
.auth-tabs { display: flex; gap: 6px; background: var(--bg-2); padding: 4px; border-radius: 12px; margin-bottom: 24px; }
.auth-tabs button { flex: 1; padding: 9px; border: 0; border-radius: 9px; background: transparent; font-size: 13.5px; cursor: pointer; color: var(--ink-2); }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.order-card { border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.order-card .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.order-card .items { font-size: 14px; }
.order-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); margin-top: 14px; padding-top: 14px; }
.status { font-size: 12px; padding: 4px 10px; border-radius: 980px; background: var(--bg-2); color: var(--ink-2); }
.status.pending { background: #fff4e5; color: #bf4800; }
.status.paid { background: #eef5ff; color: #0071e3; }
.status.shipped { background: #eef9f3; color: #1d9d55; }
.status.done { background: #f0f0f3; color: #6e6e73; }
.status.cancelled { background: #fdecec; color: #d70015; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-2); color: var(--ink-3); font-size: 12px; padding: 40px 0 32px; }
.footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer h5 { font-size: 12px; color: var(--ink); margin-bottom: 10px; font-weight: 600; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink-3); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .legal { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 20px; justify-content: space-between; }
.footer .legal .links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 搜索浮层 ---------- */
.search-veil {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.search-veil.on { opacity: 1; pointer-events: auto; }
.search-box {
  background: rgba(255, 255, 255, .97);
  padding: 26px 22px 32px;
  transform: translateY(-14px);
  transition: transform .35s var(--ease);
  max-height: 88vh; overflow: auto;
}
.search-veil.on .search-box { transform: none; }
.search-inner { max-width: 720px; margin: 0 auto; }
.search-input-wrap { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.search-input-wrap svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.search-input-wrap input { flex: 1; border: 0; background: transparent; font-size: 22px; outline: 0; letter-spacing: -.02em; }
.search-results { margin-top: 20px; }
.search-results .grp { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 8px; }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sr-item:hover { background: var(--bg-2); text-decoration: none; }
.sr-item .mini { width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border-radius: 9px; border: 1px solid var(--line-soft); }
.sr-item .mini svg { max-height: 34px; width: auto; }
.sr-item .nm { font-size: 14px; }
.sr-item .ct { font-size: 11.5px; color: var(--ink-3); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: rgba(29, 29, 31, .94); color: #fff;
  padding: 12px 22px; border-radius: 980px; font-size: 14px;
  z-index: 500; opacity: 0; pointer-events: none;
  transition: all .35s var(--ease);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  max-width: 86vw; text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 官方产品图 ---------- */
.art-img { max-height: 100%; max-width: 100%; object-fit: contain; display: block; margin: 0 auto; }
.art-img.art-dark { background: #0a0a0c; border-radius: 14px; padding: 4px; box-sizing: border-box; }
.card .art .art-img { max-height: 210px; }
.gallery .art-img { max-height: 420px; border-radius: 18px; }
.thumbs .art-img { max-height: 46px; }
.sr-item .mini .art-img { max-height: 34px; }
.cart-item .thumb .art-img { max-height: 74px; }

/* ---------- FAQ ---------- */
.anchor-section { scroll-margin-top: 118px; }
.faq {
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 2px;
}
.faq summary {
  font-size: 16px; font-weight: 500; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 20px; color: var(--ink-3); font-weight: 300;
  transition: transform .2s;
}
.faq[open] summary::after { content: "−"; }
.faq p { font-size: 14px; color: var(--ink-2); margin-top: 12px; line-height: 1.65; }

/* ---------- 公告条 / 移动菜单 ---------- */
.announce {
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 12.5px;
  text-align: center;
}
.announce-inner { max-width: 1024px; margin: 0 auto; padding: 9px 22px; }
.announce a, .announce-link { color: #6cb2ff; margin-left: 8px; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.only-mobile { display: none !important; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 18px 24px;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  overflow: auto;
}
.mobile-menu.on { transform: none; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.mobile-links { display: flex; flex-direction: column; padding-top: 8px; }
.mobile-links a {
  font-size: 21px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 13px 2px; border-bottom: 1px solid var(--line-soft); letter-spacing: -.02em;
}
@media (max-width: 734px) {
  .only-mobile { display: grid !important; }
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .visual { order: 0; }
  .pdp-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery { position: static; min-height: 340px; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; gap: 30px; }
  .summary { position: static; }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 18px; }
}
@media (max-width: 734px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .section { padding: 62px 20px; }
  .hero { padding-top: 54px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 400px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .subnav .ttl { font-size: 16px; }
  .subnav a.tab { display: none; }
  .subnav a.tab.keep { display: block; margin-left: auto; }
  .cart-item { grid-template-columns: 74px 1fr; }
  .cart-item .line-price { grid-column: 2; text-align: left; }
  .gallery { padding: 24px; }
}
