/* ============================================================
   PEPTIDE MALL — 设计系统 v3「Modern Apothecary」
   象牙白纸感底 · 墨绿主色 · 珊瑚橘强调 · Fraunces 衬线标题
   ============================================================ */

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --cream: #f1ede2;
  --ink: #1b2b24;
  --ink-2: #43554c;
  --muted: #6e7f76;
  --brand: #17493a;
  --brand-deep: #0d2e24;
  --brand-soft: #e3f0e4;
  --accent: #e4573d;
  --accent-deep: #c43f28;
  --lime: #d9f07f;
  --line: #e7e2d6;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 25, 0.05), 0 2px 8px rgba(20, 30, 25, 0.05);
  --shadow: 0 4px 18px rgba(20, 30, 25, 0.08);
  --shadow-lg: 0 18px 44px rgba(15, 30, 24, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Fraunces", Georgia, "Songti SC", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.18; }
p { margin: 0 0 10px; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.danger { color: #b3402e; }
.large { font-size: 18px; }
.small { font-size: 12.5px; }
.empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}
.notfound { padding: 96px 24px; text-align: center; }

/* ---------------- 公告条 ---------------- */
.announce {
  background: var(--brand-deep);
  color: #e8efe8;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}
.announce strong { color: var(--lime); font-weight: 600; }

/* ---------------- 信任跑马灯 ---------------- */
.trust-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-group { display: inline-flex; }
.marquee-item {
  display: inline-block;
  padding: 10px 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------------- 导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--lime);
  font-size: 15px;
}
.nav-search {
  display: flex;
  flex: 1;
  max-width: 380px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23, 73, 58, 0.12);
}
.nav-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--ink);
}
.nav-search button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  padding: 0 16px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  font-size: 14px;
}
.nav-links a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--cream); color: var(--ink); }
.nav-links > a[aria-current="page"] { background: var(--cream); color: var(--ink); font-weight: 600; }
.nav-user { color: var(--brand) !important; font-weight: 600; }
.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
}
.nav-cta:hover { background: var(--brand-deep) !important; color: #fff !important; }
.inline-form { display: inline; }
.link-btn {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 999px;
}
.link-btn:hover { background: var(--cream); color: var(--ink); }

/* ---------------- 语言切换 ---------------- */
.lang-switch { position: relative; display: inline-block; margin-inline-start: 4px; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  background: var(--surface);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--brand); color: var(--brand); }
.lang-switch ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  margin: 0;
  list-style: none;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  z-index: 80;
}
.lang-switch li a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
}
.lang-switch li a:hover { background: var(--cream); }
.lang-active { color: var(--brand) !important; font-weight: 700; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  top: -280px;
  inset-inline-end: -180px;
  background: radial-gradient(circle at 42% 42%, rgba(217, 240, 127, 0.4), rgba(217, 240, 127, 0) 64%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  bottom: -240px;
  inset-inline-start: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(23, 73, 58, 0.09), rgba(23, 73, 58, 0) 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 52ch; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  max-width: 480px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.trust-item span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
}
.hero-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  transition: transform 0.28s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 44px;
  min-height: 150px;
}
.hero-card img {
  width: 88%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(16, 26, 20, 0.18));
}
.hero-card.tall { grid-row: span 2; transform: rotate(-2.5deg); }
.hero-visual .hero-card:nth-child(2) { transform: rotate(2deg) translateY(8px); }
.hero-visual .hero-card:nth-child(3) { transform: rotate(-1.2deg); }
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-card-name {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.hero-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: -14px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 9px 14px;
  z-index: 2;
}
.hero-badge strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.hero-badge .muted { font-size: 11px; display: block; line-height: 1.3; }
.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex: none;
}
.hero-pill {
  position: absolute;
  bottom: 14px;
  inset-inline-end: -10px;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(196, 63, 40, 0.4);
  padding: 10px 16px;
  z-index: 2;
}
.hero-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-pill span { font-size: 10.5px; opacity: 0.92; display: block; }

/* ---------------- 目标选择器 ---------------- */
.goals-section { padding-bottom: 0; }
.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.goal-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint, var(--cream));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
  display: block;
}
.goal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.goal-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.goal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 18, 0) 35%, rgba(10, 24, 18, 0.72) 100%);
}
.goal-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.goal-arrow {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--brand);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.goal-card:hover .goal-arrow { transform: translateX(3px); background: var(--brand); color: #fff; }
html[dir="rtl"] .goal-arrow { right: auto; left: 12px; }
html[dir="rtl"] .goal-card:hover .goal-arrow { transform: translateX(-3px); }

/* ---------------- 区块通用 ---------------- */
.section { padding: 84px 0; }
.section-tight { padding: 52px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
  white-space: nowrap;
}
.section-more:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--brand); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-primary {
  background: linear-gradient(180deg, #1d5c48 0%, var(--brand) 100%);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 73, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { background: linear-gradient(180deg, #22684f 0%, #1a5443 100%); border-color: var(--brand); color: #fff; }
.btn-ghost { background: transparent; }
.btn-disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-disabled:hover { transform: none; box-shadow: none; }
.btn-faved { background: #fbe3dd; border-color: var(--accent); color: var(--accent-deep); }
.btn-added { background: var(--brand) !important; color: #fff !important; }

/* ---------------- 数据带 ---------------- */
.stats-band {
  background: linear-gradient(130deg, var(--brand-deep) 0%, var(--brand) 60%, #1d5c48 100%);
  color: #fff;
  padding: 38px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.stat-item span { font-size: 13px; color: #cfe0cf; }

/* ---------------- 明星方案 ---------------- */
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spot-card {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand) 55%, #1d5c48 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 230px 1fr;
  box-shadow: var(--shadow-lg);
}
.spot-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--surface);
}
.spot-media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(16, 26, 20, 0.2));
}
.spot-media .badge-chip { background: var(--lime); color: var(--brand-deep); }
.spot-body { padding: 26px 26px 24px; display: flex; flex-direction: column; }
.spot-body h3 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; font-family: var(--font-display); font-weight: 600; }
.spot-tagline { font-size: 13px; color: #bcd6bd; margin: 0 0 14px; }
.spot-list { list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; }
.spot-list li { padding: 3px 0 3px 24px; position: relative; color: #e2efe2; }
.spot-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--lime);
  font-weight: 800;
}
html[dir="rtl"] .spot-list li { padding: 3px 24px 3px 0; }
.spot-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.spot-price strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.spot-price span { font-size: 12px; color: #bcd6bd; margin-inline-start: 4px; }
.spot-card .btn { background: var(--lime); border-color: var(--lime); color: var(--brand-deep); }
.spot-card .btn:hover { background: #e6f7a0; border-color: #e6f7a0; color: var(--brand-deep); }

/* ---------------- 分类卡 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.cat-name { font-weight: 700; font-size: 16.5px; margin: 0 0 4px; letter-spacing: -0.01em; }
.cat-desc { font-size: 13px; color: var(--muted); margin: 0 0 16px; flex: 1; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; }
.cat-link { font-size: 13px; font-weight: 700; color: var(--brand); }
.cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------------- 商品卡片 ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-link { display: block; }
.card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(16, 26, 20, 0.14));
  transition: transform 0.28s var(--ease);
}
.product-card:hover .card-img img { transform: scale(1.045); }
.img-placeholder { color: var(--muted); font-size: 13px; }
.img-placeholder.large { font-size: 16px; padding: 40px; }
.badge-chip {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.rx-chip {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.card-body { padding: 16px 18px 18px; }
.card-title {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card-tagline {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.card-price-row { display: flex; align-items: baseline; gap: 5px; }
.card-price { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.card-period { font-size: 12px; color: var(--muted); font-weight: 500; }
.card-stock { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.faved-tag { color: var(--accent); margin-inline-start: 6px; }

/* ---------------- 痛点叙事 ---------------- */
.pain-band {
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(228, 87, 61, 0.14), transparent),
    linear-gradient(160deg, #0f231c 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 84px 0;
}
.pain-eyebrow { color: #f0a08e; }
.pain-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  max-width: 22ch;
}
.pain-sub { color: #b8cdc2; max-width: 62ch; margin-bottom: 40px; font-size: 16px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(6px);
}
.pain-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--lime);
  font-weight: 600;
}
.pain-card p { margin: 0; font-size: 13.5px; color: #c6d8cd; }

/* ---------------- 一年旅程线 ---------------- */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.journey-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  position: relative;
}
.journey-card:nth-child(2) { border-top-color: #3c7a5f; }
.journey-card:nth-child(3) { border-top-color: #77a464; }
.journey-card:nth-child(4) { border-top-color: var(--accent); }
.journey-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--line);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.journey-card h3 { margin: 0 0 6px; font-size: 15.5px; }
.journey-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------------- 三步流程 ---------------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.how-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}
.how-card h3 { margin: 0 0 8px; font-size: 16.5px; }
.how-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------------- 对比表 ---------------- */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td {
  padding: 16px 22px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th { font-size: 13px; font-weight: 700; background: var(--cream); }
.compare-table thead th.col-us { color: var(--brand); font-size: 15px; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td { background: #fbfaf6; }
.compare-label { font-weight: 700; color: var(--ink-2); width: 26%; }
.col-us { background: #f2f8f0; width: 37%; }
.compare-table td.col-us { font-weight: 600; color: var(--brand); }
.yes { color: #15803d; font-weight: 800; margin-inline-end: 6px; }
.no { color: #c2c9c0; font-weight: 800; margin-inline-end: 6px; }
.col-others { color: var(--muted); }

/* ---------------- 评价 ---------------- */
.reviews-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reviews-sub strong { color: var(--ink); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.quote-text { font-size: 14.5px; margin: 12px 0 14px; }
.quote-meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.stars { color: #e8a33d; letter-spacing: 2px; font-size: 14px; }
.stars-empty { color: var(--line); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 17px 22px;
  list-style: none;
  position: relative;
  padding-inline-end: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--brand);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); font-size: 14px; }

/* ---------------- CTA / 合规 ---------------- */
.cta-band {
  background:
    radial-gradient(1100px 380px at 18% -30%, rgba(217, 240, 127, 0.16), transparent),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 65%, #1d5c48 100%);
  color: #fff;
  padding: 68px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.cta-band p { margin: 0; color: #cfe0cf; font-size: 15px; }
.cta-btn {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--brand-deep);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.cta-btn:hover { background: #e6f7a0; border-color: #e6f7a0; color: var(--brand-deep); }
.disclaimer-band {
  background: #0a1f18;
  color: #7f958a;
  font-size: 12px;
  padding: 18px 0;
  text-align: center;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--brand-deep);
  color: #cfe0cf;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.footer-tag { color: var(--lime); font-size: 13px; margin-bottom: 8px; }
.site-footer .muted { color: #8ba697; font-size: 13px; }
.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8ba697;
}

/* ---------------- 列表页 ---------------- */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all 0.18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-active:hover { color: #fff; }
.sort-bar { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sort-item {
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.sort-item:hover { color: var(--ink); }
.sort-active { color: var(--brand); border-bottom-color: var(--brand); }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 36px 0 8px; }
.pager a {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.18s;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager-info { font-size: 13px; color: var(--muted); }
.pager-disabled { padding: 9px 20px; font-size: 13.5px; color: var(--muted); opacity: 0.55; }
.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 10px;
  border-radius: 999px;
}
.price { font-family: var(--font-display); font-weight: 600; }

/* ---------------- 详情页 ---------------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 22px 0 4px; }
.breadcrumb a:hover { color: var(--brand); }
.product-detail { padding-bottom: 40px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 18px;
}
.detail-img {
  border-radius: 28px;
  position: sticky;
  top: 96px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.detail-img img {
  max-width: 94%;
  max-height: 94%;
  filter: drop-shadow(0 24px 30px rgba(16, 26, 20, 0.18));
}
.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}
.detail-tagline { color: var(--ink-2); font-size: 15.5px; margin-bottom: 16px; }
.detail-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.detail-price { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; color: var(--brand); }
.detail-per { color: var(--muted); font-size: 14px; }
.detail-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.detail-stock { font-size: 13.5px; color: var(--ink-2); margin-bottom: 18px; }
.detail-stock strong { color: #15803d; }
.detail-stock.is-out strong { color: #b3402e; }
.rx-notice {
  background: #fdf3e7;
  border: 1px solid #f0d9b8;
  color: #8a5a1f;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.included, .detail-desc, .buy-note {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.included h2, .detail-desc h2, .buy-note h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
}
.included ul, .buy-note ul { margin: 0; padding: 0; list-style: none; }
.included li, .buy-note li {
  padding: 5px 0 5px 26px;
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
}
.included li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.buy-note li::before { content: "·"; position: absolute; inset-inline-start: 8px; color: var(--accent); font-weight: 800; }
html[dir="rtl"] .included li, html[dir="rtl"] .buy-note li { padding: 5px 26px 5px 0; }
html[dir="rtl"] .included li::before, html[dir="rtl"] .buy-note li::before { inset-inline-start: auto; inset-inline-end: 0; }
.detail-desc p { color: var(--ink-2); font-size: 14.5px; }

/* ---------------- 评价（详情页） ---------------- */
.reviews { margin-top: 56px; }
.review-list { list-style: none; margin: 0; padding: 0; }
.review-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 12px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-content { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.review-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.review-form h3 { margin: 0 0 14px; font-size: 16px; }
.review-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.review-form select, .review-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: inherit;
  background: var(--bg);
}
.review-form textarea { resize: vertical; }

/* ---------------- 购物车 / 结算 / 支付 ---------------- */
.cart-root { padding: 40px 0 64px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.cart-info { flex: 1; }
.cart-info h3 { margin: 0 0 2px; font-size: 15px; }
.cart-info .muted { font-size: 12.5px; }
.remove { color: var(--muted); font-size: 13px; }
.remove:hover { color: var(--accent); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 17px;
  font-weight: 700;
  margin: 14px 0;
}
.cart-total .price { font-family: var(--font-display); font-size: 26px; }
.subtotal { font-size: 13.5px; color: var(--muted); text-align: right; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: var(--ink-2); }
.discount { color: #15803d; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty a, .qty button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.qty button:disabled { opacity: 0.32; cursor: not-allowed; }
.qty-num { min-width: 30px; text-align: center; font-weight: 600; font-size: 14px; }
.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 24px; padding: 36px 0 64px; align-items: start; }
.checkout-page { padding-top: 36px; }
.checkout-page .checkout-layout { padding-top: 20px; }
.checkout-form section + section { margin-top: 22px; }
.checkout-form section > label {
  display: block;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.checkout-form section > label input,
.checkout-form section > label textarea,
.checkout-form section > select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 14.5px;
}
.checkout-form section > label textarea { min-height: 76px; resize: vertical; }
.checkout-form section > select { margin-top: 0; }
.checkout-form .address-picker { margin-bottom: 18px; }
#checkout-submit { width: 100%; margin-top: 12px; }
.checkout-form .muted { margin-top: 10px; font-size: 12.5px; }
.checkout-form, .checkout-side, .pay-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.checkout-items { border-bottom: 1px solid var(--line); margin-bottom: 14px; padding-bottom: 8px; }
.checkout-line { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 6px 0; color: var(--ink-2); }
.checkout-line-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.checkout-line-sku { font-size: 12px; color: var(--muted); }
.checkout-line .price { color: var(--ink); }
.form-title { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.pay-amount { font-family: var(--font-display); font-size: 42px; font-weight: 600; color: var(--brand); letter-spacing: -0.02em; }
.pay-box { text-align: center; padding: 44px 28px; }

/* ---------------- 订单 ---------------- */
.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
}
.order-page { padding-block: 38px 64px; }
.order-page-inner { max-width: 1040px; margin: 0 auto; }
.pay-page { padding-block: 48px 72px; }
.pay-page .pay-box { max-width: 560px; margin: 0 auto; }
.order-items { list-style: none; border-top: 1px solid var(--line); margin: 12px 0 0; padding: 8px 0 0; }
.order-item { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.order-item:first-child { border-top: 0; }
.order-item img { flex: none; width: 58px; height: 58px; padding: 6px; border-radius: 10px; background: var(--bg); object-fit: contain; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-info a { font-weight: 600; }
.order-item-sub { flex: none; color: var(--brand); font-family: var(--font-display); font-size: 16px; }
.order-item-sub { color: var(--muted); font-size: 12.5px; }
.order-amounts { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 8px; }
.order-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; padding-top: 6px; }
.order-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.order-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}
.status-pending { background: #fdf3e7; color: #8a5a1f; }
.status-paid { background: #e3f0e4; color: #15803d; }
.status-shipped { background: #e0eef8; color: #1c6ba0; }
.status-completed { background: #eae6f6; color: #5b4a9e; }
.status-cancelled { background: #f5e0dc; color: #b3402e; }
.timeline { margin: 18px 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 18px 26px; font-size: 13.5px; color: var(--ink-2); }
.timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline li:last-child::after { display: none; }
html[dir="rtl"] .timeline li { padding: 0 26px 18px 0; }
html[dir="rtl"] .timeline li::before { left: auto; right: 6px; }
html[dir="rtl"] .timeline li::after { left: auto; right: 9px; }

/* ---------------- 表单 / 认证 ---------------- */
input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], select, textarea {
  font-family: var(--font-body);
}
form input, form select, form textarea {
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23, 73, 58, 0.12);
}
/* ---------------- 登录 / 注册 ---------------- */
.auth-page { padding-block: 54px 84px; }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(23, 73, 58, 0.1);
  border-radius: 30px;
  background: var(--surface);
  box-shadow:
    0 36px 80px -28px rgba(15, 30, 24, 0.3),
    0 2px 6px rgba(15, 30, 24, 0.04);
  animation: auth-rise 0.6s var(--ease) both;
}
@keyframes auth-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 44px 36px;
  color: #f5f2e9;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(217, 240, 127, 0.16), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(228, 87, 61, 0.15), transparent 55%),
    linear-gradient(155deg, #1b5140 0%, #17493a 45%, #0d2e24 100%);
}
.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.auth-aside::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset-block-start: -150px;
  inset-inline-end: -130px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(217, 240, 127, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(217, 240, 127, 0.035),
    0 0 0 66px rgba(217, 240, 127, 0.025);
  pointer-events: none;
}
.auth-aside > * { position: relative; z-index: 1; }

.auth-aside-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-brand { display: flex; align-items: center; gap: 10px; }
.auth-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--brand-deep);
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.auth-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.auth-aside-star { font-family: var(--font-display); font-size: 24px; color: var(--lime); opacity: 0.75; }

.auth-aside-body { display: grid; gap: 16px; }
.auth-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, 0.58);
}
.auth-kicker::before { content: ""; width: 20px; height: 1px; background: var(--lime); opacity: 0.8; }
.auth-quote {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.auth-copy {
  margin: 0;
  max-width: 38ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.68);
}
.auth-trust { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 9px; }
.auth-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(245, 242, 233, 0.82);
}
.auth-trust .auth-check { flex: none; color: var(--lime); opacity: 0.9; }

.auth-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.auth-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-step:first-child { padding-top: 0; border-top: 0; }
.auth-step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--lime);
}
.auth-step-body { display: grid; gap: 2px; }
.auth-step-body strong { font-size: 12.5px; font-weight: 600; line-height: 1.4; color: #fff; }
.auth-step-body span { font-size: 11.5px; line-height: 1.55; color: rgba(245, 242, 233, 0.58); }

.auth-aside-foot { display: grid; gap: 12px; }
.auth-perk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(217, 240, 127, 0.28);
  border-radius: 14px;
  background: rgba(217, 240, 127, 0.06);
}
.auth-perk-label { font-size: 12px; font-weight: 600; line-height: 1.4; color: rgba(245, 242, 233, 0.78); }
.auth-perk-code {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--brand-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 52px;
  background:
    radial-gradient(70% 55% at 100% 0%, rgba(217, 240, 127, 0.14), transparent 60%),
    linear-gradient(180deg, #fffdf9 0%, var(--surface) 60%);
}
.auth-card { width: 100%; max-width: 460px; margin: 0 auto; }
.auth-mobile-brand { display: none; align-items: center; gap: 9px; margin-bottom: 22px; }
.auth-mobile-brand .auth-brand-mark { background: var(--brand); color: var(--lime); box-shadow: none; }
.auth-mobile-brand .auth-brand-name { color: var(--ink); font-size: 17px; }

.auth-head { margin-bottom: 26px; }
.auth-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.auth-lede { margin: 0; max-width: 40ch; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 20px;
  padding: 11px 13px;
  border: 1px solid #f0c9c2;
  border-radius: 12px;
  background: #fdf2ef;
  color: #a53f2d;
  font-size: 12.5px;
  line-height: 1.55;
}
.auth-alert svg { flex: none; margin-top: 1px; }

.auth-form { display: grid; gap: 16px; }
.auth-field { display: grid; gap: 7px; animation: auth-field-in 0.5s var(--ease) both; }
.auth-field:nth-of-type(2) { animation-delay: 0.05s; }
.auth-field:nth-of-type(3) { animation-delay: 0.1s; }
.auth-field:nth-of-type(4) { animation-delay: 0.15s; }
@keyframes auth-field-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.auth-label-row label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.auth-hint { font-size: 11px; line-height: 1.4; color: var(--muted); }

.auth-control { position: relative; }
.auth-control input {
  width: 100%;
  height: 52px;
  padding-inline: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.auth-control input::placeholder { color: #9aa69e; }
.auth-control input:hover { border-color: #cfc9bb; }
.auth-control input:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(23, 73, 58, 0.1);
}
.auth-control input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px var(--bg) inset;
  -webkit-text-fill-color: var(--ink);
}
.auth-control:focus-within .auth-icon { color: var(--brand); }
.auth-icon {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #8a9a90;
  pointer-events: none;
  transition: color 0.18s;
}

.auth-eye-btn {
  position: absolute;
  inset-inline-end: 7px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a9a90;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.auth-eye-btn:hover { color: var(--brand); background: rgba(23, 73, 58, 0.06); }
.auth-eye-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.auth-eye { display: flex; }
.auth-eye svg { width: 19px; height: 19px; }
.auth-eye-hide { display: none; }
.auth-eye-btn.is-visible .auth-eye-show { display: none; }
.auth-eye-btn.is-visible .auth-eye-hide { display: flex; }

.auth-submit { width: 100%; min-height: 52px; margin-top: 4px; gap: 12px; }
.auth-submit-arrow { transition: transform 0.2s var(--ease); }
.auth-submit:hover .auth-submit-arrow { transform: translateX(4px); }
.auth-submit:active { transform: translateY(0); box-shadow: none; }

.auth-switch { margin: 22px 0 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
.auth-switch a {
  margin-inline-start: 4px;
  padding-bottom: 1px;
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1px solid rgba(23, 73, 58, 0.28);
  transition: color 0.18s, border-color 0.18s;
}
.auth-switch a:hover { color: var(--brand-deep); border-color: var(--brand-deep); }
.auth-switch a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.auth-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.auth-secure svg { flex: none; opacity: 0.8; }

html[dir="rtl"] .auth-kicker,
html[dir="rtl"] .auth-label-row label { letter-spacing: 0; }
html[dir="rtl"] .auth-brand-name,
html[dir="rtl"] .auth-title,
html[dir="rtl"] .auth-quote { letter-spacing: 0; }
html[dir="rtl"] .auth-title { line-height: 1.2; }
html[dir="rtl"] .auth-quote { line-height: 1.3; }
html[dir="rtl"] .auth-submit-arrow { transform: scaleX(-1); }
html[dir="rtl"] .auth-submit:hover .auth-submit-arrow { transform: scaleX(-1) translateX(-4px); }

@media (max-width: 960px) {
  .auth-page { padding-block: 32px 64px; }
  .auth-shell { grid-template-columns: 1fr; max-width: 620px; }
  .auth-aside { padding: 30px 32px; gap: 20px; }
  .auth-aside-body { gap: 10px; }
  .auth-quote { max-width: 22ch; font-size: 32px; }
  .auth-copy, .auth-trust, .auth-steps, .auth-aside-foot { display: none; }
  .auth-aside-star { font-size: 20px; }
  .auth-main { padding: 36px 32px 40px; }
  .auth-card { max-width: 460px; }
}

@media (max-width: 640px) {
  .auth-page { padding-block: 22px 44px; }
  .auth-shell { border-radius: 22px; }
  .auth-aside { display: none; }
  .auth-main { padding: 28px 22px 30px; background: var(--surface); }
  .auth-card { max-width: none; }
  .auth-mobile-brand { display: flex; }
  .auth-title { font-size: 34px; }
  .auth-lede { font-size: 13px; }
  .auth-control input { height: 50px; }
  .auth-submit { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-shell,
  .auth-field { animation: none; }
  .auth-submit-arrow { transition: none; }
}

.alert-error {
  background: #f5e0dc;
  color: #b3402e;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 16px;
}
.alert-success {
  background: #e3f0e4;
  color: #15803d;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

/* ---------------- 地址簿 ---------------- */
.address-list, .address-picker { display: grid; gap: 10px; }
.address-item, .address-option {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface);
}
.address-option { cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.address-option input { margin-top: 3px; accent-color: var(--brand); }
.address-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.address-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.address-form input, .address-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  background: var(--bg);
}
.inline-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.inline-check input { accent-color: var(--brand); }

/* ---------------- 收藏 ---------------- */
.fav-remove { font-size: 12.5px; color: var(--muted); }

/* ---------------- 账户中心 ---------------- */
.account-hub {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 40px 72px;
}
.account-hub-main { min-width: 0; }

.account-nav { position: sticky; top: 92px; min-width: 0; }
.account-nav-inner {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.account-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.account-nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}
.account-nav-user-text { min-width: 0; }
.account-nav-user-text strong { display: block; font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.account-nav-user-text span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-nav-list { display: grid; gap: 3px; min-width: 0; max-width: 100%; margin-top: 14px; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.account-nav-item:hover { background: var(--bg); color: var(--brand); }
.account-nav-item.is-active { background: var(--brand); color: #fff; }
.account-nav-item.is-active:hover { background: var(--brand); color: #fff; }
.account-nav-icon { flex: none; width: 17px; height: 17px; color: var(--muted); transition: color 0.18s; }
.account-nav-item:hover .account-nav-icon { color: var(--brand); }
.account-nav-item.is-active .account-nav-icon { color: var(--lime); }
.account-nav-logout { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.account-nav-exit { color: var(--muted); }
.account-nav-exit:hover { color: var(--accent-deep); background: #fdf2ef; }
.account-nav-exit:hover .account-nav-icon { color: var(--accent-deep); }
.account-nav-help {
  display: grid;
  gap: 3px;
  margin-top: 16px;
  padding: 14px 2px 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.account-nav-help-mark { color: var(--brand); font-size: 11px; }
.account-nav-help strong { display: block; color: var(--ink-2); font-size: 11.5px; font-weight: 600; }

.account-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 2px 0 26px;
}
.account-page-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.account-page-eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brand); opacity: 0.5; }
.account-page-title {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.account-page-lede { max-width: 50ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.account-page-count { flex: none; padding-bottom: 3px; color: var(--muted); font-size: 11px; white-space: nowrap; }

.account-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 44px;
  border-radius: 24px;
  color: #f5f2e9;
  background:
    radial-gradient(110% 100% at 0% 0%, rgba(217, 240, 127, 0.16), transparent 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(228, 87, 61, 0.12), transparent 58%),
    linear-gradient(135deg, #1b5140 0%, #17493a 52%, #0c2d23 100%);
  box-shadow: 0 26px 60px -30px rgba(15, 30, 24, 0.4);
}
.account-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.account-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset-block-start: -170px;
  inset-inline-end: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(217, 240, 127, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(217, 240, 127, 0.035),
    0 0 0 66px rgba(217, 240, 127, 0.025);
  pointer-events: none;
}
.account-hero-main { position: relative; z-index: 1; max-width: 560px; }
.account-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: rgba(245, 242, 233, 0.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.account-kicker-line { width: 20px; height: 1px; background: var(--lime); opacity: 0.85; }
.account-title {
  max-width: 18ch;
  margin: 0 0 11px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.account-hero-lede {
  max-width: 40ch;
  margin: 0;
  color: rgba(245, 242, 233, 0.7);
  font-size: 13px;
  line-height: 1.7;
}
.account-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 12px 0 0;
  color: rgba(245, 242, 233, 0.48);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}
.account-hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: rgba(217, 240, 127, 0.5); }
.account-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.account-btn-lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.account-btn-lime:hover { background: #e7f7a5; border-color: #e7f7a5; color: var(--brand-deep); }
.account-btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.account-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.account-hero-star {
  position: absolute;
  inset-inline-end: 26px;
  inset-block-end: -16px;
  z-index: 0;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 176px;
  line-height: 1;
  opacity: 0.075;
  pointer-events: none;
  transform: rotate(8deg);
}

.account-block, .account-recent { margin-top: 32px; }
.account-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.account-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.account-section-note { color: var(--muted); font-size: 11px; white-space: nowrap; }
.account-text-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(23, 73, 58, 0.25);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.account-text-link:hover { color: var(--brand-deep); border-color: var(--brand-deep); }
.account-text-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.account-stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 124px;
  padding: 17px 17px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
}
.account-stat:hover { transform: translateY(-2px); border-color: rgba(23, 73, 58, 0.3); box-shadow: 0 12px 28px -18px rgba(15, 30, 24, 0.28); }
.account-stat.is-active { border-color: rgba(23, 73, 58, 0.26); background: #fffdf8; }
.account-stat.is-active::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--lime); }
.account-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2ea;
  color: var(--brand);
}
.account-stat[data-status="pending"] .account-stat-icon { background: #fbf0e3; color: #a5612f; }
.account-stat[data-status="paid"] .account-stat-icon { background: #eaf1e5; color: #376b4c; }
.account-stat[data-status="shipped"] .account-stat-icon { background: #e7f0f5; color: #2f647b; }
.account-stat[data-status="completed"] .account-stat-icon { background: #e5f1e8; color: #2f7a51; }
.account-stat-count {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.account-stat:not(.is-active) .account-stat-count { color: #7f8e86; }
.account-stat.is-active .account-stat-count { color: var(--brand); }
.account-stat-label { color: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.account-stat-arrow {
  position: absolute;
  inset-inline-end: 15px;
  inset-block-end: 13px;
  color: var(--muted);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.account-stat:hover .account-stat-arrow { opacity: 1; transform: translateX(0); }

.account-order, .account-order * { box-sizing: border-box; }
.account-orders { display: grid; gap: 10px; }
.account-order {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
}
.account-order:hover { transform: translateY(-1px); border-color: rgba(23, 73, 58, 0.3); box-shadow: 0 12px 28px -20px rgba(15, 30, 24, 0.24); }
.account-order-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  padding: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg);
}
.account-order-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(16, 26, 20, 0.12)); }
.account-order-thumb-fallback { color: var(--brand); font-family: var(--font-display); font-size: 24px; opacity: 0.35; }
.account-order-main { display: grid; gap: 3px; min-width: 0; }
.account-order-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.account-order .order-status { padding: 3px 9px; font-size: 10.5px; line-height: 1.4; }
.account-order-date { color: var(--muted); font-size: 10.5px; }
.account-order-name { overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.account-order-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--muted); font-size: 11px; }
.account-order-sub i { font-style: normal; opacity: 0.5; }
.account-order-side { display: grid; gap: 3px; text-align: end; }
.account-order-total { color: var(--brand); font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.account-order-detail { color: var(--muted); font-size: 10.5px; transition: color 0.18s; }
.account-order-detail span { display: inline-block; transition: transform 0.18s; }
.account-order:hover .account-order-detail { color: var(--brand); }
.account-order:hover .account-order-detail span { transform: translateX(3px); }

.account-reorder {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7f9ef 0%, #f0f4e5 100%);
}
.account-reorder-thumb { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; padding: 7px; overflow: hidden; border-radius: 12px; background: var(--surface); }
.account-reorder-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(16, 26, 20, 0.12)); }
.account-reorder-body { min-width: 0; }
.account-reorder-kicker { margin: 0 0 3px; color: var(--brand); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.account-reorder-body h3 { overflow: hidden; margin: 0 0 2px; font-size: 13px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.account-reorder-body p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.account-reorder-btn { flex: none; padding: 8px 15px; border-color: rgba(23, 73, 58, 0.22); background: var(--surface); color: var(--brand); font-size: 11.5px; }
.account-reorder-btn:hover { border-color: var(--brand); background: var(--brand); color: #fff; }

.account-empty {
  padding: 42px 24px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
}
.account-empty-star { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; background: var(--brand); color: var(--lime); font-size: 18px; }
.account-empty h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.account-empty p { max-width: 38ch; margin: 0 auto 18px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.account-empty .btn { margin-top: 2px; }

.account-tabs { margin-bottom: 18px; }
.account-tabs .chip { font-size: 11.5px; padding: 6px 12px; }

.account-favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.account-favorites-grid .fav-cell { min-width: 0; }
.account-favorites-grid .fav-remove { margin-top: 6px; text-align: end; }
.account-favorites-grid .fav-remove button { font-size: 11.5px; }

.account-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.account-address-card {
  position: relative;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.account-address-card.is-default { border-color: rgba(23, 73, 58, 0.25); background: #fffdf8; }
.account-address-card.is-default::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--lime); }
.account-address-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.account-address-top strong { color: var(--ink); font-size: 13px; }
.account-address-top > span:not(.tag) { color: var(--muted); font-size: 11.5px; }
.account-address-line { margin: 10px 0 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.account-address-actions { display: flex; gap: 14px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.account-address-actions .link-btn { font-size: 11.5px; }

.account-form-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.account-form-card + .account-form-card { margin-top: 16px; }
.account-form-head { margin-bottom: 18px; }
.account-form-head h2 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.account-form { display: grid; gap: 15px; }
.account-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-field { display: grid; gap: 6px; color: var(--ink-2); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; }
.account-field input, .account-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  outline: none;
  text-transform: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.account-field input { height: 44px; }
.account-field textarea { min-height: 86px; resize: vertical; }
.account-field input:hover, .account-field textarea:hover { border-color: #cfc9bb; }
.account-field input:focus, .account-field textarea:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px rgba(23, 73, 58, 0.1); }
.account-field small { color: var(--muted); font-size: 10.5px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.account-field-readonly input { background: var(--cream); color: var(--muted); cursor: not-allowed; }
.account-check { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 12px; }
.account-check input { accent-color: var(--brand); }
.account-form-submit { justify-self: start; margin-top: 2px; }
.account-form-card-narrow { max-width: 620px; }
.account-form-card .auth-form { max-width: none; }
.account-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #cfe3d4;
  border-radius: 12px;
  background: #f1f8f2;
  color: #2f6b45;
  font-size: 12.5px;
  line-height: 1.5;
}
.account-success span:first-child { color: var(--brand); }

.account-profile-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.account-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.account-profile-identity { min-width: 0; }
.account-profile-identity h2 { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.account-profile-identity p { overflow: hidden; margin: 2px 0 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-profile-since { margin-inline-start: auto; color: var(--muted); font-size: 10.5px; white-space: nowrap; }

.account-reviews { display: grid; gap: 12px; }
.account-review-card { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.account-review-product { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.account-review-thumb { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; padding: 5px; overflow: hidden; border-radius: 10px; background: var(--bg); }
.account-review-thumb img { width: 100%; height: 100%; object-fit: contain; }
.account-review-product-name { overflow: hidden; font-size: 12px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.account-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.account-review-stars { color: var(--accent); font-size: 12px; letter-spacing: 0.08em; }
.account-review-date { color: var(--muted); font-size: 10.5px; }
.account-review-content { margin: 7px 0 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.7; }

html[dir="rtl"] .account-title,
html[dir="rtl"] .account-page-title,
html[dir="rtl"] .account-h2,
html[dir="rtl"] .account-reorder-body h3 { letter-spacing: 0; line-height: 1.28; }
html[dir="rtl"] .account-kicker,
html[dir="rtl"] .account-hero-meta,
html[dir="rtl"] .account-page-eyebrow,
html[dir="rtl"] .account-field,
html[dir="rtl"] .account-reorder-kicker { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .account-nav-exit .account-nav-icon { transform: scaleX(-1); }
html[dir="rtl"] .account-order-detail span { transform: scaleX(-1); }
html[dir="rtl"] .account-order:hover .account-order-detail span { transform: scaleX(-1) translateX(-3px); }
html[dir="rtl"] .account-hero-star { transform: rotate(-8deg); }

@media (max-width: 1100px) {
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .account-hub { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 24px 48px; }
  .account-nav { position: static; }
  .account-nav-inner { min-width: 0; padding: 14px; border-radius: 16px; }
  .account-nav-user { padding-bottom: 0; border-bottom: 0; }
  .account-nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 13px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .account-nav-list::-webkit-scrollbar { display: none; }
  .account-nav-list > a,
  .account-nav-logout .account-nav-item {
    flex: none;
    width: auto;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 11.5px;
    white-space: nowrap;
  }
  .account-nav-list > a.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }
  .account-nav-item .account-nav-icon { width: 15px; height: 15px; }
  .account-nav-logout { display: contents; }
  .account-nav-help { display: none; }
  .account-page-head { margin-top: 4px; }
}

@media (max-width: 640px) {
  .account-hub { padding-block: 20px 40px; gap: 14px; }
  .account-page-head { align-items: flex-start; margin-bottom: 22px; }
  .account-page-title { font-size: 31px; }
  .account-page-lede { font-size: 12.5px; }
  .account-page-count { padding-top: 8px; font-size: 10.5px; }
  .account-hero { padding: 28px 23px 24px; border-radius: 20px; }
  .account-title { font-size: 34px; }
  .account-hero-lede { font-size: 12.5px; }
  .account-hero-actions { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .account-hero-actions .btn { width: 100%; }
  .account-hero-star { inset-inline-end: 4px; bottom: -34px; font-size: 130px; }
  .account-block, .account-recent { margin-top: 26px; }
  .account-h2 { font-size: 22px; }
  .account-stat { min-height: 114px; padding: 14px; }
  .account-stat-icon { width: 33px; height: 33px; }
  .account-stat-count { font-size: 29px; }
  .account-order { grid-template-columns: 60px minmax(0, 1fr); gap: 11px; padding: 11px; }
  .account-order-thumb { width: 60px; height: 60px; padding: 6px; }
  .account-order-name { font-size: 13px; }
  .account-order-side {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
    text-align: start;
  }
  .account-order-total { font-size: 17px; }
  .account-reorder { grid-template-columns: 52px minmax(0, 1fr); padding: 12px; }
  .account-reorder-thumb { width: 52px; height: 52px; }
  .account-reorder-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .account-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .account-address-grid { grid-template-columns: 1fr; }
  .account-address-card { padding: 15px; }
  .account-form-card { padding: 17px; }
  .account-form-row { grid-template-columns: 1fr; }
  .account-form-submit { width: 100%; }
  .account-profile-banner { flex-wrap: wrap; padding: 15px; }
  .account-profile-since { width: 100%; margin-inline-start: 0; padding-top: 2px; }
  .account-profile-avatar { width: 44px; height: 44px; border-radius: 12px; font-size: 19px; }
  .account-profile-identity h2 { font-size: 17px; }
  .account-review-card { padding: 15px; }
  .account-review-product-name { font-size: 11.5px; }
  .account-review-content { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .account-stat,
  .account-order,
  .account-stat-arrow,
  .account-order-detail span { transition: none; }
}

/* ---------------- RTL（阿拉伯语） ---------------- */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] body, html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select {
  font-family: "Geeza Pro", "Noto Naskh Arabic", var(--font-body);
}
html[dir="rtl"] .hero-card.tall { transform: rotate(2.5deg); }
html[dir="rtl"] .hero-visual .hero-card:nth-child(2) { transform: rotate(-2deg) translateY(8px); }
html[dir="rtl"] .hero-card-name,
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .review-content,
html[dir="rtl"] .detail-desc p,
html[dir="rtl"] .pain-card p { text-align: right; }
html[dir="rtl"] .card-price, html[dir="rtl"] .detail-price, html[dir="rtl"] .spot-price,
html[dir="rtl"] .pay-amount, html[dir="rtl"] .cart-total, html[dir="rtl"] .stat-item strong,
html[dir="rtl"] .journey-num, html[dir="rtl"] .how-num,
html[dir="rtl"] .sku-price, html[dir="rtl"] .cart-item-price, html[dir="rtl"] .cart-item .subtotal,
html[dir="rtl"] .checkout-line > span:last-child { direction: ltr; }
html[dir="rtl"] .cart-total, html[dir="rtl"] .order-total { text-align: left; }
html[dir="rtl"] .hero-badge { inset-inline-start: auto; inset-inline-end: -14px; }
html[dir="rtl"] .hero-pill { inset-inline-end: auto; inset-inline-start: -10px; }
html[dir="rtl"] .detail-actions, html[dir="rtl"] .order-actions, html[dir="rtl"] .address-actions {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
html[dir="rtl"] .lang-switch ul { inset-inline-end: auto; inset-inline-start: 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 36px; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-search { order: 3; max-width: none; flex-basis: 100%; }
  .nav-links { margin-inline-start: 0; margin-inline-end: auto; flex-wrap: wrap; }
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .hero-badge { inset-inline-start: 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .detail-img { position: static; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px 13px 14px; }
  .card-tagline { display: none; }
  .card-title { font-size: 13.5px; }
  .card-price { font-size: 17px; }
  .cat-grid { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .goal-card img { height: 120px; }
  .goal-label { font-size: 13px; left: 10px; bottom: 10px; }
  .goal-arrow { width: 24px; height: 24px; right: 8px; bottom: 8px; }
  .journey-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .hero-pill, .hero-badge { display: none; }
  .spot-card { grid-template-columns: 1fr; }
  .spot-media { padding: 30px 20px; }
  .compare-table th, .compare-table td { padding: 12px; font-size: 12.5px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cart-item { flex-wrap: wrap; }
  .subtotal { text-align: left; }
  .nav-links a { padding: 6px 8px; font-size: 13px; }
  .detail-actions { flex-direction: column; align-items: stretch; }
  .detail-actions .btn { flex: none; width: 100%; text-align: center; }
  .detail-actions .inline-form { width: 100%; }
  .detail-actions .inline-form .btn { width: 100%; }
  html[dir="rtl"] .detail-actions { flex-direction: column; }
  .lang-switch summary { padding: 4px 8px; font-size: 12px; }
  .stats-grid { gap: 14px; }
  .stat-item strong { font-size: 26px; }
}

/* ---------------- 列表页：分类横幅 / 引导 / CTA ---------------- */
.cat-banner {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}
.cat-banner-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.cat-banner-body h1 { margin-top: 2px; }
.cat-banner-desc { color: var(--ink-2); margin: 6px 0 12px; max-width: 60ch; }
.cat-banner-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
html[dir="rtl"] .cat-banner { flex-direction: row-reverse; }

.cat-guide { grid-template-columns: repeat(6, 1fr); margin-bottom: 30px; }
.cat-guide .cat-card { padding: 18px; }
.cat-guide .cat-icon { width: 40px; height: 40px; font-size: 19px; border-radius: 12px; margin-bottom: 10px; }
.cat-guide .cat-name { font-size: 14px; }
.cat-guide .cat-desc { font-size: 12px; margin-bottom: 12px; }

.list-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin: 40px 0 64px;
  box-shadow: var(--shadow-sm);
}
.list-cta h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.list-cta p { margin: 0; color: var(--muted); font-size: 14px; max-width: 56ch; }
.list-cta .btn { flex: none; }

@media (max-width: 1024px) {
  .cat-guide { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cat-banner { flex-direction: column; padding: 22px; gap: 14px; }
  .cat-guide { grid-template-columns: 1fr 1fr; gap: 10px; }
  .list-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ---------------- 购物车页 v2 ---------------- */
.cart-page { padding-top: 40px; padding-bottom: 24px; }
.cart-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 24px;
  align-items: start;
}
/* 空购物车：侧栏隐藏后让列表占满整行，空状态在整页内容宽度内居中 */
.cart-layout.is-empty { grid-template-columns: 1fr; }
.cart-layout.is-empty .cart-empty { width: 100%; max-width: 760px; margin: 0 auto; }
.cart-layout.is-empty .cart-notice { width: 100%; max-width: 760px; margin: 0 auto 10px; }
.cart-list { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.cart-item-img {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex: none;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(16,26,20,.12)); }
.cart-info { min-width: 0; }
.cart-item-name {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-name:hover { color: var(--brand); }
.cart-item-sku {
  display: block;
  margin: 0 0 3px;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: 12.5px; color: var(--muted); }
.cart-item-stock { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: #b3402e; }
.cart-notice {
  margin: 0 0 10px;
  padding: 11px 15px;
  border: 1px solid #f0d9b8;
  border-radius: var(--radius-sm);
  background: #fdf3e7;
  color: #8a5a1f;
  font-size: 13px;
}
.cart-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s;
}
.cart-remove:hover { background: #f5e0dc; color: var(--accent-deep); }
.cart-item .subtotal { font-family: var(--font-display); font-weight: 600; font-size: 17px; }

.cart-side {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.ship-progress { margin-bottom: 16px; }
.ship-progress > span { font-size: 13px; font-weight: 600; color: var(--brand); display: block; margin-bottom: 8px; }
.ship-progress.done > span { color: #15803d; }
.ship-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--cream);
  overflow: hidden;
}
.ship-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, #77a464 100%);
  transition: width 0.4s var(--ease);
}
.cart-side .cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 10px 0 16px;
}
.cart-side .cart-total strong { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
.cart-checkout { width: 100%; }
.cart-secure {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.cart-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.cart-empty-icon { color: var(--brand); opacity: 0.5; margin-bottom: 12px; }
.cart-empty h2 { font-family: var(--font-display); color: var(--ink); margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.cart-empty p { margin: 0 auto 20px; max-width: 44ch; }
.cart-suggest { margin-top: 48px; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; row-gap: 8px; }
  .cart-item-img { width: 64px; height: 64px; }
  .cart-item .qty { grid-column: 2; justify-self: start; }
  .cart-item .subtotal { grid-column: 2; }
  .cart-remove { grid-row: 1; grid-column: 3; }
}

/* ---------------- 图标对齐 ---------------- */
.icon { vertical-align: -3px; flex: none; }
.marquee-item .icon { color: var(--brand); margin-inline-end: 6px; }

/* ---------------- 促销公告条 ---------------- */
.announce { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.promo-chip {
  border: 1px dashed rgba(217, 240, 127, 0.7);
  color: var(--lime);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(217, 240, 127, 0.08);
}

/* ---------------- 导航 Mega Menu ---------------- */
.nav-mega-wrap { position: static; }
.nav-mega-wrap > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-mega-wrap > a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
  transition: transform 0.2s var(--ease);
}
.nav-mega-wrap:hover > a::after,
.nav-mega-wrap.is-open > a::after { transform: rotate(225deg) translateY(-1px); }
.site-header .nav-mega {
  position: absolute;
  top: 100%;
  inset-inline: 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 30px 60px rgba(15, 30, 24, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: transform 0.18s var(--ease);
  z-index: 70;
  pointer-events: none;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.site-header .nav-mega-wrap:hover .nav-mega,
.site-header .nav-mega-wrap:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.site-header .nav-mega-wrap.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* 悬停桥：防止移动到弹层途中 hover 断开 */
.site-header .nav-mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-mega a { white-space: normal; }
.nav-mega .nav-mega-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
  padding-block: 24px;
  min-width: 0;
}
.nav-mega .mega-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-inline-end: 22px;
  border-inline-end: 1px solid var(--line);
}
.nav-mega .mega-index-label {
  margin: 0 0 8px;
  padding-inline-start: 10px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.nav-mega .mega-index-item {
  display: grid;
  grid-template-columns: 22px 30px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.nav-mega .mega-index-item:hover,
.nav-mega .mega-index-item.is-active { background: var(--brand); color: #fff; }
.nav-mega .mega-index-num {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.nav-mega .mega-index-item:hover .mega-index-num,
.nav-mega .mega-index-item.is-active .mega-index-num,
.nav-mega .mega-index-item:hover .mega-index-arrow,
.nav-mega .mega-index-item.is-active .mega-index-arrow { color: var(--lime); }
.nav-mega .mega-index-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
}
.nav-mega .mega-index-name {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.nav-mega .mega-index-arrow { color: var(--muted); font-size: 11px; transition: color 0.18s; }

.nav-mega .mega-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: stretch;
  gap: 20px;
  min-width: 0;
}
.nav-mega .mega-panels { min-width: 0; }
.nav-mega .mega-showcase-panel { display: none; min-width: 0; }
.nav-mega .mega-showcase-panel.is-active { display: flex; flex-direction: column; height: 100%; }
.nav-mega .mega-feature-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav-mega .mega-feature-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: break-word;
}
.nav-mega .mega-feature-desc {
  max-width: 60ch;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
.nav-mega .mega-panels { height: 100%; }
.nav-mega .mega-feature-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.nav-mega .mega-feature-footer a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(23, 73, 58, 0.25);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.nav-mega .mega-feature-footer a:hover { border-color: var(--brand-deep); color: var(--brand-deep); }
.nav-mega .mega-feature-products { display: grid; gap: 2px; margin-top: 8px; }
.nav-mega .mega-feature-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 12px;
  padding: 8px;
  margin: 0 -8px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-mega .mega-feature-product:hover { background: var(--cream); }
.nav-mega .mega-feature-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 64px;
  height: 64px;
  padding: 8px;
  border-radius: 10px;
}
.nav-mega .mega-feature-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nav-mega .mega-feature-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-mega .mega-feature-name { font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.nav-mega .mega-feature-price { color: var(--brand); font-size: 12px; font-weight: 700; white-space: nowrap; }
.nav-mega .mega-feature-arrow { color: var(--muted); font-size: 12px; transition: color 0.18s, transform 0.18s; }
.nav-mega .mega-feature-product:hover .mega-feature-arrow { transform: translateX(3px); color: var(--brand); }

.nav-mega a.mega-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand) 60%, #1d5c48 100%);
  color: #fff;
  transition: transform 0.2s var(--ease);
}
.nav-mega a.mega-promo:hover {
  transform: translateY(-2px);
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand) 60%, #1d5c48 100%);
}
.nav-mega .mega-promo-eyebrow {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  opacity: 0.95;
  text-transform: uppercase;
}
.nav-mega .mega-promo-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.nav-mega .mega-promo .promo-chip { align-self: flex-start; max-width: 100%; white-space: normal; }
.nav-mega .mega-promo-btn { margin-top: auto; color: var(--lime); font-size: 12.5px; font-weight: 700; line-height: 1.4; }

html[dir="rtl"] .nav-mega .mega-index-arrow,
html[dir="rtl"] .nav-mega .mega-feature-arrow,
html[dir="rtl"] .nav-mega .mega-feature-footer a span { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .nav-mega .mega-feature-product:hover .mega-feature-arrow { transform: scaleX(-1) translateX(-3px); }
@media (max-width: 1260px) {
  .nav-mega .nav-mega-grid { grid-template-columns: 300px minmax(0, 1fr); }
  .nav-mega .mega-showcase { grid-template-columns: minmax(0, 1fr); }
  .nav-mega a.mega-promo { display: none; }
}

@media (max-width: 1100px) {
  .nav-mega { display: none; }
}
