:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --pedestal: #F1F3F6;
  --primary: #111215;
  --primary-hover: #26282E;
  --accent: #0066CC;
  --accent-soft: #EDF4FF;
  --accent-line: #C7DFFF;
  --ink: #111215;
  --muted: #585D68;
  --subtle: #868C98;
  --line: #E6E8EE;
  --line-strong: #D2D6E0;
  --track: #ECEEF2;
  --danger: #D92D20;
  --header-h: 64px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "HarmonyOS Sans", "MiSans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.prod-card { scroll-margin-top: calc(var(--header-h) + 84px); }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 160%;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 125%; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.detail-modal:focus, .inquiry-drawer:focus, .cmd-modal:focus { outline: 0; }

.ic { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 16px; border-radius: 999px; background: var(--primary); color: #FFF; }
.skip-link:focus { left: 16px; }

/* Emil Kowalski 物理按压触感按钮 (:active scale 97%) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform 160ms var(--spring), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn:active { transform: scale(97%); }
.btn-primary { background-color: var(--primary); color: #FFFFFF; box-shadow: 0 6px 20px rgba(17, 18, 21, 12%); }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { background-color: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); background-color: #FFFFFF; }
.btn-light { background-color: #FFFFFF; color: var(--primary); }
.btn-light:hover { background-color: #F2F4F7; }
.btn-clear { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: 13px; }
.btn-clear.is-confirm { border-color: #FDA29B; background: #FEF3F2; color: var(--danger); font-weight: 600; }

/* 顶部悬浮毛玻璃导航 */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background-color: rgba(246, 247, 249, 82%);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 232, 238, 80%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }

.site-nav {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; background-color: rgba(255, 255, 255, 75%); border: 1px solid var(--line);
}
.nav-link {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted); transition: background-color 160ms ease, color 160ms ease;
}
.nav-link:hover { background-color: var(--track); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.cmd-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; transition: border-color 160ms ease, color 160ms ease;
}
.cmd-trigger:hover { border-color: var(--line-strong); color: var(--ink); }
.cmd-trigger .ic { width: 15px; height: 15px; }
.cmd-trigger kbd {
  padding: 1px 6px; border-radius: 5px; background: var(--track); color: var(--muted);
  font-family: inherit; font-size: 11px; font-weight: 600;
}

.inquiry-trigger {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 14px;
  border-radius: 999px; background-color: var(--primary); color: #FFFFFF; font-size: 13px; font-weight: 600;
  transition: transform 160ms var(--spring), background-color 160ms ease;
}
.inquiry-trigger:active { transform: scale(96%); }
.inquiry-trigger .ic { width: 15px; height: 15px; }

.count-pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background-color: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 700;
}
.count-pill.zero { background-color: rgba(255, 255, 255, 20%); }

/* Sliding Number 滚轮动画 */
@keyframes numUp {
  0% { transform: translateY(60%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes numDown {
  0% { transform: translateY(-60%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.roll-up { animation: numUp 260ms var(--spring); }
.roll-down { animation: numDown 260ms var(--spring); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }

/* 统一净透陈列台 */
.pedestal {
  position: relative; display: block; width: 100%; padding-top: 94%;
  background: radial-gradient(circle at 50% 42%, #F8F9FB 0%, var(--pedestal) 100%);
  overflow: hidden;
}
.pedestal-stage { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: 10%; }
.pedestal picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pedestal img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  transition: transform 340ms var(--spring);
}
.pedestal.is-white img { width: 100%; height: 100%; mix-blend-mode: multiply; }
.pedestal.is-photo .pedestal-stage { padding: 8%; }
.pedestal.is-photo img {
  padding: 5px; background-color: #FFFFFF; border: 1px solid rgba(17, 18, 21, 6%);
  border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(17, 18, 21, 7%);
}
.pedestal img.is-zoomed { transform: scale(185%); cursor: zoom-in; transition: transform 120ms ease-out; }
.zoom-pill {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 86%); border: 1px solid var(--line);
  color: var(--muted); font-size: 11px; pointer-events: none;
}
.zoom-pill .ic { width: 13px; height: 13px; }

/* 指针跟随柔光 Spotlight 卡片特效（Magic UI 日光克制版） */
.spotlight-card, .tilt-card { position: relative; }
.spotlight-glow {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 240ms ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 102, 204, 7%), transparent 70%);
}
.spotlight-card:hover .spotlight-glow, .tilt-card:hover .spotlight-glow { opacity: 1; }
.tilt-card { transition: transform 220ms ease-out, box-shadow 220ms ease; will-change: transform; }

/* 首屏：极简少字 + Interactive Bento 焦点器物舞台 */
.hero-section { padding-top: 44px; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 12fr); gap: 48px; align-items: center; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 14%);
}

.hero-title { margin-top: 20px; font-size: 48px; font-weight: 700; line-height: 118%; letter-spacing: -0.03em; }
.hero-title span { display: block; }
@keyframes lineReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-line { animation: lineReveal 520ms var(--spring) var(--d, 0ms) both; }

.hero-lead { margin-top: 16px; max-width: 420px; font-size: 16px; color: var(--muted); line-height: 170%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.inline-count { color: var(--accent); font-weight: 700; }

.hero-kpis {
  display: inline-grid; grid-template-columns: repeat(3, auto); gap: 28px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
}
.hero-kpis strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 120%; }
.hero-kpis span { font-size: 12px; color: var(--subtle); }

/* Bento 焦点舞台 */
.bento-stage {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 12px;
  padding: 12px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 20px 48px rgba(17, 18, 21, 5%);
}
.bento-spotlight {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); overflow: hidden;
}
.bento-main-media { display: block; width: 100%; }
.bento-main-media .pedestal { padding-top: 90%; }
@keyframes mediaFade {
  from { opacity: 45%; transform: scale(97%); }
  to { opacity: 100%; transform: scale(100%); }
}
.fade-swap img { animation: mediaFade 360ms var(--spring); }

.bento-main-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: var(--surface); border-top: 1px solid var(--line);
}
.bento-main-txt small { display: block; font-size: 11px; color: var(--accent); font-weight: 600; }
.bento-main-txt strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.bento-main-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.bento-go {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 999px; background: var(--primary); color: #FFF; transition: transform 200ms var(--spring);
}
.bento-spotlight:hover .bento-go { transform: translate(2px, -2px); }
.bento-go .ic { width: 14px; height: 14px; }

.bento-rail { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bento-thumb-wrap { display: flex; min-height: 0; }
.bento-thumb {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px;
  width: 100%; padding: 8px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); text-align: left; transition: border-color 180ms ease, background-color 180ms ease, transform 180ms var(--spring);
}
.bento-thumb:hover { border-color: var(--line-strong); transform: translateX(-2px); }
.bento-thumb.is-current { border-color: var(--primary); background: var(--bg); box-shadow: inset 3px 0 0 var(--accent); }
.bento-thumb .pedestal { padding-top: 100%; border-radius: 8px; }
.bento-thumb .pedestal.is-photo img { padding: 2px; border-radius: 4px; box-shadow: none; }
.bento-thumb-info { min-width: 0; }
.bento-thumb-info strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento-thumb-info span { display: block; font-size: 11px; color: var(--subtle); }

/* 极简区块标题栏 */
.bar-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.head-inline { display: flex; align-items: baseline; gap: 12px; }
.bar-head h2 { font-size: 22px; font-weight: 700; }
.sub-hint { font-size: 12px; color: var(--subtle); }

/* 场景磁贴 */
.scenes-section { padding: 20px 0 44px; }
.scene-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.scene-card {
  display: flex; flex-direction: column; text-align: left; padding: 18px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: transform 220ms var(--spring), border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease;
}
.scene-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 12px 24px rgba(17, 18, 21, 5%); }
.scene-card:active { transform: scale(98%); }
.scene-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.scene-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 11px; background: var(--bg); color: var(--ink); transition: transform 220ms var(--spring);
}
.scene-card:hover .scene-icon { transform: scale(108%); }
.scene-pill { padding: 2px 9px; border-radius: 999px; background: var(--bg); font-size: 12px; color: var(--muted); }
.scene-pill b { color: var(--ink); }
.scene-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.scene-tags { margin-top: 4px; font-size: 12px; color: var(--subtle); }

.scene-card.is-active { background: var(--primary); border-color: var(--primary); color: #FFF; }
.scene-card.is-active .scene-icon { background: rgba(255, 255, 255, 14%); color: #FFF; }
.scene-card.is-active .scene-pill { background: var(--accent); color: #FFF; }
.scene-card.is-active .scene-pill b, .scene-card.is-active .scene-name { color: #FFF; }
.scene-card.is-active .scene-tags { color: #A0A6B2; }

/* 产品目录 + 物理滑动胶囊轨道 */
.catalog-section { padding-top: 12px; padding-bottom: 72px; }
.match-count { font-size: 13px; color: var(--muted); }
.match-count b { color: var(--accent); font-weight: 700; }

.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px;
  border-radius: 999px; background: var(--primary); color: #FFF; font-size: 12px; font-weight: 500;
}
.filter-chip .ic { width: 12px; height: 12px; }
.chip-reset { height: 28px; padding: 0 8px; color: var(--accent); font-size: 12px; font-weight: 600; }

.filter-bar {
  position: -webkit-sticky; position: sticky; top: var(--header-h); z-index: 25;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 0; margin-bottom: 20px; background: rgba(246, 247, 249, 90%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.segmented-track {
  position: relative; display: inline-flex; align-items: center; padding: 4px;
  border-radius: 999px; background: var(--track); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; max-width: 100%;
}
.segmented-track::-webkit-scrollbar { display: none; }

.tab-glider {
  position: absolute; top: 4px; bottom: 4px; left: 0; z-index: 0;
  border-radius: 999px; background: var(--surface);
  box-shadow: 0 2px 8px rgba(17, 18, 21, 8%), 0 0 0 1px rgba(17, 18, 21, 4%);
  transition: transform 320ms var(--spring), width 320ms var(--spring);
  pointer-events: none; opacity: 0;
}

.cat-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--muted); white-space: nowrap; flex-shrink: 0; transition: color 180ms ease;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab em { font-style: normal; font-size: 11px; color: var(--subtle); }
.cat-tab.is-active { color: var(--ink); font-weight: 600; }
.cat-tab.is-active em { color: var(--accent); font-weight: 700; }

.search-box { position: relative; flex: 0 0 250px; height: 42px; }
.search-ic { position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; color: var(--subtle); pointer-events: none; }
.search-box input {
  width: 100%; height: 42px; padding: 0 36px 0 38px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; outline: 0;
  -webkit-appearance: none; appearance: none; transition: border-color 180ms ease, box-shadow 180ms ease;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 102, 204, 10%); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 2px; top: 0; width: 36px; height: 42px; display: inline-flex; align-items: center; justify-content: center; color: var(--subtle); }

/* 商品卡片网格与 Stagger 入场 */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@keyframes cardRise {
  from { opacity: 0; transform: translateY(12px) scale(98%); }
  to { opacity: 1; transform: translateY(0) scale(100%); }
}
.prod-card.card-enter { animation: cardRise 340ms var(--spring) var(--stagger, 0ms) both; }

.prod-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform 240ms var(--spring), border-color 200ms ease, box-shadow 240ms ease;
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 16px 36px rgba(17, 18, 21, 7%); }
.prod-card.in-list { border-color: var(--accent-line); }

.card-trigger { display: flex; flex-direction: column; align-items: stretch; width: 100%; flex: 1; text-align: left; }
.card-trigger:hover .pedestal img { transform: scale(105%); }

.pedestal-no {
  position: absolute; left: 12px; top: 12px; z-index: 2; padding: 2px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 88%); color: var(--subtle); font-size: 11px; font-weight: 700;
}
.pedestal-picked {
  position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px; background: var(--accent); color: #FFF;
  animation: cardRise 220ms var(--spring);
}
.pedestal-picked .ic { width: 13px; height: 13px; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 12px; }
.card-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--subtle); }
.card-dot-note { color: var(--accent); font-weight: 600; }
.card-title { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 138%; }
.card-variant {
  display: inline-block; align-self: flex-start; margin-top: 5px; padding: 1px 8px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 600;
}
.card-meta-line { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.card-meta-line i { font-style: normal; color: var(--line-strong); }
.card-scents { display: block; margin-top: 3px; font-size: 11px; color: var(--subtle); }

.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px 12px 16px; border-top: 1px solid var(--line);
}
.quote-tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.add-btn {
  position: relative; z-index: 4; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 34px; padding: 0 13px; border-radius: 999px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); font-size: 12px; font-weight: 600;
  transition: transform 160ms var(--spring), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.add-btn:hover { border-color: var(--primary); background: var(--surface); }
.add-btn:active { transform: scale(94%); }
.add-btn .ic { width: 14px; height: 14px; }
.add-btn.is-added { background: var(--primary); border-color: var(--primary); color: #FFF; }

/* 抛物线飞入微缩圆牌 */
.fly-token {
  position: fixed; z-index: 95; width: 36px; height: 36px; border-radius: 999px;
  background: #FFF; border: 2px solid var(--primary); overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 18, 21, 22%); pointer-events: none;
}
.fly-token img { width: 100%; height: 100%; object-fit: cover; }

/* 空状态 */
.empty-state, .drawer-empty { text-align: center; padding: 56px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.drawer-empty { border: 0; background: none; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--bg); color: var(--ink); margin-bottom: 12px; }
.empty-state p, .drawer-empty p { margin: 6px auto 20px; color: var(--muted); font-size: 13px; }

/* 极简四格询价步进 + 丝滑折叠手风琴 (Accordion) */
.guide-section { padding: 52px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-card { padding: 18px 20px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.step-card span { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.step-card strong { display: block; font-size: 15px; color: var(--ink); }
.step-card p { margin-top: 4px; font-size: 12px; color: var(--muted); }

.accordion { margin-top: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 20px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.acc-title { display: inline-flex; align-items: center; gap: 8px; }
.acc-title .ic { color: var(--accent); }
.acc-arrow { color: var(--subtle); transition: transform 260ms var(--spring); }
.accordion.is-open .acc-arrow { transform: rotate(180deg); }
.accordion-panel {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--spring);
}
.accordion.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-inner { overflow: hidden; }
.accordion-inner ul { display: grid; gap: 6px; padding: 0 20px 16px 44px; font-size: 13px; color: var(--muted); list-style: disc; }

/* 商务咨询名片 */
.contact-section { padding: 52px 0; }
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 36px; align-items: center;
  padding: 36px 42px; border-radius: var(--r-lg); background: var(--primary); color: #FFFFFF;
}
.contact-main h2 { color: #FFF; font-size: 24px; }
.contact-main p { margin: 8px 0 20px; color: #A8AEB8; font-size: 14px; }
.contact-box { padding: 20px 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, 6%); border: 1px solid rgba(255, 255, 255, 12%); }
.contact-pending { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #E2E5EC; line-height: 165%; }
.status-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: #38BDF8; flex-shrink: 0; }
.contact-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 13px; }
.contact-dl dt { color: #9DA4B0; }
.contact-dl dd { color: #FFF; word-break: break-all; }
.contact-qr { width: 120px; margin-top: 12px; padding: 6px; border-radius: 8px; background: #FFF; }

.site-footer { padding: 22px 0; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-inner strong { color: var(--ink); }

/* 底部居中悬浮灵动岛 Dock（桌面选品后升起，手机常驻） */
.floating-dock {
  position: fixed; left: 50%; bottom: 22px; z-index: 35;
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 16px;
  border-radius: 999px; background: rgba(17, 18, 21, 92%); color: #FFFFFF;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(17, 18, 21, 24%), 0 0 0 1px rgba(255, 255, 255, 12%);
  opacity: 0; visibility: hidden; transform: translate(-50%, 24px) scale(94%);
  transition: opacity 280ms var(--spring), transform 280ms var(--spring), visibility 280ms;
}
.floating-dock.has-items { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(100%); }
.dock-left { display: flex; align-items: center; gap: 10px; }
.dock-stack { display: flex; align-items: center; }
.dock-stack:empty { display: none; }
.dock-thumb {
  width: 26px; height: 26px; border-radius: 999px; border: 2px solid #111215;
  background: #FFF; overflow: hidden; margin-left: -8px;
}
.dock-thumb:first-child { margin-left: 0; }
.dock-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dock-label { font-size: 13px; font-weight: 500; white-space: nowrap; }
.dock-label b { color: #60A5FA; font-weight: 700; }
.dock-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px;
  border-radius: 999px; background: #FFFFFF; color: var(--primary); font-size: 13px; font-weight: 700;
  transition: transform 160ms var(--spring);
}
.dock-btn:active { transform: scale(96%); }
.dock-btn .ic { width: 15px; height: 15px; }

/* 遮罩、详情弹窗、`⌘K` 聚光灯面板与抽屉（遵循 Emil 不从 0 缩放准则：scale 95% -> 100%） */
.overlay-mask {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60;
  background: rgba(17, 18, 21, 42%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms ease;
}
.overlay-mask.is-open { opacity: 1; visibility: visible; }

@keyframes dialogPop {
  from { opacity: 0; transform: translate(-50%, -48%) scale(95%); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(100%); }
}
@keyframes drawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.icon-close, .icon-nav {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: background-color 160ms ease, transform 160ms var(--spring);
}
.icon-close:hover, .icon-nav:hover { background: var(--bg); }
.icon-close:active, .icon-nav:active { transform: scale(93%); }

.detail-modal {
  position: fixed; top: 50%; left: 50%; z-index: 70; width: 900px; max-width: calc(100vw - 40px);
  height: 560px; max-height: calc(100vh - 40px); background: var(--surface);
  border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden;
  transform: translate(-50%, -50%); box-shadow: 0 28px 70px rgba(17, 18, 21, 22%);
  animation: dialogPop 240ms var(--spring);
}
.detail-top-ctrl { position: absolute; right: 16px; top: 16px; z-index: 6; display: flex; gap: 6px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); height: 100%; }
.detail-media .pedestal { padding-top: 0; height: 100%; }
.detail-content { display: flex; flex-direction: column; min-height: 0; height: 100%; border-left: 1px solid var(--line); }
.detail-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 34px 34px 20px; }
.detail-meta { display: flex; gap: 6px; padding-right: 120px; font-size: 12px; color: var(--accent); font-weight: 600; }
.detail-title { margin-top: 6px; padding-right: 80px; font-size: 22px; font-weight: 700; }
.detail-variant-badge { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.detail-specs { margin-top: 20px; border-top: 1px solid var(--line); }
.spec-row { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-row dt { width: 76px; flex-shrink: 0; color: var(--subtle); }
.spec-row dd { flex: 1; font-weight: 600; }
.spec-row dd.is-quote { color: var(--accent); }
.detail-notes { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.detail-notes strong { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.detail-notes ul { display: grid; gap: 4px; font-size: 12px; color: var(--ink); }
.detail-actions { display: flex; gap: 10px; padding: 14px 34px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.detail-actions .btn { flex: 1; }
.detail-add-btn.is-added { background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }

/* `⌘K` Command Palette 面板 */
.cmd-modal {
  position: fixed; top: 14%; left: 50%; z-index: 75; width: 580px; max-width: calc(100vw - 32px);
  background: var(--surface); border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(17, 18, 21, 24%); overflow: hidden;
  transform: translateX(-50%);
}
.cmd-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmd-head .ic { color: var(--subtle); }
.cmd-head input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; }
.cmd-head input::-webkit-search-cancel-button { display: none; }
.cmd-esc { padding: 3px 8px; border-radius: 6px; background: var(--track); color: var(--muted); font-size: 11px; font-weight: 700; }
.cmd-list { max-height: 340px; overflow-y: auto; padding: 8px; }
.cmd-group-label { padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--subtle); }
.cmd-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; }
.cmd-item.is-selected, .cmd-item:hover { background: var(--bg); }
.cmd-item-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: left; }
.cmd-item-main img { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; background: #FFF; border: 1px solid var(--line); flex-shrink: 0; }
.cmd-item-txt { min-width: 0; }
.cmd-item-txt strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-item-txt small { display: block; font-size: 11px; color: var(--subtle); }
.cmd-add-btn { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmd-add-btn.is-added { background: var(--primary); border-color: var(--primary); color: #FFF; }
.cmd-empty { padding: 36px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.cmd-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); font-size: 11px; color: var(--subtle); }
.cmd-foot kbd { padding: 1px 5px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); font-family: inherit; margin-right: 3px; }

/* 咨询清单抽屉 */
.inquiry-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: 460px; max-width: 100vw;
  display: flex; flex-direction: column; background: var(--surface);
  box-shadow: -20px 0 50px rgba(17, 18, 21, 16%); animation: drawerSlide 280ms var(--spring);
}
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 18px; }
.drawer-summary { margin-top: 2px; font-size: 12px; color: var(--subtle); }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 24px 24px; }
.inquiry-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.inquiry-item .pedestal { padding-top: 100%; border-radius: 10px; border: 1px solid var(--line); }
.item-head { display: flex; justify-content: space-between; gap: 8px; }
.item-link { text-align: left; font-size: 14px; font-weight: 600; }
.item-link:hover { color: var(--accent); }
.item-remove { width: 32px; height: 32px; margin: -4px -6px 0 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--subtle); }
.item-remove:hover { background: #FEF3F2; color: var(--danger); }
.item-sub { margin-top: 2px; font-size: 12px; color: var(--subtle); }
.item-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.qty-stepper { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 34px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.qty-stepper button:hover { background: var(--bg); }
.qty-input { width: 50px; height: 32px; border: 0; text-align: center; font-size: 14px; font-weight: 700; outline: 0; background: none; }
.qty-input::placeholder { color: var(--accent); font-size: 12px; font-weight: 600; }
.tbd-btn { padding: 3px 8px; border-radius: 999px; font-size: 11px; color: var(--muted); background: var(--bg); }
.item-note-input, .memo-block textarea, .manual-copy textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); padding: 8px 12px; font-size: 13px; outline: 0; }
.item-note-input { margin-top: 8px; height: 36px; }
.item-note-input:focus, .memo-block textarea:focus { border-color: var(--accent); background: #FFF; }
.memo-block { padding-top: 16px; }
.memo-block label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.manual-copy { margin-top: 14px; padding: 12px; border-radius: var(--r-sm); background: #FEF3F2; border: 1px solid #FDA29B; }
.manual-tip { font-size: 12px; color: var(--danger); margin-bottom: 6px; }
.drawer-footer { display: flex; gap: 10px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.drawer-copy-btn { flex: 1; }

/* Sonner 胶囊 Toast */
.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: 999px;
  background: var(--primary); color: #FFF; font-size: 13px; font-weight: 500;
  box-shadow: 0 12px 32px rgba(17, 18, 21, 22%);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px) scale(95%);
  transition: opacity 220ms var(--spring), transform 220ms var(--spring), visibility 220ms;
  pointer-events: none;
}
.toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(100%); }
.toast-dot { width: 7px; height: 7px; border-radius: 999px; background: #38BDF8; flex-shrink: 0; }

/* 平板适配 */
@media (max-width: 1119px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .scene-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-box { flex: none; width: 100%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: minmax(0, 1fr); padding: 32px; }
}

/* 窄屏与手机端常驻底部灵动条 */
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .menu-toggle { display: inline-flex; }
  .cmd-trigger kbd { display: none; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: calc(var(--header-h) + 6px);
    padding: 8px; flex-direction: column; align-items: stretch; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(17, 18, 21, 14%);
  }
  .site-nav.is-open { display: flex; }
  .nav-link { height: 48px; padding: 0 16px; font-size: 15px; color: var(--ink); }
  .floating-dock {
    left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    justify-content: space-between; opacity: 1; visibility: visible; transform: none;
  }
  .floating-dock.has-items { transform: none; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 639px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .trigger-label, .zoom-pill, .cmd-foot, .card-dot-note { display: none; }
  .cmd-trigger span { display: none; }
  .cmd-trigger { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .inquiry-trigger { height: 40px; padding: 0 12px; }
  .hero-section { padding-top: 24px; padding-bottom: 36px; }
  .hero-title { font-size: 34px; }
  .hero-actions .btn { flex: 1; padding: 0 14px; }
  .bento-stage { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .bento-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; }
  .bento-thumb { grid-template-columns: minmax(0, 1fr); padding: 4px; }
  .bento-thumb-info { display: none; }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scene-card { padding: 14px; }
  .scene-card:last-child { grid-column: 1 / -1; }
  .segmented-track { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; padding: 4px 16px; }
  .search-box, .search-box input { height: 42px; font-size: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 12px; }
  .card-title { font-size: 14px; }
  .card-footer { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 10px 10px; }
  .add-btn { width: 100%; height: 36px; }
  .guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step-card { padding: 14px; }
  .contact-panel { padding: 24px 20px; }
  .detail-modal {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: 90vh; max-height: none;
    border-radius: 22px 22px 0 0; transform: none; animation: none;
  }
  .detail-layout { display: flex; flex-direction: column; height: 100%; overflow-y: auto; padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .detail-media .pedestal { height: auto; padding-top: 80%; }
  .detail-content { height: auto; border-left: 0; border-top: 1px solid var(--line); display: block; }
  .detail-scroll { overflow: visible; padding: 18px; }
  .detail-actions { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .inquiry-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 92vh; border-radius: 22px 22px 0 0; animation: none; }
  .item-note-input, .memo-block textarea, .manual-copy textarea, .cmd-head input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
