:root {
  --ink: #10120f;
  --ink-soft: #31352e;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --surface-alt: #eceee7;
  --line: #d9ddd4;
  --line-dark: #b7bdb2;
  --muted: #6b7167;
  --lime: #dcff60;
  --lime-soft: #f1ffc1;
  --coral: #ff6438;
  --mint: #c8eee0;
  --sky: #cce6f7;
  --lavender: #e1d6f7;
  --butter: #f7e4a9;
  --black: #0d0f0c;
  --radius: 8px;
  --shell: 1440px;
  --shadow: 0 18px 50px rgba(16, 18, 15, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(255, 100, 56, .45);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 14px;
  background: var(--ink); color: white; border-radius: 4px;
}
.skip-link:focus { top: 16px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }
.view { display: none; }
.view.active { display: block; animation: viewIn .25s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.announcement { background: var(--black); color: white; font-size: 12px; }
.announcement-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement strong { color: var(--lime); font-weight: 600; }
.announcement-right { display: flex; align-items: center; gap: 8px; color: #cfd2ca; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; box-shadow: 0 0 0 3px rgba(220, 255, 96, .12); }
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(245, 246, 241, .95);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.header-main { height: 72px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.brand > span:last-child span { color: var(--coral); }
.brand-mark {
  width: 29px; height: 29px; display: inline-grid; place-items: center;
  background: var(--ink); color: var(--lime); border-radius: 7px; font-size: 13px;
  font-weight: 800; letter-spacing: -.4px;
}
.primary-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.primary-nav a { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 24px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: var(--ink); border-color: var(--coral); }
.nav-visual-search {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--lime-soft);
  padding: 8px 13px; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.nav-visual-search .icon { width: 16px; height: 16px; color: var(--coral); }
.nav-visual-search:hover { background: var(--lime); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.currency { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 8px; }
.currency .icon { width: 14px; height: 14px; }
.brief-button {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px 9px 9px;
  border: 1px solid var(--ink); background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 700;
}
.brief-button:hover { background: var(--lime-soft); }
.brief-count { width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 50%; font-size: 11px; }
.account-button { border: 0; background: transparent; padding: 0; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-alt); border: 1px solid var(--line); font-size: 11px; font-weight: 800; }
.mobile-menu, .mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); gap: clamp(38px, 6vw, 84px); padding-top: clamp(56px, 7vw, 94px); padding-bottom: 54px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 1px; background: var(--coral); display: inline-block; }
.eyebrow-light { color: #c8cdbf; }
.eyebrow-light .eyebrow-line { background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 19px 0 18px; font-size: clamp(46px, 5.4vw, 78px); line-height: .98; font-weight: 760; max-width: 680px; }
.heading-accent { color: var(--coral); display: inline-block; }
.hero-sub { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-paths { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 620px; }
.hero-path {
  display: flex; align-items: center; gap: 11px; text-align: left;
  border: 1px solid var(--line-dark); background: var(--surface); border-radius: 6px;
  padding: 12px 13px; transition: .15s ease;
}
.hero-path:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--line); transform: translateY(-1px); }
.hero-path-icon {
  width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 5px; background: var(--ink); color: var(--lime);
}
.hero-path-icon .icon { width: 17px; height: 17px; }
.hero-path:nth-child(2) .hero-path-icon { background: var(--lime); color: var(--ink); }
.hero-path-copy { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.hero-path-copy strong { font-size: 13px; }
.hero-path-copy small { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.hero-path-arrow { margin-left: auto; width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }
.quick-searches { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.quick-searches button { border: 0; background: transparent; padding: 0; text-decoration: underline; text-decoration-color: var(--line-dark); text-underline-offset: 3px; color: var(--ink-soft); }
.quick-searches button:hover { color: var(--coral); }

.visual-search-panel { background: #171a15; border-radius: var(--radius); color: white; padding: 14px; box-shadow: 12px 12px 0 var(--lime); transform: rotate(.35deg); }
.visual-panel-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 3px 3px 13px; font-size: 10px; color: #c9cdc2; text-transform: uppercase; font-weight: 700; }
.visual-index { color: #8e9587; }
.live-chip { display: flex; align-items: center; gap: 7px; }
.visual-dropzone {
  width: 100%; min-height: 365px; border: 1px dashed #72806d; background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, #343b2f 0, #1f241d 42%, #161915 72%);
  background-size: 26px 26px, 26px 26px, auto;
  border-radius: 6px; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
}
.visual-dropzone:hover .scan-line { animation: scan 1.8s ease-in-out infinite; }
.dropzone-corners::before, .dropzone-corners::after { content: ""; position: absolute; width: 20px; height: 20px; border-color: var(--lime); border-style: solid; opacity: .8; }
.dropzone-corners::before { left: 18px; top: 18px; border-width: 1px 0 0 1px; }
.dropzone-corners::after { right: 18px; bottom: 18px; border-width: 0 1px 1px 0; }
.case-stack { position: relative; width: 160px; height: 175px; margin-bottom: 18px; }
.stack-case { position: absolute; display: block; width: 92px; height: 148px; border-radius: 16px; border: 2px solid rgba(255,255,255,.55); background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.03)); box-shadow: 0 20px 30px rgba(0,0,0,.32); }
.stack-case::after { content: ""; position: absolute; inset: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); }
.stack-case span { position: absolute; width: 38px; height: 35px; top: 9px; left: 9px; border-radius: 11px; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.3); }
.stack-case-back { transform: rotate(-14deg) translate(-27px, 9px); background: linear-gradient(145deg, #d8c4a5, #806a4e); }
.stack-case-mid { transform: rotate(7deg) translate(32px, 3px); background: linear-gradient(145deg, #ff987c, #8d3b37); }
.stack-case-front { left: 34px; top: 7px; background: linear-gradient(145deg, rgba(209,255,234,.75), rgba(87,135,119,.32)); }
.stack-case-front::before { content: ""; position: absolute; inset: 16px 12px 16px; background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 10px 10px; opacity: .6; }
.scan-line { position: absolute; left: 24px; right: 24px; top: 47%; height: 1px; background: var(--lime); box-shadow: 0 0 16px rgba(220,255,96,.8); opacity: .8; }
@keyframes scan { 0%, 100% { transform: translateY(-55px); opacity: .3; } 50% { transform: translateY(65px); opacity: 1; } }
.dropzone-title { font-size: 19px; font-weight: 700; margin-top: 2px; }
.dropzone-sub { font-size: 11px; color: #a9b1a3; margin-top: 5px; text-align: center; }
.dropzone-cta { margin-top: 17px; display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--ink); padding: 10px 15px; border-radius: 4px; font-size: 12px; font-weight: 800; transition: background .15s ease, color .15s ease; }
.visual-dropzone { cursor: pointer; }
.visual-dropzone:focus-within { outline: 2px solid var(--lime); outline-offset: 2px; }
.visual-dropzone.dragging { border-color: var(--lime); background-color: rgba(220, 255, 96, .07); }
.visual-dropzone.dragging .dropzone-cta { background: #fff; }
.visual-dropzone.dragging .scan-line { animation: scan 1.1s ease-in-out infinite; }
.visual-dropzone.is-reading { cursor: progress; }
.visual-dropzone.is-reading .dropzone-cta { background: rgba(220, 255, 96, .16); color: var(--lime); }
.visual-dropzone.is-reading .scan-line { animation: scan 1s ease-in-out infinite; }

.visual-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 3px 2px; font-size: 10px; color: #aeb5a7; }
.visual-panel-foot > span { display: flex; align-items: center; gap: 7px; }
.visual-panel-foot .icon { width: 15px; height: 15px; color: var(--lime); }
.visual-panel-foot button { border: 0; background: transparent; color: white; display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; padding: 0; }
.visual-panel-foot button .icon { color: white; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 0; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 0 14px; border-right: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 20px; height: 20px; color: var(--ink); }
.trust-item strong { color: var(--ink); }

.section { padding: 76px 0; }
.compact-section { padding-bottom: 45px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.section-heading-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.section-heading-actions .text-link { white-space: nowrap; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; font-weight: 750; }
.ranking-tabs { display: flex; background: var(--surface-alt); padding: 4px; border-radius: 6px; gap: 2px; }
.ranking-tab { border: 0; background: transparent; padding: 9px 13px; border-radius: 4px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.ranking-tab .icon { width: 15px; height: 15px; }
.ranking-tab.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.signal-grid { display: grid; grid-template-columns: 1.62fr .78fr; gap: 20px; }
.ranking-list { border-top: 1px solid var(--ink); }
.ranking-row { display: grid; grid-template-columns: 36px 54px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; min-height: 81px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.ranking-row:hover { background: rgba(255,255,255,.72); }
.rank-number { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ranking-row:first-child .rank-number { color: var(--coral); font-weight: 800; }
.rank-thumb { width: 48px; height: 56px; border-radius: 5px; background: var(--surface-alt); display: grid; place-items: center; overflow: hidden; }
.rank-case { width: 29px; height: 45px; border-radius: 6px; border: 1.5px solid rgba(16,18,15,.3); position: relative; transform: rotate(-8deg); }
.rank-case::before { content: ""; position: absolute; left: 4px; top: 4px; width: 10px; height: 9px; border-radius: 3px; background: rgba(16,18,15,.22); }
.rank-name { min-width: 0; }
.rank-name strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-name span { font-size: 11px; color: var(--muted); }
.rank-signal { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.rank-signal .icon { width: 14px; height: 14px; color: #16845c; }
.rank-add { width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; display: grid; place-items: center; }
.rank-add:hover { border-color: var(--ink); background: var(--ink); color: white; }
.rank-add .icon { width: 15px; height: 15px; }
.trend-card { background: var(--lime-soft); border: 1px solid #d7e79e; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; min-height: 300px; }
.trend-label { font-size: 10px; font-weight: 800; color: #68782b; }
.trend-card h3 { margin: 15px 0 10px; font-size: 23px; line-height: 1.13; }
.trend-card p { color: #5d6641; font-size: 12px; line-height: 1.6; }
.mini-bars { height: 74px; margin: auto 0 14px; display: flex; align-items: flex-end; gap: 5px; padding-top: 10px; }
.mini-bars span { flex: 1; background: var(--ink); min-height: 8px; opacity: .88; }
.text-link { border: 0; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--ink); width: fit-content; }
.text-link .icon { width: 15px; height: 15px; transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.products-heading { margin-bottom: 18px; }
.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { border: 1px solid var(--line-dark); background: transparent; border-radius: 999px; padding: 7px 13px; font-size: 11px; font-weight: 700; }
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; }
.product-card-visual { position: relative; }
.case-stage {
  aspect-ratio: 1 / 1.04; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center;
  position: relative; transition: transform .2s ease;
}
.product-card:hover .case-stage { transform: translateY(-3px); }
.case-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(16,18,15,.06)); }
.tint-mint { background: #deeee6; }
.tint-peach { background: #f5ddd2; }
.tint-sky { background: #dbe8ef; }
.tint-lilac { background: #e8e0ee; }
.tint-sand { background: #eee8d8; }
.tint-charcoal { background: #d9dcda; }
.tint-butter { background: #f1e9cf; }
.tint-pink { background: #f1dfe2; }
.case-shell {
  position: relative; width: 43%; height: 75%; border-radius: 16% / 9%;
  border: 2px solid rgba(16,18,15,.28); background: var(--case-bg, #a9d2c3);
  box-shadow: 0 24px 28px rgba(16,18,15,.17), inset 0 0 0 3px rgba(255,255,255,.34);
  transform: rotate(-6deg); overflow: hidden;
}
.case-shell::before { content: ""; position: absolute; inset: 2.2% 3.5%; border-radius: 14% / 8%; border: 1px solid rgba(255,255,255,.4); }
.case-shell::after { content: ""; position: absolute; left: 11%; bottom: 4%; width: 24%; height: 3%; border-radius: 99px; background: rgba(16,18,15,.13); }
.case-lens { position: absolute; right: 8%; top: 6%; width: 32%; aspect-ratio: .92; border-radius: 24%; background: rgba(16,18,15,.22); border: 2px solid rgba(255,255,255,.26); z-index: 2; }
.case-lens::before, .case-lens::after { content: ""; position: absolute; border-radius: 50%; background: rgba(16,18,15,.42); border: 2px solid rgba(255,255,255,.38); }
.case-lens::before { width: 35%; height: 34%; left: 10%; top: 10%; }
.case-lens::after { width: 35%; height: 34%; right: 10%; bottom: 10%; }
.case-logo { position: absolute; left: 14%; bottom: 17%; font-weight: 900; color: rgba(16,18,15,.25); font-size: clamp(22px, 3vw, 42px); transform: rotate(-8deg); }
.case-clear-grid { --case-bg: linear-gradient(145deg, rgba(210,246,235,.9), rgba(120,184,164,.75)); }
.case-clear-grid .case-logo { display: none; }
.case-clear-grid .case-lens + .case-logo::after { content: ""; }
.case-clear-grid::before { background-image: radial-gradient(rgba(255,255,255,.9) 1.2px, transparent 1.2px); background-size: 12px 12px; opacity: .8; }
.case-marble { --case-bg: radial-gradient(circle at 18% 18%, #fff 0 7%, transparent 8%), radial-gradient(ellipse at 72% 32%, #aab2af 0 7%, transparent 8%), radial-gradient(ellipse at 30% 80%, #fdfbf4 0 13%, transparent 14%), linear-gradient(145deg, #e8e2d4, #babeb8); }
.case-marble .case-logo { display: none; }
.case-leather { --case-bg: repeating-linear-gradient(35deg, rgba(255,255,255,.04) 0 2px, rgba(20,10,5,.04) 2px 4px), linear-gradient(145deg, #a26d4e, #5e3624); }
.case-leather::before { border-color: rgba(255,255,255,.18); }
.case-leather .case-lens { background: #2d1a12; }
.case-leather .case-logo { color: rgba(255,255,255,.16); }
.case-satin { --case-bg: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), transparent 28%), linear-gradient(145deg, #f2a58e, #d65a4b 55%, #8a302d); }
.case-satin .case-logo { display: none; }
.case-chrome { --case-bg: conic-gradient(from 210deg, #eef3f1, #9eb5c5, #e2d7e8, #b3c4b0, #f6e2c8, #b5c3c4, #eef3f1); }
.case-chrome .case-logo { color: rgba(16,18,15,.18); }
.case-matte { --case-bg: linear-gradient(145deg, #393d38, #151714); }
.case-matte::before { border-color: rgba(255,255,255,.1); }
.case-matte .case-lens { background: #0a0b0a; border-color: rgba(255,255,255,.14); }
.case-matte .case-logo { color: rgba(255,255,255,.2); }
.case-liquid { --case-bg: radial-gradient(ellipse at 33% 33%, rgba(255,245,188,.9), transparent 28%), radial-gradient(ellipse at 65% 62%, #ffb159, transparent 36%), linear-gradient(145deg, #df5d37, #852f2c); }
.case-liquid .case-logo { display: none; }
.case-floral { --case-bg: radial-gradient(circle at 28% 44%, #f9c6d1 0 4%, transparent 5%), radial-gradient(circle at 48% 56%, #f7e4a9 0 3%, transparent 4%), radial-gradient(circle at 72% 31%, #fff 0 4%, transparent 5%), linear-gradient(145deg, #a8cbb3, #5d9c74); background-size: 42px 42px, 50px 50px, 62px 62px, auto; }
.case-floral .case-logo { display: none; }
.case-aramid { --case-bg: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 5px), repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 5px), #252826; }
.case-aramid .case-logo { display: none; }
.case-aramid .case-lens { background: #111; }
.case-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--surface); border-radius: 3px; padding: 5px 7px; font-size: 9px; font-weight: 800; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.case-badge.hot { background: var(--coral); color: white; }
.case-save { position: absolute; top: 10px; right: 10px; z-index: 2; width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); opacity: 0; transform: translateY(-3px); transition: .15s ease; }
.product-card:hover .case-save, .case-save:focus-visible { opacity: 1; transform: translateY(0); }
.case-save .icon { width: 15px; height: 15px; }
.case-save.saved { background: var(--lime); opacity: 1; transform: translateY(0); }
/* 收藏态用实心书签，扫一眼就知道哪些已经收过，不用再点一次确认 */
.case-save.saved .icon, .pd-save.saved .icon { fill: currentColor; }
.product-card-info { padding-top: 12px; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.product-card-meta span:last-child { text-transform: none; }
.product-card h3 { margin: 5px 0 6px; font-size: 14px; line-height: 1.3; font-weight: 700; }
.product-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.product-card-price { font-size: 13px; font-weight: 800; }
.product-card-price small { color: var(--muted); font-size: 9px; font-weight: 500; }
.product-card-moq { color: var(--muted); font-size: 10px; }
.product-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.product-card-tags span { font-size: 9px; border: 1px solid var(--line); border-radius: 2px; padding: 2px 5px; color: var(--muted); }

.process-band { background: var(--black); color: white; padding: 76px 0; }
.process-band .shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.process-intro h2 { font-size: clamp(38px, 4.4vw, 61px); line-height: 1; margin: 13px 0 17px; max-width: 510px; }
.process-intro p { color: #adb3a7; max-width: 430px; line-height: 1.65; font-size: 15px; }
.button { border: 0; padding: 12px 16px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; font-weight: 800; }
.button .icon { width: 16px; height: 16px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--coral); }
.button-light { background: var(--lime); color: var(--ink); margin-top: 9px; }
.button-light:hover { background: white; }
.button-secondary { background: var(--surface-alt); color: var(--ink); }
.button-secondary:hover { background: var(--line); }
.button-accent { background: var(--coral); color: white; }
.button-accent:hover { background: var(--ink); }
.process-steps { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #343831; border-left: 1px solid #343831; }
.process-step { min-height: 238px; padding: 24px; border-right: 1px solid #343831; border-bottom: 1px solid #343831; position: relative; }
.step-number { position: absolute; top: 18px; right: 20px; color: #70776b; font-size: 10px; }
.step-icon { width: 37px; height: 37px; display: grid; place-items: center; background: #20241e; color: var(--lime); border-radius: 50%; margin-bottom: 23px; }
.step-icon .icon { width: 18px; height: 18px; }
.process-step h3 { margin: 0 0 8px; font-size: 17px; }
.process-step p { color: #a9afa3; font-size: 12px; line-height: 1.6; margin: 0 0 20px; }
.step-meta { color: #d2d7cd; font-size: 10px; text-transform: uppercase; }

.insights-preview { padding-top: 65px; }
.article-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 18px; }
.article-card { border-top: 1px solid var(--ink); padding-top: 16px; cursor: pointer; }
.article-visual { min-height: 190px; border-radius: 5px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; background: var(--surface-alt); }
.article-card:first-child .article-visual { min-height: 220px; }
.article-visual.visual-one { background: #d8e7dd; }
.article-visual.visual-two { background: #f1dfd3; }
.article-visual.visual-three { background: #e5e0ed; }
.article-pattern { position: absolute; inset: 0; opacity: .8; }
.visual-one .article-pattern { background: radial-gradient(circle, rgba(255,255,255,.85) 1.2px, transparent 1.3px); background-size: 14px 14px; transform: rotate(-8deg) scale(1.12); }
.visual-two .article-pattern { background: repeating-linear-gradient(35deg, rgba(79,38,22,.08) 0 6px, transparent 6px 15px); }
.visual-three .article-pattern { background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.7) 36% 38%, transparent 39% 62%, rgba(20,20,20,.08) 63% 64%, transparent 65%); }
.article-visual .case-shell { position: absolute; width: 110px; height: 165px; right: 15%; top: 13%; transform: rotate(12deg); z-index: 2; }
.article-card:first-child .article-visual .case-shell { width: 130px; height: 190px; right: 13%; top: 11%; }
.article-topic { position: relative; z-index: 3; background: rgba(255,255,255,.88); border-radius: 3px; padding: 5px 8px; font-size: 9px; font-weight: 800; color: var(--ink); }
.article-card h3 { margin: 13px 0 8px; font-size: 18px; line-height: 1.24; }
.article-card:first-child h3 { font-size: 23px; }
.article-card p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0 0 12px; }
.article-date { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; padding-top: 9px; border-top: 1px solid var(--line); }

.page-intro { padding-top: 58px; padding-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.page-intro h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1; margin: 12px 0 13px; }
.page-intro p { margin: 0; color: var(--muted); max-width: 560px; font-size: 15px; }
.visual-search-cta { background: var(--lime-soft); border: 1px solid #d7e79e; border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 12px; min-width: 330px; text-align: left; }
.visual-search-cta:hover { background: var(--lime); }
.visual-cta-icon { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.visual-search-cta > span:nth-child(2) { flex: 1; }
.visual-search-cta strong { display: block; font-size: 12px; }
.visual-search-cta small { display: block; font-size: 10px; color: #657148; margin-top: 2px; }
.discover-bar { display: flex; gap: 25px; align-items: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 26px; }
.discover-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-dark); background: var(--surface); border-radius: 4px; padding: 0 0 0 12px; width: min(600px, 65%); height: 44px; }
.discover-search .icon { color: var(--muted); width: 17px; height: 17px; }
.discover-search input { flex: 1; border: 0; outline: 0; min-width: 0; background: transparent; font-size: 13px; }
.discover-search button { align-self: stretch; border: 0; background: var(--ink); color: white; padding: 0 16px; font-size: 11px; font-weight: 700; }
.search-summary { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.search-summary span:first-child { color: var(--ink); font-weight: 700; }
.summary-divider { width: 1px; height: 13px; background: var(--line); }
.discover-layout { display: grid; grid-template-columns: 224px 1fr; gap: 34px; align-items: start; padding-bottom: 84px; }
.filter-panel { position: sticky; top: 100px; }
.filter-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 12px; font-weight: 800; font-size: 13px; }
.filter-title button { border: 0; background: transparent; padding: 0; color: var(--muted); font-size: 10px; text-decoration: underline; }
.filter-panel details { border-bottom: 1px solid var(--line); }
.filter-panel summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 15px 0; font-size: 12px; font-weight: 700; }
.filter-panel summary::-webkit-details-marker { display: none; }
.filter-panel summary .icon { width: 14px; height: 14px; transition: transform .15s ease; }
.filter-panel details:not([open]) summary .icon { transform: rotate(-90deg); }
.filter-options { padding: 0 0 12px; display: grid; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-soft); cursor: pointer; }
.check-row input { width: 14px; height: 14px; accent-color: var(--ink); margin: 0; }
.check-row em { font-style: normal; color: #999f95; font-size: 9px; margin-left: auto; }
.price-filter { display: flex; gap: 8px; align-items: flex-end; padding-bottom: 16px; font-size: 10px; color: var(--muted); }
.price-filter label { display: grid; gap: 4px; }
.price-filter input { width: 72px; border: 1px solid var(--line); background: white; padding: 7px; border-radius: 3px; }
.filter-helper { margin-top: 18px; background: var(--lime-soft); padding: 14px; border-radius: 5px; }
.filter-helper .icon { color: #71852b; width: 18px; height: 18px; }
.filter-helper p { font-size: 10px; color: #5f6847; margin: 7px 0; line-height: 1.5; }
.filter-helper button { padding: 0; border: 0; background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; min-height: 31px; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.active-filter-placeholder { color: var(--muted); font-size: 11px; }
.active-filter { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line-dark); border-radius: 99px; padding: 4px 9px; font-size: 10px; background: var(--surface); }
.active-filter button { display: grid; place-items: center; border: 0; padding: 0; background: transparent; }
.active-filter .icon { width: 12px; height: 12px; }
.sort-control { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.sort-control select { border: 1px solid var(--line); background: transparent; padding: 6px 24px 6px 8px; border-radius: 3px; font-size: 11px; color: var(--ink); }
.discover-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.empty-state { border-top: 1px solid var(--ink); padding: 70px 20px; text-align: center; }
.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--surface-alt); margin: 0 auto 18px; border-radius: 50%; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 12px; }
.empty-state .button { margin-top: 8px; }

/* --- 收藏（Saved shortlist）页 --- */
.saved-intro-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.saved-total { font-size: 13px; font-weight: 800; border: 1px solid var(--ink); border-radius: 999px; padding: 7px 14px; }
.saved-intro-aside small { font-size: 10px; color: var(--muted); }
.saved-body { padding-bottom: 68px; }
.saved-missing { grid-column: 1 / -1; margin: 6px 0 0; font-size: 11px; color: var(--muted); }

.flow-intro { padding-bottom: 44px; }
.flow-intro .button { align-self: center; }
.flow-layout { display: grid; grid-template-columns: 285px 1fr; border-top: 1px solid var(--ink); }
.flow-steps { border-right: 1px solid var(--line); }
.flow-step { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 32px 1fr; gap: 11px; text-align: left; padding: 20px 18px 20px 0; position: relative; }
.flow-step.active { background: var(--surface); }
.flow-step.active::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--coral); }
.flow-step-index { font-size: 10px; color: var(--muted); padding-top: 3px; }
.flow-step-copy strong { display: block; font-size: 14px; margin-bottom: 4px; }
.flow-step-copy small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.flow-step-status { grid-column: 2; font-size: 9px; font-weight: 700; color: #79865c; }
.flow-step:not(.active) .flow-step-status { color: #9ba096; }
.flow-detail { background: var(--surface); min-height: 600px; }
.flow-detail-top { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 17px 28px; font-size: 10px; color: var(--muted); }
.flow-kicker { color: var(--ink); font-weight: 800; }
.flow-detail-main { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; padding: 42px; align-items: center; }
.flow-visual { min-height: 335px; display: grid; place-items: center; background: #eef0e9; border-radius: 5px; padding: 28px; }
.brief-sheet { width: 100%; max-width: 330px; background: white; padding: 20px; border: 1px solid var(--line); box-shadow: 10px 12px 0 var(--lime); }
.brief-sheet-head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 9px; font-weight: 800; }
.brief-sheet-head span:last-child { color: var(--muted); }
.brief-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.brief-row > span { color: var(--muted); }
.brief-row strong { font-size: 10px; text-align: right; }
.brief-thumb { width: 34px; height: 45px; border-radius: 5px; background: linear-gradient(145deg, #d0eee3, #78b6a3); border: 1px solid rgba(0,0,0,.2); position: relative; }
.brief-thumb::before { content: ""; position: absolute; left: 4px; top: 4px; width: 13px; height: 11px; border-radius: 3px; background: rgba(0,0,0,.22); }
.brief-sheet-foot { display: flex; align-items: center; gap: 7px; padding-top: 15px; color: #4e6535; font-size: 9px; font-weight: 700; }
.flow-copy h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.03; margin: 0 0 15px; }
.flow-copy p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.flow-points { list-style: none; padding: 0; margin: 20px 0 27px; display: grid; gap: 10px; }
.flow-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; color: var(--ink-soft); }
.flow-points .icon { width: 15px; height: 15px; color: #328361; }
.flow-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 28px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.flow-footer span { display: flex; align-items: center; gap: 6px; }
.flow-footer .icon { width: 14px; height: 14px; }

.qc-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 58px; align-items: center; padding-top: 82px; padding-bottom: 90px; }
.qc-copy h2 { font-size: clamp(32px, 3.6vw, 49px); line-height: 1.02; margin: 12px 0 15px; max-width: 470px; }
.qc-copy > p { color: var(--muted); font-size: 13px; line-height: 1.65; max-width: 440px; }
.qc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 25px; border-top: 1px solid var(--ink); }
.qc-checks > div { padding: 14px 12px 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 25px 1fr; column-gap: 8px; }
.qc-checks span { grid-row: span 2; font-size: 9px; color: var(--coral); font-weight: 800; }
.qc-checks strong { font-size: 12px; }
.qc-checks small { color: var(--muted); font-size: 9px; line-height: 1.4; margin-top: 3px; }
.qc-report { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transform: rotate(.3deg); }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.report-head > div { display: flex; flex-direction: column; gap: 4px; }
.report-kicker { color: var(--muted); font-size: 9px; font-weight: 800; }
.report-head strong { font-size: 12px; }
.qc-awaiting { background: #fff0d0; color: #735412; font-size: 9px; font-weight: 700; padding: 5px 8px; border-radius: 3px; }
.qc-photo-grid { display: grid; grid-template-columns: 1.4fr .6fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--line); }
.qc-photo { background: #d7dfd4; position: relative; overflow: hidden; min-height: 150px; display: grid; place-items: center; }
.qc-photo-main { grid-row: span 2; background: #e2e7df; }
.qc-photo-main .mini-case { width: 110px; height: 168px; transform: rotate(-8deg); }
.qc-photo-color { background: #e8d8cf; }
.qc-photo-pack { background: #dcd8c8; }
.mini-case { width: 58px; height: 90px; border-radius: 10px; display: block; border: 1px solid rgba(0,0,0,.25); background: linear-gradient(145deg, rgba(202,246,229,.85), rgba(98,157,139,.7)); position: relative; box-shadow: 0 10px 15px rgba(0,0,0,.12); }
.mini-case::before { content: ""; position: absolute; left: 8px; top: 8px; width: 23px; height: 19px; border-radius: 5px; background: rgba(0,0,0,.22); }
.mini-case.coral { background: linear-gradient(145deg, #f0a28e, #c95646); }
.carton-lines { width: 78px; height: 55px; background: #b48d5c; border: 1px solid rgba(0,0,0,.18); position: relative; transform: rotate(-8deg); }
.carton-lines::before { content: ""; position: absolute; left: 0; right: 0; top: 48%; border-top: 1px solid rgba(255,255,255,.5); }
.carton-lines::after { content: ""; position: absolute; left: 23%; top: 0; bottom: 0; width: 22%; border-left: 1px solid rgba(0,0,0,.16); border-right: 1px solid rgba(255,255,255,.4); }
.photo-label { position: absolute; bottom: 8px; left: 8px; font-size: 8px; color: #283027; background: rgba(255,255,255,.76); padding: 4px 6px; border-radius: 2px; }
.qc-report-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; }
.qc-report-foot > div { display: flex; flex-direction: column; gap: 2px; }
.qc-report-foot strong { font-size: 11px; }
.qc-report-foot span { color: var(--muted); font-size: 9px; }

.insights-intro { align-items: center; }
.insight-search { display: flex; align-items: center; border: 1px solid var(--line-dark); background: var(--surface); padding: 0 12px; border-radius: 4px; min-width: 280px; height: 44px; }
.insight-search .icon { width: 16px; height: 16px; color: var(--muted); }
.insight-search input { border: 0; background: transparent; padding: 0 8px; outline: 0; min-width: 0; font-size: 12px; }
.insights-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.insight-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 0 12px; margin-bottom: -1px; font-size: 11px; color: var(--muted); font-weight: 700; }
.insight-tab.active { color: var(--ink); border-color: var(--ink); }
.article-library { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 24px 20px; padding-bottom: 90px; }
.article-library .article-card:first-child { grid-row: span 2; }
.article-library .article-card:first-child .article-visual { min-height: 330px; }
.article-library .article-card.featured .article-visual { min-height: 330px; }
.article-library .article-card.featured h3 { font-size: 28px; }
.article-library .article-card.featured .article-visual .case-shell { width: 165px; height: 245px; right: 20%; top: 14%; }
.more-insight { grid-column: 1 / -1; border-top: 1px solid var(--ink); padding-top: 14px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }

.site-footer { background: #0f1113; color: white; padding: 52px 0 20px; margin-top: 30px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding-bottom: 40px; }
.brand-light .brand-mark { background: var(--lime); color: var(--ink); }
.footer-brand p { color: #9fa69a; font-size: 12px; max-width: 340px; margin: 18px 0 14px; line-height: 1.6; }
.footer-location { color: #6f776b; font-size: 9px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links strong { color: #cdd2c8; font-size: 10px; text-transform: uppercase; margin-bottom: 3px; }
.footer-links a, .footer-links button { border: 0; background: transparent; padding: 0; color: #9ba296; font-size: 11px; }
.footer-links a:hover, .footer-links button:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid #292d26; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; color: #6e756a; font-size: 9px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(9,11,8,.66); backdrop-filter: blur(7px); z-index: 100; display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.modal { background: var(--paper); border-radius: var(--radius); width: min(100%, 860px); max-height: calc(100vh - 48px); overflow-y: auto; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.modal-close { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; z-index: 4; }
.modal-close .icon { width: 16px; height: 16px; }
.modal-header { padding: 34px 34px 22px; border-bottom: 1px solid var(--line); }
.modal-kicker { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--coral); font-weight: 800; }
.modal-header h2, .article-modal h2 { margin: 10px 0 8px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; }
.modal-header p { color: var(--muted); font-size: 12px; margin: 0; max-width: 600px; }
.modal-foot { padding: 12px 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 8px; }
.brief-modal { width: min(100%, 650px); }
.brief-form { padding: 25px 34px 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.brief-form label { display: grid; gap: 5px; font-size: 10px; font-weight: 700; }
.brief-form input, .brief-form select, .brief-form textarea { border: 1px solid var(--line-dark); background: white; border-radius: 3px; padding: 10px; outline: 0; width: 100%; font-size: 12px; }
.brief-form textarea { resize: vertical; }
.consent-row { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 7px !important; font-weight: 400 !important; color: var(--muted); margin: 3px 0 15px; }
.consent-row input { width: 14px !important; margin: 2px 0 0; }
.form-submit { width: 100%; }
.form-note { color: var(--muted); text-align: center; font-size: 8px; margin: 10px 0 0; }
.product-modal { width: min(100%, 920px); }
.product-modal-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.product-modal-visual { display: grid; place-items: center; padding: 36px; }
.product-modal-visual .case-stage { width: 100%; max-height: 560px; aspect-ratio: 1 / 1.12; }
.product-modal-visual .case-shell { width: 46%; height: 78%; }
.product-modal-copy { padding: 52px 38px 35px; background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; }
.product-modal-copy h2 { font-size: 36px; line-height: 1.02; margin: 10px 0; }
.product-modal-sub { color: var(--muted); font-size: 12px; }
.product-price-row { display: flex; align-items: baseline; gap: 15px; margin: 12px 0 22px; }
.product-price-row strong { font-size: 23px; }
.product-price-row span { color: var(--muted); font-size: 10px; }
.product-spec-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-top: 1px solid var(--ink); }
.product-spec-grid div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.product-spec-grid span { display: block; color: var(--muted); font-size: 8px; margin-bottom: 3px; }
.product-spec-grid strong { font-size: 10px; }
.sourcing-includes { margin-top: 20px; display: grid; gap: 6px; width: 100%; font-size: 10px; }
.sourcing-includes > span { font-size: 9px; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.sourcing-includes div { display: flex; align-items: center; gap: 6px; }
.sourcing-includes .icon { width: 13px; height: 13px; color: #408666; }
.modal-add-button { margin-top: 24px; width: 100%; }
.product-modal-copy > .text-link { margin-top: 12px; color: var(--muted); }
.qc-modal { width: min(100%, 780px); }
.qc-evidence-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--line); min-height: 430px; }
.evidence-photo { display: grid; place-items: center; position: relative; overflow: hidden; }
.evidence-main { grid-row: span 2; background: #dfe6dc; }
.evidence-main .mini-case { width: 130px; height: 200px; }
.evidence-color { background: #efded3; }
.evidence-pack { background: #e7e0ca; }
.evidence-photo > span:last-child { position: absolute; left: 12px; bottom: 10px; background: rgba(255,255,255,.8); font-size: 9px; padding: 4px 6px; border-radius: 2px; }
.qc-modal-actions { display: flex; gap: 10px; padding: 20px 26px; background: var(--surface); justify-content: flex-end; }
.article-modal { width: min(100%, 780px); padding: 50px 54px 38px; background: #fbfcf8; }
.article-byline { display: flex; gap: 8px; font-size: 9px; color: var(--muted); margin: 10px 0 23px; }
.article-deck { color: var(--ink-soft); font-size: 16px; line-height: 1.55; border-left: 3px solid var(--coral); padding-left: 15px; }
.article-body h3 { font-size: 20px; margin: 27px 0 10px; }
.article-body p { font-size: 13px; line-height: 1.75; color: #4f554b; }
.article-body ul { padding-left: 18px; font-size: 13px; line-height: 1.75; color: #4f554b; }
.article-cta { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 11px; color: var(--muted); }

.stores-section { padding-top: 68px; }
.stores-heading h2 { max-width: 720px; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.store-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.store-cover { min-height: 168px; position: relative; overflow: hidden; padding: 14px; isolation: isolate; }
.store-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(255,255,255,.65), transparent 55%); }
.cover-mint { background: #cfe9df; }
.cover-peach { background: #f0d5c8; }
.cover-sand { background: #e8dfc9; }
.cover-lilac { background: #ded6e9; }
.cover-charcoal { background: #c9ceca; }
.cover-sky { background: #cfdfeb; }
.store-cover-top, .store-cover-foot { position: absolute; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; font-weight: 800; text-transform: uppercase; color: rgba(16,18,15,.66); }
.store-cover-top { top: 14px; }
.store-cover-foot { bottom: 13px; text-transform: none; font-size: 9px; }
.store-cover-foot > span { display: flex; align-items: center; gap: 5px; min-width: 0; }
.store-cover-foot .icon { width: 13px; height: 13px; }
.store-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.store-verified .icon { width: 12px; height: 12px; padding: 2px; background: var(--lime); border-radius: 50%; stroke-width: 2.4; }
.store-case-stack { position: absolute; left: 0; right: 0; top: 35px; bottom: 27px; display: flex; align-items: center; justify-content: center; }
.store-case { display: block; width: 58px; height: 96px; position: relative; border: 1.5px solid rgba(16,18,15,.25); border-radius: 14px 16px 12px 15px; background: var(--case-bg, #a9d2c3); box-shadow: 0 16px 22px rgba(16,18,15,.14), inset 0 0 0 3px rgba(255,255,255,.2); }
.store-case::before { content: ""; position: absolute; right: 7px; top: 7px; width: 19px; height: 19px; border-radius: 6px; background: rgba(16,18,15,.25); border: 1px solid rgba(255,255,255,.35); }
.store-case::after { content: ""; position: absolute; left: 9px; bottom: 8px; width: 11px; height: 2px; border-radius: 9px; background: rgba(16,18,15,.15); }
.store-case-1 { transform: rotate(-10deg) translate(15px, 5px); z-index: 1; }
.store-case-2 { transform: rotate(1deg) translateY(-4px); z-index: 2; }
.store-case-3 { transform: rotate(10deg) translate(-15px, 7px); z-index: 1; }
.store-case-photo { width: 62px; height: 102px; border-radius: 13px; border-color: rgba(16,18,15,.1); background: #fff; }
.store-case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.store-case-photo::before, .store-case-photo::after { display: none; }
.store-card-body { padding: 16px; display: flex; flex-direction: column; gap: 15px; flex: 1; }
.store-identity { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.store-avatar { width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.store-identity h3 { margin: 0 0 3px; font-size: 15px; line-height: 1.2; }
.store-identity h3 button, .store-update-copy button { border: 0; background: transparent; padding: 0; text-align: left; font: inherit; }
.store-identity h3 button:hover, .store-update-copy button:hover { color: var(--coral); }
.store-identity > div > span { display: block; color: var(--muted); font-size: 9px; line-height: 1.4; }
.follow-store { min-height: 32px; border: 1px solid var(--line-dark); border-radius: 4px; background: transparent; padding: 7px 9px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.follow-store:hover { border-color: var(--ink); background: var(--lime-soft); }
.follow-store.followed { background: var(--ink); border-color: var(--ink); color: white; }
.follow-store .icon { width: 13px; height: 13px; }
.follow-store.compact { min-height: 34px; padding: 7px 12px; font-size: 10px; }
.store-metrics { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 13px; }
.store-metrics span { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 0 9px; }
.store-metrics span:first-child { padding-left: 0; }
.store-metrics span:last-child { border-right: 0; }
.store-metrics strong { font-size: 13px; }
.store-metrics small { color: var(--muted); font-size: 8px; margin-top: 2px; }
.store-drop-strip { margin-top: 20px; padding: 20px 22px 5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.store-drop-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.store-drop-heading > span { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.store-drop-heading > span .icon { width: 15px; height: 15px; color: var(--coral); }
.store-update-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.store-update { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 78px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.store-update-thumb { width: 46px; height: 54px; border: 0; border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.store-update-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-update-case { display: block; width: 25px; height: 39px; border: 1px solid rgba(16,18,15,.25); border-radius: 6px; background: var(--case-bg, #a9d2c3); position: relative; transform: rotate(-7deg); }
.store-update-case::before { content: ""; position: absolute; right: 3px; top: 3px; width: 9px; height: 9px; border-radius: 3px; background: rgba(16,18,15,.25); }
.store-update-copy { min-width: 0; }
.store-update-copy > span { display: block; font-size: 8px; color: var(--muted); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-update-copy strong { display: block; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-update-copy strong button { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-update-copy small { display: block; color: var(--muted); font-size: 8px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-update-new { align-self: start; margin-top: 13px; color: var(--coral); font-size: 7px; font-weight: 900; }
.store-feed-empty { grid-column: 1 / -1; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 24px; }
.store-feed-empty .icon { width: 24px; height: 24px; margin-bottom: 8px; color: var(--coral); }
.store-feed-empty strong { color: var(--ink); font-size: 12px; }
.store-feed-empty span { font-size: 9px; margin-top: 4px; }

.stores-intro { align-items: center; }
.follow-summary { min-width: 310px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 13px 14px; border-radius: var(--radius); background: var(--ink); color: white; }
.follow-summary-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 5px; background: var(--lime); color: var(--ink); }
.follow-summary span:not(.follow-summary-icon) { display: flex; flex-direction: column; }
.follow-summary strong { font-size: 17px; line-height: 1; }
.follow-summary small { margin-top: 3px; color: #aeb4a8; font-size: 8px; text-transform: uppercase; }
.follow-summary button { border: 0; border-left: 1px solid #3a3f35; background: transparent; color: white; padding: 5px 0 5px 13px; font-size: 9px; font-weight: 700; }
.stores-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); }
.store-tabs { display: flex; gap: 25px; }
.store-tab { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 12px 0 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; }
.store-tab .icon { width: 14px; height: 14px; }
.store-tab.active { color: var(--ink); border-color: var(--coral); }
.store-toolbar-note { padding-bottom: 13px; color: var(--muted); font-size: 8px; }
.stores-page-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 40px; padding-top: 27px; padding-bottom: 80px; align-items: start; }
.store-grid.stores-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 档口页「加载更多」：一次铺全部商家太重，先渲染一屏，其余点一下追加 */
.stores-more { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.stores-more[hidden] { display: none; }
.stores-more-note { font-size: 11px; color: var(--muted); }
.store-feed-panel { position: sticky; top: 104px; background: var(--surface); border-top: 1px solid var(--ink); padding: 22px; }
.store-feed-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.store-feed-panel-head .live-chip { color: var(--muted); font-size: 8px; text-transform: uppercase; font-weight: 800; }
.store-feed-panel h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.05; }
.store-feed-panel .store-update-list { grid-template-columns: 1fr; }
.store-feed-note { color: var(--muted); font-size: 8px; line-height: 1.5; margin: 15px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.store-empty { border-top: 1px solid var(--ink); min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.store-empty > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-alt); }
.store-empty h3 { margin: 14px 0 5px; }
.store-empty p { color: var(--muted); font-size: 11px; }
.store-empty .button { margin-top: 8px; }

.store-modal { width: min(100%, 940px); background: var(--surface); }
.store-modal-hero { display: grid; grid-template-columns: 300px 1fr; min-height: 270px; }
.store-modal-cover { min-height: 270px; padding: 20px; }
.store-modal-cover .store-cover-top { left: 20px; right: 20px; top: 20px; }
.store-modal-cover .store-cover-foot { left: 20px; right: 20px; bottom: 18px; }
.store-modal-cover .store-case-stack { top: 50px; bottom: 42px; }
.store-modal-cover .store-case { width: 76px; height: 126px; }
.store-modal-summary { padding: 48px 46px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.store-modal-title-row { display: flex; align-items: center; gap: 12px; }
.store-modal-avatar { width: 45px; height: 45px; }
.store-modal-summary h2 { margin: 16px 0 6px; font-size: clamp(32px, 4vw, 47px); line-height: 1; }
.store-modal-summary > p { color: var(--muted); font-size: 10px; }
.store-modal-note { max-width: 540px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; margin: 9px 0 18px; }
.store-modal-follow { margin-top: auto; }
.store-modal-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 34px; }
.store-modal-metrics span { display: flex; flex-direction: column; padding: 16px 20px; border-right: 1px solid var(--line); }
.store-modal-metrics span:first-child { padding-left: 0; }
.store-modal-metrics span:last-child { border-right: 0; }
.store-modal-metrics strong { font-size: 18px; }
.store-modal-metrics small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.store-modal-content { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; padding: 30px 34px 36px; }
.store-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.store-section-head > span:last-child { color: var(--muted); font-size: 8px; }
.store-modal-updates { grid-template-columns: 1fr; }
.store-product-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.store-product-tile { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; display: grid; grid-template-columns: 45px minmax(0, 1fr); column-gap: 11px; text-align: left; }
.store-product-tile > span { grid-row: span 2; width: 45px; height: 52px; border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.store-product-tile > span i { display: block; width: 25px; height: 39px; border: 1px solid rgba(16,18,15,.25); border-radius: 6px; background: var(--case-bg, #a9d2c3); position: relative; transform: rotate(-7deg); }
.store-product-tile > span i::before { content: ""; position: absolute; right: 3px; top: 3px; width: 9px; height: 9px; border-radius: 3px; background: rgba(16,18,15,.25); }
.store-product-tile strong { align-self: end; font-size: 10px; line-height: 1.3; }
.store-product-tile small { color: var(--muted); font-size: 8px; }
.store-product-tile:hover strong { color: var(--coral); }
.store-brief-button { width: 100%; margin-top: 18px; }

.case-open {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.case-open-static { cursor: default; }
.product-title-button {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}
.product-title-button:hover { color: var(--coral); }

/* 卡片主入口从 button 换成真链接：地址要给爬虫和分享卡片看，
 * 视觉还是原来的按钮/封面，所以这里把 a 的默认样式抹平 */
a.case-open { text-decoration: none; color: inherit; }
a.product-title-button { display: block; text-decoration: none; color: inherit; }
a.store-cover { display: block; width: 100%; border: 0; text-decoration: none; color: inherit; text-align: left; }
.store-identity h3 a { text-decoration: none; color: inherit; }

.detail-nav {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
}
.back-link {
  border: 0;
  padding: 9px 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  text-transform: none;
}
.back-link .icon { width: 15px; height: 15px; }
.back-link:hover { color: var(--coral); }

.product-home-section { padding-top: 60px; padding-bottom: 38px; }
.product-home-section + .product-home-section { border-top: 1px solid var(--line); }
.product-home-section .product-grid { row-gap: 24px; }

.product-list-intro { padding-top: 44px; align-items: flex-end; }
.product-list-intro h1 { font-size: clamp(36px, 4.5vw, 61px); }
.product-list-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 6px;
  background: var(--surface-alt);
  flex: 0 0 auto;
}
.product-list-tab {
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  padding: 9px 13px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
}
.product-list-tab .icon { width: 14px; height: 14px; }
.product-list-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.product-list-layout {
  display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 34px;
  align-items: start; padding-bottom: 88px;
}
.product-list-main { min-width: 0; }
.product-list-layout .filter-panel { position: sticky; top: 100px; }
.product-list-layout .product-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-list-layout .empty-state { margin-top: 4px; }
.product-list-meta {
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
}
.product-list-grid { row-gap: 30px; }

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(34px, 5vw, 70px);
  /* 左列不再跟着右列文案高度一起拉伸：右栏异步填进规格/描述后会把主图撑大，造成进页面时图片跳变 */
  align-items: start;
  padding-top: 34px;
  padding-bottom: 68px;
}
.product-detail-visual {
  /* 固定高度，和右栏内容多少无关；进出详情页主图尺寸恒定，不产生布局位移 */
  height: min(78vh, 820px);
  min-height: 560px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-detail-visual > .pd-stage { flex: 1 1 auto; min-height: 0; }
#product-detail-visual .case-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
#product-detail-visual .case-shell { width: 39%; height: 68%; }
.product-detail-index {
  position: absolute;
  left: 20px;
  bottom: 17px;
  z-index: 2;
  padding: 5px 7px;
  border-radius: 3px;
  background: rgba(255,255,255,.78);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}
.product-detail-copy {
  padding: 22px 0 8px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.product-detail-kicker {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.detail-status {
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--lime-soft);
  color: #58652d;
}
.product-detail-copy h1 {
  margin: 14px 0 9px;
  max-width: 610px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
}
.product-detail-store {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.product-detail-store button {
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 0 0 1px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}
.product-detail-store button:hover { color: var(--coral); border-color: var(--coral); }
.product-detail-description {
  max-width: 620px;
  margin: 20px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.product-detail-price {
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.product-detail-price > div { display: flex; align-items: baseline; gap: 6px; }
.product-detail-price strong { font-size: 29px; line-height: 1; }
.product-detail-price > div span,
.product-detail-price > span { color: var(--muted); font-size: 10px; }
.product-detail-price > span { font-weight: 700; }
.product-purchase-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}
/* 详情页收藏：与加入询价并排，48px 见方，收藏态变实心书签 */
.pd-save {
  width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  transition: background .15s ease, border-color .15s ease;
}
.pd-save .icon { width: 18px; height: 18px; }
.pd-save:hover { background: var(--surface-alt); border-color: var(--ink); }
.pd-save.saved { background: var(--lime); border-color: var(--ink); }
.quantity-control {
  min-height: 48px;
  display: grid;
  grid-template-columns: 40px 66px 40px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.quantity-control button {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.quantity-control button:hover { background: var(--surface-alt); }
.quantity-control button .icon { width: 14px; height: 14px; }
.quantity-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  outline: 0;
  -moz-appearance: textfield;
}
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-add-cart { min-height: 48px; }
/* 加购期间给出即时反馈：按钮变灰 + 转圈，别让客户以为点了没反应 */
.product-add-cart.is-busy {
  opacity: 0.75;
  cursor: progress;
}
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
.product-detail-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.product-detail-note .icon { width: 14px; height: 14px; color: #328361; margin-top: 1px; }
.product-detail-specs { margin-top: auto; }
.product-related { padding-top: 46px; padding-bottom: 90px; border-top: 1px solid var(--ink); }
.product-related .product-grid { row-gap: 24px; }

.store-home-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.store-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 5vw, 72px);
  padding-top: 34px;
  padding-bottom: 34px;
  align-items: stretch;
}
.store-home-cover {
  min-height: 355px;
  border-radius: var(--radius);
}
.store-home-cover .store-cover-top { left: 20px; right: 20px; top: 20px; }
.store-home-cover .store-cover-foot { left: 20px; right: 20px; bottom: 18px; }
.store-home-cover .store-case-stack { top: 54px; bottom: 43px; }
.store-home-cover .store-case { width: 84px; height: 139px; border-radius: 18px 21px 16px 19px; }
.store-home-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 0;
}
.store-home-verified { display: flex; align-items: center; gap: 12px; }
.store-home-summary h1 {
  max-width: 690px;
  margin: 17px 0 7px;
  font-size: clamp(39px, 5vw, 64px);
  line-height: .98;
}
.store-home-summary > p { margin: 0; color: var(--muted); font-size: 10px; }
.store-home-note {
  max-width: 620px;
  margin-top: 13px !important;
  color: var(--ink-soft) !important;
  font-size: 13px !important;
  line-height: 1.65;
}
.store-home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.store-home-actions > div { display: flex; }
.store-home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.store-home-metrics span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.store-home-metrics span:first-child { padding-left: 0; }
.store-home-metrics span:last-child { border-right: 0; }
.store-home-metrics strong { font-size: 21px; }
.store-home-metrics small { color: var(--muted); font-size: 8px; margin-top: 3px; text-transform: uppercase; }
.store-home-content {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: start;
  padding-top: 46px;
  padding-bottom: 82px;
}
.store-home-products { min-width: 0; }
.store-home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
.store-home-updates-panel {
  padding: 22px;
  border-top: 1px solid var(--ink);
  background: var(--surface);
}
.store-home-updates-panel h2 { margin: 12px 0 11px; font-size: 27px; line-height: 1.06; }
.store-home-updates-panel .store-update-list { grid-template-columns: 1fr; }

.cart-layer { position: fixed; inset: 0; z-index: 120; display: grid; }
.cart-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(9,11,8,.58);
  backdrop-filter: blur(5px);
}
.cart-drawer {
  position: relative;
  margin-left: auto;
  width: min(460px, calc(100% - 24px));
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -24px 0 60px rgba(0,0,0,.25);
  animation: cartIn .22s ease;
}
@keyframes cartIn { from { transform: translateX(24px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
.cart-head {
  padding: 24px 22px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.cart-head h2 { margin: 7px 0 0; font-size: 35px; line-height: 1; }
.cart-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
}
.cart-close:hover { background: var(--surface-alt); }
.cart-close .icon { width: 15px; height: 15px; }
.cart-items { flex: 1; overflow-y: auto; padding: 0 22px; }
.cart-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-thumb {
  width: 68px;
  height: 84px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* 询价条目可点回商品页：整行、缩略图、标题都可点，重置掉链接默认样式 */
.cart-item[data-cart-product] { cursor: pointer; }
.cart-item-thumb { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.cart-item-thumb:hover { outline: 1px solid var(--line-dark); outline-offset: -1px; border-radius: 5px; }
.cart-item-name { color: inherit; text-decoration: none; }
.cart-item-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item-thumb > span {
  display: block;
  width: 34px;
  height: 54px;
  position: relative;
  border: 1px solid rgba(16,18,15,.25);
  border-radius: 8px;
  background: var(--case-bg, #a9d2c3);
  transform: rotate(-7deg);
}
.cart-item-thumb > span::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(16,18,15,.23);
}
.cart-item-copy { min-width: 0; }
.cart-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.cart-item-head strong { display: block; font-size: 12px; line-height: 1.35; }
.cart-item-head span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.cart-remove {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
}
.cart-remove:hover { border-color: var(--coral); color: var(--coral); }
.cart-remove .icon { width: 12px; height: 12px; }
.cart-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  font-size: 9px;
  color: var(--muted);
}
.cart-quantity {
  display: grid;
  grid-template-columns: 27px 42px 27px;
  min-height: 29px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}
.cart-quantity button { border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.cart-quantity button:hover { background: var(--surface-alt); }
.cart-quantity .icon { width: 11px; height: 11px; }
.cart-quantity output {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cart-empty { padding: 64px 0 36px; text-align: center; }
.cart-empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
}
.cart-empty h3 { margin: 0 0 7px; font-size: 18px; }
.cart-empty p { color: var(--muted); font-size: 10px; line-height: 1.6; max-width: 260px; margin: 0 auto 17px; }
.cart-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--ink);
  background: var(--surface);
}
.cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  font-weight: 700;
}
.cart-subtotal strong { font-size: 22px; }
.cart-foot p { margin: 8px 0 14px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.cart-checkout { width: 100%; min-height: 44px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 11px 16px; border-radius: 4px; font-size: 11px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; z-index: 200; white-space: normal; width: max-content; max-width: calc(100% - 32px); text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1060px) {
  .header-main { gap: 22px; }
  .primary-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr 410px; gap: 35px; }
  .hero h1 { font-size: 57px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-library { grid-template-columns: 1.25fr 1fr; }
  .article-library .article-card:first-child { grid-row: span 1; }
  .article-library .article-card:first-child .article-visual { min-height: 290px; }
  .flow-detail-main { gap: 25px; padding: 30px; }
  .qc-section { gap: 35px; }
  .stores-page-layout { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: 28px; }
  .store-identity { grid-template-columns: 38px minmax(0, 1fr); }
  .store-identity .follow-store { grid-column: 2; justify-self: start; }
  .product-list-intro { gap: 24px; }
  .product-detail-layout { gap: 38px; }
  .store-home-hero-grid { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 36px; }
  .store-home-summary h1 { font-size: clamp(38px, 5.2vw, 54px); }
  .store-home-content { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 30px; }
}
@media (max-width: 960px) {
  .shell { width: min(calc(100% - 34px), var(--shell)); }
  .announcement-right { display: none; }
  .header-main { height: 62px; }
  .mobile-menu { display: flex; flex-direction: column; gap: 4px; border: 0; background: transparent; padding: 6px 4px; }
  .mobile-menu span { width: 19px; height: 2px; background: var(--ink); }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .brief-button span:last-child { display: none; }
  .brief-button { padding: 7px; }
  .brief-count { width: 27px; height: 27px; }
  .mobile-nav { display: none; border-top: 1px solid var(--line); padding: 10px 17px 12px; gap: 18px; overflow-x: auto; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-size: 11px; font-weight: 700; white-space: nowrap; }
  .mobile-nav button:not(.nav-visual-search) { font-size: 11px; font-weight: 700; white-space: nowrap; background: none; border: 0; padding: 0; color: inherit; font-family: inherit; }
  .mobile-nav .nav-visual-search { padding: 7px 11px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 43px; gap: 36px; }
  .hero h1 { font-size: clamp(48px, 10vw, 71px); max-width: 680px; }
  .visual-dropzone { min-height: 320px; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding: 4px 0; }
  .trust-item { padding: 13px 10px; justify-content: flex-start; border-right: 0; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .signal-grid { grid-template-columns: 1fr; }
  .trend-card { min-height: 250px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-band .shell { grid-template-columns: 1fr; gap: 36px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-grid .article-card:first-child { grid-column: 1 / -1; }
  .page-intro { padding-top: 42px; flex-wrap: wrap; }
  .visual-search-cta { min-width: 0; width: 100%; max-width: 420px; }
  .discover-layout, .product-list-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; border-top: 1px solid var(--ink); }
  /* 列表页的筛选面板带 `.product-list-layout .filter-panel` 的 sticky（优先级高于这里），
     单列布局下会透明浮在商品卡上方，必须显式复位成普通文档流 */
  .product-list-layout .filter-panel { position: static; top: auto; }
  .filter-title { grid-column: 1 / -1; padding-top: 13px; }
  .filter-helper { grid-column: 1 / -1; margin-bottom: 20px; }
  .discover-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-layout { grid-template-columns: 1fr; }
  .flow-steps { border-right: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
  .flow-step { grid-template-columns: 1fr; padding: 15px 10px; border-right: 1px solid var(--line); }
  .flow-step:last-child { border-right: 0; }
  .flow-step-copy strong { font-size: 12px; }
  .flow-step-copy small { display: none; }
  .flow-step-status { grid-column: 1; font-size: 8px; }
  .flow-step.active::after { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 3px; }
  .qc-section { grid-template-columns: 1fr; }
  .qc-report { max-width: 640px; }
  .article-library { grid-template-columns: 1.1fr 1fr; }
  .article-library .article-card.featured { grid-column: 1 / -1; }
  .product-modal-layout { grid-template-columns: .9fr 1.1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .store-grid, .store-grid.stores-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stores-page-layout { grid-template-columns: 1fr; padding-bottom: 62px; }
  .store-feed-panel { position: static; }
  .store-feed-panel .store-update-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
  .stores-toolbar { align-items: center; }
  .store-modal-hero { grid-template-columns: 250px 1fr; }
  .store-modal-content { grid-template-columns: 1fr; gap: 30px; }
  .product-list-intro { align-items: flex-start; flex-wrap: wrap; }
  .product-list-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 24px; padding-bottom: 54px; }
  .product-detail-visual { height: 500px; min-height: 0; }
  #product-detail-visual .case-stage { min-height: 0; }
  .product-detail-copy { padding-top: 20px; }
  .product-detail-copy h1 { max-width: 720px; }
  .product-purchase-row { max-width: 560px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .store-home-hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; padding-bottom: 30px; }
  .store-home-cover { min-height: 300px; }
  .store-home-summary { padding: 0 0 4px; }
  .store-home-summary h1 { max-width: 720px; }
  .store-home-content { grid-template-columns: 1fr; gap: 36px; padding-top: 38px; padding-bottom: 64px; }
  .store-home-updates-panel { max-width: none; }
  .cart-drawer { width: min(460px, calc(100% - 16px)); }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .shell { width: calc(100% - 30px); }
  .announcement-inner { min-height: 29px; }
  .announcement { font-size: 10px; }
  .account-button { display: none; }
  .currency { padding: 7px 2px; }
  .hero { padding-top: 36px; padding-bottom: 37px; }
  .hero h1 { font-size: 45px; margin-top: 15px; }
  .hero-sub { font-size: 14px; }
  .hero-paths { grid-template-columns: 1fr; gap: 8px; }
  .quick-searches { gap: 7px 10px; }
  .visual-dropzone { min-height: 300px; }
  .dropzone-title { font-size: 17px; }
  .section { padding: 53px 0; }
  .compact-section { padding-bottom: 13px; }
  .section-heading { align-items: flex-start; gap: 16px; flex-direction: column; }
  .section-heading h2 { font-size: 34px; }
  .section-heading .text-link { margin-top: -4px; }
  .ranking-tabs { align-self: stretch; }
  .ranking-tab { flex: 1; justify-content: center; }
  .ranking-row { grid-template-columns: 28px 43px minmax(0, 1fr) auto; gap: 9px; min-height: 69px; }
  .rank-thumb { width: 41px; height: 48px; }
  .rank-case { width: 24px; height: 37px; }
  .rank-name strong { font-size: 12px; }
  .rank-name span { font-size: 9px; }
  .rank-signal { display: none; }
  .rank-add { width: 28px; height: 28px; }
  .trend-card { min-height: 230px; padding: 18px; }
  .trend-card h3 { font-size: 21px; }
  .product-grid { gap: 24px 11px; }
  .case-stage { border-radius: 5px; }
  .case-badge { left: 7px; top: 7px; padding: 4px 5px; font-size: 8px; }
  .case-save { opacity: 1; transform: none; top: 6px; right: 6px; width: 27px; height: 27px; }
  .case-shell { width: 50%; height: 74%; border-radius: 14% / 8%; }
  .product-card-meta { font-size: 8px; }
  .product-card h3 { font-size: 12px; }
  .product-card-price { font-size: 11px; }
  .product-card-tags { display: none; }
  .process-band { padding: 53px 0; }
  .process-intro h2 { font-size: 43px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { min-height: 0; padding: 20px; display: grid; grid-template-columns: 45px 1fr; column-gap: 12px; }
  .step-icon { grid-row: span 3; margin: 0; }
  .process-step h3 { margin-top: 1px; }
  .process-step p { margin-bottom: 7px; }
  .step-number { top: 12px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid .article-card:first-child { grid-column: auto; }
  .article-visual, .article-card:first-child .article-visual { min-height: 210px; }
  .article-card h3, .article-card:first-child h3 { font-size: 20px; }
  .page-intro { padding-top: 33px; padding-bottom: 25px; }
  .page-intro h1 { font-size: 45px; }
  .discover-bar { flex-wrap: wrap; gap: 10px; }
  .discover-search { width: 100%; }
  .search-summary { margin-left: 0; width: 100%; justify-content: space-between; }
  .filter-panel { grid-template-columns: 1fr; gap: 0; }
  .filter-title, .filter-helper { grid-column: auto; }
  .discover-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-toolbar { align-items: flex-start; gap: 8px; }
  .active-filters { max-width: 70%; }
  .sort-control { font-size: 8px; }
  .stores-section { padding-top: 48px; }
  .store-grid, .store-grid.stores-library { grid-template-columns: 1fr; }
  .store-cover { min-height: 156px; }
  .store-card-body { padding: 14px; }
  .store-identity { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .store-identity .follow-store { grid-column: auto; justify-self: end; }
  .store-metrics span { padding: 0 7px; }
  .store-drop-strip { padding: 16px 14px 3px; }
  .store-drop-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .store-update-list, .store-feed-panel .store-update-list { grid-template-columns: 1fr; }
  .store-update { grid-template-columns: 43px minmax(0, 1fr) auto; }
  .store-update-thumb { width: 43px; height: 51px; }
  .follow-summary { min-width: 0; width: 100%; }
  .stores-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; border-bottom: 0; }
  .store-tabs { width: 100%; border-bottom: 1px solid var(--ink); gap: 18px; overflow-x: auto; }
  .store-tab { white-space: nowrap; }
  .store-toolbar-note { padding-bottom: 0; }
  .stores-page-layout { padding-top: 20px; gap: 24px; }
  .store-feed-panel { padding: 18px 14px; }
  .store-modal-hero { grid-template-columns: 1fr; }
  .store-modal-cover { min-height: 220px; }
  .store-modal-summary { padding: 27px 20px 24px; }
  .store-modal-summary h2 { font-size: 34px; }
  .store-modal-metrics { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .store-modal-metrics span:nth-child(2) { border-right: 0; }
  .store-modal-metrics span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .store-modal-content { padding: 24px 20px 28px; }
  .store-modal-updates { grid-template-columns: 1fr; }
  .flow-intro .button { width: 100%; margin-top: 3px; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow-detail-main { grid-template-columns: 1fr; padding: 20px; gap: 25px; }
  .flow-visual { min-height: 255px; padding: 20px; }
  .brief-sheet { padding: 16px; }
  .flow-copy h2 { font-size: 32px; }
  .flow-footer { margin: 0 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .qc-section { padding-top: 53px; padding-bottom: 62px; }
  .qc-checks { grid-template-columns: 1fr; }
  .qc-photo { min-height: 110px; }
  .qc-photo-main .mini-case { width: 78px; height: 120px; }
  .insights-intro { align-items: flex-start; }
  .insight-search { min-width: 0; width: 100%; }
  .insights-tabs { overflow-x: auto; gap: 17px; }
  .insight-tab { white-space: nowrap; }
  .article-library { grid-template-columns: 1fr; }
  .article-library .article-card.featured { grid-column: auto; }
  .article-library .article-card.featured .article-visual { min-height: 220px; }
  .footer-links { gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .modal-backdrop { padding: 0; place-items: end center; }
  .modal { max-height: calc(100vh - 20px); border-radius: 8px 8px 0 0; }
  .modal-header { padding: 28px 20px 17px; }
  .modal-header h2 { font-size: 32px; }
  .modal-foot { padding: 10px 20px; flex-direction: column; gap: 4px; }
  .brief-form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .product-modal-layout { grid-template-columns: 1fr; }
  .product-modal-visual { padding: 24px; min-height: 330px; }
  .product-modal-visual .case-stage { max-height: 380px; aspect-ratio: 1 / 1.02; }
  .product-modal-copy { padding: 28px 20px; }
  .product-modal-copy h2 { font-size: 31px; }
  .qc-evidence-grid { min-height: 380px; }
  .qc-modal-actions { padding: 16px 20px; }
  .article-modal { padding: 34px 22px 28px; }
  .article-modal h2 { font-size: 32px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .article-body p, .article-body ul { font-size: 12px; }
  .product-home-section { padding-top: 48px; padding-bottom: 31px; }
  .product-list-intro { padding-top: 31px; gap: 20px; }
  .product-list-intro h1 { font-size: 42px; }
  .product-list-tabs { padding: 3px; }
  .product-list-tab { min-height: 40px; padding: 9px 8px; }
  .product-list-shell { padding-bottom: 60px; }
  .product-list-meta { align-items: flex-start; flex-wrap: wrap; gap: 5px 14px; }
  .product-list-grid { gap: 24px 11px; }
  .detail-nav { gap: 14px; }
  .detail-nav > span { max-width: 48%; text-align: right; line-height: 1.35; }
  .product-detail-layout { gap: 23px; padding-top: 18px; padding-bottom: 43px; }
  .product-detail-visual { height: 430px; min-height: 0; }
  #product-detail-visual .case-stage { min-height: 0; }
  #product-detail-visual .case-shell { width: 51%; height: 72%; }
  .product-detail-index { left: 12px; bottom: 11px; font-size: 7px; }
  .product-detail-kicker { align-items: flex-start; flex-wrap: wrap; }
  .product-detail-copy { padding-top: 17px; }
  .product-detail-copy h1 { margin-top: 11px; font-size: 37px; }
  .product-detail-store { align-items: flex-start; flex-wrap: wrap; line-height: 1.5; }
  .product-detail-description { margin: 16px 0 18px; font-size: 12px; }
  .product-detail-price { gap: 12px; }
  .product-detail-price strong { font-size: 27px; }
  .product-purchase-row { grid-template-columns: minmax(0, 1fr) auto; margin-top: 12px; }
  /* 手机上把收藏收进第一行右侧，加入询价单独占一行，避免两个整宽按钮上下堆 */
  .product-add-cart { grid-column: 1 / -1; grid-row: 2; }
  .pd-save { grid-column: 2; grid-row: 1; }
  .quantity-control { width: 100%; grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .product-add-cart { width: 100%; }
  .product-detail-note { margin-bottom: 18px; }
  .product-related { padding-top: 35px; padding-bottom: 62px; }
  .store-home-hero-grid { padding-top: 18px; gap: 23px; }
  .store-home-cover { min-height: 235px; }
  .store-home-cover .store-case { width: 69px; height: 114px; }
  .store-home-cover .store-case-stack { top: 48px; bottom: 35px; }
  .store-home-summary h1 { font-size: 43px; margin-top: 14px; }
  .store-home-note { font-size: 12px !important; }
  .store-home-actions { align-items: stretch; margin-top: 18px; }
  .store-home-actions > div,
  .store-home-actions .follow-store { width: 100%; }
  .store-home-actions .button { width: 100%; justify-content: center; }
  .store-home-metrics { grid-template-columns: 1fr 1fr; }
  .store-home-metrics span { padding: 13px 12px; }
  .store-home-metrics span:nth-child(odd) { padding-left: 0; }
  .store-home-metrics span:nth-child(even) { border-right: 0; }
  .store-home-metrics span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .store-home-metrics strong { font-size: 19px; }
  .store-home-content { gap: 28px; padding-top: 32px; padding-bottom: 55px; }
  .store-home-product-grid { gap: 24px 11px; }
  .store-home-updates-panel { padding: 18px 14px; }
  .store-home-updates-panel h2 { font-size: 25px; }
  .cart-drawer { width: 100%; max-width: none; }
  .cart-head { padding: 20px 17px 15px; }
  .cart-head h2 { font-size: 31px; }
  .cart-items { padding: 0 17px; }
  .cart-item { grid-template-columns: 57px minmax(0, 1fr); gap: 11px; }
  .cart-item-thumb { width: 57px; height: 74px; }
  .cart-item-thumb > span { width: 30px; height: 48px; }
  .cart-item-foot { gap: 8px; }
  .cart-quantity { grid-template-columns: 26px 38px 26px; }
  .cart-foot { padding: 16px 17px 20px; }
}

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

/* ==========================================================================
   以图搜图（视觉搜索页）
   ========================================================================== */
.vs-stage {
  position: relative; overflow: hidden; color: #fff; background: #171a15;
  padding: 26px 0 46px;
}
.vs-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 16% 4%, rgba(220, 255, 96, .12), transparent 46%),
    radial-gradient(circle at 92% 0%, rgba(255, 100, 56, .10), transparent 42%);
}
.vs-stage > .shell { position: relative; z-index: 1; }

.vs-crumb { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #8e9587; }
.vs-crumb a { color: #c8cdbf; }
.vs-crumb a:hover { color: var(--lime); }
.vs-crumb-sep { color: #5d6457; }

.vs-head { margin-top: 20px; max-width: 760px; }
.vs-head h1 { margin: 10px 0 12px; font-size: clamp(30px, 4.1vw, 54px); line-height: 1.02; letter-spacing: -.02em; font-weight: 750; }
.vs-accent { color: var(--lime); }
.vs-head p { margin: 0; font-size: 13px; line-height: 1.6; color: #a9b1a3; max-width: 660px; }

.vs-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; margin-top: 26px; align-items: start; }
.vs-detect-col { display: flex; flex-direction: column; min-width: 0; }

/* 上传区 */
.vs-drop {
  position: relative; display: block; width: 100%; min-height: 400px; overflow: hidden;
  border: 1px dashed #6d7a66; border-radius: 8px; color: #fff; text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    radial-gradient(circle at 50% 34%, #2f3629 0, #20251c 44%, #171a15 74%);
  background-size: 26px 26px, 26px 26px, auto;
}
.vs-drop:hover, .vs-drop.dragging { border-color: var(--lime); }
.vs-drop-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; }
.vs-drop-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .09); margin-bottom: 13px; color: var(--lime); }
.vs-drop-icon .icon { width: 22px; height: 22px; }
.vs-drop-empty strong { font-size: 14px; font-weight: 700; }
.vs-drop-sub { margin-top: 6px; font-size: 10px; line-height: 1.6; color: #a9b1a3; }
.vs-query { position: absolute; inset: 0; display: grid; place-items: center; background: #eef1e7; }
.vs-query .case-shell { width: auto; height: 76%; aspect-ratio: 43 / 75; }
.vs-query img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.vs-query-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; border-radius: 999px;
  background: rgba(9, 11, 8, .8); color: #fff; font-size: 9.5px; font-weight: 700; padding: 5px 10px;
}
.vs-scan {
  position: absolute; left: 16px; right: 16px; top: 6%; height: 1px; z-index: 2;
  background: var(--lime); box-shadow: 0 0 18px 3px rgba(220, 255, 96, .75);
}
.vs-scan.running { animation: vsScan 1.05s ease-in-out 2; }
@keyframes vsScan {
  0% { transform: translateY(0); opacity: .2; }
  50% { transform: translateY(300px); opacity: 1; }
  100% { transform: translateY(0); opacity: .2; }
}

.vs-sample-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 10px; color: #98a08f; }
.vs-sample-head button { border: 0; background: transparent; color: var(--lime); font-size: 10px; font-weight: 800; }
.vs-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.vs-sample {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 6px 7px;
  background: #ffffff; display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: .15s ease;
}
.vs-sample:hover { border-color: rgba(220, 255, 96, .55); transform: translateY(-2px); }
.vs-sample.active { border-color: var(--lime); background: rgba(220, 255, 96, .10); }
.vs-sample-art { display: grid; place-items: center; width: 100%; height: 62px; }
.vs-sample-art .case-shell { width: 38px; height: 56px; }
.vs-sample-label { font-size: 9px; color: #c8cdbf; font-weight: 700; }
.vs-sample.active .vs-sample-label { color: var(--lime); }

/* 识别结果 */
.vs-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.vs-status-chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 3px; padding: 5px 9px;
  background: var(--surface-alt); color: var(--ink-soft); font-size: 9.5px; font-weight: 800;
}
.vs-status-chip .status-dot { background: var(--lime); }
.vs-status-chip.detecting { color: #ffe6a8; background: rgba(247, 228, 169, .14); }
.vs-status-chip.detecting .status-dot { background: var(--butter); animation: vsPulse .9s ease-in-out infinite; }
@keyframes vsPulse { 50% { opacity: .25; } }
.vs-status-meta { font-size: 10px; color: #8e9587; }

.vs-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-attr { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 6px; padding: 9px 11px; }
.vs-attr span { display: block; font-size: 8.5px; letter-spacing: .09em; text-transform: uppercase; color: #8e9587; margin-bottom: 3px; }
.vs-attr strong { display: block; font-size: 12px; font-weight: 700; color: #fff; line-height: 1.35; }

.vs-refine { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.vs-refine-label { font-size: 10px; color: #8e9587; }
.vs-refine-chip {
  border: 1px solid rgba(255, 255, 255, .17); background: transparent; color: #dfe3d6;
  border-radius: 999px; padding: 6px 11px; font-size: 10px; font-weight: 700; transition: .15s ease;
}
.vs-refine-chip:hover { border-color: rgba(255, 255, 255, .4); }
.vs-refine-chip.active { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.vs-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.vs-actions .button-light { margin-top: 0; }
.button-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .26); }
.button-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* 结果区 */
.vs-results { padding-bottom: 64px; }
.vs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 14px; }
.vs-count { font-size: 12px; color: var(--muted); }
.vs-count strong { font-size: 15px; color: var(--ink); font-weight: 800; }
.vs-count span { margin: 0 4px; color: var(--line-dark); }
.vs-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vs-threshold { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; color: var(--muted); }
.vs-threshold input { width: 112px; accent-color: var(--ink); }
.vs-threshold output { font-size: 11px; font-weight: 800; color: var(--ink); min-width: 32px; }
.vs-sort {
  border: 1px solid var(--line-dark); background: var(--surface); border-radius: 4px;
  padding: 8px 10px; font-size: 11px; font-weight: 700; color: var(--ink);
}
.vs-chips { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.vs-chip { border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px 10px; font-size: 9.5px; font-weight: 700; color: var(--ink-soft); background: var(--surface); }
.vs-chip-muted { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); }

.vs-result-grid { row-gap: 26px; }
.vs-card .case-stage { border-radius: 6px; }
.vs-card-visual { position: relative; }
.vs-sim {
  position: absolute; top: 10px; left: 10px; z-index: 3; border-radius: 999px; padding: 4px 8px;
  background: rgba(13, 15, 12, .82); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .02em;
}
.vs-sim.high { background: var(--lime); color: var(--ink); }
.vs-mould {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; border-radius: 3px; padding: 4px 7px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 8px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.vs-meter { height: 3px; border-radius: 99px; background: var(--surface-alt); overflow: hidden; margin-top: 9px; }
.vs-meter i { display: block; height: 100%; background: linear-gradient(90deg, #b7e23a, var(--lime)); }
.vs-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 9px; color: var(--muted); }
.vs-match-label { font-weight: 700; color: var(--ink-soft); }
.vs-card-supplier { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }

.vs-empty { border: 1px dashed var(--line-dark); border-radius: 8px; padding: 46px 24px; text-align: center; color: var(--muted); }
.vs-empty .icon { width: 30px; height: 30px; color: var(--line-dark); margin: 0 auto 12px; }
.vs-empty strong { display: block; color: var(--ink); font-size: 15px; }
.vs-empty p { margin: 8px auto 12px; max-width: 420px; font-size: 12px; line-height: 1.6; }

/* 说明面板 */
.vs-panels { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 34px; }
.vs-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.vs-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.vs-panel-head h3 { margin: 0; font-size: 17px; }
.vs-tag { border-radius: 3px; background: var(--surface-alt); color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 7px; }
.vs-panel p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.vs-panel-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.vs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs-steps li { display: flex; align-items: flex-start; gap: 10px; }
.vs-steps li > span {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 800;
}
.vs-steps div { font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.vs-steps strong { color: var(--ink); }

@media (max-width: 1060px) {
  .vs-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; }
  .vs-drop { min-height: 340px; }
  .vs-panels { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .vs-grid { grid-template-columns: 1fr; }
  .vs-drop { min-height: 300px; }
  .vs-head h1 { font-size: 34px; }
}
@media (max-width: 600px) {
  .vs-stage { padding: 18px 0 32px; }
  .vs-head { margin-top: 14px; }
  .vs-head h1 { font-size: 29px; }
  .vs-head p { font-size: 12px; }
  .vs-drop { min-height: 250px; }
  .vs-query .case-shell { height: 66%; }
  .vs-attrs { grid-template-columns: 1fr 1fr; }
  .vs-attr { padding: 8px 9px; }
  .vs-attr strong { font-size: 11px; }
  .vs-actions .button { flex: 1 1 auto; }
  .vs-toolbar { gap: 10px; }
  .vs-threshold input { width: 84px; }
  .vs-tools { width: 100%; justify-content: space-between; }
  .vs-sort { flex: 0 0 auto; }
  .vs-panel { padding: 18px; }
  .vs-panel-actions .button { width: 100%; }
}

/* ==========================================================================
   Shop header — tvcmall-style search bar (two-row header)
   ========================================================================== */
.header-main { height: 74px; gap: 20px; }
.header-main .brand { flex: 0 0 auto; }

.shop-search-wrap { position: relative; flex: 1 1 auto; min-width: 0; max-width: 900px; }

.shop-search {
  display: flex; align-items: stretch; height: 46px; width: 100%;
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: 6px;
}
.shop-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 100, 56, .18); }

/* --- ALL dropdown --- */
.ss-cat { position: relative; flex: 0 0 auto; display: flex; }
.ss-cat-btn {
  display: inline-flex; align-items: center; gap: 6px; max-width: 132px;
  border: 0; background: transparent; color: var(--ink);
  padding: 0 11px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .01em;
  border-right: 1px solid var(--line); border-radius: 8px 0 0 8px; white-space: nowrap;
}
.ss-cat-btn > span { overflow: hidden; text-overflow: ellipsis; }
.ss-cat-btn .icon { width: 13px; height: 13px; }
.ss-cat-btn:hover { background: var(--lime-soft); }
.ss-cat-btn[aria-expanded="true"] { background: var(--lime); }
.ss-cat-menu {
  position: absolute; left: 0; top: calc(100% + 8px); width: 268px; z-index: 60;
  background: var(--surface); border: 1px solid var(--ink); border-radius: 6px;
  box-shadow: var(--shadow); padding: 6px;
}
.ss-cat-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; border: 0; background: transparent; text-align: left;
  padding: 9px 10px; border-radius: 4px; font-size: 13px; font-weight: 600;
}
.ss-cat-option small { color: var(--muted); font-size: 10px; font-weight: 600; }
.ss-cat-option:hover { background: var(--surface-alt); }
.ss-cat-option.active { background: var(--lime-soft); }
.ss-cat-option.active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* --- input + camera --- */
.ss-field { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
.ss-field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  padding: 0 8px 0 14px; font-size: 14px; color: var(--ink);
}
.ss-field input::placeholder { color: #8c9288; font-size: 13px; }
.ss-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ss-cam {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; padding: 0 12px; height: 32px;
  border-left: 1px solid var(--line); color: var(--ink-soft);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
}
.ss-cam .icon { width: 17px; height: 17px; color: var(--coral); }
.ss-cam:hover { color: var(--coral); }
.ss-cam[aria-expanded="true"] { background: var(--lime-soft); color: var(--ink); border-radius: 3px; }

/* --- submit --- */
.ss-submit {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; background: var(--coral); color: white; padding: 0 22px;
  border-radius: 0 4px 4px 0; font-size: 13px; font-weight: 800; white-space: nowrap;
}
.ss-submit .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.ss-submit:hover { background: var(--ink); }

/* --- hotword suggestions --- */
.ss-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 55;
  background: var(--surface); border: 1px solid var(--ink); border-radius: 6px;
  box-shadow: var(--shadow); padding: 12px 14px 13px;
}
.ss-suggest-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ss-suggest-row + .ss-suggest-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ss-suggest-label { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.ss-suggest button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 5px 11px; font-size: 12px; font-weight: 600;
}
.ss-suggest button:hover { border-color: var(--ink); background: var(--lime-soft); }
.ss-suggest .ss-suggest-image {
  display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: white; border-color: var(--ink);
}
.ss-suggest .ss-suggest-image .icon { width: 14px; height: 14px; color: var(--lime); }

/* ==========================================================================
   Image search popover (upload / paste / link)
   ========================================================================== */
.img-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 552px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--ink); border-radius: 8px;
  box-shadow: 14px 14px 0 rgba(16, 18, 15, .10), var(--shadow); overflow: hidden;
}
.img-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 0 12px; border-bottom: 1px solid var(--line); }
.img-tabs { display: flex; gap: 2px; }
.img-tab {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  padding: 8px 11px 10px; font-size: 12px; font-weight: 700; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.img-tab .icon { width: 14px; height: 14px; }
.img-tab:hover { color: var(--ink); }
.img-tab.active { color: var(--ink); border-color: var(--coral); }
.img-pop-close { border: 0; background: transparent; padding: 6px; border-radius: 4px; color: var(--muted); }
.img-pop-close:hover { background: var(--surface-alt); color: var(--ink); }
.img-pop-close .icon { width: 16px; height: 16px; }

.img-pane { display: none; padding: 16px; }
.img-pane.active { display: block; }

.img-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 186px; padding: 22px; cursor: pointer; text-align: center;
  border: 1.5px dashed var(--line-dark); border-radius: 6px; background: var(--paper);
  transition: .15s ease;
}
.img-drop:hover, .img-drop.dragging { border-color: var(--coral); background: var(--lime-soft); }
.img-drop-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); }
.img-drop-icon .icon { width: 20px; height: 20px; }
.img-drop strong { font-size: 14px; }
.img-drop-sub { font-size: 11px; color: var(--muted); }
.img-drop.is-reading { opacity: .6; pointer-events: none; }

.img-paste { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.img-paste-key {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800;
  border: 1px solid var(--line-dark); border-bottom-width: 2px; border-radius: 5px;
  padding: 5px 9px; background: var(--paper); letter-spacing: .04em;
}
.img-paste-key span { color: var(--muted); font-weight: 600; }
.img-paste strong { font-size: 14px; }
.img-paste p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 430px; }
.img-paste-read { min-height: 38px; font-size: 12px; }
.img-paste-note { font-size: 10px; color: var(--muted); line-height: 1.5; }
.img-paste-note.ok { color: #2f7a4f; }
.img-paste-note.err { color: var(--coral); }

.img-link-label { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.img-link-row { display: flex; gap: 8px; }
.img-link-row input {
  flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line-dark); border-radius: 4px;
  background: var(--paper); padding: 0 11px; font-size: 12px; outline: 0;
}
.img-link-row input:focus { border-color: var(--ink); background: var(--surface); }
.img-link-row .button { min-height: 40px; font-size: 12px; white-space: nowrap; }
.img-link-hint { margin: 9px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted); }
.img-link-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 11px; font-size: 11px; color: var(--muted); }
.img-link-try button {
  border: 1px dashed var(--line-dark); background: transparent; border-radius: 999px;
  padding: 4px 9px; font-size: 11px; font-weight: 600;
}
.img-link-try button:hover { border-style: solid; border-color: var(--ink); background: var(--lime-soft); }
.img-link-status { margin: 10px 0 0; font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.img-link-status.ok { color: #2f7a4f; }
.img-link-status.err { color: var(--coral); }

.img-pop-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px; background: var(--paper); border-top: 1px solid var(--line);
  font-size: 10px; color: var(--muted);
}
.img-pop-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.img-pop-foot .icon { width: 13px; height: 13px; color: var(--coral); }
.img-pop-foot button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.img-pop-foot button:hover { color: var(--coral); }
.img-pop-foot button .icon { width: 12px; height: 12px; color: currentColor; }

/* ==========================================================================
   Second row: All Categories + nav
   ========================================================================== */
.header-sub { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.header-sub-inner { display: flex; align-items: center; gap: 18px; min-height: 44px; }
.all-cats-wrap { position: relative; flex: 0 0 auto; }
.all-cats {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 4px;
  background: var(--ink); color: white; padding: 9px 13px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.all-cats .icon { width: 15px; height: 15px; }
.all-cats .caret { width: 12px; height: 12px; color: var(--lime); }
.all-cats:hover { background: var(--ink-soft); }
.all-cats[aria-expanded="true"] { background: var(--coral); }
.all-cats[aria-expanded="true"] .caret { color: white; }
.all-cats-menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 65;
  display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 4px 18px;
  width: min(760px, calc(100vw - 48px)); padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow);
}
.ac-group { display: flex; flex-direction: column; gap: 1px; }
.ac-title { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--muted); padding: 0 8px 7px; }
.ac-group button {
  border: 0; background: transparent; text-align: left; padding: 7px 8px;
  border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.ac-group button:hover { background: var(--surface-alt); color: var(--ink); }
.ac-group button[data-ac-image] { color: var(--coral); font-weight: 800; }

.header-sub .primary-nav { margin-right: auto; gap: 24px; }
.header-sub .primary-nav a { padding: 13px 0; font-size: 13px; }
.header-sub-aside { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.sub-note { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.sub-image-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-dark);
  background: var(--lime-soft); border-radius: 999px; padding: 6px 12px;
  font-size: 11px; font-weight: 800; white-space: nowrap;
}
.sub-image-btn .icon { width: 14px; height: 14px; color: var(--coral); }
.sub-image-btn:hover { background: var(--lime); border-color: var(--ink); }

/* --- right side operation items (tvcmall two-line style) --- */
.header-actions { position: relative; display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.op-item {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent;
  padding: 6px 9px; border-radius: 5px; text-align: left;
}
.op-item:hover { background: var(--surface-alt); }
.op-icon { width: 21px; height: 21px; color: var(--ink); }
.op-txt { display: flex; flex-direction: column; line-height: 1.15; }
.op-txt small { font-size: 10px; color: var(--muted); font-weight: 600; }
.op-txt strong { font-size: 12px; font-weight: 800; }
.op-txt .brief-count { width: auto; height: auto; background: none; color: inherit; border-radius: 0; font-size: inherit; font-weight: inherit; display: inline; }
.op-cart-total { color: var(--ink); }

/* --- 顶部收藏入口：图标 + 计数常驻，0 件时只收掉徽标，入口不消失 --- */
.header-actions .op-item.saved-button { position: relative; gap: 9px; }
.saved-icon-wrap { position: relative; display: inline-flex; }
.saved-badge {
  position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px;
  display: inline-grid; place-items: center; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 10px; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.saved-button[data-count="0"] .saved-badge { display: none; }
.saved-button.has-items .op-txt strong { color: var(--coral); }

/* --- 顶部购物车：实心胶囊 + 固定角标，保证任何断点下都醒目 --- */
.header-actions .op-item.cart-button {
  position: relative;
  margin-left: 4px;
  padding: 7px 14px 7px 12px;
  gap: 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(16, 18, 15, .22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.header-actions .op-item.cart-button:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16, 18, 15, .3);
}
.cart-icon-wrap { position: relative; display: inline-flex; }
.cart-button .op-icon { width: 20px; height: 20px; color: var(--lime); }
.cart-button .op-txt small { color: rgba(255, 255, 255, .7); letter-spacing: .04em; text-transform: uppercase; font-size: 9px; }
.cart-button .op-txt strong { color: #fff; font-size: 13px; }
.cart-button .cart-badge {
  flex: 0 0 auto;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.cart-button[data-count="0"] .cart-badge { background: var(--surface-alt); color: var(--muted); }
@keyframes cartBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.1); }
  65% { transform: scale(.97); }
  100% { transform: scale(1); }
}
.cart-button.is-bump { animation: cartBump .52s cubic-bezier(.34, 1.56, .64, 1); }
.op-lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 65; width: 190px;
  background: var(--surface); border: 1px solid var(--ink); border-radius: 6px;
  box-shadow: var(--shadow); padding: 8px;
}
.op-menu-title { display: block; font-size: 9px; font-weight: 800; text-transform: uppercase; color: var(--muted); padding: 6px 8px 4px; }
.op-lang-menu button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 7px 8px; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.op-lang-menu button:hover { background: var(--surface-alt); }
.op-lang-menu button.active { background: var(--lime-soft); font-weight: 800; }

/* ==========================================================================
   Shop header responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-main { gap: 14px; }
  .ss-submit { padding: 0 15px; }
  .ss-submit span { display: none; }
  .ss-cam-txt { display: none; }
  .sub-note { display: none; }
  .header-sub .primary-nav { gap: 18px; }
  .op-txt small { display: none; }
}
@media (max-width: 1060px) {
  .header-main { height: 68px; }
  .header-sub-inner { gap: 12px; }
  .all-cats { padding: 8px 11px; font-size: 11px; }
  .all-cats span { display: none; }
  .all-cats-menu { grid-template-columns: repeat(2, minmax(140px, 1fr)); width: min(480px, calc(100vw - 34px)); }
  .header-sub .primary-nav a { font-size: 12px; }
  .sub-image-btn span { display: none; }
  .sub-image-btn { padding: 7px; }
}
@media (max-width: 960px) {
  .header-main { height: auto; flex-wrap: wrap; padding: 9px 0 10px; gap: 9px 12px; }
  .mobile-menu { order: 0; }
  .brand { order: 1; }
  .header-actions { order: 2; margin-left: auto; gap: 0; }
  .op-item { padding: 5px 7px; }
  .op-account { display: none; }
  /* 手机上顶部只留图标 + 计数，文字让位给搜索框 */
  .saved-button .op-txt { display: none; }
  .shop-search-wrap { order: 3; flex: 1 0 100%; max-width: none; }
  .shop-search { height: 44px; }
  .header-sub { display: none; }
  .img-pop { width: 100%; left: 0; right: auto; max-width: none; }
  .img-pop-foot { flex-direction: column; align-items: flex-start; gap: 7px; }
  .op-lang-menu { right: 0; }
}
@media (max-width: 600px) {
  .header-main { padding: 8px 0 9px; gap: 8px 9px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 26px; height: 26px; font-size: 13px; }
  .shop-search { height: 42px; }
  .ss-cat-btn { max-width: 92px; padding: 0 8px 0 9px; font-size: 11px; }
  .ss-field input { font-size: 16px; padding: 0 4px 0 10px; }
  .ss-field input::placeholder { font-size: 11px; }
  .ss-cam { padding: 0 9px; }
  .ss-submit { padding: 0 12px; }
  .ss-cat-menu { width: min(268px, calc(100vw - 30px)); }
  .img-pop { position: fixed; left: 15px; right: 15px; top: 112px; width: auto; max-width: none; }
  .img-pop-head { padding: 8px 8px 0 8px; }
  .img-tab { padding: 7px 8px 9px; font-size: 11px; gap: 5px; }
  .img-pane { padding: 13px; }
  .img-drop { min-height: 150px; padding: 16px; }
  .img-link-row { flex-direction: column; }
  .img-link-row .button { width: 100%; }
  .img-pop-foot { padding: 9px 13px; font-size: 9px; }
  .header-actions .op-item.cart-button { padding: 6px 10px; gap: 6px; }
  .cart-button .op-icon { width: 18px; height: 18px; }
  .cart-button .op-txt strong { font-size: 12px; }
  .cart-button .cart-badge { min-width: 18px; height: 18px; padding: 0 5px; font-size: 10px; }
  #op-lang .op-txt { display: none; }
}

/* ==========================================================================
   Image search popover — single panel: upload area + inline link field
   ========================================================================== */
.img-pop-title {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .01em;
}
.img-pop-title .icon { width: 15px; height: 15px; color: var(--coral); }
.img-body { padding: 14px 16px 15px; }
.img-body .img-drop { min-height: 166px; padding: 18px; }
.img-drop:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.img-drop-paste {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px;
  margin-top: 3px; font-size: 10.5px; color: var(--muted);
}
.img-drop-paste kbd {
  border: 1px solid var(--line-dark); border-bottom-width: 2px; border-radius: 4px;
  background: var(--surface); padding: 1px 5px; font-size: 9.5px; font-weight: 800; font-family: inherit;
}
.img-drop-paste span { color: var(--muted); font-weight: 600; }

.img-or {
  display: flex; align-items: center; gap: 10px; margin: 13px 0 11px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
}
.img-or::before, .img-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }

.img-link-row { align-items: center; gap: 8px; }
.img-link-icon { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 40px; color: var(--muted); }
.img-link-icon .icon { width: 15px; height: 15px; }
.img-link-row .img-link-go { min-height: 40px; font-size: 12px; white-space: nowrap; }
.img-link .img-link-hint { margin: 8px 0 0; }
.img-link .img-link-try { margin-top: 9px; }

/* ==========================================================================
   Home: shop by brand, model picked later on the results page
   ========================================================================== */
.brand-picker { margin-top: 28px; max-width: 620px; }
.brand-picker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.brand-picker-head strong { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.brand-all {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  font-size: 11px; font-weight: 800; color: var(--ink-soft); padding: 2px 0;
}
.brand-all span { color: var(--muted); font-weight: 600; }
.brand-all .icon { width: 12px; height: 12px; }
.brand-all:hover { color: var(--coral); }

.brand-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.brand-chip {
  display: flex; align-items: center; gap: 9px; text-align: left;
  border: 1px solid var(--line-dark); background: var(--surface); border-radius: 6px;
  padding: 9px 10px; transition: .15s ease; min-width: 0;
}
.brand-chip:hover { border-color: var(--ink); box-shadow: 3px 3px 0 var(--line); transform: translateY(-1px); }
.brand-chip.active { border-color: var(--ink); background: var(--lime-soft); }
.brand-chip-mark {
  width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 5px; background: var(--ink); color: var(--lime);
  font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
}
.brand-chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-chip-text strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-chip-text small { font-size: 10px; color: var(--muted); margin-top: 2px; }
.brand-picker-note { margin: 9px 0 0; font-size: 10.5px; color: var(--muted); }
.hero-path-photo { margin-top: 10px; max-width: 620px; width: 100%; }
.hero-path-photo .hero-path-icon { background: var(--lime); color: var(--ink); }

/* ==========================================================================
   Results page: brand row → model row
   ========================================================================== */
.discover-picker {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 15px; padding: 12px 0 13px; border-bottom: 1px solid var(--line);
}
.picker-row { display: flex; align-items: flex-start; gap: 12px; }
.picker-label {
  flex: 0 0 50px; font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); padding-top: 8px;
}
.picker-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.picker-chip {
  border: 1px solid var(--line-dark); background: var(--surface); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.picker-chip:hover { border-color: var(--ink); color: var(--ink); }
.picker-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 800; }
.picker-hint { font-size: 11.5px; color: var(--muted); padding-top: 8px; }

@media (max-width: 1060px) {
  .brand-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picker-label { flex-basis: 44px; }
}
@media (max-width: 600px) {
  .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-picker { margin-top: 22px; }
  .brand-picker-head { flex-wrap: wrap; gap: 4px 10px; }
  .picker-row { flex-direction: column; gap: 6px; }
  .picker-label { flex-basis: auto; padding-top: 0; }
  .picker-chips { gap: 5px; }
  .picker-chip { padding: 5px 10px; font-size: 11px; }
  .img-body { padding: 12px 13px 14px; }
  .img-body .img-drop { min-height: 148px; padding: 15px; }
  .img-link-row { flex-wrap: wrap; }
  .img-link-row input { flex: 1 0 100%; order: 2; }
  .img-link-icon { display: none; }
  .img-link-row .img-link-go { order: 3; width: 100%; }
}
.img-pop-head { align-items: center; padding: 11px 12px 10px 14px; }

/* 宽屏：容器放宽后多出一列，避免卡片被拉得过大 */
@media (min-width: 1400px) {
  .discover-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-list-layout .product-list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------------
   代采模块：真实商品图 / 数据来源标记
   原型用 CSS 画手机壳占位，接入实拍图后让照片吃满整个卡片舞台：
   原来缩到 88% × 88% 再套圆角投影，等于白丢 12% 的画面（252px 的格子只剩 222px），
   小格子下细节全糊。现在 100% 铺满，圆角交给 .case-stage 的 overflow 裁，
   hover 位移需要裁切，所以仍保留 overflow: hidden。
   --------------------------------------------------------------------------- */
.case-shell.case-shell-photo {
  width: 100%; height: 100%; transform: none; border: 0; border-radius: 0;
  background: #f4f4f1; box-shadow: none; overflow: hidden;
  position: relative; display: block;
}
.case-shell.case-shell-photo::before,
.case-shell.case-shell-photo::after { display: none; }
.case-shell-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 1; transition: opacity .28s ease;
}

/* 图还没到：灰底骨架 + 转圈，不再画一个假手机壳冒充商品 */
.case-shell-photo.is-loading {
  background: linear-gradient(100deg, #f4f4f1 30%, #ececea 50%, #f4f4f1 70%) #f4f4f1;
  background-size: 220% 100%;
  animation: dc-shell-shimmer 1.3s linear infinite;
}
.case-shell-photo.is-loading img { opacity: 0; }
.case-shell-photo.is-loading::after {
  display: block; content: ""; position: absolute; left: 50%; top: 50%;
  width: 24px; height: 24px; margin: -12px 0 0 -12px; box-sizing: border-box;
  border-radius: 50%; border: 2px solid rgba(16, 18, 15, .12);
  border-top-color: rgba(16, 18, 15, .45);
  animation: dc-shell-spin .75s linear infinite;
}
.case-shell-photo.is-empty { background: #f4f4f1; display: grid; place-items: center; }
.case-shell-photo.is-empty img { display: none; }
.case-shell-empty-icon { width: 22px; height: 22px; color: #b7bab2; }

/* 店铺区叠放图 / 动态列表小图沿用同一套加载态 */
.store-case-photo, .store-update-thumb, .store-update-case { position: relative; }
.store-case-photo.is-loading, .store-update-thumb.is-loading {
  background: linear-gradient(100deg, #f4f4f1 30%, #ececea 50%, #f4f4f1 70%) #f4f4f1;
  background-size: 220% 100%;
  animation: dc-shell-shimmer 1.3s linear infinite;
}
.store-case-photo.is-loading img, .store-update-thumb.is-loading img { opacity: 0; }
.store-case-photo.is-loading::after, .store-update-thumb.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px; box-sizing: border-box;
  border-radius: 50%; border: 2px solid rgba(16, 18, 15, .12);
  border-top-color: rgba(16, 18, 15, .45);
  animation: dc-shell-spin .75s linear infinite;
}
.store-case-photo img, .store-update-thumb img { opacity: 1; transition: opacity .28s ease; }
.store-case-photo.is-empty, .store-update-case.is-empty, .store-update-thumb.is-empty {
  display: grid; place-items: center; background: #f4f4f1;
}
.store-update-thumb.is-empty img { display: none; }

@keyframes dc-shell-spin { to { transform: rotate(360deg); } }
@keyframes dc-shell-shimmer { to { background-position: -220% 0; } }

/* 首屏骨架：接口数据到达前的占位。尺寸与真卡片对齐，内容到位时页面不跳动，
   也绝不出现"假标题 + 坏图"——这是用户看到老数据的根因 */
.product-card.is-skeleton .case-stage,
.store-card.is-skeleton .skeleton-block { background: #f4f4f1; }
.skeleton-block,
.skeleton-line {
  background: linear-gradient(100deg, #f4f4f1 30%, #ececea 50%, #f4f4f1 70%) #f4f4f1;
  background-size: 220% 100%;
  animation: dc-shell-shimmer 1.3s linear infinite;
  border-radius: 3px;
}
.skeleton-line { height: 9px; margin-top: 9px; }
.skeleton-line.lg { height: 13px; }
.product-card.is-skeleton .skeleton-line:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .skeleton-block, .skeleton-line { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .case-shell-photo.is-loading, .store-case-photo.is-loading, .store-update-thumb.is-loading { animation: none; }
  .case-shell-photo.is-loading::after, .store-case-photo.is-loading::after,
  .store-update-thumb.is-loading::after { animation-duration: 1.6s; }
}

.case-stage .case-open { width: 100%; height: 100%; display: grid; place-items: center; }

.dc-source-tag {
  margin-left: auto; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: var(--lime-soft); border: 1px solid var(--line-dark);
  padding: 3px 9px; border-radius: 99px;
}

/* ---------------------------------------------------------------------------
   商品详情页：主图图集 / 缩略图 / 型号选择 / 详情长图
   数据来自详情接口（goodsImageList、skuInfoList），原型本身只有一张占位图
--------------------------------------------------------------------------- */
/* 主图在上、缩略图指引条贴在主图下方（不再浮在图上挡画面） */
.pd-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.pd-stage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .28s ease; }
.pd-stage #product-detail-visual { height: 100%; }
.pd-stage.is-loading #pd-main-image { opacity: 0; }
.pd-stage.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 28px; height: 28px; margin: -14px 0 0 -14px; box-sizing: border-box;
  border-radius: 50%; border: 2px solid rgba(16, 18, 15, .12);
  border-top-color: rgba(16, 18, 15, .45);
  animation: dc-shell-spin .75s linear infinite;
}
.pd-media-empty {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px;
  color: #b7bab2; background: #f4f4f1;
}
.pd-media-empty .icon { width: 30px; height: 30px; }
.pd-media-empty small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.pd-thumbs {
  flex: 0 0 auto;
  position: relative;
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid rgba(16,18,15,.08);
  scrollbar-width: thin;
}
.pd-thumbs::-webkit-scrollbar { height: 4px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }
.pd-thumb {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.is-active { border-color: var(--ink); }

.pd-variants { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ink); }
.pd-variants-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase;
}
.pd-variants-head em { font-style: normal; color: var(--ink); font-size: 9px; letter-spacing: 0; }
.pd-variant-group { margin-bottom: 12px; }
.pd-variant-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.pd-variant-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 148px; overflow-y: auto; padding-right: 4px; }
.pd-chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pd-chip:hover { border-color: var(--ink); }
.pd-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.pd-detail-gallery { margin-top: 64px; padding-bottom: 8px; }
.pd-detail-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-detail-images img { width: 100%; height: auto; display: block; border-radius: 12px; background: var(--surface); }

/* 款式图：颜色 / 机型实拍，点一下换主图 */
.pd-style-gallery { margin-top: 64px; }
.pd-style-count { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.pd-style-card {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
  text-align: left;
}
.pd-style-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.pd-style-card.is-active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.pd-style-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pd-style-card span {
  display: block;
  padding: 8px 10px 10px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .pd-thumbs { padding: 8px 10px; gap: 6px; }
  .pd-thumb { width: 48px; height: 48px; }
  .pd-detail-images { grid-template-columns: 1fr; }
  .pd-style-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
}

/* 商品列表分页：上千款不能一次铺完 */
.dc-load-more { grid-column: 1 / -1; display: flex; justify-content: center; padding: 28px 0 8px; }
.dc-load-more button {
  padding: 13px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dc-load-more button:hover { border-color: var(--ink); background: var(--surface); }
.dc-load-more button:disabled { opacity: .55; cursor: progress; }

/* 列表到底的收尾：不再放按钮，只留一句淡淡的「已经全部加载」 */
.dc-list-end {
  grid-column: 1 / -1;
  padding: 26px 0 10px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: none;
}

/* 一行放更多：搜索页 / 新款·热门列表 / 首页货架统一 5 列 */
@media (min-width: 1061px) {
  .discover-products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .product-list-layout .product-list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .product-home-section .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; row-gap: 26px; }
  .stores-section .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 列表页有左侧筛选栏，窄屏先保持 4 列，宽屏再上到 5 列 */
@media (min-width: 1240px) {
  .product-list-layout .product-list-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1400px) {
  .discover-products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .product-list-layout .product-list-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .visual-search-panel { max-width: 620px; transform: rotate(0); box-shadow: 8px 8px 0 var(--lime); }
}

@media (max-width: 600px) {
  .visual-search-panel { padding: 10px; box-shadow: 5px 5px 0 var(--lime); }
  .visual-panel-top { font-size: 8px; }
  .visual-panel-foot { font-size: 8px; }
  .visual-panel-foot > span { max-width: 65%; line-height: 1.3; }
}

/* 店铺很少时（当前只采了一家档口）：一行 = 档口卡 + 它最新上的款 */
.store-spotlight-list { display: grid; gap: 26px; }
.store-spotlight { display: grid; grid-template-columns: 302px minmax(0, 1fr); gap: 20px; align-items: start; }
.store-spotlight-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 1060px) {
  .store-spotlight { grid-template-columns: 260px minmax(0, 1fr); }
  .store-spotlight-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .store-spotlight { grid-template-columns: 1fr; }
  .store-spotlight-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   询价车 / 询价单 / WhatsApp
   B2B 不做在线支付：车里的款式只是"待报价清单"，所以文案统一走 enquiry 而不是 cart
   ========================================================================== */

/* ---------- 车里显示真实商品图，替换原型的 CSS 假壳 ---------- */
.cart-item-thumb.has-photo { background: var(--surface-alt); }
.cart-item-thumb.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb-blank { width: 100%; height: 100%; background: var(--surface-alt); }

.cart-quantity input {
  width: 64px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 0;
  -moz-appearance: textfield;
}
.cart-quantity input::-webkit-outer-spin-button,
.cart-quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- 商品卡片上的快捷加购 ---------- */
.card-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border: 1px solid var(--line-dark);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s;
}
.card-add .icon { width: 10px; height: 10px; }
.card-add:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card-add.is-added { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- 询价单表单 ---------- */
.brief-form label { position: relative; }
.lbl-hint {
  position: absolute;
  right: 1px;
  top: -1px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--coral);
}

.qk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.qk-tags button {
  border: 1px solid var(--line-dark);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  transition: background .16s, border-color .16s, color .16s;
}
.qk-tags button:hover { background: var(--lime-soft); border-color: var(--lime); color: var(--ink); }

/* 蜜罐：机器人会填、正常人看不见。不用 display:none，那会被脚本识别出来 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 4px;
  background: #fdecea;
  color: #a1271a;
  font-size: 11px;
  font-weight: 600;
}

.inquiry-summary { margin: 18px 34px 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.inq-sum-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.inq-sum-head strong { color: var(--ink); }
.inq-sum-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.inq-sum-thumbs img {
  width: 38px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--surface-alt);
}
.inq-more {
  display: grid;
  place-items: center;
  width: 38px;
  height: 46px;
  border-radius: 4px;
  background: var(--surface-alt);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- 提交成功 / 免登录回看 ---------- */
.inquiry-done { padding: 46px 34px 40px; text-align: center; }
.done-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.done-mark .icon { width: 24px; height: 24px; }
.inquiry-done h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.done-no { font-size: 11px; color: var(--muted); margin: 0 0 6px; }
.done-no strong { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.done-copy { font-size: 12px; color: var(--ink-soft); margin: 0 0 18px; }
/* 成功页回显报价格条件：目的地 / 运输方式 / DDP / 交期 */
.done-ship {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-soft, #f6f4f1);
  border: 1px solid var(--line, #e6e1da);
  border-radius: 8px;
  padding: 9px 11px;
  margin: -6px 0 16px;
}
.done-items {
  display: grid;
  gap: 9px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  margin: 0 0 20px;
  max-height: 240px;
  overflow-y: auto;
  background: var(--surface);
}
.done-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}
.done-item img { width: 34px; height: 42px; object-fit: cover; border-radius: 3px; background: var(--surface-alt); }
.done-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.done-item em { font-style: normal; color: var(--muted); font-size: 10px; white-space: nowrap; text-align: right; }
.done-item em i { display: block; font-style: normal; font-size: 9px; opacity: .8; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.done-actions .button { padding: 11px 16px; }

/* ---------- 详情页返回入口 ----------
   桌面端：把详情页顶部那条 nav 吸顶在站点头部下面，长页面往下翻也点得到；
   H5：头部本身吸顶且已经塞得很满，不再叠第二条 bar，改成左下角悬浮胶囊，
   滚动超过一屏才出现，拇指够得到，也避开右下角的 WhatsApp 和加购回执。 */
@media (min-width: 961px) {
  .detail-nav {
    /* 站点头部本身吸顶，高度随公告条/搜索区变化，具体值由 JS 量出来写进变量 */
    position: sticky;
    top: var(--dc-header-h, 72px);
    z-index: 35;
    background: rgba(245, 246, 241, .95);
    backdrop-filter: blur(12px);
  }
}

.dc-back-float {
  position: fixed;
  left: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 92;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px 11px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(16, 18, 15, .9);
  color: #f6f7f2;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(16, 18, 15, .26);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dc-back-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dc-back-float .icon { width: 15px; height: 15px; }
.dc-back-float:active { background: rgba(16, 18, 15, .98); }

@media (min-width: 961px) {
  .dc-back-float { display: none; }
}

@media (max-width: 960px) {
  .dc-back-float { display: inline-flex; }
  /* 顶部那条返回在 H5 上太细，字 10px、点按高度只有 33px，顺手放大到 44px 触控区 */
  .detail-nav { gap: 12px; }
  .back-link { min-height: 44px; padding: 12px 2px; font-size: 12px; }
  .back-link .icon { width: 17px; height: 17px; }
  .detail-nav > span { font-size: 8px; }
}

/* ---------- WhatsApp 悬浮入口 ---------- */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px 11px 13px;
  border-radius: 999px;
  background: #25d366;
  color: #06301a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(16, 18, 15, .22);
  transition: background .16s, transform .16s;
}
.wa-fab svg { width: 18px; height: 18px; }
.wa-fab:hover { background: #1fbe5b; transform: translateY(-1px); }

@media (max-width: 720px) {
  .wa-fab { padding: 12px; right: 14px; bottom: 14px; }
  .wa-fab-txt { display: none; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .inquiry-summary { margin: 16px 20px 0; }
  .inquiry-done { padding: 38px 20px 32px; }
  .brief-form { padding: 20px; }
}

/* ---------- 快捷加购回执浮层 ----------
   卡片上连加多个时不能每次都弹抽屉（打断挑选），但只在底部飘一行小字
   客户又会以为没加上。折中：右下角弹一张带图的小卡，5 秒自动收。 */
.cart-peek {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 95;
  width: min(320px, calc(100vw - 28px));
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16, 18, 15, .16);
  overflow: hidden;
  animation: peekIn .22s cubic-bezier(.2, .8, .3, 1) both;
}
.cart-peek[hidden] { display: none; }

@keyframes peekIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.peek-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  padding: 11px 11px 10px 12px;
}

.peek-thumb {
  width: 44px;
  height: 54px;
  border-radius: 4px;
  background: var(--surface-alt);
  overflow: hidden;
  flex-shrink: 0;
}
.peek-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.peek-copy { min-width: 0; }
.peek-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--ink);
}
.peek-copy span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peek-close {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 50%;
  transition: background .16s, color .16s;
}
.peek-close .icon { width: 11px; height: 11px; }
.peek-close:hover { background: var(--surface-alt); color: var(--ink); }

.peek-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .16s;
}
.peek-open .icon { width: 12px; height: 12px; }
.peek-open:hover { background: var(--lime-soft); }

/* 自动消失的倒计时条：让客户知道它会自己收起来，不用找关闭按钮 */
.peek-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform-origin: left center;
  animation: peekBar 5s linear forwards;
}
@keyframes peekBar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-peek { animation: none; }
  .peek-bar { animation: none; opacity: .5; }
}

@media (max-width: 720px) {
  /* 手机上让浮层左右顶齐（left+right 撑开），并抬到 WhatsApp 按钮上方留出呼吸空间 */
  .cart-peek { left: 14px; right: 14px; width: auto; bottom: 84px; }
}

/* ==========================================================================
   H5 双列商品栅格（≤700px）
   原来的问题：
   1) 列表页 `.product-list-layout .product-list-grid` 是 3 列，且没有任何移动端覆盖，
      390px 屏上每张卡只剩 113px，标题挤成三四行；
   2) 卡底价格 + 询价按钮横向排列，价格被压到 30px 宽，`From $2.83 /pc` 折成两行，
      和按钮叠在一起，同一行的卡片高度还不一致，看起来就是"错位"；
   3) 筛选面板在列表页是 sticky 且透明，滚动时盖在商品图上。
   这里统一改成两列、价格一行、按钮整宽，标题固定两行高度，保证行内对齐。
   ========================================================================== */
@media (max-width: 700px) {
  .product-list-layout .product-list-grid,
  .discover-products,
  .vs-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 11px; }

  .product-list-layout .filter-panel { position: static; top: auto; }

  .product-card-meta { gap: 4px; }
  .product-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    /* 两行标题固定占位，避免同排卡片上下参差 */
    min-height: 2.6em;
  }
  .product-card-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    margin-top: 2px;
  }
  .product-card-price { font-size: 12px; line-height: 1.25; white-space: nowrap; }
  .product-card-price small { font-size: 9px; }
  .card-add { width: 100%; justify-content: center; padding: 7px 8px; }
}

/* 型号筛选：Apple 一个品牌就有二十多个型号，限高滚动，免得把价格区间挤到屏幕外 */
.model-options { max-height: 236px; overflow-y: auto; }
.model-hint { margin: 4px 0 6px; font-size: 11px; line-height: 1.5; color: #999f95; }

/* 图片还没本地化时的提示：和「价格说明」用同一套版式，但换成暖色，避免被当成普通说明忽略 */
.pd-pending-note { border-color: #e8d5b5; background: #fdf8ef; color: #8a6a33; }
.pd-pending-note .icon { color: #b8862f; }


/* 筛选请求在飞：整块压暗一点，让人知道刚才那下点到了 */
.product-grid.is-filtering { opacity: .55; transition: opacity .12s ease; }

/* 点开某张卡时要按 id 单独取详情：请求在路上时压暗并禁点，避免以为没点中又点一遍 */
.product-card.is-opening { opacity: .55; pointer-events: none; }
.product-card.is-opening .case-open { cursor: progress; }

/* ---------------------------------------------------------------- 批发目录 */
/* 给 WhatsApp 转发用：客户在手机上先扫机型、看价格区间，再点开看具体款 */
.catalog-hero { padding: 22px 0 16px; display: grid; gap: 12px; }
.catalog-hero h1 { font-size: 40px; line-height: 1.04; margin: 0; letter-spacing: -.02em; }
.catalog-hero p { margin: 0; color: var(--muted); font-size: 13px; max-width: 620px; }

.catalog-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.catalog-stat { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 11px 13px; }
.catalog-stat strong { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.catalog-stat span { display: block; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }

.catalog-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.catalog-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 0 20px; border-top: 1px solid var(--line); margin-top: 10px; }
.catalog-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-dark); background: var(--surface); border-radius: 999px; padding: 0 16px; height: 46px; flex: 1 1 300px; max-width: 470px; }
.catalog-search .icon { width: 16px; height: 16px; color: var(--muted); flex: none; }
.catalog-search input { border: 0; background: transparent; outline: 0; width: 100%; font-size: 13px; }
.catalog-hint { font-size: 11px; color: var(--muted); }

.catalog-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; padding-bottom: 80px; }
.catalog-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
/* 手机壳是竖图，四张窄条并排比 2×2 裁得少 */
.catalog-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; height: 104px; background: var(--surface-alt); }
.catalog-thumbs img { width: 100%; height: 104px; object-fit: cover; }
.catalog-noimg { grid-column: 1 / -1; display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.catalog-card-body { padding: 12px 14px 10px; flex: 1; }
.catalog-card-body h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.25; }
.catalog-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11px; color: var(--muted); }
.catalog-card-price { color: var(--ink); font-weight: 700; }
.catalog-card-open { border: 0; border-top: 1px solid var(--line); background: transparent; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.catalog-card-open .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.catalog-card-open.open .icon { transform: rotate(90deg); }

.catalog-expand { border-top: 1px dashed var(--line); background: var(--paper); padding: 10px; }
.catalog-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.catalog-mini-item { position: relative; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); }
.catalog-mini-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.catalog-mini-item span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(13, 15, 12, .72); color: #fff; font-size: 10px; padding: 3px 4px; text-align: center; }
.catalog-mini-loading { font-size: 11px; color: var(--muted); padding: 8px 2px; }

.catalog-loading { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); font-size: 12px; }
.catalog-empty { padding: 50px 0 90px; text-align: center; }
.catalog-empty h3 { margin: 0 0 8px; }
.catalog-empty p { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .catalog-hero h1 { font-size: 28px; }
  .catalog-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-groups { grid-template-columns: 1fr; gap: 14px; }
  .catalog-thumbs, .catalog-thumbs img { height: 116px; }
  .catalog-card-open { padding: 13px 14px; }
}

/* \u578b\u53f7\u9875\u5165\u53e3\uff1a\u76f4\u63a5\u628a /model/xxx \u53d1\u7ed9\u5ba2\u6237 */
.catalog-card-page{display:block;padding:9px 12px;border-top:1px solid rgba(0,0,0,.06);font-size:12px;color:#5b6156;text-align:center;text-decoration:none}
.catalog-card-page:hover{color:#111}
