/* ============================================================
   WWOEM 全站 UI 精修 v23 — Luxury Polish Layer
   增量覆盖：只做视觉与交互细节优化，不改结构与功能
   酒红 + 暖金 + 象牙白 视觉体系保持不变
   ============================================================ */

/* ===== 1. Design Token 升级 ===== */
:root {
  /* 字体层级细化 */
  --fs-h1: clamp(2.75rem, 6.5vw, 5.25rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-h4: 1.375rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
  --fs-caption: 0.75rem;
  --fs-eyebrow: 0.7rem;

  --lh-tight: 1.1;
  --lh-snug: 1.35;
  --lh-normal: 1.65;
  --lh-relaxed: 1.75;

  --ls-tight: -0.01em;
  --ls-normal: 0.01em;
  --ls-wide: 0.04em;
  --ls-display: 0.12em;

  /* 字重 */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* 圆角节奏 */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-full: 999px;

  /* 阴影层级：柔和、暖调、带金色反光感 */
  --shadow-1: 0 1px 2px rgba(26, 26, 26, 0.04), 0 1px 3px rgba(26, 26, 26, 0.03);
  --shadow-2: 0 4px 12px rgba(26, 26, 26, 0.05), 0 2px 4px rgba(26, 26, 26, 0.03);
  --shadow-3: 0 12px 32px rgba(26, 26, 26, 0.07), 0 4px 12px rgba(26, 26, 26, 0.04);
  --shadow-4: 0 24px 64px rgba(26, 26, 26, 0.10), 0 8px 24px rgba(26, 26, 26, 0.06);
  --shadow-gold: 0 8px 24px rgba(201, 169, 97, 0.18);
  --shadow-burgundy: 0 12px 32px rgba(114, 47, 55, 0.20);
  --shadow-card-hover: 0 20px 48px rgba(26, 26, 26, 0.10), 0 4px 12px rgba(201, 169, 97, 0.08);

  /* 间距节奏 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 80px;
  --space-16: 120px;

  /* 动效曲线：高端 — 缓入缓出、稍慢、有弹性感 */
  --ease-luxury: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 520ms;
  --dur-luxury: 700ms;

  /* 毛玻璃 */
  --glass-bg: rgba(250, 248, 245, 0.72);
  --glass-border: rgba(201, 169, 97, 0.18);
}

/* ===== 2. 全局排版精致化 ===== */
body {
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

/* 统一小字样式 */
.eyebrow, .section-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.caption {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-wide);
}

/* ===== 3. 按钮统一精致化 ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-luxury);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-luxury);
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover svg {
  transform: translateX(2px);
}

/* 主按钮：酒红底 + 金色反光底纹 */
.btn-primary {
  background: linear-gradient(180deg, #8b3943 0%, var(--color-burgundy) 100%);
  color: var(--color-ivory);
  border-color: var(--color-burgundy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, var(--shadow-2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #9a434e 0%, #7d343d 100%);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, var(--shadow-burgundy);
}

/* 金色按钮 */
.btn-gold {
  background: linear-gradient(180deg, #d8bc78 0%, var(--color-gold) 100%);
  color: var(--color-burgundy-dark);
  border-color: var(--color-gold);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #e5cc89 0%, #d4b66b 100%);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 12px 28px rgba(201,169,97,0.30);
}

/* 轮廓按钮 */
.btn-outline {
  background: transparent;
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
}

.btn-outline:hover {
  background: var(--color-burgundy);
  color: var(--color-ivory);
  transform: translateY(-1px);
  box-shadow: var(--shadow-burgundy);
}

/* 幽灵按钮（文字+箭头） */
.btn-ghost {
  background: transparent;
  color: var(--color-burgundy);
  padding: 8px 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  letter-spacing: var(--ls-display);
  font-size: var(--fs-caption);
}

.btn-ghost:hover {
  color: var(--color-burgundy-dark);
  border-bottom-color: var(--color-gold);
  padding-bottom: 8px;
  gap: 14px;
}

.btn-ghost::before { display: none; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* 大号按钮 */
.btn-lg {
  padding: 18px 36px;
  font-size: var(--fs-body-sm);
}

/* 通栏按钮 */
.btn-block {
  width: 100%;
}

/* ===== 4. 导航栏精致化 ===== */
.navbar {
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--dur-base) var(--ease-luxury);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.88);
  border-bottom-color: rgba(201, 169, 97, 0.25);
  box-shadow: 0 1px 0 rgba(201, 169, 97, 0.08), 0 8px 32px rgba(26, 26, 26, 0.04);
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.09em;
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-burgundy);
}

/* 当前页高亮：金线 + 文字阴影微提亮 */
.nav-link.active {
  font-weight: var(--fw-semibold);
}

/* 语言切换按钮精致化 */
.lang-btn {
  padding: 7px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--dur-base) var(--ease-luxury);
}

.lang-btn:hover {
  background: var(--color-white);
  border-color: var(--color-gold);
  color: var(--color-burgundy);
  box-shadow: var(--shadow-1);
}

.lang-dropdown {
  border-radius: var(--radius-md);
  border-color: rgba(201, 169, 97, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-3);
}

.lang-dropdown a {
  padding: 10px 16px;
  font-size: 0.8125rem;
  transition: all var(--dur-fast) var(--ease-luxury);
}

.lang-dropdown a:hover {
  background: var(--color-ivory-2);
  color: var(--color-burgundy);
  padding-left: 20px;
}

/* 购物车 / 订单 图标按钮 */
.header-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-charcoal);
  transition: all var(--dur-base) var(--ease-luxury);
}

.header-icon-btn:hover {
  background: var(--color-ivory-2);
  color: var(--color-burgundy);
  transform: translateY(-1px);
}

.header-icon-btn .cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  line-height: 18px;
  text-align: center;
  background: var(--color-burgundy);
  color: var(--color-ivory);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-ivory);
  transition: transform var(--dur-base) var(--ease-spring);
}

.header-icon-btn:hover .cart-count {
  transform: scale(1.1);
}

/* ===== 5. Hero 视觉增强 ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(114, 47, 55, 0.04) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(20px, -20px) scale(1.05); opacity: 1; }
}

.hero-title {
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--color-burgundy);
  position: relative;
}

.hero-subtitle {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-display);
}

/* Hero 入场动效 */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp var(--dur-slow) var(--ease-out) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 6. 滚动渐入动效 ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片错峰入场 */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.40s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 7. 产品卡片精致化 ===== */
.product-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease-luxury);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(201, 169, 97, 0.35);
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--color-ivory-2);
  aspect-ratio: 4 / 5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-luxury) var(--ease-luxury);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

/* 卡片底部信息区 */
.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.product-meta {
  min-height: 5.4em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-info .product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  color: var(--color-charcoal-deep, #1f1f1f);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-size {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: #1f1f1f !important;
  margin-top: auto;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
  line-height: 1.3;
}

.product-price-label {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-wide);
  color: var(--color-ash);
  text-transform: uppercase;
}

.product-badge {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(114, 47, 55, 0.08);
  color: var(--color-burgundy);
}

.product-badge.gold {
  background: linear-gradient(180deg, rgba(201,169,97,0.15), rgba(201,169,97,0.08));
  color: var(--color-gold-dark);
  border: 1px solid rgba(201,169,97,0.3);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  margin-bottom: 4px;
  min-height: 26px;
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-ivory-2);
  color: var(--color-charcoal-secondary, #555);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* 卡片底部价格/MOQ/查看详情 */
.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.product-price-block {
  flex: 1;
  min-width: 0;
}

.product-price-label {
  font-size: 0.75rem;
  letter-spacing: var(--ls-wide);
  color: var(--color-charcoal-secondary, #4a4a4a);
  text-transform: uppercase;
  font-weight: 600;
}

.product-moq {
  font-size: 0.82rem;
  color: var(--color-charcoal, #2b2b2b);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.product-view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--color-ivory);
  color: var(--color-burgundy);
  transition: all var(--dur-base) var(--ease-out);
}

.product-card:hover .product-view-btn {
  background: var(--color-burgundy);
  color: var(--color-ivory);
  transform: translateX(2px);
}

/* Quick Add 按钮 */
.product-quick-add {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 12px 24px;
  background: var(--color-burgundy);
  color: var(--color-ivory);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: var(--shadow-burgundy);
  white-space: nowrap;
}

.product-card:hover .product-quick-add {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.product-quick-add:hover {
  background: var(--color-burgundy-dark);
  box-shadow: 0 12px 32px rgba(114, 47, 55, 0.35);
}

/* ===== 8. 数据条数字动效 ===== */
.stats-bar {
  position: relative;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

/* ===== 9. 表单精致化 ===== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: var(--color-charcoal);
  transition: all var(--dur-base) var(--ease-luxury);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
}

.form-input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-charcoal);
}

.form-input::placeholder,
.form textarea::placeholder {
  color: var(--color-ash-light);
}

.form label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

/* 数量选择器 */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-white);
}

.qty-selector button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ivory);
  color: var(--color-charcoal);
  font-size: 16px;
  font-weight: var(--fw-medium);
  transition: all var(--dur-fast) var(--ease-luxury);
}

.qty-selector button:hover {
  background: var(--color-burgundy);
  color: var(--color-ivory);
}

.qty-selector input {
  width: 56px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  background: transparent;
}

.qty-selector input:focus {
  box-shadow: none;
}

/* ===== 10. 购物车抽屉精致化 ===== */
.cart-drawer {
  background: var(--color-white);
  box-shadow: var(--shadow-4);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-ivory-2);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-burgundy);
}

.cart-summary {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  margin-top: auto;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.cart-total-label {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--color-ash);
}

.cart-total-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-burgundy);
  font-weight: var(--fw-medium);
}

/* ===== 11. 产品详情弹窗精致化 ===== */
.modal-overlay {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(26, 26, 26, 0.4);
  transition: opacity var(--dur-base) var(--ease-luxury);
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-4);
}

.modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-charcoal);
  font-size: 20px;
  z-index: 10;
  transition: all var(--dur-base) var(--ease-luxury);
}

.modal-close:hover {
  background: var(--color-burgundy);
  color: var(--color-ivory);
  transform: rotate(90deg);
}

.product-detail-badge {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, rgba(201,169,97,0.12), rgba(201,169,97,0.06));
  color: var(--color-gold-dark);
  border: 1px solid rgba(201,169,97,0.3);
}

/* 相关推荐 */
.related-products .product-card {
  transform: scale(0.98);
}

.related-products .product-card:hover {
  transform: scale(1);
}

/* ===== 12. OEM 能力卡片 ===== */
.why-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--dur-slow) var(--ease-luxury);
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-burgundy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: rgba(201, 169, 97, 0.3);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201,169,97,0.1), rgba(114,47,55,0.06));
  color: var(--color-burgundy);
  margin-bottom: 20px;
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--fw-medium);
  margin-bottom: 10px;
  color: var(--color-charcoal);
}

.why-card-desc {
  font-size: var(--fs-body-sm);
  color: var(--color-ash);
  line-height: 1.6;
}

/* 流程线视觉 */
.process-step {
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0.4;
}

.process-step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid var(--color-gold);
  color: var(--color-burgundy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-medium);
  transition: all var(--dur-base) var(--ease-out);
}

.process-step:hover .process-step-number {
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
  color: var(--color-ivory);
  transform: scale(1.08);
}

/* ===== 13. CTA 区精致化 ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 169, 97, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 40%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(201, 169, 97, 0.08), transparent 60%);
  pointer-events: none;
}

/* ===== 14. 二维码统一规格 ===== */
.qr-code-wrapper {
  width: 160px;
  height: 160px;
  padding: 12px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-label {
  margin-top: 12px;
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--color-ash);
  text-align: center;
}

/* ===== 15. 页脚精致化 ===== */
.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ivory);
  letter-spacing: 0.02em;
}

.footer-logo span {
  color: var(--color-gold);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer a {
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--dur-fast) var(--ease-luxury);
  line-height: 2;
  display: inline-block;
}

.footer a:hover {
  color: var(--color-gold);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 48px;
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: var(--ls-wide);
}

/* ===== 16. 移动端适配精修 ===== */
@media (max-width: 768px) {
  :root {
    --space-8: 36px;
    --space-10: 48px;
    --space-12: 64px;
  }

  .btn {
    padding: 14px 22px;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
  }

  .product-info {
    padding: 14px 16px 16px;
  }

  .product-info .product-name {
    font-size: 1.05rem;
  }

  .product-size {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .product-tags {
    min-height: 24px;
  }

  .product-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .product-quick-add {
    display: none;
  }

  .why-card {
    padding: 24px 20px;
  }

  .nav-desktop {
    gap: 24px;
  }
}

/* ===== 17. 减少动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 18. 通用分节视觉 ===== */

.section-eyebrow {
  display: inline-block;
  color: var(--color-gold-dark);
  margin-bottom: 12px;
  position: relative;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.5;
}

.section-eyebrow::before { right: calc(100% + 12px); }
.section-eyebrow::after { left: calc(100% + 12px); }

.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--fs-body-sm);
  color: var(--color-ash);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 金边分隔 */
.gold-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto;
}

/* ===== 19. Toast / 提示 ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 24px;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  font-size: var(--fs-body-sm);
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-4);
  z-index: 10000;
  opacity: 0;
  transition: all var(--dur-base) var(--ease-out);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 20. 滚动条精致化（仅 WebKit） ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-ivory-2);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 97, 0.35);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 97, 0.55);
}

/* ===== 21. 首页 & OEM 页模块精修（叠加） ===== */

/* Hero 光斑更细腻 */
.hero-lux::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 5%;
  width: 40%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlow 10s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-lux::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 35%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(114, 47, 55, 0.08) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite alternate-reverse;
  z-index: 1;
}

.hero-lux-content {
  position: relative;
  z-index: 2;
}

/* 分类卡片 hover 抬升 */
.cat-lux-card {
  transition: all var(--dur-slow) var(--ease-luxury);
}

.cat-lux-card:hover {
  transform: translateY(-4px);
}

.cat-lux-card:hover .cat-lux-image img {
  transform: scale(1.08);
}

/* CTA 区 QR 码 */
.final-cta-qrs {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.final-cta-qrs .qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.final-cta-qrs .qr-item span {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* 认证徽章 hover */
.cert-badge {
  transition: all var(--dur-base) var(--ease-luxury);
}

.cert-badge:hover {
  transform: translateY(-4px);
}

.cert-badge:hover .cert-badge-inner {
  border-color: var(--color-gold);
  box-shadow: 0 0 24px rgba(201, 169, 97, 0.3);
}

/* 流程步骤 hover */
.process-lux-step {
  transition: transform var(--dur-base) var(--ease-out);
}

.process-lux-step:hover {
  transform: translateY(-4px);
}

/* OEM 能力卡片 hover 金线 */
.oem2-why-card,
.oem2-services-card {
  transition: all var(--dur-slow) var(--ease-luxury);
  position: relative;
  overflow: hidden;
}

.oem2-why-card::before,
.oem2-services-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-burgundy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
  z-index: 1;
}

.oem2-why-card:hover::before,
.oem2-services-card:hover::before {
  transform: scaleX(1);
}

/* 数字动效字体等宽数字 */
.stat-lux-number,
.factory-stat-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ===== 22. 品牌故事区竖图适配 ===== */

.story-lux-image {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.10), 0 8px 24px rgba(201, 169, 97, 0.06);
}

.story-lux-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.story-lux:hover .story-lux-image img {
  transform: scale(1.04);
}

/* 徽章位置微调：避免与实验室主体重叠，移至右上角更协调 */
.story-lux-badge {
  bottom: auto;
  top: 24px;
  left: auto;
  right: -20px;
  background: linear-gradient(135deg, #722F37 0%, #5a242b 100%);
  box-shadow: 0 16px 40px rgba(114, 47, 55, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  border-left: 3px solid #C9A961;
  padding: 20px 24px;
}

.story-lux-badge strong {
  color: #C9A961;
  font-weight: 500;
}

.story-lux-badge span {
  color: rgba(250, 248, 245, 0.85);
  letter-spacing: 0.04em;
}

/* ===== 23. 移动端 QR 码自适应 ===== */
@media (max-width: 640px) {
  .qr-code-wrapper {
    width: 120px;
    height: 120px;
    padding: 10px;
  }

  .final-cta-qrs {
    justify-content: center;
    gap: 16px;
  }

  .story-lux-badge {
    right: 12px;
    top: 12px;
    padding: 14px 18px;
  }

  .story-lux-badge strong {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   24. 全站图标与容器对齐统一修复
   ========================================================================== */

/* --- 按钮组：统一垂直居中 --- */
.hero-lux-actions,
.final-cta-actions {
  align-items: center;
}

/* --- 按钮：图标与文字严格居中 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  vertical-align: middle;
}

.btn svg {
  flex-shrink: 0;
  display: block;
}

/* --- CTA 电话链接：图标与文字垂直居中 --- */
.final-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.final-cta-phone svg {
  flex-shrink: 0;
}

/* --- CTA 头像圆形：图标精确居中 --- */
.final-cta-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta-avatar svg {
  display: block;
}

/* --- 联系页信息行：图标圆与文字顶部对齐统一 --- */
.contact-detail {
  align-items: flex-start;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  display: block;
}

/* --- 页脚社交图标：圆形内精确居中 --- */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  display: block;
}

/* --- 产品卡片徽章：flex 居中替代 line-height --- */
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: auto;
}

/* --- 购物车角标：flex 居中替代 line-height --- */
.header-icon-btn .cart-count {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* --- 产品标签组：垂直居中 --- */
.product-tags {
  align-items: center;
}

/* --- QR 码行：项目垂直居中 --- */
.qr-row,
.final-cta-qrs {
  align-items: flex-start;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-item img {
  display: block;
}

.qr-code-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-wrapper img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

/* --- 列表项：图标/圆点与文字居中 --- */
.pillar-list li {
  align-items: flex-start;
}

.pillar-list li::before {
  margin-top: 8px;
  flex-shrink: 0;
}

/* --- 产品详情侧栏联系方式：图标与文字居中 --- */
.contact-phone,
.success-phone,
.contact-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-phone svg,
.success-phone svg,
.contact-title svg {
  flex-shrink: 0;
  display: block;
}

/* --- 表单标签与输入框对齐 --- */
.form-group label {
  display: block;
  margin-bottom: 8px;
}

/* --- 下拉框箭头位置修正 --- */
select {
  background-position: right 12px center;
}

/* --- 页脚栏目：标题与列表对齐 --- */
.footer-col ul li {
  display: flex;
  align-items: center;
}

/* --- 版权行：水平居中 --- */
.footer-bottom p,
.copyright {
  text-align: center;
  margin: 0 auto;
}

/* ==========================================================================
   25. QR 码尺寸统一覆盖（修正旧样式 110px / 130px 偏差）
   ========================================================================== */

/* 旧样式中 contact-qr-row / success-qr-row 的 img 直接写死了 110/130px，
   接入 qr-code-wrapper 后需重置为 100% 以跟随容器 */
.contact-qr-row .qr-item img,
.success-qr-row .qr-item img {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

/* 确保 contact-qr-row / success-qr-row 下的 qr-item 也是 flex 纵向居中 */
.contact-qr-row,
.success-qr-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-qr-row .qr-item,
.success-qr-row .qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 小量定制卡片高度自适应 */
.product-card {
  height: auto !important;
  min-height: fit-content !important;
  overflow: visible !important;
}
.products-section > .container > div[style*="grid"] {
  grid-auto-rows: auto !important;
  align-items: stretch !important;
}

/* 修复产品信息高度 */
.product-card .product-info {
  flex: 0 0 auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* 正确修复产品卡片高度 */
.product-card {
  height: auto !important;
  min-height: auto !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
.product-card .product-info {
  flex: 0 0 auto !important;
  height: auto !important;
  overflow: visible !important;
  padding: 16px !important;
}
.product-card .product-image {
  flex: 0 0 auto !important;
  aspect-ratio: 1 !important;
  margin-bottom: 0 !important;
}
.product-card .product-footer {
  position: static !important;
  display: flex !important;
}

/* 最终修复产品卡片 */
.product-card {
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  border-radius: 8px !important;
}
.product-card .product-image {
  overflow: hidden !important;
  border-radius: 8px 8px 0 0 !important;
  flex: 0 0 auto !important;
  aspect-ratio: 1 !important;
}
.product-card .product-info {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  padding: 16px !important;
  background: #fff;
  border-radius: 0 0 8px 8px;
  border: 1px solid #eee;
  border-top: none;
}
.product-card .product-footer {
  position: static !important;
  display: flex !important;
}

/* 强制覆盖产品卡片样式 */
.product-card .product-info {
  background: #ffffff !important;
  padding: 18px !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}
.product-card .product-footer {
  position: relative !important;
  display: flex !important;
  margin-top: 12px !important;
}
