/* =========================================================
   圆算辰 · 全局样式
   ========================================================= */
:root {
  --ink: #0d2433;
  --ink-2: #3d5567;
  --muted: #7b8fa1;
  --bg: #f5f7f9;
  --card: #ffffff;
  --line: #e7edf3;
  --brand: #0e7490;
  --brand-deep: #0a3d4f;
  --brand-soft: #e8f5f8;
  --accent: #ff7a45;
  --accent-deep: #e8602b;
  --gold: #f5b642;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(13, 36, 51, .08);
  --shadow-lg: 0 26px 60px rgba(13, 36, 51, .14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --max: 1220px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }
::selection { background: #bfe6ef; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: #0b2734;
  color: #b9d2dd;
  font-size: 12.5px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar-note { display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.topbar-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 182, 66, .16); }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a { transition: color .2s; }
.topbar-links a:hover { color: #fff; }

/* ---------- 头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #11a3bd, #0a3d4f);
  box-shadow: 0 8px 18px rgba(14, 116, 144, .3);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; letter-spacing: .06em; }
.brand-text small { font-size: 9.5px; color: var(--muted); letter-spacing: .26em; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute; left: 50%; bottom: -2px;
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
}

.head-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f2f6f8;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  width: min(280px, 26vw);
  transition: border-color .2s, background .2s;
}
.head-search:focus-within { background: #fff; border-color: #b8dde7; }
.head-search input {
  flex: 1; min-width: 0;
  border: 0; background: none; outline: none;
  font-size: 13.5px;
}
.head-search input::placeholder { color: #a3b4c0; }
.head-search button {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  transition: background .2s;
}
.head-search button:hover { background: var(--brand-deep); }
.head-search button svg { width: 16px; height: 16px; }

.cart-link {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  transition: .2s;
  flex-shrink: 0;
}
.cart-link:hover { border-color: #b8dde7; color: var(--brand); background: #fbfdfe; }
.cart-link svg { width: 19px; height: 19px; }
.cart-link em {
  position: absolute; top: -6px; right: -4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 3px 8px rgba(255, 122, 69, .4);
}
.cart-link em.is-empty { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  letter-spacing: .02em;
  transition: .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 69, .3); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(14, 116, 144, .25); }
.btn-brand:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #16374a; }
.btn-outline { border: 1px solid rgba(255, 255, 255, .42); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); }
.btn-line { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.btn-line:hover { border-color: #b8dde7; color: var(--brand); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- 首页 hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 66px 0 100px;
  background:
    radial-gradient(900px 420px at 88% 4%, rgba(45, 190, 205, .34), transparent 62%),
    radial-gradient(720px 480px at 4% 96%, rgba(255, 122, 69, .18), transparent 62%),
    linear-gradient(118deg, #052431 0%, #0a4759 52%, #0d6b7e 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .45;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .22em;
  color: #7ed4e4;
  border: 1px solid rgba(126, 212, 228, .35);
  background: rgba(126, 212, 228, .09);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: #7ed4e4; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 4.2vw, 55px);
  line-height: 1.16;
  letter-spacing: -.015em;
  font-weight: 700;
}
.hero h1 .hl {
  background: linear-gradient(100deg, #ffe3a8, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 20px;
  max-width: 480px;
  color: #b7d3dc;
  font-size: 15.5px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 38px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats strong {
  display: block;
  font-size: 25px;
  letter-spacing: .01em;
  color: #fff;
}
.hero-stats span { font-size: 12.5px; color: #8db4c1; letter-spacing: .06em; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .14);
}
.float-card {
  position: absolute;
  left: -18px; bottom: -26px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 13px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.float-card .fc-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: #e9f6f9; color: var(--brand);
  display: grid; place-items: center;
}
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: 13.5px; }
.float-card span { font-size: 11.5px; color: var(--muted); }
.float-tag {
  position: absolute;
  top: 18px; right: -10px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 12px; font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  display: flex; align-items: center; gap: 7px;
}
.float-tag i { width: 6px; height: 6px; border-radius: 50%; background: #2fb67c; }

/* ---------- 分类快捷条 ---------- */
.cat-strip {
  position: relative;
  z-index: 3;
  margin-top: -58px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .8);
}
.cat-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  transition: .25s;
}
.cat-item:hover { background: var(--brand-soft); transform: translateY(-2px); }
.cat-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 13px;
  display: grid; place-items: center;
  background: #eef6f9;
  color: var(--brand);
  transition: .25s;
}
.cat-item:hover .cat-icon { background: var(--brand); color: #fff; }
.cat-icon svg { width: 22px; height: 22px; }
.cat-item b { display: block; font-size: 14px; font-weight: 600; }
.cat-item span { font-size: 11.5px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 78px 0 0; }
.section:last-of-type { padding-bottom: 24px; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.sec-eyebrow {
  font-size: 11.5px;
  letter-spacing: .24em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sec-head h2 { font-size: clamp(24px, 2.4vw, 31px); letter-spacing: -.01em; }
.sec-head p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.sec-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--ink-2);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: .2s;
  whitespace: nowrap;
}
.sec-more:hover { color: var(--brand); border-color: var(--brand); }
.sec-more svg { width: 15px; height: 15px; }

/* ---------- 商品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 22px;
}
.p-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d8e7ee; }
.p-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f0f4f6;
  overflow: hidden;
}
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.p-card:hover .p-media img { transform: scale(1.055); }
.p-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 36, 51, .82);
  color: #fff;
  letter-spacing: .05em;
  backdrop-filter: blur(4px);
}
.p-badge.hot { background: rgba(255, 122, 69, .92); }
.p-badge.new { background: rgba(14, 116, 144, .92); }
.p-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  font-size: 13px; font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: .28s;
  box-shadow: 0 8px 20px rgba(13, 36, 51, .14);
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-quick:hover { background: var(--ink); color: #fff; }
.p-quick svg { width: 15px; height: 15px; }
.p-body {
  padding: 14px 15px 16px;
  display: flex; flex-direction: column; gap: 7px;
  flex: 1;
}
.p-cat { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.p-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  min-height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.p-card:hover .p-name { color: var(--brand); }
.p-meta { font-size: 11.5px; color: #9aabb8; display: flex; align-items: center; gap: 6px; }
.p-meta .star { color: var(--gold); }
.p-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.p-price { color: var(--accent-deep); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.p-price small { font-size: 12.5px; font-weight: 700; margin-right: 1px; }
.p-old { font-size: 11.5px; color: #a9b7c2; text-decoration: line-through; margin-left: 5px; }
.p-add {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  transition: .22s;
}
.p-add:hover { background: var(--brand); color: #fff; transform: rotate(90deg); }
.p-add svg { width: 17px; height: 17px; }

/* ---------- 服务保障 ---------- */
.promise-band {
  margin-top: 78px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.promise-item { display: flex; align-items: center; gap: 14px; padding: 26px 28px; }
.promise-item + .promise-item { border-left: 1px solid var(--line); }
.promise-item .pi {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #f0f7f9;
  color: var(--brand);
}
.promise-item .pi svg { width: 21px; height: 21px; }
.promise-item b { display: block; font-size: 14px; }
.promise-item span { font-size: 12px; color: var(--muted); }

/* ---------- 品牌故事 ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-media { position: relative; }
.story-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.story-badge {
  position: absolute;
  right: -16px; top: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.story-badge strong { display: block; font-size: 22px; color: var(--gold); line-height: 1.2; }
.story-badge span { font-size: 11px; color: #b9ccd6; letter-spacing: .1em; }
.story h2 { font-size: clamp(25px, 2.5vw, 33px); line-height: 1.35; margin-bottom: 18px; }
.story p { color: var(--ink-2); font-size: 14.5px; line-height: 1.9; margin-bottom: 14px; }
.story-points { display: grid; gap: 12px; margin: 22px 0 28px; }
.story-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.story-points .ic { display: flex; flex-shrink: 0; color: var(--brand); margin-top: 3px; }
.story-points svg { width: 18px; height: 18px; }

/* ---------- 页脚 ---------- */
.site-foot {
  margin-top: 76px;
  background: #0b2734;
  color: #9fb9c5;
  font-size: 13px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 58px 0 46px;
}
.foot-brand .brand-text strong { color: #fff; }
.foot-brand .brand-text small { color: #6d8b99; }
.foot-brand p { margin-top: 18px; max-width: 300px; line-height: 1.85; font-size: 12.5px; color: #8ba7b4; }
.foot-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: .04em; }
.foot-col a, .foot-col li { display: block; font-size: 12.5px; line-height: 2.1; color: #93aeba; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 9px; line-height: 1.8; margin-bottom: 8px; }
.foot-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: #5fa5b8; }
.foot-contact b { color: #dceaf0; font-weight: 500; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 26px; }
.foot-bottom .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px;
  font-size: 12px; color: #7f9aa7;
}
.foot-bottom a:hover { color: #fff; }
.foot-bottom .sep { margin: 0 8px; opacity: .5; }

/* ---------- 内页通用 ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(45, 190, 205, .18), transparent 60%),
    linear-gradient(120deg, #072b39, #0b5062 70%, #0d6478);
  color: #fff;
  padding: 44px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .4;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(26px, 3vw, 38px); margin-top: 18px; letter-spacing: -.01em; }
.page-hero p { margin-top: 12px; color: #b3ccd6; font-size: 14px; max-width: 620px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: #8db4c1; }
.breadcrumb a { color: #9dc0cc; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: #e5f1f5; }

.crumb-light { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 22px 0 0; }
.crumb-light a:hover { color: var(--brand); }
.crumb-light .sep { opacity: .45; }
.crumb-light .cur { color: var(--ink-2); }

/* ---------- 分类页 ---------- */
.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: #f4f7f9;
  border: 1px solid transparent;
  transition: .2s;
}
.chip:hover { color: var(--brand); background: var(--brand-soft); }
.chip.active { background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(14, 116, 144, .24); }
.toolbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.toolbar-right .result { font-size: 12.5px; color: var(--muted); }
.sort-select {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
  color: var(--ink-2);
}
.shop-body { padding-top: 26px; }
.empty-state {
  background: #fff;
  border: 1px dashed #d5e2e9;
  border-radius: 18px;
  padding: 70px 24px;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}
.empty-state svg { width: 54px; height: 54px; color: #b9ccd6; margin: 0 auto 16px; }
.empty-state b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.empty-state p { font-size: 13.5px; }
.empty-state .btn { margin-top: 22px; }

/* ---------- 商品详情 ---------- */
.detail-wrap { padding-top: 8px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 22px;
}
.gallery-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
#main-img { transition: opacity .2s ease; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.gallery-thumbs button {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #fff;
  width: 86px;
  aspect-ratio: 1 / 1;
  transition: border-color .2s;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active { border-color: var(--brand); }

.detail-info .p-cat { font-size: 12px; }
.detail-info h1 { font-size: clamp(22px, 2.3vw, 29px); line-height: 1.4; margin-top: 8px; letter-spacing: -.01em; }
.detail-sub { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.detail-tags span {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f7f9;
  color: var(--brand);
}
.price-panel {
  margin-top: 20px;
  border-radius: 16px;
  padding: 20px 22px;
  background: linear-gradient(115deg, #fff5f0, #fdf8f5 60%, #fff);
  border: 1px solid #fbe3d8;
}
.price-panel .label { font-size: 12px; color: var(--muted); }
.price-panel .now { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price-panel .now strong { font-size: 34px; color: var(--accent-deep); letter-spacing: -.02em; line-height: 1.1; }
.price-panel .now strong small { font-size: 18px; margin-right: 2px; }
.price-panel .now del { color: #a9b7c2; font-size: 13px; }
.price-panel .save { font-size: 11.5px; color: #c2571f; background: #ffe9dd; padding: 2px 8px; border-radius: 5px; }
.price-panel .stat { display: flex; gap: 22px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.price-panel .stat b { color: var(--ink); }

.opt-group { margin-top: 22px; }
.opt-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.opt-values { display: flex; flex-wrap: wrap; gap: 9px; }
.opt-values button {
  padding: 8px 18px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: .2s;
}
.opt-values button:hover { border-color: #9fcdd9; color: var(--brand); }
.opt-values button.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.buy-row { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  height: 44px;
  background: #fff;
}
.stepper button {
  width: 38px; height: 100%;
  display: grid; place-items: center;
  color: var(--ink-2);
  font-size: 17px;
  transition: background .2s;
}
.stepper button:hover { background: #f2f7f9; color: var(--brand); }
.stepper input {
  width: 44px; height: 100%;
  border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; outline: none;
  font-size: 14px; font-weight: 600;
  background: #fff;
}
.buy-row .btn { flex: 1; min-width: 140px; }

.detail-services {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.detail-services span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.detail-services svg { width: 15px; height: 15px; color: var(--brand); }

.tabs { margin-top: 52px; }
.tab-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.tab-nav button {
  position: relative;
  padding: 13px 22px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s;
}
.tab-nav button::after {
  content: "";
  position: absolute; left: 22px; right: 22px; bottom: -1px;
  height: 2px;
  background: var(--brand);
  opacity: 0;
  transition: opacity .2s;
}
.tab-nav button.active { color: var(--ink); font-weight: 600; }
.tab-nav button.active::after { opacity: 1; }
.tab-panel { display: none; padding: 26px 0 0; }
.tab-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.detail-copy { max-width: 900px; color: var(--ink-2); font-size: 14px; line-height: 1.95; }
.detail-copy h3 { color: var(--ink); font-size: 17px; margin: 22px 0 10px; }
.detail-copy h3:first-child { margin-top: 0; }
.detail-copy ul { margin-top: 10px; display: grid; gap: 8px; }
.detail-copy li { position: relative; padding-left: 18px; }
.detail-copy li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6; }
.detail-img { margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.detail-img img { width: 100%; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 12px 18px; text-align: left; }
.spec-table th { background: #f6f9fb; color: var(--ink-2); font-weight: 500; width: 160px; }
.spec-table td { color: var(--ink); }
.related { margin-top: 56px; }

/* ---------- 购物车 ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 356px; gap: 26px; align-items: start; margin-top: 24px; }
.cart-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cart-head {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.cart-head .grow { flex: 1; }
.cart-head .c-count { width: 132px; text-align: center; }
.cart-head .c-sub { width: 110px; text-align: right; }
.cart-head .c-act { width: 56px; }
.cart-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid #f1f5f8;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; background: #f2f5f7; }
.cart-info { flex: 1; min-width: 0; }
.cart-info a { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.5; transition: color .2s; }
.cart-info a:hover { color: var(--brand); }
.cart-info .spec { display: inline-block; margin-top: 7px; font-size: 11.5px; color: var(--muted); background: #f4f7f9; padding: 2px 9px; border-radius: 5px; }
.cart-info .unit { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.cart-qty { width: 132px; display: flex; justify-content: center; }
.cart-sub { width: 110px; text-align: right; font-size: 15px; font-weight: 700; color: var(--accent-deep); }
.cart-del { width: 56px; display: flex; justify-content: flex-end; }
.cart-del button {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  color: #aabac5;
  transition: .2s;
}
.cart-del button:hover { background: #fdeee9; color: var(--accent-deep); }
.cart-del svg { width: 16px; height: 16px; }

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  position: sticky;
  top: 98px;
}
.summary-card h3 { font-size: 16px; margin-bottom: 18px; }
.sum-row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); padding: 8px 0; }
.sum-row b { color: var(--ink); font-weight: 600; }
.sum-row .free { color: #1f9d6b; font-size: 12px; }
.sum-divider { border-top: 1px dashed var(--line); margin: 14px 0; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; }
.sum-total span { font-size: 13.5px; color: var(--ink-2); }
.sum-total strong { font-size: 28px; color: var(--accent-deep); letter-spacing: -.02em; }
.sum-total strong small { font-size: 16px; }
.summary-card .btn { margin-top: 20px; }
.summary-tip { margin-top: 14px; font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.7; }
.ship-hint {
  margin-top: 14px;
  background: #f2f9fb;
  border: 1px dashed #c9e3ea;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12px;
  color: var(--brand);
}

/* 步骤条 */
.steps { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.step i {
  width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-style: normal; font-weight: 600;
  background: #e9eff3; color: var(--muted);
}
.step.active { color: var(--ink); font-weight: 600; }
.step.active i { background: var(--brand); color: #fff; }
.step.done i { background: #d8f0e7; color: #1f9d6b; }
.step-line { width: 34px; height: 1px; background: #dbe5eb; }

/* ---------- 结算 ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 372px; gap: 26px; align-items: start; margin-top: 24px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.form-card + .form-card { margin-top: 20px; }
.form-card h3 { font-size: 16px; margin-bottom: 20px; display: flex; align-items: center; gap: 9px; }
.form-card h3 svg { width: 18px; height: 18px; color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--ink-2); }
.field label em { color: var(--accent-deep); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  background: #fbfdfe;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.field textarea { height: 88px; padding: 11px 13px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8fc7d6; background: #fff; box-shadow: 0 0 0 3px rgba(14, 116, 144, .08); }
.field input.invalid { border-color: #ef8f74; background: #fff8f5; }
.field .tip { font-size: 11.5px; color: var(--muted); }

.radio-list { display: grid; gap: 12px; }
.radio-option {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  cursor: pointer;
  transition: .2s;
  background: #fff;
}
.radio-option:hover { border-color: #a8d4df; }
.radio-option.checked { border-color: var(--brand); background: #f4fbfd; box-shadow: 0 0 0 3px rgba(14, 116, 144, .06); }
.radio-option input { display: none; }
.radio-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #c8d7df;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: .2s;
}
.radio-option.checked .radio-dot { border-color: var(--brand); }
.radio-option.checked .radio-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.radio-body { flex: 1; }
.radio-body b { display: block; font-size: 14px; font-weight: 600; }
.radio-body span { font-size: 12px; color: var(--muted); }
.radio-price { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.radio-price.free { color: #1f9d6b; }

.mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.mini-item img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; background: #f2f5f7; }
.mini-item .mi-info { flex: 1; min-width: 0; }
.mini-item .mi-info b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-item .mi-info span { font-size: 11px; color: var(--muted); }
.mini-item .mi-price { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.order-items-scroll { max-height: 268px; overflow-y: auto; margin-right: -6px; padding-right: 6px; }

/* ---------- 收银台 ---------- */
.pay-wrap { max-width: 680px; margin: 30px auto 0; }
.pay-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 40px 38px;
  box-shadow: var(--shadow);
  text-align: center;
}
.pay-card .pay-label { font-size: 13px; color: var(--muted); }
.pay-amount { font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-top: 4px; }
.pay-amount small { font-size: 22px; margin-right: 3px; }
.pay-method-tag {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: #f4f7f9;
  padding: 6px 14px;
  border-radius: 999px;
}
.pay-method-tag i { width: 7px; height: 7px; border-radius: 50%; background: #2fb67c; }
.qr-box {
  width: 208px; height: 208px;
  margin: 26px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(13, 36, 51, .07);
  position: relative;
}
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 4px #fff;
  display: grid; place-items: center;
  color: var(--brand);
}
.qr-logo svg { width: 22px; height: 22px; }
.pay-help { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.pay-help b { color: var(--ink); }
.pay-timer {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent-deep);
  background: #fff3ee;
  padding: 6px 16px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.pay-timer svg { width: 14px; height: 14px; }
.pay-actions { margin-top: 26px; display: grid; gap: 10px; }
.pay-actions .btn { width: 100%; max-width: 320px; margin-inline: auto; }
.pay-actions .cancel { font-size: 12.5px; color: var(--muted); }
.pay-actions .cancel:hover { color: var(--accent-deep); }
.pay-note {
  margin-top: 22px;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 订单结果 ---------- */
.result-wrap { max-width: 860px; margin: 30px auto 0; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.result-card > svg { width: 52px; height: 52px; margin: 0 auto 4px; color: #b9ccd6; }
.pay-card > svg { width: 50px; height: 50px; margin: 0 auto 6px; color: #b9ccd6; }
.result-head { text-align: center; padding-bottom: 28px; border-bottom: 1px dashed var(--line); }
.success-icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e6f7f0;
  color: #1f9d6b;
  display: grid; place-items: center;
}
.success-icon svg { width: 32px; height: 32px; }
.result-head h1 { font-size: 26px; }
.result-head p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.order-no {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  background: #f4f8fa;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.order-no button { color: var(--brand); font-size: 12px; }
.result-section { padding-top: 24px; }
.result-section h3 { font-size: 15px; margin-bottom: 12px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; font-size: 13px; }
.info-grid .k { color: var(--muted); }
.info-grid .v { color: var(--ink); font-weight: 500; }
.order-item-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f1f5f8; }
.order-item-row:last-child { border-bottom: 0; }
.order-item-row img { width: 62px; height: 62px; border-radius: 9px; object-fit: cover; background: #f2f5f7; }
.order-item-row .oi-name { flex: 1; font-size: 13px; line-height: 1.5; }
.order-item-row .oi-name span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.order-item-row .oi-price { font-size: 13px; font-weight: 600; }
.result-totals { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.result-totals .sum-row { max-width: 320px; margin-left: auto; }
.result-actions { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- 关于 / 联系 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; padding-top: 40px; }
.about-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.about-grid h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.4; margin-bottom: 16px; }
.about-grid p { color: var(--ink-2); font-size: 14.5px; line-height: 1.95; margin-bottom: 13px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; transition: .25s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .vi {
  width: 44px; height: 44px; border-radius: 12px;
  background: #eef7fa; color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.value-card .vi svg { width: 22px; height: 22px; }
.value-card b { display: block; font-size: 15px; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.info-table th { text-align: left; padding: 13px 0; width: 132px; color: var(--muted); font-weight: 400; vertical-align: top; }
.info-table td { padding: 13px 0; color: var(--ink); border-bottom: 1px solid #f1f5f8; }
.info-table tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: start; margin-top: 26px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: .25s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .ci {
  width: 40px; height: 40px; border-radius: 11px;
  background: #eef7fa; color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.contact-card .ci svg { width: 20px; height: 20px; }
.contact-card span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 5px; }
.contact-card b { font-size: 14.5px; line-height: 1.6; display: block; word-break: break-all; }
.contact-card small { display: block; margin-top: 6px; font-size: 11.5px; color: #9aabb8; }
.map-card { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.map-card h4 { font-size: 14px; margin-bottom: 6px; }
.map-card p { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.map-visual {
  position: relative;
  height: 150px;
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%) 0 0 / 90px 90px,
    linear-gradient(0deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%) 0 0 / 90px 90px,
    repeating-linear-gradient(28deg, #e3eef2 0 2px, transparent 2px 26px),
    #eef5f7;
}
.map-pin {
  position: absolute; left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50% 50% 50% 4px;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(255, 122, 69, .36);
  display: grid; place-items: center;
}
.map-pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.map-label {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(13, 36, 51, .1);
}

/* ---------- 提示 ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translate(-50%, 20px);
  background: rgba(13, 36, 51, .94);
  color: #fff;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(13, 36, 51, .3);
  opacity: 0;
  pointer-events: none;
  transition: .28s;
  z-index: 200;
  display: flex; align-items: center; gap: 8px;
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: #57d3a3; flex-shrink: 0; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .head-inner { gap: 16px; }
  .main-nav a { padding: 8px 10px; font-size: 14px; }
  .head-search { width: min(220px, 22vw); }
  .hero-grid { gap: 38px; }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
  .detail-grid { gap: 34px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 320px; gap: 20px; }
  .about-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero p.lead { max-width: 100%; }
  .hero-visual { max-width: 560px; }
  .float-card { left: 12px; bottom: -22px; }
  .float-tag { right: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .gallery-main { max-width: 520px; }
  .gallery-thumbs { max-width: 520px; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .story-media { max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 34px; padding: 44px 0 34px; }
  .promise-band { grid-template-columns: 1fr 1fr; }
  .promise-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .promise-item:nth-child(4) { border-top: 1px solid var(--line); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .head-search { display: none; }
  .main-nav { display: none; }
  .head-inner { justify-content: space-between; min-height: 66px; }
  .brand-text strong { font-size: 17px; }
  .mobile-nav { display: flex; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .topbar .container { min-height: 34px; font-size: 11.5px; }
  .topbar-links { display: none; }
  .hero { padding: 36px 0 80px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 14px; }
  .hero-actions .btn { flex: 1; min-width: 130px; padding: 0 18px; height: 44px; font-size: 14px; }
  .hero-stats { gap: 22px; padding-top: 20px; margin-top: 30px; }
  .hero-stats strong { font-size: 21px; }
  .hero-stats span { font-size: 11px; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); padding: 12px; margin-top: -48px; border-radius: 18px; }
  .cat-item { padding: 10px; gap: 9px; }
  .cat-icon { width: 38px; height: 38px; border-radius: 11px; }
  .cat-icon svg { width: 19px; height: 19px; }
  .cat-item b { font-size: 13px; }
  .cat-item span { display: none; }
  .section { padding-top: 54px; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 22px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 11px 11px 13px; }
  .p-name { font-size: 13px; min-height: 40px; }
  .p-price { font-size: 17px; }
  .p-old { display: none; }
  .p-quick { display: none; }
  .promise-band { grid-template-columns: 1fr 1fr; margin-top: 54px; }
  .promise-item { padding: 18px; gap: 10px; }
  .promise-item .pi { width: 34px; height: 34px; }
  .promise-item span { display: none; }
  .promise-item b { font-size: 12.5px; }
  .value-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom .container { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 32px 0 36px; }
  .filter-bar { padding: 14px; gap: 12px; }
  .toolbar-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .cart-head { display: none; }
  .cart-item { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .cart-item img { width: 74px; height: 74px; }
  .cart-info { width: calc(100% - 88px); flex: none; }
  .cart-qty { width: auto; margin-left: 86px; }
  .cart-sub { width: auto; margin-left: auto; }
  .cart-del { width: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px 18px; }
  .pay-card { padding: 26px 20px 30px; }
  .qr-box { width: 180px; height: 180px; }
  .result-card { padding: 26px 20px; }
  .info-grid { grid-template-columns: 1fr; gap: 9px; }
  .result-actions .btn { flex: 1; min-width: 130px; }
  .contact-cards { grid-template-columns: 1fr; }
  .step-line { width: 18px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .tabs { margin-top: 36px; }
  .tab-nav button { padding: 12px 14px; font-size: 13.5px; }
  .spec-table th { width: 108px; padding: 10px 12px; }
  .spec-table td { padding: 10px 12px; }
}

/* 移动端底部导航 */
.mobile-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.mobile-nav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10.5px; color: #8ba0ae;
  padding: 4px 0;
  position: relative;
}
.mobile-nav a svg { width: 20px; height: 20px; }
.mobile-nav a.active { color: var(--brand); }
.mobile-nav a em {
  position: absolute; top: 0; left: 50%; margin-left: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 10px; font-style: normal; font-weight: 700;
  display: grid; place-items: center;
}
.mobile-nav a em.is-empty { display: none; }
@media (min-width: 901px) { .mobile-nav { display: none; } }
@media (max-width: 900px) {
  body { padding-bottom: 62px; }
  .mobile-nav { display: flex; }
}

/* 协议与合规页 */
.policy-toc {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 26px 0 20px;
}
.policy-toc a {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--ink-soft);
  transition: .2s;
}
.policy-toc a:hover { border-color: var(--brand); color: var(--brand); }
.policy-doc { padding: 30px 32px; }
.policy-doc + .policy-doc { margin-top: 20px; }
.policy-doc h2 { font-size: 19px; margin-bottom: 8px; }
.policy-doc .doc-meta { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.policy-doc h3 { font-size: 14.5px; margin: 22px 0 8px; }
.policy-doc p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.policy-doc p + p { margin-top: 8px; }
.policy-doc ul { margin: 8px 0 0; padding-left: 20px; }
.policy-doc li { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.policy-doc .info-table { margin-top: 6px; }

/* 结算页协议勾选 */
.agree-row {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 16px 0 12px; font-size: 12.5px; color: var(--muted);
  line-height: 1.6; cursor: pointer;
}
.agree-row input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.agree-row a { color: var(--brand); }
.agree-row.invalid { color: #d4380d; }

/* 打印 */
@media print {
  .site-head, .site-foot, .mobile-nav, .topbar, .no-print { display: none !important; }
}
