/* ============================================================
   KIVO — 全站样式
   结构完全对齐参考站的版式语言：吸顶头部 + 巨型下拉、双栏 Hero、
   信任条、分类大卡、商品栅格、促销横幅、特性/承诺、订阅、深色页脚，
   列表页左侧常驻筛选栏 + 移动端筛选抽屉，详情页左图画廊 + 右侧信息。
   零依赖：无外部字体、无 CDN、无框架。
   断点：1024（平板横向）/ 768（平板竖屏/手机横向）/ 480（手机）
   ============================================================ */

:root {
  /* 颜色 */
  --ink: #0E1013;
  --ink-2: #191C21;
  --ink-3: #2A2E35;
  --paper: #FFFFFF;
  --bg: #FAF8F3;
  --bg-2: #F3F0E7;
  --bg-3: #EDE9DE;
  --line: #E6E2D7;
  --line-2: #EFEBE1;
  --muted: #6B6F76;
  --muted-2: #94989F;
  --lime: #C8F45C;
  --lime-deep: #B2E138;
  --lime-soft: #EEFBD0;
  --peach: #F7E3D4;
  --lilac: #E9E2F6;
  --sand: #EDE4D3;
  --mist: #E2E8E4;
  --sky: #DCE9F1;
  --blush: #F6DFE2;
  --mint: #DDF0E3;
  --warn: #D9534F;
  --ok: #2F9E63;

  /* 排版 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  /* 尺寸 */
  --container: 1280px;
  --pad: 80px;
  --r-sm: 8px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* 阴影 / 动效 */
  --sh-sm: 0 1px 2px rgba(14, 16, 19, .05);
  --sh: 0 4px 14px rgba(14, 16, 19, .06);
  --sh-md: 0 10px 30px rgba(14, 16, 19, .08);
  --sh-lg: 0 20px 50px rgba(14, 16, 19, .12);
  --sh-xl: 0 30px 80px rgba(14, 16, 19, .16);
  --t-fast: 150ms ease;
  --t: 250ms cubic-bezier(.22, .61, .36, 1);
  --t-slow: 420ms cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------------- 基础排版 ---------------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -.028em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--muted); }
.lead { font-size: clamp(1rem, 1.15vw, 1.0625rem); line-height: 1.7; color: var(--muted); max-width: 46ch; }
.accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: linear-gradient(transparent 64%, var(--lime) 64%, var(--lime) 92%, transparent 92%);
  padding: 0 .06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-deep); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { padding: var(--pad) 0; }
.section--tight { padding: calc(var(--pad) * .6) 0; }
.section--white { background: var(--paper); }
.section--bg2 { background: var(--bg-2); }

/* 标题组 */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-header .subtitle {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--lime-soft); border-radius: var(--r-full);
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin: 0 auto; max-width: 56ch; }
.section-header--left { text-align: left; margin-left: 0; }
.section-header--left p { margin-left: 0; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-3); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-deep); color: var(--ink); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 4px; border-radius: 0; }
.btn-ghost:hover { color: var(--muted); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .8125rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.link-arrow svg { transition: transform var(--t-fast); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   公告条
   ============================================================ */
.announcement-bar {
  position: relative; z-index: 60;
  background: var(--ink); color: #fff;
  font-size: .8125rem; letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 11px 52px; text-align: center;
  transition: margin-top var(--t), opacity var(--t);
}
.announcement-bar.is-hidden { display: none; }
.announcement-bar .ann-track { display: flex; align-items: center; gap: 10px; }
.announcement-bar strong, .announcement-bar .ann-code {
  color: var(--lime); font-weight: 700; letter-spacing: .06em;
}
.announcement-bar .ann-spark { color: var(--lime); font-size: .9em; }
.announcement-bar .close-btn {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; color: rgba(255, 255, 255, .7);
  display: grid; place-items: center; font-size: .8rem; transition: background var(--t-fast), color var(--t-fast);
}
.announcement-bar .close-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.header-left { display: flex; align-items: center; gap: 10px; }

.site-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 1.3125rem; font-weight: 700;
  letter-spacing: .02em; color: var(--ink); text-transform: uppercase;
}
.site-logo .logo-mark {
  width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: var(--lime);
  display: grid; place-items: center; font-size: .875rem; font-weight: 800; letter-spacing: 0;
}
.site-logo .highlight { color: var(--muted-2); font-weight: 400; }
.site-logo:hover { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 0; font-size: .9375rem; font-weight: 500; color: var(--ink-3);
  transition: color var(--t-fast);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px;
  background: var(--lime-deep); transition: width var(--t);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link .dropdown-icon { font-size: .6rem; transition: transform var(--t); }
.has-dropdown:hover .dropdown-icon { transform: rotate(180deg); }

/* 巨型下拉 */
.has-dropdown { position: static; }
.dropdown-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(14, 16, 19, .28);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  padding: 34px 0;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.dropdown-col h5 {
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 14px; font-weight: 700;
}
.dropdown-item {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px;
  border-radius: var(--r); transition: background var(--t-fast), transform var(--t-fast);
}
.dropdown-item:hover { background: var(--bg); transform: translateX(2px); }
.dropdown-item strong { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.dropdown-item span { font-size: .8125rem; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-action-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-3);
  transition: background var(--t-fast), color var(--t-fast);
}
.header-action-btn:hover { background: var(--bg-2); color: var(--ink); }
.header-action-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--r-full); background: var(--ink); color: var(--lime);
  font-size: .625rem; font-weight: 700; line-height: 17px; text-align: center;
}
.cart-count[hidden] { display: none; }
.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; color: var(--ink); }

/* 语言 / 货币 */
.bco-lang { position: relative; }
.bco-lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  border-radius: var(--r-full); font-size: .75rem; font-weight: 600; color: var(--ink-3);
  transition: background var(--t-fast);
}
.bco-lang-btn:hover { background: var(--bg-2); }
.bco-lang-btn .caret { font-size: .55rem; color: var(--muted-2); }
.bco-lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: var(--t-fast); z-index: 70;
}
.bco-lang.is-open .bco-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bco-lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
  border-radius: var(--r-sm); font-size: .8125rem; color: var(--ink-3); text-align: left;
}
.bco-lang-menu button:hover { background: var(--bg); }
.bco-lang-menu button.active { background: var(--lime-soft); font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 620px at 88% 10%, rgba(200, 244, 92, .28), transparent 62%),
    radial-gradient(700px 520px at 6% 92%, rgba(233, 226, 246, .5), transparent 60%),
    linear-gradient(135deg, #FBF9F3 0%, #FAF7EF 55%, #F6F4EC 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 16, 19, .045) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 8px 18px; border-radius: var(--r-full);
  background: var(--paper); box-shadow: var(--sh-sm);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--ink);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-deep); }
.hero-text h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats .stat .number { font-size: 1.75rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.hero-stats .stat .label { font-size: .75rem; color: var(--muted); margin-top: 4px; letter-spacing: .02em; }

.hero-visual { position: relative; }
.hero-image-wrapper {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-xl); background: var(--bg-3);
  box-shadow: 0 40px 90px -40px rgba(14, 16, 19, .45);
}
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-wrapper::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.floating-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  animation: float 5.5s ease-in-out infinite;
}
.floating-card .icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--lime-soft);
  display: grid; place-items: center; font-size: 1rem;
}
.floating-card .content { display: flex; flex-direction: column; line-height: 1.35; }
.floating-card strong { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.floating-card span { font-size: .6875rem; color: var(--muted); }
.floating-card.card-1 { bottom: 26px; left: -26px; animation-delay: .4s; }
.floating-card.card-2 { top: 26px; right: -22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .floating-card { animation: none; } }

/* 列表页/内页的窄 Hero */
.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, #FBF9F3, var(--bg)); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 12px; }
.page-hero p { max-width: 62ch; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ============================================================
   信任条
   ============================================================ */
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.trust-item svg { width: 18px; height: 18px; color: var(--ink); flex: none; }

/* ============================================================
   分类大卡
   ============================================================ */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-lg); background: var(--bg-2);
}
.category-card .cat-media { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; }
.category-card .cat-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.category-card:hover .cat-media img { transform: scale(1.06) rotate(-1.2deg); }
.category-card .category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 16, 19, .78) 0%, rgba(14, 16, 19, .28) 38%, transparent 68%);
}
.category-card .category-info { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #fff; }
.category-card .category-info h3 { color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.category-card .category-info span { font-size: .8125rem; color: rgba(255, 255, 255, .78); }
.category-card .cat-count {
  position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .92); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; color: var(--ink);
}

/* ============================================================
   商品卡
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-grid--2 { grid-template-columns: repeat(2, 1fr); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-2);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.product-image {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-2);
}
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.product-card:hover .product-image img { transform: scale(1.055); }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 11px; border-radius: var(--r-full);
  font-size: .625rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: #fff;
}
.product-badge.badge-new { background: var(--lime); color: var(--ink); }
.product-badge.badge-sale { background: var(--warn); color: #fff; }
.product-quick-view {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(8px); transition: opacity var(--t), transform var(--t);
}
.product-card:hover .product-quick-view, .product-card:focus-within .product-quick-view { opacity: 1; transform: translateX(0); }
.quick-btn {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .96);
  display: grid; place-items: center; box-shadow: var(--sh-sm); color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.quick-btn svg { width: 16px; height: 16px; }
.quick-btn:hover { background: var(--ink); color: #fff; }
.quick-btn.is-on { background: var(--ink); color: var(--lime); }
.product-info { display: flex; flex-direction: column; gap: 7px; padding: 16px 16px 18px; flex: 1; }
.product-category { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.product-name { font-size: .9375rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.product-name a:hover { color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 2px; }
.price-current { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.price-compare { font-size: .8125rem; color: var(--muted-2); text-decoration: line-through; }
.card-variants-wrap { position: relative; }
.card-variants { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.card-variants::-webkit-scrollbar { display: none; }
.card-swatch {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(14, 16, 19, .14) inset;
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.card-swatch:hover { transform: scale(1.1); }
.card-swatch.active { box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 3px var(--ink); }
.card-variants-nav {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; background: var(--paper);
  box-shadow: var(--sh-sm); font-size: .7rem; display: grid; place-items: center; color: var(--ink);
}
.card-add-btn {
  margin-top: 4px; padding: 10px; border-radius: var(--r-full);
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: .8125rem; font-weight: 600; transition: background var(--t-fast), color var(--t-fast);
}
.card-add-btn:hover { background: var(--ink); color: #fff; }

/* 横向滚动货架（可选） */
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { flex: 0 0 280px; scroll-snap-align: start; }

/* ============================================================
   促销横幅
   ============================================================ */
.featured-banner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px;
  padding: 56px; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, #1B2026 58%, #232A2F 100%);
  color: #fff;
}
.featured-banner .eyebrow { color: rgba(255, 255, 255, .55); }
.featured-banner .eyebrow::before { background: var(--lime); }
.featured-content h2 { color: #fff; margin: 14px 0 14px; }
.featured-content p { color: rgba(255, 255, 255, .68); font-size: .9375rem; line-height: 1.7; margin-bottom: 26px; max-width: 44ch; }
.featured-content .btn { background: var(--lime); color: var(--ink); }
.featured-content .btn:hover { background: #fff; color: var(--ink); }
.featured-image { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, .06); }
.featured-image img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.featured-banner .banner-stats { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.featured-banner .banner-stats .number { font-size: 1.25rem; font-weight: 700; color: var(--lime); }
.featured-banner .banner-stats .label { font-size: .6875rem; color: rgba(255, 255, 255, .5); letter-spacing: .06em; text-transform: uppercase; }

/* ============================================================
   特性 / 承诺
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card { padding: 30px 24px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--paper); transition: background var(--t), border-color var(--t), transform var(--t); }
.feature-card:hover { background: var(--lime-soft); border-color: transparent; transform: translateY(-3px); }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--bg-2); display: grid; place-items: center; margin-bottom: 18px; color: var(--ink); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h4 { margin-bottom: 8px; font-size: 1rem; }
.feature-card p { font-size: .875rem; line-height: 1.65; color: var(--muted); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  display: flex; flex-direction: column; gap: 22px; padding: 32px;
  background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line-2);
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.testimonial-text { font-size: .9375rem; line-height: 1.75; color: var(--ink-3); }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--lime-soft);
  display: grid; place-items: center; font-size: .8125rem; font-weight: 700; color: var(--ink);
}
.author-info { display: flex; flex-direction: column; line-height: 1.35; }
.author-info strong { font-size: .875rem; }
.author-info span { font-size: .75rem; color: var(--muted); }

/* ============================================================
   订阅
   ============================================================ */
.newsletter { background: var(--ink); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.newsletter::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(200, 244, 92, .22), transparent 62%);
}
.newsletter-inner { position: relative; text-align: center; max-width: 580px; margin: 0 auto; }
.newsletter-inner .icon { font-size: 1.75rem; margin-bottom: 14px; color: var(--lime); }
.newsletter-inner h2 { color: #fff; margin-bottom: 12px; }
.newsletter-inner p { color: rgba(255, 255, 255, .66); font-size: .9375rem; margin-bottom: 26px; }
.newsletter-inner p strong { color: var(--lime); letter-spacing: .06em; }
.newsletter-form { display: flex; gap: 10px; max-width: 470px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff;
  font-size: .875rem; outline: none; transition: border-color var(--t-fast), background var(--t-fast);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .42); }
.newsletter-form input:focus { border-color: var(--lime); background: rgba(255, 255, 255, .1); }
.newsletter-form .btn { background: var(--lime); color: var(--ink); }
.newsletter-form .btn:hover { background: #fff; }
.newsletter-msg { margin-top: 14px; font-size: .8125rem; color: var(--lime); min-height: 18px; }
.newsletter .fineprint { margin-top: 12px; font-size: .6875rem; color: rgba(255, 255, 255, .34); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding-top: 68px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .site-logo { color: #fff; margin-bottom: 16px; }
.footer-brand .site-logo .logo-mark { background: var(--lime); color: var(--ink); }
.footer-brand p { font-size: .875rem; line-height: 1.75; color: rgba(255, 255, 255, .5); margin-bottom: 20px; max-width: 34ch; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.footer-col h4 {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .875rem; color: rgba(255, 255, 255, .62); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--lime); }
.footer-contact li { display: flex; gap: 10px; font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.footer-contact li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: rgba(255, 255, 255, .4); }
.footer-contact a { color: rgba(255, 255, 255, .7); word-break: break-word; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-bottom p { font-size: .75rem; color: rgba(255, 255, 255, .38); margin: 0; }
.payment-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-icon {
  padding: 5px 10px; border-radius: 5px; background: rgba(255, 255, 255, .09);
  font-size: .625rem; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .62);
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--line-2); padding: 14px 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); }
.breadcrumb-inner a { color: var(--muted); }
.breadcrumb-inner a:hover { color: var(--ink); }
.breadcrumb-inner .separator { color: var(--muted-2); }
.breadcrumb-inner .current { color: var(--ink); font-weight: 500; }

/* ============================================================
   商品列表页（左侧筛选栏）
   ============================================================ */
.shop-section { padding: 40px 0 var(--pad); }
.shop-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 36px; align-items: start; }
.shop-sidebar { position: sticky; top: 96px; }
.filter-sheet-head { display: none; }
.filter-group {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 22px; margin-bottom: 16px;
}
.filter-group h4 { font-size: .875rem; margin-bottom: 14px; letter-spacing: -.01em; }
.filter-list { display: flex; flex-direction: column; gap: 10px; }
.filter-list label {
  display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--ink-3);
  cursor: pointer; transition: color var(--t-fast);
}
.filter-list label:hover { color: var(--ink); }
.filter-list input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 17px; height: 17px; flex: none;
  border: 1.5px solid var(--line); border-radius: 5px; background: var(--paper);
  display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast);
}
.filter-list input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
.filter-list input[type="checkbox"]:checked::after {
  content: ""; width: 9px; height: 9px;
  background: var(--lime);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 18%, 84% 4%, 38% 68%);
}
.filter-list .count { margin-left: auto; font-size: .75rem; color: var(--muted-2); }
.filter-sheet-apply { display: none; }
.filter-overlay { display: none; }
.filter-reset { font-size: .75rem; color: var(--muted); text-decoration: underline; margin-top: 4px; }

.shop-main { min-width: 0; }
.shop-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-header h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 4px; }
.shop-header .sub { font-size: .875rem; color: var(--muted); }
.shop-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-toggle {
  display: none; align-items: center; gap: 7px; padding: 10px 16px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--paper); font-size: .8125rem; font-weight: 600;
}
.results-count { font-size: .8125rem; color: var(--muted); }
.sort-select {
  appearance: none; -webkit-appearance: none; padding: 10px 34px 10px 16px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6F76' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: .8125rem; font-weight: 500; cursor: pointer;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-full);
  background: var(--bg-3); font-size: .75rem; color: var(--ink-3);
}
.filter-chip button { font-size: .8rem; line-height: 1; color: var(--muted); }
.filter-chip button:hover { color: var(--ink); }
.empty-state { text-align: center; padding: 80px 24px; background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line-2); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin-bottom: 22px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  font-size: .8125rem; border: 1px solid var(--line); background: var(--paper);
}
.pagination .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================
   商品详情
   ============================================================ */
.product-detail { padding: 32px 0 20px; }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: 96px; }
.gallery-main {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-2); margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform var(--t-slow); }
.gallery-main.is-zoom img { transform: scale(1.55); object-position: 42% 34%; }
.gallery-main.is-flip img { transform: scaleX(-1) scale(.94); }
.gallery-main.is-dark { background: var(--ink) !important; }
.gallery-main.is-dark img { filter: drop-shadow(0 24px 60px rgba(200, 244, 92, .22)); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 84px)); gap: 10px; }
.gallery-thumb {
  aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); padding: 0;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.product-info .pd-category { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 10px; }
.pd-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.pd-price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.pd-compare { font-size: 1rem; color: var(--muted-2); text-decoration: line-through; }
.pd-save { font-size: .75rem; font-weight: 700; color: var(--ink); background: var(--lime-soft); padding: 3px 9px; border-radius: var(--r-full); }
.pd-short-desc { font-size: .9375rem; line-height: 1.75; color: var(--muted); margin-bottom: 24px; }
.pd-option { margin-bottom: 20px; }
.pd-option-label { font-size: .8125rem; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.pd-option-label .value { font-weight: 400; color: var(--muted); }
.variant-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  font-size: .6875rem; color: var(--muted); min-width: 66px; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.variant-item img { width: 40px; height: 40px; object-fit: contain; }
.variant-item:hover { border-color: var(--muted-2); }
.variant-item.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }
.pd-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  padding: 9px 18px; border-radius: var(--r-full); border: 1px solid var(--line);
  background: var(--paper); font-size: .8125rem; transition: var(--t-fast);
}
.size-btn.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pd-buy-row { display: flex; gap: 10px; align-items: stretch; margin: 22px 0 18px; }
.pd-quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--paper); }
.pd-quantity button { width: 42px; height: 100%; min-height: 48px; font-size: 1rem; color: var(--ink-3); }
.pd-quantity button:hover { color: var(--ink); }
.pd-quantity span { min-width: 26px; text-align: center; font-size: .9375rem; font-weight: 600; }
.pd-actions { display: flex; gap: 10px; margin-bottom: 22px; }
.pd-actions .btn { flex: 1; height: 52px; }
.pd-wishlist {
  width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); display: grid; place-items: center; color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pd-wishlist:hover, .pd-wishlist.is-on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.pd-extra-info {
  display: flex; flex-direction: column; gap: 11px; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md);
}
.pd-info-item { display: flex; align-items: flex-start; gap: 10px; font-size: .8125rem; color: var(--ink-3); }
.pd-info-item svg { width: 17px; height: 17px; flex: none; color: var(--muted); margin-top: 2px; }

/* 详情页折叠面板 */
.pd-accordions { margin-top: 22px; border-top: 1px solid var(--line); }
.pd-acc { border-bottom: 1px solid var(--line); }
.pd-acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; font-size: .9375rem; font-weight: 600; cursor: pointer; list-style: none;
}
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc summary::after { content: "+"; font-size: 1.1rem; font-weight: 400; color: var(--muted); transition: transform var(--t); }
.pd-acc[open] summary::after { content: "−"; }
.pd-acc .acc-body { padding: 0 0 20px; font-size: .875rem; line-height: 1.75; color: var(--muted); }
.pd-acc .acc-body ul { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 0; }
.pd-acc .acc-body li { position: relative; padding-left: 18px; }
.pd-acc .acc-body li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-deep); }
.pd-acc .acc-body p + p { margin-top: 10px; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: .8125rem; }
.spec-row:last-child { border-bottom: 0; }
.spec-row b { font-weight: 600; color: var(--ink); flex: none; }
.spec-row span { text-align: right; color: var(--muted); }

/* 详情页长文 */
.pd-longform { max-width: 820px; margin: 0 auto; }
.pd-longform h2 { margin: 40px 0 14px; font-size: 1.5rem; }
.pd-longform h3 { margin: 26px 0 10px; font-size: 1.0625rem; }
.pd-longform p { font-size: .9375rem; line-height: 1.85; margin-bottom: 14px; }
.pd-longform ul { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 20px; padding-left: 0; }
.pd-longform li { position: relative; padding-left: 22px; font-size: .9375rem; line-height: 1.75; color: var(--muted); }
.pd-longform li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); }
.pd-longform strong { color: var(--ink); font-weight: 600; }
.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.spec-card { padding: 20px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.spec-card h4 { font-size: .9375rem; margin-bottom: 6px; }
.spec-card p { font-size: .8125rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* 移动端吸底购买条 */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(14, 16, 19, .08);
  transform: translateY(110%); transition: transform var(--t-slow);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .sb-info { min-width: 0; flex: 1; }
.sticky-buy .sb-name { font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-price { font-size: .75rem; color: var(--muted); }
.sticky-buy .btn { padding: 12px 20px; }

/* ============================================================
   购物车页 / 结算
   ============================================================ */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cart-lines { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; }
.cart-line {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px;
  padding: 20px; border-bottom: 1px solid var(--line-2); align-items: start;
}
.cart-line:last-child { border-bottom: 0; }
.cart-line__media { display: block; aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.cart-line h3 { font-size: .9375rem; margin-bottom: 4px; }
.cart-line__meta { font-size: .8125rem; color: var(--muted); margin-bottom: 10px; }
.cart-line__price { font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.cart-line__remove { font-size: .75rem; color: var(--muted); text-decoration: underline; margin-top: 10px; }
.cart-line__remove:hover { color: var(--warn); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--paper); }
.qty button { width: 32px; height: 32px; font-size: .9rem; color: var(--ink-3); }
.qty span { min-width: 26px; text-align: center; font-size: .8125rem; font-weight: 600; }
.cart-summary {
  position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 26px;
}
.cart-summary h3 { font-size: 1.0625rem; margin-bottom: 18px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--muted); padding: 7px 0; }
.summary-row.total { font-size: 1.0625rem; color: var(--ink); font-weight: 700; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line); }
.ship-bar-wrap { margin: 16px 0 20px; }
.ship-hint { font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.ship-bar { height: 6px; border-radius: var(--r-full); background: var(--bg-3); overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--lime-deep); border-radius: inherit; transition: width var(--t-slow); }
.cart-note { margin-top: 14px; }
.cart-note textarea {
  width: 100%; min-height: 76px; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--bg); font-size: .8125rem; resize: vertical; outline: none;
}
.cart-note textarea:focus { border-color: var(--ink-3); }
.cart-empty { text-align: center; padding: 72px 24px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.cart-empty .icon { font-size: 2.5rem; margin-bottom: 14px; }
.cart-empty h3 { margin-bottom: 8px; }
.cart-empty p { margin-bottom: 22px; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.checkout-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.step { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted-2); }
.step .num { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .6875rem; font-weight: 700; }
.step.is-active { color: var(--ink); font-weight: 600; }
.step.is-active .num { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.step-line { flex: 1; height: 1px; background: var(--line); min-width: 16px; }
.form-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 26px; margin-bottom: 18px; }
.form-card h3 { font-size: 1rem; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); font-size: .875rem; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 244, 92, .35); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .6875rem; color: var(--muted-2); }
.checkout-summary { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 24px; }
.checkout-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.checkout-item__media { width: 54px; height: 54px; border-radius: var(--r-sm); background: var(--bg-2); overflow: hidden; flex: none; }
.checkout-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.checkout-item__info { min-width: 0; font-size: .8125rem; }
.checkout-item__info span { color: var(--muted); font-size: .75rem; }
.checkout-item__price { margin-left: auto; font-size: .8125rem; font-weight: 600; }
.pay-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pay-badge { padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; font-size: .625rem; font-weight: 700; color: var(--muted); }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); margin-top: 14px; }
.secure-note svg { width: 15px; height: 15px; }
.order-done { text-align: center; max-width: 560px; margin: 0 auto; padding: 60px 24px 80px; }
.order-done .tick { width: 68px; height: 68px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 22px; font-size: 1.6rem; }
.order-done h1 { margin-bottom: 12px; }
.order-done p { margin-bottom: 10px; }
.order-done .order-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; background: var(--bg-2); padding: 8px 14px; border-radius: var(--r); display: inline-block; margin: 8px 0 22px; }

/* ============================================================
   账户 / 登录
   ============================================================ */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 34px; }
.auth-tabs { display: flex; gap: 6px; padding: 5px; background: var(--bg-2); border-radius: var(--r-full); margin-bottom: 24px; }
.auth-tabs button { flex: 1; padding: 9px; border-radius: var(--r-full); font-size: .8125rem; font-weight: 600; color: var(--muted); }
.auth-tabs button.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--sh-sm); }
.auth-note { font-size: .75rem; color: var(--muted-2); margin-top: 16px; text-align: center; line-height: 1.6; }
.account-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.account-nav { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 12px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); font-size: .875rem; color: var(--ink-3); }
.account-nav a:hover { background: var(--bg); }
.account-nav a.is-active { background: var(--lime-soft); font-weight: 600; }
.account-panel { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 28px; }
.account-panel h2 { font-size: 1.25rem; margin-bottom: 6px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: .875rem; flex-wrap: wrap; }
.order-status { padding: 4px 10px; border-radius: var(--r-full); background: var(--lime-soft); font-size: .6875rem; font-weight: 700; }

/* ============================================================
   内容页（关于 / 联系 / FAQ / 政策）
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-figure { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { font-size: .9375rem; line-height: 1.85; margin-bottom: 14px; }
.about-text .btn { margin-top: 10px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 28px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.value-card .value-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lime-soft); display: grid; place-items: center; margin-bottom: 16px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: .875rem; line-height: 1.7; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .num { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.04em; }
.stats-grid .lbl { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 28px 36px; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline-item.is-now::before { background: var(--lime); border-color: var(--ink); }
.timeline-item .year { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.timeline-item h4 { margin: 5px 0 6px; }
.timeline-item p { font-size: .875rem; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; padding: 20px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.contact-card .icon { width: 40px; height: 40px; border-radius: 11px; background: var(--lime-soft); display: grid; place-items: center; flex: none; }
.contact-card h4 { margin-bottom: 4px; font-size: .9375rem; }
.contact-card p, .contact-card a { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.contact-card a:hover { color: var(--ink); }
.contact-form-wrapper { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 30px; }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: .9375rem; font-weight: 600; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.15rem; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 0 22px; font-size: .9375rem; line-height: 1.8; color: var(--muted); }
.faq-item .faq-body p + p { margin-top: 10px; }
.faq-item .faq-body a { color: var(--ink); text-decoration: underline; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc h4 { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.legal-toc a { display: block; padding: 6px 0; font-size: .8125rem; color: var(--muted); }
.legal-toc a:hover { color: var(--ink); }
.legal-content { max-width: 820px; font-size: .9375rem; line-height: 1.85; color: var(--muted); }
.legal-content h2 { font-size: 1.3rem; margin: 38px 0 12px; color: var(--ink); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1rem; margin: 22px 0 8px; color: var(--ink); }
.legal-content p { margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { position: relative; padding-left: 18px; }
.legal-content li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--ink); text-decoration: underline; }
.legal-meta {
  display: inline-block; margin-bottom: 24px; padding: 6px 13px; border-radius: var(--r-full);
  background: var(--bg-2); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.legal-table { width: 100%; border-collapse: collapse; font-size: .8125rem; margin: 16px 0 24px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; background: var(--bg); }

/* ============================================================
   抽屉 / 浮层 / 弹窗
   ============================================================ */
.drawer-overlay, .mobile-drawer-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(14, 16, 19, .45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.drawer-overlay.open, .mobile-drawer-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: 420px; max-width: 100%; background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--t-slow);
  box-shadow: -30px 0 80px rgba(14, 16, 19, .18);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 22px; border-bottom: 1px solid var(--line-2);
}
.drawer-header h3 { font-size: 1rem; }
.drawer-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.drawer-close:hover { background: var(--bg-2); color: var(--ink); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.drawer-item__media { width: 68px; height: 68px; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.drawer-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.drawer-item h4 { font-size: .8125rem; margin-bottom: 3px; }
.drawer-item .meta { font-size: .6875rem; color: var(--muted); }
.drawer-item .row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.drawer-item .line-price { font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.drawer-item .remove { font-size: .6875rem; color: var(--muted-2); text-decoration: underline; }
.drawer-item .remove:hover { color: var(--warn); }
.drawer-empty { display: grid; place-items: center; text-align: center; padding: 70px 20px; gap: 10px; }
.drawer-empty .icon { font-size: 2.2rem; }
.drawer-empty p { font-size: .8125rem; }
.drawer-footer { padding: 18px 22px 22px; border-top: 1px solid var(--line-2); background: var(--paper); }
.drawer-footer .btn { margin-bottom: 8px; }
.drawer-ship { margin-bottom: 14px; }

.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: 88%; max-width: 350px; background: var(--paper);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform var(--t-slow);
  box-shadow: 20px 0 60px rgba(14, 16, 19, .18);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.mobile-drawer-title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mobile-nav { padding: 10px 12px; display: flex; flex-direction: column; }
.mobile-nav > a, .mobile-nav .m-group > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 10px; font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2); text-align: left;
}
.mobile-sub { display: none; padding: 4px 0 8px 10px; }
.mobile-sub.open { display: block; }
.mobile-sub a { display: block; padding: 10px 10px; font-size: .9375rem; color: var(--muted); }
.mobile-sub a:hover { color: var(--ink); }
.mobile-drawer-foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.mobile-drawer-foot .mini { font-size: .75rem; color: var(--muted); }
.mobile-drawer .bco-lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; }
.mobile-lang { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-lang button { padding: 7px 12px; border-radius: var(--r-full); border: 1px solid var(--line); font-size: .75rem; }
.mobile-lang button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 搜索浮层 */
.search-overlay {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column;
  background: rgba(250, 248, 243, .98); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-top { border-bottom: 1px solid var(--line); }
.search-top .container { display: flex; align-items: center; gap: 14px; height: 84px; }
.search-top svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink);
}
.search-input::placeholder { color: var(--muted-2); }
.search-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.search-close:hover { background: var(--bg-2); color: var(--ink); }
.search-body { flex: 1; overflow-y: auto; padding: 26px 0 60px; }
.search-hint { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tag { padding: 8px 15px; border-radius: var(--r-full); border: 1px solid var(--line); font-size: .8125rem; background: var(--paper); }
.search-tag:hover { border-color: var(--ink); }
.search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.search-result { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line-2); }
.search-result:hover { border-color: var(--ink); }
.search-result__media { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--bg-2); overflow: hidden; flex: none; }
.search-result__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.search-result h4 { font-size: .875rem; }
.search-result span { font-size: .75rem; color: var(--muted); }
.search-empty { font-size: .9375rem; color: var(--muted); padding: 20px 0; }

/* 快速预览 */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
  background: rgba(14, 16, 19, .5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.quick-modal {
  position: relative; width: min(880px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--r-lg); padding: 28px;
  transform: translateY(12px) scale(.99); transition: transform var(--t);
}
.modal-overlay.open .quick-modal { transform: none; }
.quick-modal .modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.quick-modal .modal-close:hover { background: var(--bg-2); color: var(--ink); }
.quick-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quick-media { border-radius: var(--r-md); background: var(--bg-2); overflow: hidden; aspect-ratio: 1 / 1; }
.quick-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }

/* 返回顶部 */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--t);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--ink-3); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: var(--r-full); background: var(--ink); color: #fff;
  font-size: .8125rem; box-shadow: var(--sh-lg); transition: var(--t); max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Cookie */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(14, 16, 19, .1);
  padding: 16px; transform: translateY(110%); transition: transform var(--t);
}
.cookie-banner.is-open { transform: translateY(0); }
.cookie-banner-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.cookie-banner-text h2 { font-size: .875rem; margin-bottom: 4px; }
.cookie-banner-text p { font-size: .75rem; line-height: 1.6; margin: 0; }
.cookie-banner-text a { color: var(--ink); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex: none; }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .main-nav { gap: 22px; }
  .header-action-btn { width: 36px; height: 36px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --pad: 60px; }
  .container { width: min(var(--container), calc(100% - 48px)); }
  .hero { padding: 52px 0 60px; }
  .hero-content { gap: 40px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-banner { padding: 40px; gap: 32px; }
  .shop-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 26px; }
  .product-detail-inner { gap: 36px; }
  .cart-grid, .checkout-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary, .product-gallery, .shop-sidebar, .legal-toc { position: static; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { display: none; }
  .account-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad: 48px; }
  body { font-size: 15px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: grid; }
  .header-main { height: 64px; }
  .bco-lang.bco-currency, .header-actions .bco-lang { display: none; }
  .announcement-bar { font-size: .75rem; padding: 9px 44px; line-height: 1.45; }
  .announcement-bar .ann-spark { display: none; }
  .announcement-bar .ann-track { justify-content: center; flex-wrap: wrap; }
  .hero { padding: 34px 0 44px; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .hero-image-wrapper { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
  .floating-card { padding: 11px 14px; }
  .floating-card.card-1 { left: 8px; bottom: 12px; }
  .floating-card.card-2 { right: 8px; top: 12px; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat .number { font-size: 1.4rem; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-card { aspect-ratio: 3 / 3.7; }
  .category-card .category-info { left: 16px; right: 16px; bottom: 14px; }
  .category-card .category-info h3 { font-size: 1rem; }
  .category-card .category-info span { font-size: .6875rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .product-info { padding: 12px 12px 14px; gap: 6px; }
  .product-name { font-size: .875rem; }
  .product-quick-view { opacity: 1; transform: none; }
  .quick-btn { width: 30px; height: 30px; }
  .card-add-btn { font-size: .75rem; padding: 9px; }
  .section-header { margin-bottom: 32px; }
  .featured-banner { grid-template-columns: 1fr; padding: 30px 22px; border-radius: var(--r-lg); }
  .featured-banner .banner-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-top: 24px; }
  .featured-image { order: -1; aspect-ratio: 4 / 3; }
  .features-grid { gap: 14px; }
  .feature-card { padding: 22px 18px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  .newsletter { padding: 52px 0; }
  .newsletter-form { flex-direction: column; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 28px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* 列表页：筛选改抽屉 */
  .shop-layout { grid-template-columns: 1fr; gap: 0; }
  .shop-sidebar {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 105;
    max-height: 84vh; overflow-y: auto; background: var(--paper);
    border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 0 18px 18px;
    transform: translateY(100%); transition: transform var(--t-slow);
    box-shadow: 0 -20px 60px rgba(14, 16, 19, .22);
  }
  .shop-sidebar.open { transform: translateY(0); }
  .filter-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; background: var(--paper); padding: 16px 0 12px; margin-bottom: 4px;
    border-bottom: 1px solid var(--line-2);
  }
  .filter-sheet-head h4 { font-size: 1rem; }
  .filter-group { border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 16px 0; margin: 0; }
  .filter-sheet-apply { display: block; width: 100%; margin-top: 16px; padding: 14px; border-radius: var(--r-full); background: var(--ink); color: #fff; font-weight: 600; }
  .filter-overlay { display: block; position: fixed; inset: 0; z-index: 104; background: rgba(14, 16, 19, .45); opacity: 0; visibility: hidden; transition: var(--t); }
  .filter-overlay.open { opacity: 1; visibility: visible; }
  .shop-header { align-items: flex-start; }
  .filter-toggle { display: inline-flex; }
  .shop-controls { width: 100%; justify-content: space-between; }
  .results-count { order: 3; width: 100%; }

  /* 详情页 */
  .product-detail { padding: 18px 0 10px; }
  .product-detail-inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .pd-buy-row { flex-wrap: wrap; }
  .sticky-buy { display: flex; }
  body.has-sticky-buy { padding-bottom: 74px; }
  .pd-longform h2 { font-size: 1.25rem; }
  .spec-cards { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-line__price { grid-column: 2; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner-actions { flex-direction: column-reverse; }
  .cookie-banner-actions .btn { width: 100%; }
  .search-results { grid-template-columns: 1fr; }
  .quick-inner { grid-template-columns: 1fr; }
  .quick-modal { padding: 20px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { aspect-ratio: 4 / 3.4; }
  .product-grid { gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { gap: 10px; }
  .hero-stats { justify-content: space-between; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cart-drawer { width: 100%; }
  .site-logo { font-size: 1.125rem; }
  .header-action-btn { width: 34px; height: 34px; }
  .header-actions { gap: 0; }
  .section-header .subtitle { font-size: .6875rem; }
  .shop-header h1 { font-size: 1.5rem; }
}

@media print {
  .site-header, .site-footer, .cart-drawer, .announcement-bar, .sticky-buy, .back-to-top, .cookie-banner { display: none !important; }
}
