/*  ============================================================
    FAUXFLORAS — Design-to-Code Stylesheet
    Converted 1:1 from Ardot design (file 729611985661507)
    Canvas #FAFAF7 · Text #0A0A0A · Accent #8B6F47
    Radius: card 12px / button 4px · Hairline #E8E4DD
    Fonts: Cormorant Garamond (display) / Lora (body) / Inter (UI)
    ============================================================ */

:root {
  /* Color tokens (from design fills) */
  --canvas: #FAFAF7;
  --surface: #FFFFFF;
  --surface-warm: #EFEAE3;
  --ink: #0A0A0A;
  --ink-soft: #3B3632;
  --ink-body: #5C564D;
  --muted: #737373;
  --faint: #A39C93;
  --accent: #8B6F47;
  --accent-hover: #7A5F3B;
  --sage: #7A8471;
  --clay: #B89484;
  --hairline: #E8E4DD;
  --hairline-soft: #EDE9E2;
  --footer-bg: #171512;
  --footer-divider: #2E2A24;
  --footer-link: #D8D2C8;
  --footer-muted: #7A736A;
  --footer-title: #9C8B72;
  --swatch-ash: #A9A29B;
  --swatch-clay: #B89484;
  --swatch-sand: #D8CBB8;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', serif;
  --font-body: 'Lora', Georgia, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --page-pad: 64px;
  --section-gap: 56px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; }

/* ---------- Typography helpers ---------- */
.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;
}
.kicker {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2;
  color: var(--ink);
}

.section-link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }

/* ---------- Storefront v2: switchers / drawer / quick view / filters / reviews / cookie ---------- */
.ef-switchers { display: flex; gap: 6px; align-items: center; }
.ef-select {
  border: 1px solid var(--hairline); border-radius: 4px; background: var(--surface);
  padding: 6px 8px; font-size: 12px; font-family: var(--font-ui); color: var(--ink-soft);
}

/* cart drawer */
/* z-index 1000：高于页面所有固定/粘性元素（#ef-sticky-cart 250、.ef-cookie 300、
   .modal-backdrop 400），确保抽屉与遮罩浮于全部内容之上，杜绝底层折叠面板/评价文字穿透重叠 */
.ef-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.ef-drawer-overlay { position: absolute; inset: 0; background: rgba(10,10,10,.4); opacity: 0; transition: opacity .25s; }
.ef-drawer-panel {
  position: absolute; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100vh;
  background: var(--surface); display: flex; flex-direction: column;
  transition: right .28s ease; box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
.ef-drawer.open { pointer-events: auto; }
.ef-drawer.open .ef-drawer-overlay { opacity: 1; }
.ef-drawer.open .ef-drawer-panel { right: 0; }
/* 抽屉打开时隐藏移动端粘性购物栏，避免双重购物 UI 与底部文字重叠 */
body.ef-drawer-open #ef-sticky-cart { display: none !important; }
.ef-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--hairline); }
.ef-drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.ef-drawer-empty { color: var(--faint); text-align: center; margin-top: 48px; }
.ef-cart-item { display: flex; gap: 12px; align-items: center; }
.ef-cart-thumb { width: 64px; height: 64px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid var(--hairline); flex-shrink: 0; }
.ef-cart-info { flex: 1; min-width: 0; }
.ef-cart-name { font-weight: 500; font-size: 14px; color: var(--ink); }
.ef-cart-variant { font-size: 12px; color: var(--muted); }
.ef-cart-qty { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hairline); border-radius: 4px; padding: 3px 8px; margin-top: 6px; }
.ef-cart-qty button { font-size: 14px; color: var(--accent); }
.ef-cart-right { text-align: right; }
.ef-cart-price { font-weight: 600; font-size: 14px; }
.ef-cart-rm { font-size: 12px; color: var(--faint); margin-top: 6px; }
.ef-cart-rm:hover { color: var(--danger, #B4554A); }
.ef-drawer-foot { border-top: 1px solid var(--hairline); padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.ef-drawer-sub { display: flex; justify-content: space-between; font-size: 15px; }
.ef-drawer-note { font-size: 12px; color: var(--faint); }
.ef-drawer-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px;
  font: 500 11px var(--font-ui); color: var(--faint);
  border-top: 1px solid var(--hairline); padding-top: 10px; margin-top: 2px;
}

/* quick view */
.qv-modal { max-width: 760px; padding: 0; overflow: hidden; }
.qv-modal .modal-close { position: absolute; top: 10px; right: 16px; z-index: 2; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-img { background-size: cover; background-position: center; aspect-ratio: 1 / 1; background-color: #EFEAE3; }
.qv-info { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.qv-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.qv-rating { color: var(--accent); font-size: 13px; }
.qv-price .price { font-size: 22px; font-weight: 600; }
.qv-desc { font-family: var(--font-body); font-size: 14px; color: var(--ink-body); }
.qv-label { font-size: 11px; letter-spacing: 1px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.qv-variants { display: flex; flex-direction: column; gap: 6px; }
.qv-variant { border: 1px solid var(--hairline); border-radius: 4px; padding: 8px 12px; text-align: left; font-size: 13px; }
.qv-variant.selected { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.qv-buy { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.qv-buy .add-to-cart { flex: 1; }

/* quick view button on cards */
.product-card { position: relative; }
.qv-btn {
  position: absolute; left: 50%; bottom: 42%; transform: translateX(-50%) translateY(6px);
  background: var(--ink); color: var(--canvas); font-size: 12px; letter-spacing: 1px;
  padding: 9px 18px; border-radius: 4px; opacity: 0; transition: opacity .2s, transform .2s;
  z-index: 2; white-space: nowrap;
}
.product-card:hover .qv-btn { opacity: 1; transform: translateX(-50%) translateY(0); }

/* filters */
.ef-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0 8px; }
.ef-filters select, .ef-filters input[type="number"] {
  border: 1px solid var(--hairline); border-radius: 4px; background: var(--surface);
  padding: 9px 10px; font-size: 13px; font-family: var(--font-ui); color: var(--ink-soft);
}
.ef-filter-search { position: relative; flex: 1 1 220px; }
.ef-filter-search input { width: 100%; border: 1px solid var(--hairline); border-radius: 4px; padding: 9px 12px; font-size: 13px; font-family: var(--font-ui); }
.ef-ac {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 50; overflow: hidden;
}
.ef-ac-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; font-size: 13px; text-align: left; }
.ef-ac-item:hover { background: var(--canvas); }
.ef-ac-thumb { width: 30px; height: 30px; border-radius: 4px; background-size: cover; background-position: center; border: 1px solid var(--hairline); }
.ef-ac-price { margin-left: auto; color: var(--accent); font-weight: 600; }
.ef-filter-price { display: flex; align-items: center; gap: 6px; }
.ef-filter-price input { width: 84px; }
.ef-filter-stock { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.ef-filter-empty { color: var(--faint); font-size: 14px; margin: 12px 0; }

/* reviews */
.review-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review-stars .star { color: var(--hairline); font-size: 14px; }
.review-stars .star.on { color: var(--accent); }
.review-text { font-family: var(--font-body); font-size: 14px; color: var(--ink-soft); flex: 1; }
.review-who { font-size: 12px; color: var(--faint); }
/* checkout: payment methods + address autocomplete */
.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-method {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--hairline);
  border-radius: 6px; padding: 11px 14px; cursor: pointer; font-size: 14px; font-weight: 500;
}
.pay-method.selected { border-color: var(--accent); background: rgba(139,111,71,.04); }
.pay-method input { accent-color: var(--accent); }
.pm-note { font-weight: 400; font-size: 12px; color: var(--muted); }
.addr-ac { position: relative; margin-top: -14px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 40; }
.addr-ac-item { display: block; width: 100%; text-align: left; padding: 9px 12px; font-size: 13px; color: var(--ink-soft); }
.addr-ac-item:hover { background: var(--canvas); }
.addr-hint { font-size: 11px; color: var(--faint); }

/* cookie consent */
.ef-cookie {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--ink); color: var(--canvas); padding: 16px 24px;
}
.ef-cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ef-cookie-inner p { font-size: 13px; line-height: 1.5; max-width: 720px; }
.ef-cookie-inner a { color: #C9B896; text-decoration: underline; }
.ef-cookie-actions { display: flex; gap: 10px; }
.ef-cookie-actions .btn-ghost { border-color: #4a453e; color: var(--canvas); }

@media (max-width: 860px) {
  .qv-grid { grid-template-columns: 1fr; }
  .qv-img { min-height: 220px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .ef-drawer-panel { width: 100vw; max-width: 100vw; }
}

/* privacy article */
.privacy-article { max-width: 800px; }
.privacy-article h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 28px 0 8px; color: var(--ink); }
.privacy-article p { font-family: var(--font-body); font-size: 15px; color: var(--ink-body); line-height: 1.7; }

/* ---------- Storefront v2 end ---------- */

/* ---------- Announcement bar (40px, #0A0A0A) ---------- */
.announcement {
  height: 40px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.announcement p {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--canvas);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.announcement p span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.announcement p i { font-style: normal; color: rgba(255,255,255,.35); }
@media (max-width: 720px) {
  .announcement p i { display: none; }
  .announcement p { gap: 6px; font-size: 11px; }
}

/* ---------- Header (72px, white, hairline bottom) ---------- */
.header {
  height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink-soft); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .signin { font-size: 14px; color: var(--ink-soft); }
.header-actions .signin:hover { color: var(--accent); }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.icon-btn svg { width: 20px; height: 20px; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.cart-btn:hover { background: var(--accent); }

/* header search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 160px;
  height: 38px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0 34px 0 12px;
  font-size: 13px;
  font-family: var(--font-ui);
  color: var(--ink-soft);
  background: var(--surface);
  transition: width .2s, border-color .2s;
}
.header-search input:focus { width: 200px; border-color: var(--accent); outline: none; }
.header-search-btn { position: absolute; right: 8px; }
/* 收起顶部搜索：1180px 以下 wordmark + 搜索框 + 购物车 总宽需要约 1167px，
   会把页面撑出横向滚动；商品区另有搜索入口（.ef-filter-search），功能不受影响 */
@media (max-width: 1180px) {
  .header-search { display: none; }
}

/* mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 4px;
  background: var(--surface); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .header { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 10px 24px 16px;
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
    z-index: 150;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 15px; width: 100%; }
}

/* ---------- Homepage Hero：全幅背景大图 + 底部居中内容（无卡片） ---------- */
.hero-overlay {
  position: relative;
  display: flex;
  align-items: flex-end; /* 文案靠底部对齐 */
  justify-content: center;
  min-height: 560px;
  padding: 72px var(--page-pad) 60px; /* 底部留 60px 间距 */
  overflow: hidden;
  background: #231f1b; /* 图片加载前的兜底色，避免白闪 */
}
/* 首屏大图铺满整个 Hero（.hero-track / .hero-slide 轮播逻辑不变） */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* 叠层压暗：保证白色文案与轮播控件在亮图上依然可读。
   pointer-events:none 必须保留：此前该层（z-index:1）盖在 .hero-bg（z-index:0）之上，
   把首屏轮播的箭头/圆点/滚动轨道全部挡死，导致「左右滚动切换」点不动。 */
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 17, 14, .30), rgba(20, 17, 14, .48));
}
/* 内容不再包在半透明卡片里：去掉背景 / 模糊 / 阴影 / 边框 / 内边距，文字直接叠在图上。
   可读性由上面的压暗层保证。 */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-overlay .hero-headline { font-size: 36px; color: #fff; }
.hero-overlay .hero-sub { font-size: 16px; max-width: none; color: rgba(255, 255, 255, .88); }
.hero-overlay .kicker { color: rgba(255, 255, 255, .76); }
.hero-overlay .hero-cta-row { justify-content: center; }
.hero-overlay .hero-trust { justify-content: center; color: rgba(255, 255, 255, .8); }
.hero-overlay .hero-stars { color: #E8C478; }
.hero-overlay .hero-trust-text { color: rgba(255, 255, 255, .88); }
/* 次要按钮在深色底上改用浅底深字，保证对比度 */
.hero-overlay .btn-ghost { background: rgba(255, 255, 255, .94); color: var(--ink); border-color: transparent; }
@media (max-width: 860px) {
  .hero-overlay { min-height: 470px; padding: 52px var(--page-pad); }
}
@media (max-width: 720px) {
  .hero-overlay .hero-headline { font-size: 30px; }
}
@media (max-width: 560px) {
  .hero-overlay { min-height: 430px; padding: 40px var(--page-pad); }
  .hero-overlay .hero-headline { font-size: 26px; }
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  color: var(--ink);
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 560px;
}
.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  border-radius: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 4px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-trust { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.hero-trust-text { color: var(--ink-body); }

/* ---------- 首屏大图：多图滚动 ----------
   .hero-track 是横向 scroll-snap 轨道，支持触摸滑动 / 触控板横滑 / 左右箭头 / 圆点跳转。
   图片显示方式（完整显示 / 裁切填充）由后台写入内联 background-size，
   这里给出的是后台离线时的回退值。 */
.hero-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;            /* Firefox 隐藏滚动条 */
  -ms-overflow-style: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  /* 全幅横幅做不成 1:1，所以首屏图走「完整显示」：原图不被裁，
     两侧留白用品牌深色（与 .hero-overlay 底色一致），不会露白。 */
  background-color: #231f1b;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
/* 首屏 LCP 优化：hero 图从 background-image 改为 <img>（可预加载、可声明尺寸、带 alt）。
   默认 contain 与背景图版回退一致；后台 fit=cover 时由 cms-site.js 写内联 object-fit 覆盖。 */
.hero-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 5px rgba(59, 54, 50, .16);
}
.hero-nav:hover { background: #fff; }
.hero-nav.prev { left: 10px; }
.hero-nav.next { right: 10px; }
.hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(59, 54, 50, .3);
  cursor: pointer;
}
.hero-dots button.active { background: rgba(59, 54, 50, .8); }

/* ---------- Feature strip (4 services) ---------- */
.feature-strip {
  display: flex;
  gap: 36px;
  padding: 44px var(--page-pad);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  max-width: 1440px;
  margin: 0 auto;
}

/* ---------- 首页重构：Tabs / 吸顶筛选行 / 筛选抽屉 / 横滑轨道 / Bento ---------- */
.tabs { display: flex; gap: 8px; }
.tab-btn {
  padding: 10px 18px; border: 1px solid var(--hairline); background: transparent; border-radius: 999px;
  font: 600 13px var(--font-ui); color: var(--muted); cursor: pointer; transition: all .2s; white-space: nowrap;
}
.tab-btn:hover { border-color: #8B6F47; color: #8B6F47; }
.tab-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.ef-filter-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  position: sticky; top: 72px; z-index: 60;
  background: var(--surface); padding: 10px 0; margin: 10px 0 4px;
  border-bottom: 1px solid var(--hairline);
}
.ef-filter-row .ef-filter-search { flex: 0 1 260px; }
.ef-filter-row .ef-filter-search input {
  width: 100%; border: 1px solid var(--hairline); border-radius: 999px; background: var(--canvas);
  padding: 9px 16px; font-size: 13px; font-family: var(--font-ui); color: var(--ink-soft); outline: none;
}
.ef-filter-row .ef-filter-search input:focus { border-color: #8B6F47; background: var(--surface); }
.pill-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.pill-row::-webkit-scrollbar { display: none; }
.pill {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--surface);
  font: 500 13px var(--font-ui); color: var(--ink-body); cursor: pointer; white-space: nowrap; transition: all .2s;
}
.pill:hover { border-color: #8B6F47; }
.pill.active { background: #8B6F47; border-color: #8B6F47; color: #fff; }
.filter-more-btn {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface);
  font: 600 13px var(--font-ui); color: var(--ink-body); cursor: pointer; transition: border-color .2s;
}
.filter-more-btn:hover { border-color: #8B6F47; color: #8B6F47; }
.filter-count {
  min-width: 18px; height: 18px; border-radius: 999px; background: #8B6F47; color: #fff;
  font: 600 11px/18px var(--font-ui); text-align: center; padding: 0 4px;
}

/* 高级筛选抽屉 */
/* overflow:hidden：面板关闭时停在 right:-340px（视口外），不裁剪会把页面撑出横向滚动 */
.filter-drawer { position: fixed; inset: 0; z-index: 210; pointer-events: none; overflow: hidden; }
.filter-drawer-overlay { position: absolute; inset: 0; background: rgba(10,10,10,.4); opacity: 0; transition: opacity .25s; }
.filter-drawer-panel {
  position: absolute; top: 0; right: -340px; width: 320px; max-width: 90vw; height: 100vh;
  background: var(--surface); transition: right .3s ease; display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
.filter-drawer.open { pointer-events: auto; }
.filter-drawer.open .filter-drawer-overlay { opacity: 1; }
.filter-drawer.open .filter-drawer-panel { right: 0; }
.filter-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--hairline); }
.filter-drawer-head h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0; }
.filter-drawer-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.fd-field { display: flex; flex-direction: column; gap: 6px; }
.fd-label { font: 600 11px var(--font-ui); letter-spacing: 1.5px; color: var(--faint); text-transform: uppercase; }
.fd-field select, .fd-field .ef-filter-price input {
  border: 1px solid var(--hairline); border-radius: 6px; background: var(--surface);
  padding: 10px; font-size: 13px; font-family: var(--font-ui); color: var(--ink-soft); width: 100%;
}
.fd-field .ef-filter-price { display: flex; align-items: center; gap: 8px; }
.fd-check { display: flex; align-items: center; gap: 8px; font: 500 13px var(--font-ui); color: var(--ink-body); cursor: pointer; }
.fd-check input { accent-color: #8B6F47; width: 16px; height: 16px; }

/* ---------- 商品网格：紧凑 4 列（原横滑轨道改为栅格） ---------- */
.prod-carousel { display: block; margin-top: 10px; }
.prod-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
}
.prod-track .product-card { flex: none; min-width: 0; }
/* 栅格化后不再需要左右箭头 */
.prod-arrow { display: none !important; }
@media (max-width: 1100px) { .prod-track { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .prod-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prod-track { grid-template-columns: 1fr; } }

/* 商品区：标题居中 + 行内分类按钮居中 */
#bestsellers .section-header { flex-direction: column; align-items: center; gap: 18px; text-align: center; }
#bestsellers .section-header .tabs { justify-content: center; }
#bestsellers .ef-filter-row { justify-content: center; }
#bestsellers .ef-filter-row .filter-more-btn { margin-left: 0; }
.prod-arrow[hidden] { display: none; }
@media (max-width: 720px) {
  .prod-carousel .prod-arrow { display: none; }
  .ef-filter-row { top: 64px; }
}

/* ---------- Newsletter 浮动组件（右下角 FAB + 弹出卡） ---------- */
.ef-nl {
  position: fixed; right: 20px; bottom: 20px; z-index: 180;
  font-family: var(--font-ui);
}
.ef-nl-fab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--canvas);
  font: 600 13px var(--font-ui); letter-spacing: .3px;
  box-shadow: 0 8px 24px rgba(23, 21, 18, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ef-nl-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 21, 18, .34); }
.ef-nl-pop {
  position: absolute; right: 0; bottom: 60px; width: 320px; max-width: calc(100vw - 40px);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 22px 20px 18px; text-align: left;
  box-shadow: 0 16px 48px rgba(23, 21, 18, .22);
}
.ef-nl-close {
  position: absolute; top: 10px; right: 12px; border: none; background: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--faint); padding: 4px;
}
.ef-nl-close:hover { color: var(--ink); }
.ef-nl-kicker { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #8B6F47; margin: 0 0 6px; }
.ef-nl-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.ef-nl-sub { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.ef-nl-pop form { display: flex; flex-direction: column; gap: 10px; }
.ef-nl-pop input {
  height: 44px; padding: 0 14px; border-radius: 6px;
  border: 1px solid var(--hairline); background: var(--canvas);
  font: 400 14px var(--font-ui); color: var(--ink); outline: none;
}
.ef-nl-pop input::placeholder { color: var(--faint); }
.ef-nl-pop input:focus { border-color: var(--accent); }
.ef-nl-pop .btn-primary { height: 44px; padding: 0 18px; font-size: 14px; }
.ef-nl-pop .note { font-size: 11px; color: var(--faint); margin: 10px 0 0; }
.ef-nl-pop .success { font-size: 13px; color: var(--sage); font-weight: 500; display: none; }
@media (max-width: 720px) {
  .ef-nl { right: 12px; bottom: 76px; } /* 避开粘性购物条 */
}
body.ef-drawer-open .ef-nl { display: none !important; }

/* ---------- About 页：Journal 卡片 ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.journal-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s;
}
.journal-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-3px); }
.journal-thumb { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.journal-body { padding: 20px 22px 24px; }
.journal-tag { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; color: #8B6F47; margin: 0 0 8px; }
.journal-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 0 8px; line-height: 1.3; }
.journal-body > p:not(.journal-meta) { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 12px; }
.journal-meta { font-size: 12px; color: var(--faint); margin: 0; }

/* ---------- About 页：Studio ---------- */
.studio-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.studio-photo { aspect-ratio: 3 / 2; border-radius: 14px; background-size: cover; background-position: center; border: 1px solid var(--hairline); }
.studio-info h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 0 0 10px; }
.studio-info > p { font-size: 15px; color: var(--ink-body); line-height: 1.65; margin: 0 0 14px; }
.studio-facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.studio-facts li { font-size: 14px; color: var(--ink-body); line-height: 1.6; }
.studio-facts span { display: inline-block; min-width: 96px; font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #8B6F47; }
.studio-facts a { color: var(--ink); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .journal-grid { grid-template-columns: 1fr; }
  .studio-block { grid-template-columns: 1fr; gap: 28px; }
}
.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature svg { width: 22px; height: 22px; }
.feature h3, .feature .feature-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }
.feature p { font-size: 13px; color: var(--muted); }

/* ---------- Sections (shared) ---------- */
.section { padding: var(--section-gap) var(--page-pad); max-width: 1440px; margin: 0 auto; }
.section--white { background: var(--surface); max-width: none; }
.section--white > .section-inner { max-width: 1440px; margin: 0 auto; }
/* 整合后的商品 Tab 区域容器 */
.product-tabs-container > .section-inner { max-width: 1200px; margin: 0 auto; }
/* 首页商品区压缩上下留白，让商品更快暴露在首屏 */
.product-tabs-container { padding-top: 36px; padding-bottom: 44px; }
/* 首页买家秀轮播区同步紧凑（scoped 到 index，避免影响 product 页评价区） */
.page-index #reviews { padding-top: 40px; padding-bottom: 48px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}
.section-header .title-block { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Category cards ---------- */
.cat-grid { display: flex; gap: 32px; }
.cat-card { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.cat-card .image {
  height: 320px;
  border-radius: 12px;
  background: var(--surface-warm);
  overflow: hidden;
}
.cat-card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .image img { transform: scale(1.04); }
.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.cat-card p { font-size: 13px; color: var(--muted); }

/* ---------- Product grid ---------- */
.product-grid { display: flex; gap: 28px; }
.product-card {
  flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  background: #f9f9f9; border-radius: 8px; padding: 12px; text-align: left;
}
.product-card .image {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: var(--surface-warm);
  overflow: hidden;
}
.product-card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .image img { transform: scale(1.04); }
.product-card .name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.product-card .meta { font-size: 12px; color: var(--muted); }
.price-row { display: flex; align-items: center; gap: 10px; }
.price-row .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.price-row .price.sale { color: var(--accent); }
.price-row .rating { font-size: 12px; color: var(--faint); }
.price-row .old {
  font-size: 14px;
  color: var(--faint);
  text-decoration: line-through;
}

/* Quick Add button on product cards */
.quick-add-btn {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 76px;
  padding: 11px 0;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, background .2s, color .2s;
  z-index: 2;
  white-space: nowrap;
}
.product-card:hover .quick-add-btn { opacity: 1; transform: translateY(0); }
.quick-add-btn:hover { background: var(--ink); color: var(--canvas); }
.quick-add-btn.added { background: var(--sage); border-color: var(--sage); color: #fff; opacity: 1; }

/* hover image swap on product cards (JS-driven, see bindHoverSwap) */
.product-card .image {
  position: relative;
  background-size: cover;
  background-position: center;
  transition: background-image .3s ease;
}

/* free-shipping progress bar (drawer) */
.ef-free-ship { padding: 2px 0 6px; }
.ef-fs-track { height: 6px; border-radius: 999px; background: var(--hairline-soft); overflow: hidden; }
.ef-fs-fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width .3s ease; }
.ef-fs-msg { font-size: 12px; color: var(--ink-body); margin: 6px 0 0; }

/* ---------- Story section ---------- */
.story {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 52px var(--page-pad);
  max-width: 1440px;
  margin: 0 auto;
}
/* 注意：这里不能用 background 简写，简写会把 background-size 重置成 auto，
   导致配图按原始像素从左上角铺开、被 overflow 裁掉（原 bug）。 */
.story .image {
  width: 560px;
  aspect-ratio: 3 / 2;
  flex: none;
  border-radius: 12px;
  background-color: var(--surface-warm);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.story .image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.story-copy .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.2;
  color: var(--ink);
}
.story-copy .body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-body);
}
.story-copy .pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--accent);
}

/* ---------- Why Choose Us ---------- */
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-icon { font-size: 20px; line-height: 1.4; }
.why-item h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 2px; }
.why-item p { font-size: 14px; color: var(--ink-body); line-height: 1.5; }

/* ---------- Carousel nav（通用箭头） ---------- */
.carousel-nav { display: flex; gap: 8px; }
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--surface);
  color: var(--ink-soft); font-size: 16px; cursor: pointer; transition: all .15s;
}
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer payment pills ---------- */
.footer-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-mini {
  font-size: 10px; font-weight: 600; letter-spacing: .5px; color: var(--footer-muted);
  border: 1px solid var(--footer-divider); border-radius: 3px; padding: 2px 6px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 80px 200px;
  text-align: center;
}
.testimonial .quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  color: var(--ink);
}
.testimonial .attribution { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: var(--clay);
}
.testimonial .who { font-size: 14px; color: var(--ink-body); }

/* ---------- Footer (dark #171512) ---------- */
.footer { background: var(--footer-bg); padding: 20px var(--page-pad) 14px; }
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 14px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-brand .wordmark {
  color: var(--canvas);
  font-size: 24px;
}
.footer-brand .tagline {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--faint);
}
.footer-wh { font-size: 12px; line-height: 1.6; color: var(--faint); margin-top: 2px; }
.footer-columns { display: flex; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col .col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--footer-title);
}
.footer-col a {
  font-size: 13px;
  color: var(--footer-link);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--canvas); }
.footer-divider { height: 1px; background: var(--footer-divider); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.footer-bottom span { font-size: 12px; color: var(--footer-muted); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--page-pad) 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--accent); }

.pdp-main {
  display: flex;
  gap: 64px;
  padding: 28px var(--page-pad) 72px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Gallery */
.gallery { width: 640px; flex: none; display: flex; flex-direction: column; gap: 16px; }
/* 注意：不能用 background 简写，否则 background-size 被重置为 auto，
   配图会按原始像素尺寸从左上角铺开、只露一个角（原 bug）。 */
.gallery .main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background-color: var(--surface-warm);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.gallery .main-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 14px; }
.gallery .thumb {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background-color: var(--surface-warm);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  flex: none;
}
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumb.selected { border-color: var(--accent); border-width: 2px; }

/* Info column */
.product-info { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.product-info .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.15;
  color: var(--ink);
}
/* 副标题 / 卖点高亮（H2 语义）：补充场景与长尾词，SEO/GEO 用 */
.product-info .subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin: -8px 0 0;
}
.rating-line { display: flex; align-items: center; gap: 10px; }
.rating-line svg { width: 84px; height: 15px; }
.rating-line .rate-text { font-size: 13px; color: var(--muted); }
.price-line { display: flex; align-items: center; gap: 14px; }
.price-line .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
}
.price-line .stock { font-size: 13px; font-weight: 500; color: var(--sage); }
/* 划线价（原价）：与商品卡 .price-row .old 一致，只有后台填了 compareAt 才出现 */
.price-line .old {
  font-size: 16px;
  color: var(--faint);
  text-decoration: line-through;
}
.product-info .desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-body);
}

/* 商品知识区块（GEO）：问答式内容块，服务端按商品规格生成，供搜索与 AI 直接引用 */
.kb { display: grid; gap: 36px; }
.kb-block { max-width: 820px; }
.kb-h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.kb-h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 6px;
}
.kb-block > .kb-h3:first-of-type { margin-top: 0; }
.kb p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-body);
}
.kb ul { margin: 4px 0 0; padding-left: 18px; }
.kb li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-body);
}
.kb a { color: var(--ink); text-decoration: underline; }

/* guide.html「Shop by plant type」：清单由服务端按后台目录生成，样式只负责排版 */
.guide-shop { display: grid; gap: 22px; margin-top: 8px; }
.gs-group > h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.gs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gs-list li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-body);
}
.gs-list a { color: var(--ink); text-decoration: underline; }
.gs-price { color: var(--ink); font-weight: 500; }
.gs-old { color: var(--faint); text-decoration: line-through; margin-left: 6px; }
.gs-meta { color: var(--ink-soft); }

/* Swatches */
.swatch-label { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--ink-soft); }
.swatch-row { display: flex; gap: 14px; align-items: center; }
.swatch {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: transform 0.15s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.selected { border: 2px solid var(--accent); }
.swatch--ash { background: var(--swatch-ash); }
.swatch--clay { background: var(--swatch-clay); }
.swatch--sand { background: var(--swatch-sand); }

/* Buy row */
.buy-row { display: flex; gap: 14px; align-items: stretch; }
.qty-stepper {
  width: 96px;
  height: 56px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
  flex: none;
}
.qty-stepper button {
  font-size: 18px;
  color: var(--muted);
  width: 20px;
  transition: color 0.2s;
}
.qty-stepper button:hover { color: var(--accent); }
.add-to-cart {
  flex: 1;
  height: 56px;
  border-radius: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.add-to-cart:hover { background: var(--accent-hover); }
.paypal-btn {
  width: 100%;
  height: 54px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.paypal-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Trust rows */
.trust-row { display: flex; align-items: center; gap: 10px; }
.trust-row svg { width: 16px; height: 16px; flex: none; }
.trust-row span { font-size: 13px; color: var(--muted); }

/* Accordion */
.accordion { display: flex; flex-direction: column; }
.accordion-item + .accordion-item { margin-top: 16px; }
.accordion-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.accordion-head svg {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
}
.accordion-item.open .accordion-head svg { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid var(--hairline);
}
.accordion-item.open .accordion-body { max-height: 240px; }
.accordion-body-inner {
  padding: 16px 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-body);
}
.accordion-item:not(.open) .accordion-head { border-bottom: 1px solid var(--hairline); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-main {
  display: flex;
  gap: 56px;
  padding: 48px var(--page-pad) 96px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: flex-start;
}
.checkout-form { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.checkout-form .page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  color: var(--ink);
}
.checkout-form .subtitle { font-size: 14px; color: var(--muted); margin-top: -22px; }
.checkout-form .subtitle a { color: var(--accent); font-weight: 500; }

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--ink-soft);
}
.field {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.field::placeholder { color: var(--faint); }
.field:focus { border-color: var(--accent); }
.field-row { display: flex; gap: 16px; }
.field-row .field { flex: 1; }
/* 「州 / 省」要随国家在自由输入与美国州下拉之间切换，用一层容器顶替原来的 .field 占位
   （见 js/signin.js、js/checkout.js、js/account.js 的 stateFieldHtml） */
.field-row .field-cell { flex: 1; min-width: 0; }
/* .field-row 自带 display:flex，会盖掉浏览器对 [hidden] 的 display:none，
   所以注册表单里成组的地址行必须显式声明一次 */
.auth-form .field-row[hidden] { display: none; }
.field-row .field--fixed { flex: none; width: 220px; }

/* Delivery cards */
.delivery-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 64px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.2s;
}
.delivery-card.selected { border-color: var(--accent); }
.delivery-card + .delivery-card { margin-top: 12px; }

/* ---------- 仓库位置展示（结算页） ---------- */
.wh-box {
  margin-top: 16px; border: 1px solid var(--hairline); border-radius: 10px;
  background: var(--canvas); padding: 14px 16px;
}
.wh-title { font: 600 12px var(--font-ui); letter-spacing: 1.5px; color: var(--faint); text-transform: uppercase; margin: 0 0 10px; }
.wh-nearest {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid #C9B896; border-radius: 8px; background: var(--surface);
}
.wh-nearest .wh-pin { font-size: 20px; flex-shrink: 0; }
.wh-nearest .wh-n { font: 600 14px var(--font-ui); color: var(--ink); }
.wh-nearest .wh-a { font: 400 12px var(--font-ui); color: var(--muted); margin-top: 2px; }
.wh-nearest .wh-eta { margin-left: auto; font: 600 11px var(--font-ui); color: #8B6F47; white-space: nowrap; }
.wh-toggle { font: 600 12px var(--font-ui); color: #8B6F47; margin: 10px 0 0; cursor: pointer; }
.wh-toggle:hover { text-decoration: underline; }
.wh-list { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.wh-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface);
  font: 400 12px var(--font-ui); color: var(--ink-body);
}
.wh-row .wh-eta { margin-left: auto; font-weight: 600; font-size: 11px; color: #8B6F47; white-space: nowrap; }
.wh-row b { color: var(--ink); font-weight: 600; }
.delivery-card .left { display: flex; align-items: center; gap: 12px; }
.delivery-card .texts { display: flex; flex-direction: column; gap: 2px; }
.delivery-card .d-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.delivery-card .d-meta { font-size: 12px; color: var(--muted); }
.delivery-card .d-price { font-size: 14px; font-weight: 600; color: var(--sage); white-space: nowrap; }
.delivery-card .d-price.paid { color: var(--ink-body); font-weight: 500; }
.radio { width: 18px; height: 18px; flex: none; }

/* Payment */
.pay-select-row { display: flex; align-items: center; gap: 12px; }
.card-field { position: relative; }
.card-field .brands {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--faint);
  pointer-events: none;
}
.alt-pay { display: flex; gap: 16px; }
.alt-pay button {
  flex: 1;
  height: 50px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.alt-pay button:hover { border-color: var(--accent); color: var(--accent); }

.place-order {
  width: 100%;
  height: 60px;
  border-radius: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}
.place-order:hover { background: var(--accent-hover); }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; }
.secure-note svg { width: 14px; height: 14px; }
.secure-note span { font-size: 12px; color: var(--muted); }

/* Order summary */
.order-summary-col { width: 400px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.summary-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid #E9E5DE;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.summary-card .s-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--ink-soft);
}
.summary-item { display: flex; align-items: center; gap: 14px; }
.summary-item .thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: var(--surface-warm);
  overflow: hidden;
  flex: none;
}
.summary-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-item .si-block { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.summary-item .si-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.summary-item .si-meta { font-size: 12px; color: var(--muted); }
.summary-item .si-price { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.summary-divider { height: 1px; background: var(--hairline-soft); }
.sum-row { display: flex; justify-content: space-between; align-items: center; }
.sum-row .l { font-size: 13px; color: var(--ink-body); }
.sum-row .v { font-size: 13px; font-weight: 500; color: var(--ink); }
.sum-row .v.free { color: var(--sage); font-weight: 600; }
.sum-row.total .l { font-size: 15px; font-weight: 600; }
.sum-row.total .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
}
.promo-row { display: flex; gap: 12px; }
.promo-row input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.promo-row input:focus { border-color: var(--accent); }
.promo-row button {
  height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 600;
  flex: none;
}
.promo-row button:hover { background: var(--accent); }
.promo-msg { font-size: 12px; color: var(--sage); display: none; }
.promo-msg.error { color: #A66A4A; display: block; }
.promo-msg.ok { display: block; }
.summary-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--faint);
}

/* Order confirmation overlay */
.confirmation {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.confirmation.show { display: flex; }
.confirmation-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 56px 48px;
  max-width: 460px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.confirmation-card .check {
  width: 56px; height: 56px;
  border-radius: 99px;
  background: var(--sage);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.confirmation-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--ink);
}
.confirmation-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 72px 200px 24px;
  text-align: center;
}
.faq-hero .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  color: var(--ink);
}
.faq-hero .sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 720px;
}
.faq-search {
  width: 480px;
  max-width: 100%;
  height: 54px;
  padding: 0 20px;
  margin-top: 8px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.faq-search::placeholder { color: var(--faint); }
.faq-search:focus { border-color: var(--accent); }

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px var(--page-pad) 64px;
  width: 100%;
}
.faq-item + .faq-item { margin-top: 16px; }
.faq-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-align: left;
}
.faq-head svg { width: 14px; height: 14px; flex: none; transition: transform 0.25s ease; }
.faq-item.open .faq-head svg { transform: rotate(180deg); }
.faq-item:not(.open) .faq-head { border-bottom: 1px solid var(--hairline); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid var(--hairline);
}
.faq-item.open .faq-body { max-height: 320px; }
.faq-body-inner {
  padding: 16px 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-body);
}
.faq-body-inner a { color: var(--accent); font-weight: 600; }
.faq-empty {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
/* ---------- Buying Guide（GEO 实体页） ---------- */
.guide { padding: 48px var(--page-pad) 40px; max-width: 1440px; margin: 0 auto; }
.guide .section-inner { max-width: 860px; margin: 0 auto; }
.guide-head { text-align: center; margin-bottom: 36px; }
.guide-title { font-family: var(--font-display); font-size: 38px; font-weight: 500; color: var(--ink); margin: 8px 0 12px; }
.guide-sub { font-family: var(--font-body); font-size: 15px; color: var(--muted); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.guide-byline { font: 500 12px var(--font-ui); color: var(--muted); letter-spacing: .4px; margin: 14px 0 0; text-transform: uppercase; }
.guide-block { border-top: 1px solid var(--hairline); padding: 28px 0 8px; }
.guide-block h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.guide-block h3 { font: 600 15px var(--font-ui); color: var(--ink); margin: 18px 0 6px; letter-spacing: .2px; }
.guide-block p { font-family: var(--font-body); font-size: 14px; color: var(--ink-body); line-height: 1.75; margin: 0 0 6px; }
.guide-block a { color: #8B6F47; text-decoration: underline; text-decoration-color: rgba(139,111,71,.4); }
.guide-cta { display: flex; gap: 14px; justify-content: center; border-top: 1px solid var(--hairline); padding-top: 32px; margin-top: 28px; }
@media (max-width: 720px) {
  .guide-title { font-size: 30px; }
  .guide-block h2 { font-size: 22px; }
}

/* FAQ 仓库地址卡片（后台「仓库地址」面板管理） */
.wh-intro { font: 400 14px var(--font-body); color: var(--muted); margin: 0 0 18px; }
.wh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wh-card {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
}
.wh-card-name { font: 600 15px var(--font-ui); color: var(--ink); margin: 0; }
.wh-card-addr { font: 400 13px var(--font-ui); color: var(--ink-body); margin: 0; line-height: 1.55; }
.wh-card-meta { font: 400 12px var(--font-ui); color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .wh-cards { grid-template-columns: 1fr; } }

.faq-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px var(--page-pad);
  background: var(--surface);
  text-align: center;
}
.faq-contact .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
}
.faq-contact .sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .faq-hero { padding: 48px var(--page-pad) 16px; }
  .faq-hero .title { font-size: 34px; }
  .faq-search { width: 100%; }
}
@media (max-width: 560px) {
  .faq-hero .title { font-size: 30px; }
  .faq-head { font-size: 15px; }
}

/* ============================================================
   MEMBERSHIP PAGE — Evergreen Circle
   ============================================================ */
.member-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 80px 200px;
  text-align: center;
}
.member-hero .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.15;
  color: var(--ink);
}
.member-hero .sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 760px;
}

.benefits-section {
  background: var(--surface);
  padding: 56px var(--page-pad);
}
.benefits-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 32px;
}
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.benefit-card {
  flex: 1 1 calc(33.33% - 16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 12px;
  background: var(--canvas);
}
.benefit-card svg { width: 24px; height: 24px; }
.benefit-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.benefit-card p { font-size: 13px; line-height: 1.6; color: var(--muted); }

.pricing-section {
  display: flex;
  justify-content: center;
  padding: 80px 200px;
}
.pricing-card {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--accent);
  text-align: center;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  color: var(--ink);
}
.pricing-card .per { font-size: 14px; color: var(--muted); }
.pricing-card .feature {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-body);
}
.pricing-card .btn-primary { width: 320px; max-width: 100%; }
.pricing-card .note { font-size: 12px; color: var(--faint); }

/* ============================================================
   SIGN IN / SIGN UP PAGE
   ============================================================ */
.signin-main { display: flex; align-items: flex-start; }
/* 注册模式字段多（姓名 / 电话 / 地址 / 邮箱 / 密码 / 确认密码），左侧图片跟随右栏高度一起拉伸，
   否则图片下方会空出一大片背景色 */
.page-signin.mode-register .signin-main { align-items: stretch; }
.signin-visual {
  width: 640px;
  flex: none;
  aspect-ratio: 1 / 1;
  background: var(--surface-warm) url('') center/cover;
  overflow: hidden;
}
.signin-visual img { width: 100%; height: 100%; object-fit: cover; }
.signin-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 140px;
  gap: 24px;
}
.signin-panel .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  color: var(--ink);
  text-align: center;
}
.auth-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-form .field { height: 52px; }
/* 社交平台账号（账号页 Settings）：两列网格，窄屏单列 */
.social-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.social-inputs .social-name {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
@media (max-width: 560px) { .social-inputs { grid-template-columns: 1fr; } }

/* 账号页「Saved Addresses」：一条地址一张卡，组内分列字段统一间距 */
.addr-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
}
/* 结账页：登录会员把改动回存到账号地址簿（按钮 + 结果提示同排） */
.addr-book { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.addr-book[hidden] { display: none; }   /* display:flex 会盖掉 [hidden]，需显式声明 */
.addr-book-msg { font-size: 13px; color: var(--muted); }
/* 「待补全」：从旧版单行地址迁过来的条目缺城市 / 国家，补完即消失 */
.addr-todo {
  font-size: 12px;
  color: #A66A4A;
  background: #F7EDE4;
  border-radius: 4px;
  padding: 8px 12px;
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.auth-row .remember { color: var(--ink-body); display: flex; align-items: center; gap: 8px; }
.auth-row .remember input { accent-color: var(--accent); width: 15px; height: 15px; }
.auth-row a { color: var(--accent); font-weight: 600; }
.auth-form .btn-primary { width: 100%; height: 56px; }
.auth-alt { font-size: 13px; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--accent); font-weight: 600; }
.auth-switch { text-align: center; }
.auth-error {
  display: none;
  font-size: 13px;
  color: #A66A4A;
  background: #F7EDE4;
  border-radius: 4px;
  padding: 10px 14px;
}
.auth-error.show { display: block; }
/* 成功 / 提示类消息（如「重置邮件已发送」）复用同一个提示框，换个配色 */
.auth-error.is-ok { color: #4F6B4A; background: #EDF3EC; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.auth-divider .line { flex: 1; height: 1px; background: var(--hairline); }
.auth-divider span { font-size: 12px; color: var(--faint); }
.social-row { display: flex; gap: 14px; }
.social-row button {
  flex: 1;
  height: 50px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.social-row button:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   ACCOUNT CENTER
   ============================================================ */
.account-greeting {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px var(--page-pad) 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  color: var(--ink);
}
.account-main {
  display: flex;
  gap: 40px;
  padding: 24px var(--page-pad) 80px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: flex-start;
}
.account-sidebar {
  width: 260px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-block { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.profile-block .avatar {
  width: 64px;
  height: 64px;
  border-radius: 99px;
  background: var(--clay);
}
.profile-block .name { font-size: 16px; font-weight: 600; color: var(--ink); }
.member-badge {
  padding: 6px 14px;
  border-radius: 99px;
  background: #F2EDE4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  white-space: nowrap;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-body);
  transition: background 0.2s, color 0.2s;
}
.sidebar-nav a:hover { background: #F2EDE4; color: var(--ink); }
.sidebar-nav a.active { background: #F2EDE4; color: var(--accent); font-weight: 600; }
.sidebar-nav a.signout { color: #A66A4A; }

.account-content { flex: 1; display: flex; flex-direction: column; gap: 32px; min-width: 0; }

/* Membership status card */
.membership-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px;
  border-radius: 12px;
  background: #F2EDE4;
}
.membership-card .m-left { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.membership-card .m-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
}
.membership-card .m-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.membership-card .m-detail { font-size: 13px; color: var(--muted); }
.membership-card .manage-btn {
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.membership-card .manage-btn:hover { background: var(--accent); color: #fff; }

/* Orders */
.orders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.orders-header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.order-list { display: flex; flex-direction: column; gap: 16px; }
.order-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid #E9E5DE;
}
.order-row .thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--surface-warm);
  overflow: hidden;
  flex: none;
}
.order-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-row .o-block { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.order-row .o-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.order-row .o-meta { font-size: 12px; color: var(--muted); }
.order-row .status {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.order-row .status.delivered { background: #EAF0E6; color: var(--sage); }
.order-row .status.transit { background: #F5EDE0; color: var(--accent); }
.order-row .status.cancelled { background: #F3E7E1; color: #A66A4A; }
.order-row .o-price { font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }

/* Account responsive */
@media (max-width: 1024px) {
  .signin-visual { display: none; }
  .account-main { flex-direction: column; }
  .account-sidebar { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .sidebar-nav a { flex: 1 1 30%; justify-content: center; }
}
@media (max-width: 860px) {
  .member-hero { padding: 56px var(--page-pad); }
  .member-hero .title { font-size: 40px; }
  .pricing-section { padding: 56px var(--page-pad); }
  .benefit-card { flex: 1 1 100%; }
  .membership-card { flex-direction: column; align-items: flex-start; }
  .order-row { flex-wrap: wrap; }
  .pricing-card .btn-primary { width: 100%; }
}
@media (max-width: 560px) {
  .member-hero .title { font-size: 32px; }
  .social-row { flex-direction: column; }
  .sidebar-nav a { flex: 1 1 45%; }
}

/* ============================================================
   RESPONSIVE — adaptive reflow
   ============================================================ */
@media (max-width: 1200px) {
  :root { --page-pad: 48px; }
  .story .image { width: 480px; }
  .gallery { width: 560px; }
  .footer-columns { gap: 56px; }
}

@media (max-width: 1024px) {
  .story .image { width: 100%; }
  .story { flex-direction: column; }
  .pdp-main { flex-direction: column; }
  .gallery { width: 100%; }
  .checkout-main { flex-direction: column; }
  .order-summary-col { width: 100%; }
  .testimonial { padding: 72px 64px; }
}

@media (max-width: 860px) {
  :root { --page-pad: 32px; --section-gap: 56px; }
  .nav-links { display: none; }
  .header-actions .signin { display: none; }
  .cat-grid { flex-wrap: wrap; }
  .cat-card { flex: 1 1 40%; }
  .product-grid { flex-wrap: wrap; }
  .product-card { flex: 1 1 40%; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-columns { gap: 40px; flex-wrap: wrap; }
  .testimonial { padding: 56px 32px; }
  .testimonial .quote { font-size: 24px; }
  .field-row { flex-direction: column; }
  .field-row .field--fixed { width: 100%; }
  .alt-pay { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --page-pad: 20px; --section-gap: 48px; }
  .section-title { font-size: 26px; }
  .story-copy .title { font-size: 32px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
  .cat-card, .product-card { flex: 1 1 100%; }
  .buy-row { flex-direction: column; }
  .qty-stepper { width: 100%; }
  .feature-strip { flex-wrap: wrap; gap: 24px; }
  .feature { flex: 1 1 40%; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .confirmation-card { padding: 40px 24px; }
}

/* ---------- Spec table (PDP) ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 4px 0 8px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #eee8de; vertical-align: top; }
.spec-table th { width: 34%; font-weight: 600; color: #3B3632; font-family: Inter, sans-serif; }
.spec-table td { color: #5c564f; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Comparison table (guide materials) ---------- */
.compare-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14px; }
.compare-table th, .compare-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #eee8de; vertical-align: top; }
.compare-table thead th { font-family: Inter, sans-serif; font-weight: 600; color: #3B3632; font-size: 13px; letter-spacing: .02em; }
.compare-table tbody th { font-weight: 600; color: #3B3632; white-space: nowrap; }
.compare-table td { color: #5c564f; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Quick view specs line ---------- */
.qv-specs { font-size: 13px; color: #8B6F47; letter-spacing: .02em; margin: 6px 0 2px; }

/* ---------- Modal backdrop (Quick View) & shared buttons ---------- */
[hidden] { display: none !important; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.5); padding: 24px;
}
.modal {
  position: relative; background: var(--surface, #fff); border-radius: 14px;
  padding: 32px; width: 100%; box-shadow: 0 24px 64px rgba(0,0,0,.25);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: #3B3632; font-size: 20px; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.btn-mini {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border: 1px solid var(--hairline, #e5e0d8); border-radius: 999px;
  background: #fff; color: #3B3632; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: border-color .15s ease;
}
.btn-mini:hover { border-color: #8B6F47; }
.btn-block { display: block; width: 100%; }

/* ---------- Refer-a-friend prompt (checkout confirmation) ---------- */
.refer-prompt { text-align: left; background: #faf8f4; border: 1px dashed #d8c9b0; border-radius: 10px; padding: 16px; margin: 16px 0 20px; }
.refer-prompt-title { font-size: 15px; font-weight: 600; color: #3B3632; margin: 0; }
.refer-prompt-sub { font-size: 13px; color: #5c564f; line-height: 1.5; margin: 6px 0 12px; }
.refer-prompt-row { display: flex; gap: 8px; }
.refer-prompt-row input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--hairline, #e5e0d8); border-radius: 6px; padding: 0 12px; font-size: 13px; color: #3B3632; background: #fff; }

/* ---------- Account: Share & Earn ---------- */
/* ---------- Share & Earn：推荐现金钱包 ----------
   三档金额由服务端 /api/account/me 的 referralWallet 给出（已赚 / 解冻中 / 可提现） */
.ref-wallet { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; }
.rw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rw-kicker { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0; }
.rw-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink-soft); margin: 4px 0 0; }
.rw-badge { margin: 0; font-size: 13px; color: var(--ink-soft); background: #EEF2EC; border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.rw-badge b { color: var(--sage); font-weight: 700; }
.rw-sub { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 12px 0 0; }

.rw-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.rw-code { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--surface); }
.rw-code-k { font-size: 12px; color: var(--faint); }
.rw-code strong { font-family: monospace; letter-spacing: 1.5px; color: var(--ink); }
.rw-link { display: flex; gap: 8px; flex: 1 1 260px; min-width: 0; }
.rw-link input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--surface); font-size: 13px; color: var(--ink-soft); }
.rw-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.rw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--hairline); text-align: center; }
.rw-k { font-size: 12px; color: var(--faint); margin: 0; }
.rw-v { font-size: 20px; font-weight: 700; color: var(--ink-soft); margin: 4px 0 0; }
.rw-v--pending { color: var(--clay); }
.rw-v--ok { color: var(--sage); }
.rw-hold { font-size: 12px; line-height: 1.6; color: var(--faint); margin: 14px 0 0; }

.rw-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.rw-withdraw { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rw-withdraw input { width: 130px; height: 38px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 6px; font-size: 13px; color: var(--ink-soft); }

.rw-payouts { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--hairline); }
.rw-payout { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 13px; color: var(--muted); }
.rw-payout-amt { font-weight: 600; color: var(--ink-soft); min-width: 70px; }
.rw-payout-st { margin-left: auto; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.rw-st--pending { background: #F7EDE4; color: #A66A4A; }
.rw-st--ok { background: #EEF2EC; color: var(--sage); }
.rw-st--no { background: var(--hairline-soft); color: var(--faint); }
@media (max-width: 720px) {
  .rw-stats { grid-template-columns: 1fr; }
  .rw-link { flex-basis: 100%; }
}

/* ---------- PDP social share ---------- */
.social-share { margin: 18px 0 4px; }
.social-share-label { display: block; font-size: 12px; letter-spacing: 1px; color: #a39c93; margin-bottom: 10px; text-transform: uppercase; }
.social-share-row { display: flex; gap: 10px; }
.share-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hairline, #e5e0d8);
  background: #fff; color: #3B3632; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s ease; padding: 0;
}
.share-btn svg { width: 20px; height: 20px; }
.share-btn:hover { border-color: #8B6F47; color: #8B6F47; transform: translateY(-2px); }
.share-btn[data-share="pinterest"]:hover { color: #E60023; border-color: #E60023; }
.share-btn[data-share="instagram"]:hover { color: #C13584; border-color: #C13584; }
.share-btn[data-share="facebook"]:hover { color: #1877F2; border-color: #1877F2; }
.share-btn[data-share="whatsapp"]:hover { color: #25D366; border-color: #25D366; }
.share-card-btn {
  margin-top: 12px; padding: 10px 18px; border-radius: 999px;
  border: 1px dashed #8B6F47; background: #faf8f4; color: #8B6F47;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.share-card-btn:hover { background: #f3efe8; }

/* ---------- PDP: 左栏（相册 + 设计理念卡） ---------- */
.pdp-left { width: 640px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.pdp-left .gallery { width: 100%; }

.artist-concept {
  border: 1px solid var(--hairline, #e5e0d8);
  border-radius: 14px;
  background: linear-gradient(135deg, #faf8f4, #f4f0e9);
  padding: 22px 24px 20px;
}
.concept-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.concept-icon { font-size: 16px; color: var(--accent); line-height: 1; }
.concept-head h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); margin: 0; }
.concept-body { font-family: var(--font-body); font-size: 14px; line-height: 1.75; color: var(--ink-body); margin: 0; }
.concept-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.concept-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hairline, #e5e0d8);
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--ink-soft);
}

/* ---------- PDP: 快速信息卡 ---------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 4px; }
.info-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
  padding: 14px 8px; border: 1px solid var(--hairline, #e5e0d8); border-radius: 12px; background: #fff;
}
.info-icon { font-size: 17px; line-height: 1; }
.info-card strong { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ink); }
.info-card small { font-family: var(--font-ui); font-size: 11px; color: var(--muted); line-height: 1.3; }

/* ---------- PDP: 搭配灵感 ---------- */
.btn-inspiration {
  margin-top: 12px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .15s;
}
.btn-inspiration:hover { opacity: .88; }
.style-ideas {
  margin-top: 14px; padding: 18px 20px; border-radius: 12px;
  background: #faf8f4; border: 1px solid var(--hairline, #e5e0d8);
}
.style-ideas h4 {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.style-ideas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.style-ideas li { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--ink-body); padding-left: 18px; position: relative; }
.style-ideas li::before { content: '·'; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }

/* ---------- PDP: 底部悬浮结算条（购物车有商品时出现） ---------- */
.pdp-float-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px;
  width: min(720px, calc(100% - 32px));
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--hairline, #e5e0d8);
  box-shadow: 0 14px 36px rgba(59, 54, 50, .16);
  backdrop-filter: blur(8px);
}
.pfb-cart { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; }
.pfb-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-family: var(--font-ui); font-size: 11px; font-weight: 700;
}
.pfb-label { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ink); }
.pfb-total { font-family: var(--font-ui); font-size: 13px; color: var(--muted); margin-left: auto; }
.pfb-checkout {
  flex: none; padding: 11px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; transition: opacity .15s;
}
.pfb-checkout:hover { opacity: .88; }
/* 悬浮条出现时给页面留出底部空间，避免遮住页脚 */
body.ef-floatbar-on { padding-bottom: 92px; }

/* PDP 新增区块的响应式：必须放在基础规则之后，否则同优先级下被覆盖（与 .gallery 同因） */
@media (max-width: 1200px) { .pdp-left { width: 560px; } }
@media (max-width: 1024px) { .pdp-left { width: 100%; } }
@media (max-width: 720px) { .info-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .pdp-float-bar { gap: 10px; padding-left: 14px; bottom: 12px; }
  .pfb-label { display: none; }
  .pfb-checkout { padding: 11px 18px; }
}

/* ---------- PDP: 评价区（场景筛选 + 评分卡 + 买家秀照片墙） ---------- */
.reviews-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.reviews-sub { font-family: var(--font-body); font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 560px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hairline, #e5e0d8);
  background: #fff; color: var(--ink-soft); font-family: var(--font-ui); font-size: 12px;
  font-weight: 600; cursor: pointer; transition: all .15s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.reviews-main-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.sidebar-card { background: var(--surface); border: 1px solid var(--hairline, #e5e0d8); border-radius: 14px; padding: 22px; }
.rating-header { display: flex; align-items: center; gap: 14px; }
.big-score { font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--ink); }
.rating-header .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.rating-header small { display: block; font-family: var(--font-ui); font-size: 12px; color: var(--muted); margin-top: 4px; }
.divider { border: none; border-top: 1px solid var(--hairline, #e5e0d8); margin: 18px 0; }
.compact-form { display: flex; flex-direction: column; gap: 10px; }
.compact-form h4 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 2px; }

.reviews-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wall-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--hairline, #e5e0d8); }
.wall-item img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.wall-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(20,17,14,.86), rgba(20,17,14,0));
  color: #fff; display: flex; flex-direction: column; gap: 5px;
}
.wall-stars { color: #E8C478; font-size: 12px; letter-spacing: 1px; }
.wall-quote { font-family: var(--font-body); font-size: 13px; line-height: 1.5; margin: 0; }
.wall-who { font-family: var(--font-ui); font-size: 11px; color: rgba(255,255,255,.78); }
.reviews-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) {
  .reviews-main-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Post-purchase share + follow CTA ---------- */
.refer-prompt-share { font-size: 13px; color: #5c564f; margin: 14px 0 8px; text-align: center; }
.follow-cta { text-align: center; padding: 16px; background: linear-gradient(135deg, #f3efe8, #faf8f4); border-radius: 10px; margin: 0 0 16px; }
.follow-cta-title { font-size: 15px; font-weight: 600; color: #3B3632; margin: 0; }
.follow-cta-sub { font-size: 13px; color: #5c564f; margin: 6px 0 12px; }

/* ---------- UGC shoppable feed (#FauxFlorasHome) ---------- */
.ugc-sub { font-size: 15px; color: #5c564f; margin: -4px 0 14px; max-width: 560px; line-height: 1.6; }
/* UGC 社交墙：#FauxFlorasHome 买家秀（4 列网格 + 图片右上角分类标签） */
.ugc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .ugc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .ugc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ugc-grid { grid-template-columns: 1fr; } }
.ugc-cat {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .93); color: var(--ink);
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .2px;
  backdrop-filter: blur(2px);
}
.ugc-card { cursor: pointer; margin: 0; }
.ugc-image {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center;
}
.ugc-dot {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff; background: #8B6F47; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; cursor: pointer;
  transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: transform .15s ease; padding: 0;
}
.ugc-dot::after { content: '+'; }
.ugc-dot:hover { transform: translate(-50%, -50%) scale(1.25); background: #6d5738; }
.ugc-platform {
  position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 600;
  color: #fff; background: rgba(10,10,10,.55); padding: 3px 8px; border-radius: 999px;
  backdrop-filter: blur(2px);
}
.ugc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.ugc-handle { font-size: 13px; font-weight: 600; color: #3B3632; margin: 0; }
.ugc-likes { font-size: 12px; color: #a39c93; margin: 0; }
.ugc-caption { font-size: 13px; color: #5c564f; line-height: 1.5; margin: 4px 0 0; }

/* UGC modal */
.ugc-modal { max-width: 760px; }
.ugc-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ugc-modal-image { border-radius: 12px; background-size: cover; background-position: center; aspect-ratio: 1 / 1; }
.ugc-modal-handle { font-size: 13px; font-weight: 600; color: #8B6F47; margin: 0 0 6px; }
.ugc-modal-caption { font-size: 14px; color: #3B3632; line-height: 1.55; margin: 0 0 16px; }
.ugc-tag-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--hairline, #e5e0d8); cursor: pointer;
}
.ugc-tag-row:hover .ugc-tag-name { color: #8B6F47; }
.ugc-tag-thumb { width: 48px; height: 48px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.ugc-tag-info { flex: 1; min-width: 0; }
.ugc-tag-name { font-size: 13px; font-weight: 600; color: #3B3632; margin: 0; transition: color .15s; }
.ugc-tag-price { font-size: 13px; color: #8B6F47; margin: 2px 0 0; }
@media (max-width: 900px) {
  .ugc-grid { grid-template-columns: repeat(2, 1fr); }
  .ugc-modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .ugc-grid { grid-template-columns: 1fr; } }

/* ---------- Review share consent ---------- */
.review-share-opt {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5c564f;
  margin: 12px 0; cursor: pointer;
}
.review-share-opt input { width: 16px; height: 16px; accent-color: #8B6F47; cursor: pointer; }

/* ---------- Preview-panel hint (iframe embeds) ---------- */
#ef-preview-hint {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: rgba(10,10,10,.85); color: #f5f2ec;
  padding: 8px 12px; border-radius: 999px;
  font-size: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.25);
  backdrop-filter: blur(4px); max-width: min(92vw, 520px);
}
#ef-preview-hint .ef-ph-link {
  color: #E8D9B8; font-weight: 600; text-decoration: underline; white-space: nowrap;
}
#ef-preview-hint .ef-ph-close {
  width: 20px; height: 20px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; cursor: pointer;
  font-size: 13px; line-height: 1; padding: 0; flex-shrink: 0;
}

/* ---------- Mobile sticky cart bar ---------- */
#ef-sticky-cart {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--hairline);
}
/* 抽屉打开时隐藏底部粘性条与 Cookie 横幅，避免遮挡「去结算」按钮 */
body.ef-drawer-open #ef-sticky-cart,
body.ef-drawer-open .ef-cookie { display: none !important; }
#ef-sticky-cart.show { display: block; }
.ef-sticky-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff; padding: 14px 18px; border-radius: 4px;
  font-size: 15px; font-weight: 600;
}
.ef-sticky-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  background: rgba(255,255,255,.22); border-radius: 999px; font-size: 12px; padding: 0 7px;
}
.ef-sticky-btn b { font-weight: 600; }

/* mobile: quick-add always visible (no hover) */
@media (max-width: 860px) {
  .quick-add-btn { opacity: 1; transform: none; position: static; width: 100%; margin-top: 2px; }
  .qv-btn { display: none; }
  .product-card { gap: 8px; }
}
@media (max-width: 560px) {
  .why-list { gap: 14px; }
}
