/* =====================================================================
   Stack Store Commercial v3 — Hourglass 简洁现代风格
   参考：Hourglass Cosmetics / Aesop 编辑式排版 / 极简医学美学
   设计原则：大量留白 + 大尺寸摄影 + 衬线标题 + 克制动效
   ===================================================================== */

/* ---------- 设计令牌（覆盖原暗色调） ---------- */
:root {
  /* 背景层：暖白米调 */
  --bg: #faf8f3;
  --bg-2: #f0ebe0;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #1a1814;
  --bg-dark-2: #252220;

  /* 文字层：墨黑米调 */
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --ink-4: #b8b8b8;
  --cream: #f5efe1;
  --cream-2: #e8e0cc;

  /* 兼容旧暗色主题变量（强制覆盖 style.css 的浅色文字） */
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --text-subtle: #8a8a8a;

  /* 强调：暖金（克制使用） */
  --gold: #b89556;
  --gold-light: #d4b378;
  --gold-dark: #8b6f3a;
  --gold-soft: rgba(184, 149, 86, 0.12);
  --gold-line: rgba(184, 149, 86, 0.3);
  --gold-gradient: linear-gradient(135deg, #d4b378 0%, #b89556 50%, #8b6f3a 100%);

  /* 边框与阴影（重写为亮色主题） */
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.04);
  --border-light: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 4px 24px rgba(184, 149, 86, 0.15);

  /* 字体（与 functions.php 加载一致） */
  --font-display: 'Cormorant Garamond', 'Playfair Display', 'Didot', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* 间距（紧凑、克制） */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
}

/* ---------- 基础重置 ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--gold-dark);
  opacity: 0.85;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- 容器 ---------- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ---------- 顶部公告条（Hourglass 经典） ---------- */
.site-announcement {
  background: var(--bg-dark);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  font-weight: 400;
}

.site-announcement a {
  color: var(--cream);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 1px;
}

/* ---------- Header（透明叠加，滚动后白底） ---------- */
.site-header {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 32px;
}

.site-branding .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.site-branding .logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.site-branding .code-symbol {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.site-branding .logo-text {
  font-weight: 500;
}

/* 主导航 */
.header-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.header-nav .nav-menu > li > a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}

.header-nav .nav-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.header-nav .nav-menu > li > a:hover::after {
  width: 100%;
}

/* Header 操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon {
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: relative;
}

.header-icon svg {
  width: 20px;
  height: 20px;
}

.header-icon .cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 500;
}

.header-login {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}

.header-login:hover {
  background: var(--ink);
  color: var(--cream);
  opacity: 1;
}

/* 搜索表单 */
.header-search-form {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.header-search-form.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.header-search-form input[type="search"] {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 24px;
  padding: 12px 0;
  outline: none;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
}

/* ---------- Hero（全屏艺术摄影 + 衬线大标题叠加） ---------- */
.hero-section {
  position: relative;
  padding: 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-slider {
  position: relative;
  height: 86vh;
  min-height: 600px;
  max-height: 880px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  max-width: 720px;
  padding: 0 32px;
  animation: fadeInUp 1.2s ease 0.3s both;
}

.hero-slide-tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-slide-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  color: var(--cream);
}

.hero-slide-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 239, 225, 0.85);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-slide-content .btn {
  display: inline-block;
  padding: 14px 38px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.hero-slide-content .btn:hover {
  background: var(--cream);
  color: var(--ink);
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dots .dot {
  width: 28px;
  height: 1px;
  background: rgba(245, 239, 225, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-dots .dot.active {
  background: var(--cream);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 通用 Section 标题（编辑风格） ---------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.section-title::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-more {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.section-more:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

/* ---------- 分类区（编辑网格 + 极简标签） ---------- */
.categories-section {
  padding: 96px 0;
  background: var(--bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.category-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 5;
}

.category-card-image {
  position: absolute;
  inset: 0;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(0.92);
}

.category-card:hover .category-card-image img {
  transform: scale(1.06);
  filter: brightness(1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
}

.category-card-info {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  color: var(--cream);
  z-index: 2;
}

.category-card-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.category-card-count {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- 信任徽章（极简横排） ---------- */
.trust-badges-section {
  padding: 48px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 100%;
  height: 100%;
}

.trust-badge-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 2px;
}

.trust-badge-desc {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ---------- 产品网格（Hourglass 极简卡） ---------- */
.products-section {
  padding: 96px 0;
  background: var(--bg);
}

.products-section.alt {
  background: var(--bg-elevated);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product-card {
  background: transparent;
  position: relative;
  transition: transform 0.4s ease;
}

.product-card-image-wrap {
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 18px;
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.product-card:hover .product-card-image-wrap img {
  transform: scale(1.05);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-overlay .button,
.product-card-overlay .add_to_cart_button {
  background: var(--cream);
  color: var(--ink);
  border: none;
  padding: 12px 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.product-card-overlay .button:hover,
.product-card-overlay .add_to_cart_button:hover {
  background: var(--gold);
  color: var(--cream);
}

.product-card-category {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.3;
}

.product-card-title a {
  color: inherit;
}

.product-card-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-style: italic;
  font-family: var(--font-display);
}

.product-card-price {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-card-price del {
  color: var(--ink-3);
  margin-right: 8px;
  font-weight: 400;
}

.product-card-price ins {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

/* ---------- Banner（编辑式双栏艺术摄影） ---------- */
.banner-section {
  padding: 96px 0;
  background: var(--bg);
}

.banner-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
}

.banner-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.banner-card-primary {
  aspect-ratio: 4 / 3;
}

.banner-card-secondary {
  aspect-ratio: 4 / 5;
}

.banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.banner-card:hover img {
  transform: scale(1.04);
}

.banner-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: var(--cream);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

.banner-card-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.banner-card-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.15;
}

.banner-card-desc {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
  max-width: 380px;
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  align-self: flex-start;
}

.btn-outline-gold:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ---------- 评价区（衬线引言） ---------- */
.testimonials-section {
  padding: 96px 0;
  background: var(--bg-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-elevated);
  padding: 40px 32px;
  border: 1px solid var(--border);
}

.testimonial-rating {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.testimonial-author-meta {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- Newsletter（极简表单） ---------- */
.newsletter-section {
  padding: 96px 0;
  background: var(--bg-dark);
  color: var(--cream);
  text-align: center;
}

.newsletter-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.newsletter-content {
  margin-bottom: 40px;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--cream);
}

.newsletter-title::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.newsletter-desc {
  font-size: 14px;
  color: rgba(245, 239, 225, 0.7);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(245, 239, 225, 0.3);
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cream);
  outline: none;
  letter-spacing: 0.02em;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(245, 239, 225, 0.4);
}

.newsletter-form button {
  background: transparent;
  border: none;
  color: var(--cream);
  padding: 14px 8px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease;
}

.newsletter-form button:hover {
  color: var(--gold-light);
}

/* ---------- Footer（极简多列编辑风格） ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--cream);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(245, 239, 225, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand .site-branding .logo,
.footer-brand .site-branding .logo-text {
  color: var(--cream);
}

.footer-brand .site-branding .logo-mark {
  border-color: var(--cream);
}

.site-description {
  font-size: 13px;
  color: rgba(245, 239, 225, 0.6);
  margin: 16px 0 24px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 239, 225, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  opacity: 1;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 239, 225, 0.1);
}

.footer-widget-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-column ul li {
  margin-bottom: 12px;
}

.footer-widget-column ul li a {
  font-size: 13px;
  color: rgba(245, 239, 225, 0.65);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.footer-widget-column ul li a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(245, 239, 225, 0.65);
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 239, 225, 0.08);
  font-size: 12px;
  color: rgba(245, 239, 225, 0.5);
  letter-spacing: 0.05em;
}

.footer-payment-icons {
  display: flex;
  gap: 12px;
}

.payment-icon {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid rgba(245, 239, 225, 0.15);
  color: rgba(245, 239, 225, 0.6);
}

/* ---------- 页面 Header（Shop/Cart/Checkout 等） ---------- */
.page-header {
  padding: 80px 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  margin-top: 0;
  text-align: center;
}

.woocommerce-cart .page-header,
.woocommerce-checkout .page-header {
  padding: 60px 0 32px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 12px;
}

.page-header::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* 覆盖 .site-main 多余 padding-top */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-shop .site-main,
.woocommerce-account .site-main,
.page .site-main,
.single .site-main {
  padding-top: 0;
}

/* 账户/认证页 */
.auth-page-section {
  padding: 80px 0 96px;
  min-height: auto;
  background: var(--bg);
}

.page-section,
.shop-section {
  padding: 64px 0 80px;
}

/* ---------- 表单（极简下划线风） ---------- */
/* 强制覆盖暗色主题残留的浅色文字 */
input,
textarea,
select {
  color: var(--ink) !important;
  background-color: transparent;
  font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-3);
}

/* WooCommerce 数量输入框 */
.quantity input.qty,
input[type="number"],
input[type="tel"] {
  color: var(--ink) !important;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 0;
}

/* WooCommerce 排序下拉框 */
select.orderby,
.woocommerce-ordering select {
  color: var(--ink) !important;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 8px 32px 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

/* Newsletter 暗色背景下的输入框 */
.newsletter-form input[type="email"] {
  color: var(--cream) !important;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(245, 239, 225, 0.4);
}

/* 搜索框 */
.search-field,
input[type="search"] {
  color: var(--ink) !important;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row textarea,
.form-row select,
.input-text {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus,
.input-text:focus {
  border-bottom-color: var(--ink);
}

.form-row label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
  display: block;
}

/* 按钮（Hourglass 风格：黑底白字 / 描边） */
.button,
.btn,
button[type="submit"] {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 0;
}

.button:hover,
.btn:hover,
button[type="submit"]:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* ---------- 语言切换器 ---------- */
.trp-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trp-language-switcher a {
  color: var(--ink-3);
  padding: 4px 6px;
}

.trp-language-switcher a.current-language,
.trp-language-switcher a:hover {
  color: var(--ink);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .products-grid,
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .banner-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .header-inner {
    padding: 16px 0;
    gap: 16px;
  }
  .header-nav .nav-menu {
    display: none;
  }
  .hero-slider {
    height: 70vh;
    min-height: 480px;
  }
  .hero-slide-title {
    font-size: 36px;
  }
  .categories-section,
  .products-section,
  .banner-section,
  .testimonials-section,
  .newsletter-section {
    padding: 56px 0;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ---------- 微动效（克制淡入） ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.categories-section .category-card,
.products-section .product-card,
.testimonials-section .testimonial-card {
  animation: fadeIn 0.8s ease both;
}

.categories-section .category-card:nth-child(2),
.products-section .product-card:nth-child(2) { animation-delay: 0.08s; }
.categories-section .category-card:nth-child(3),
.products-section .product-card:nth-child(3) { animation-delay: 0.16s; }
.categories-section .category-card:nth-child(4),
.products-section .product-card:nth-child(4) { animation-delay: 0.24s; }
.categories-section .category-card:nth-child(5),
.products-section .product-card:nth-child(5) { animation-delay: 0.32s; }
.categories-section .category-card:nth-child(6),
.products-section .product-card:nth-child(6) { animation-delay: 0.4s; }

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-4);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-3);
}

/* 选中文本 */
::selection {
  background: var(--ink);
  color: var(--cream);
}

/* =====================================================================
   WooCommerce 页面商用级别覆盖
   ===================================================================== */

/* 购物车表格 */
.woocommerce-cart-form table.shop_table {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-elevated);
  color: var(--ink);
}

.woocommerce-cart-form table.shop_table th {
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-cart-form table.shop_table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.woocommerce-cart-form table.shop_table td.product-name a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
}

.woocommerce-cart-form table.shop_table td.product-name a:hover {
  color: var(--gold-dark);
}

.woocommerce-cart-form table.shop_table td.product-price,
.woocommerce-cart-form table.shop_table td.product-subtotal {
  color: var(--ink);
  font-weight: 500;
}

.woocommerce-cart-form table.shop_table .product-remove a {
  color: var(--ink-3) !important;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}

.woocommerce-cart-form table.shop_table .product-remove a:hover {
  background: var(--ink);
  color: var(--cream) !important;
  border-color: var(--ink);
}

/* 购物车数量输入框 */
.woocommerce-cart-form .quantity input.qty {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  width: 60px;
  padding: 8px;
  text-align: center;
}

/* 购物车优惠券区 */
.cart-collaterals .cart_totals,
.cart-collaterals .cross-sells {
  background: var(--bg-elevated);
  padding: 32px;
  border: 1px solid var(--border);
}

.cart-collaterals .cart_totals h2,
.cart-collaterals .cross-sells h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.cart-collaterals .shop_table {
  border: none;
  background: transparent;
  color: var(--ink);
}

.cart-collaterals .shop_table th {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-collaterals .shop_table td {
  color: var(--ink);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: right;
}

/* 结算页表单 */
.woocommerce-checkout .checkout {
  color: var(--ink);
}

.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-checkout-review-order-table {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--ink);
}

.woocommerce-checkout-review-order-table th {
  background: var(--bg-2);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-checkout-review-order-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.woocommerce-checkout-payment {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: 24px;
}

.woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.woocommerce-checkout-payment ul.payment_methods li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.woocommerce-checkout-payment ul.payment_methods li label {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  display: inline-block;
  margin-left: 8px;
}

.woocommerce-checkout-payment .payment_box {
  background: var(--bg-2);
  padding: 16px;
  margin: 12px 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

/* 我的账户页 */
.woocommerce-account .woocommerce {
  color: var(--ink);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 14px 20px;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--ink);
  color: var(--cream);
}

.woocommerce-account .woocommerce-MyAccount-content {
  color: var(--ink);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
}

/* 认证/登录注册页 */
.auth-page-section .auth-tabs {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-elevated);
  padding: 40px;
  border: 1px solid var(--border);
}

.auth-tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
}

.auth-tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.auth-tab-content {
  color: var(--ink);
}

/* 商店页产品网格 */
.woocommerce ul.products li.product {
  background: transparent;
  margin: 0 0 32px 0;
  padding: 0;
  text-align: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  padding: 12px 0 6px;
  letter-spacing: 0.01em;
}

.woocommerce ul.products li.product .price {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.woocommerce ul.products li.product .price del {
  color: var(--ink-3);
  margin-right: 8px;
}

.woocommerce ul.products li.product .price ins {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

.woocommerce ul.products li.product .button {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 12px;
  border-radius: 0;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* WooCommerce 通知 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-elevated);
  border-top: 3px solid var(--gold);
  color: var(--ink);
  padding: 16px 20px;
  margin-bottom: 24px;
  list-style: none;
  border-radius: 0;
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-line);
}

/* 面包屑 */
.woocommerce-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.woocommerce-breadcrumb a {
  color: var(--ink-2);
}

.woocommerce-breadcrumb a:hover {
  color: var(--ink);
}

/* 产品详情页 */
.single-product .product .summary > h1.product_title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.single-product .product .price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 24px;
}

.single-product .product .price del {
  color: var(--ink-3);
  margin-right: 12px;
}

.single-product .product .price ins {
  color: var(--gold-dark);
  text-decoration: none;
}

.single-product .product form.cart {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.single-product .product_meta {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 24px;
}

.single-product .product_meta a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--border-strong);
}

/* 产品 tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 24px;
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: transparent;
  border-bottom-color: var(--ink);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ink);
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: transparent;
  padding: 0 0 32px;
  border: none;
  color: var(--ink);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

/* 相关产品 */
.woocommerce .related.products h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  margin-bottom: 32px;
}

/* 分页 */
.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 32px 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 13px;
  min-width: 40px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* 评分星 */
.woocommerce .star-rating {
  color: var(--gold);
}

.woocommerce .star-rating span {
  color: var(--gold);
}

/* 空购物车 */
.cart-empty.woocommerce-info {
  background: var(--bg-elevated);
  border-top: 3px solid var(--gold);
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  padding: 48px 24px;
}

/* 返回购物按钮 */
.return-to-shop {
  text-align: center;
  margin: 32px 0;
}

.return-to-shop .button {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =====================================================================
   新增样式：编辑式奢华商业页面 (追加于文件末尾)
   ===================================================================== */

/* ---------- Editorial Hero ---------- */
.editorial-hero { position: relative; min-height: 88vh; overflow: hidden; background: var(--bg-dark); }
.editorial-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 24, 20, 0.5) 0%, rgba(26, 24, 20, 0) 60%); }
.editorial-hero-content { position: absolute; bottom: 80px; left: 80px; max-width: 600px; color: var(--cream); z-index: 2; }
.editorial-hero-tag { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; font-weight: 500; }
.editorial-hero-title { font-family: var(--font-display); font-size: clamp(44px, 6vw, 88px); font-weight: 400; line-height: 1.05; color: var(--cream); margin: 0 0 24px; letter-spacing: -0.01em; }
.editorial-hero-desc { font-size: 16px; line-height: 1.6; color: rgba(245, 239, 225, 0.85); margin-bottom: 36px; max-width: 460px; font-weight: 400; }
.editorial-hero-cta { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid var(--cream); transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.editorial-hero-cta:hover { color: var(--gold-light); border-color: var(--gold-light); transform: translateX(4px); opacity: 1; }
.editorial-hero-cta .arrow { font-size: 16px; line-height: 1; }
.editorial-hero-corner { position: absolute; top: 40px; right: 48px; color: var(--cream); text-align: right; z-index: 2; }
.editorial-hero-corner .corner-num { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; font-weight: 400; }
.editorial-hero-corner .corner-label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.7; margin-top: 4px; display: block; }

/* ---------- Manifesto Section ---------- */
.manifesto-section { padding: 120px 0; text-align: center; background: var(--bg); }
.manifesto-text { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 32px; }
.manifesto-sub { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 580px; margin: 0 auto; }

/* ---------- Featured Edit Section ---------- */
.featured-edit-section { padding: 96px 0; background: var(--bg-elevated); }
.section-header-edit { margin-bottom: 56px; }
.section-eyebrow { display: block; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 500; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-title-edit { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 48px); font-weight: 400; margin: 0; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.section-link { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); padding-bottom: 2px; border-bottom: 1px solid var(--ink); transition: color 0.3s ease, border-color 0.3s ease; }
.section-link:hover { color: var(--gold-dark); border-color: var(--gold-dark); opacity: 1; }
.section-link span { display: inline-block; transition: transform 0.3s ease; }
.section-link:hover span { transform: translateX(3px); }
.featured-edit-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.edit-product { display: block; position: relative; }
.edit-product.featured-large { grid-row: span 2; }
.edit-product.featured-large .edit-product-image { aspect-ratio: 4 / 3; }
.edit-product.featured-small .edit-product-image { aspect-ratio: 4 / 5; }
.edit-product-link { display: block; color: inherit; }
.edit-product-image { position: relative; overflow: hidden; background: var(--bg-2); margin-bottom: 20px; }
.edit-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1), filter 0.6s ease; filter: brightness(0.96); display: block; }
.edit-product:hover .edit-product-image img { transform: scale(1.05); filter: brightness(1); }
.edit-product-badge { position: absolute; top: 16px; left: 16px; background: var(--cream); color: var(--ink); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; z-index: 2; }
.edit-product-info { padding: 0 4px; }
.edit-product-cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.edit-product-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin: 0 0 8px; color: var(--ink); line-height: 1.2; }
.edit-product.featured-large .edit-product-name { font-size: 32px; }
.edit-product-price { font-size: 14px; color: var(--ink-2); }

/* ---------- Categories Scroll Section ---------- */
.categories-scroll-section { padding: 96px 0; background: var(--bg); overflow: hidden; }
.categories-scroll-wrap { overflow-x: auto; padding: 0 48px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.categories-scroll-wrap::-webkit-scrollbar { display: none; }
.categories-scroll-wrap { -ms-overflow-style: none; scrollbar-width: none; }
.categories-scroll-track { display: flex; gap: 24px; padding-bottom: 16px; }
.category-scroll-card { flex: 0 0 320px; scroll-snap-align: start; display: block; color: inherit; }
.category-scroll-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 20px; }
.category-scroll-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1); display: block; }
.category-scroll-card:hover .category-scroll-image img { transform: scale(1.06); }
.category-scroll-info { display: flex; flex-direction: column; gap: 4px; position: relative; }
.category-scroll-name { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin: 0; color: var(--ink); line-height: 1.2; }
.category-scroll-count { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.category-scroll-arrow { position: absolute; right: 0; top: 0; font-size: 18px; color: var(--gold-dark); opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.category-scroll-card:hover .category-scroll-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- Brand Story Section ---------- */
.brand-story-section { padding: 120px 0; background: var(--bg-elevated); }
.brand-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.brand-story-image { aspect-ratio: 4 / 5; overflow: hidden; }
.brand-story-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-story-content { padding: 24px 0; }
.brand-story-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.2; color: var(--ink); margin: 16px 0 24px; letter-spacing: -0.01em; }
.brand-story-text { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 40px; }
.brand-story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 400; color: var(--gold-dark); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Bestsellers Section ---------- */
.bestsellers-section { padding: 96px 0; background: var(--bg); }
.bestsellers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.bestseller-card { display: flex; flex-direction: column; }
.bestseller-link { display: block; color: inherit; margin-bottom: 16px; }
.bestseller-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.bestseller-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1); display: block; }
.bestseller-card:hover .bestseller-image img { transform: scale(1.05); }
.bestseller-info { padding: 0 4px; }
.bestseller-name { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin: 0 0 6px; color: var(--ink); line-height: 1.2; }
.bestseller-price { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.bestseller-action .button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; background: transparent; border: 1px solid var(--ink); color: var(--ink); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); cursor: pointer; transition: background 0.3s ease, color 0.3s ease; text-decoration: none; }
.bestseller-action .button:hover { background: var(--ink); color: var(--cream); opacity: 1; }

/* ---------- Editorial Quote Section ---------- */
.editorial-quote-section { padding: 140px 0; background: var(--bg-dark); text-align: center; }
.editorial-quote { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.editorial-quote p { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); font-weight: 300; line-height: 1.3; color: var(--cream); margin: 0 0 32px; letter-spacing: -0.01em; }
.editorial-quote cite { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); font-style: normal; display: block; }

/* ---------- Newsletter Edit Section ---------- */
.newsletter-edit-section { padding: 120px 0; background: var(--bg); }
.newsletter-edit-wrap { max-width: 580px; margin: 0 auto; text-align: center; padding: 0 24px; }
.newsletter-edit-wrap .section-eyebrow { margin-bottom: 0; }
.newsletter-edit-title { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 44px); font-weight: 400; margin: 16px 0 20px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.15; }
.newsletter-edit-desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-bottom: 40px; }
.newsletter-edit-form { display: flex; gap: 12px; margin-bottom: 16px; }
.newsletter-edit-form input { flex: 1; min-width: 0; padding: 14px 18px; border: 1px solid var(--border-strong); background: transparent; font-size: 14px; color: var(--ink); font-family: var(--font-body); transition: border-color 0.3s ease; }
.newsletter-edit-form input::placeholder { color: var(--ink-3); }
.newsletter-edit-form input:focus { outline: none; border-color: var(--ink); }
.newsletter-edit-form button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; background: var(--ink); color: var(--cream); border: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; font-family: var(--font-body); transition: background 0.3s ease, transform 0.3s ease; }
.newsletter-edit-form button:hover { background: var(--gold-dark); transform: translateX(3px); }
.newsletter-edit-fineprint { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }

/* =====================================================================
   2. SINGLE-PRODUCT.PHP — 商品详情页
   ===================================================================== */

.product-hero-section { padding: 80px 0 60px; background: var(--bg-elevated); }
.product-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.product-gallery-edit { position: sticky; top: 120px; align-self: start; }
.gallery-main-edit { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.gallery-main-edit img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs-edit { display: flex; gap: 12px; flex-wrap: wrap; }
.thumb-edit { width: 80px; height: 80px; border: 1px solid var(--border); background: transparent; cursor: pointer; padding: 0; overflow: hidden; opacity: 0.6; transition: opacity 0.3s ease, border-color 0.3s ease; }
.thumb-edit:hover, .thumb-edit.active { opacity: 1; border-color: var(--gold); }
.thumb-edit img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info-edit { padding: 24px 0; }
.product-info-inner { max-width: 460px; }
.product-breadcrumb-edit { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: 32px; text-transform: uppercase; }
.product-breadcrumb-edit a { color: var(--ink-3); transition: color 0.25s ease; }
.product-breadcrumb-edit a:hover { color: var(--ink); opacity: 1; }
.product-category-edit { margin-bottom: 16px; }
.product-category-edit a { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); transition: color 0.25s ease; }
.product-category-edit a:hover { color: var(--ink); opacity: 1; }
.product-name-edit { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.1; color: var(--ink); margin: 0 0 20px; letter-spacing: -0.01em; }
.product-rating-edit { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.rating-count-edit { font-size: 12px; color: var(--ink-3); }
.product-price-edit { font-family: var(--font-display); font-size: 28px; color: var(--ink); margin-bottom: 32px; font-weight: 500; }
.product-short-desc-edit { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.product-add-to-cart-edit { margin-bottom: 32px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-add-to-cart-edit .quantity { display: inline-flex; }
.product-add-to-cart-edit input.qty { width: 60px; height: 48px; border: 1px solid var(--border-strong); text-align: center; font-size: 14px; color: var(--ink); font-family: var(--font-body); background: transparent; }
.product-add-to-cart-edit input.qty:focus { outline: none; border-color: var(--ink); }
.product-add-to-cart-edit .single_add_to_cart_button { height: 48px; padding: 0 32px; background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; border: none; cursor: pointer; font-family: var(--font-body); transition: background 0.3s ease; }
.product-add-to-cart-edit .single_add_to_cart_button:hover { background: var(--gold-dark); }
.product-meta-edit { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.meta-row-edit { display: flex; justify-content: space-between; font-size: 13px; gap: 16px; }
.meta-label-edit { color: var(--ink-3); letter-spacing: 0.05em; }
.meta-value-edit { color: var(--ink); text-align: right; }
.product-share-edit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label-edit { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.share-links-edit { display: flex; gap: 12px; }
.share-link-edit { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--ink-2); transition: border-color 0.3s ease, color 0.3s ease; }
.share-link-edit:hover { border-color: var(--ink); color: var(--ink); opacity: 1; }
.share-link-edit svg { width: 16px; height: 16px; }

.product-details-section { padding: 120px 0; background: var(--bg); }
.details-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.details-sidebar { position: sticky; top: 120px; align-self: start; }
.details-sidebar .section-eyebrow { margin-bottom: 0; }
.details-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; color: var(--ink); margin: 16px 0 0; line-height: 1.2; letter-spacing: -0.01em; }
.details-content { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.details-content h2 { font-family: var(--font-display); font-size: 28px; color: var(--ink); margin: 32px 0 16px; font-weight: 400; line-height: 1.2; }
.details-content h2:first-child { margin-top: 0; }
.details-content p { margin: 0 0 24px; }
.details-content ul { margin: 0 0 24px; padding-left: 20px; }
.details-content li { margin-bottom: 8px; }

.product-benefits-section { padding: 96px 0; background: var(--bg-elevated); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.benefit-card { text-align: center; padding: 0 16px; }
.benefit-icon { width: 56px; height: 56px; margin: 0 auto 24px; color: var(--gold-dark); display: grid; place-items: center; }
.benefit-icon svg { width: 100%; height: 100%; }
.benefit-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin: 0 0 12px; color: var(--ink); line-height: 1.2; }
.benefit-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

.product-tabs-edit-section { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--border); }
.tabs-nav-edit { display: flex; justify-content: center; gap: 48px; margin-bottom: 56px; border-bottom: 1px solid var(--border); padding-bottom: 0; max-width: 880px; margin-left: auto; margin-right: auto; }
.tab-btn-edit { background: transparent; border: none; padding: 16px 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; position: relative; transition: color 0.3s ease; font-family: var(--font-body); }
.tab-btn-edit.active { color: var(--ink); }
.tab-btn-edit.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--ink); }
.tab-btn-edit:hover { color: var(--ink); }
.tabs-content-edit { max-width: 880px; margin: 0 auto; }
.tab-pane-edit { display: none; }
.tab-pane-edit.active { display: block; }
.shipping-info-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.shipping-block h4 { font-family: var(--font-display); font-size: 20px; margin: 0 0 16px; color: var(--ink); font-weight: 400; }
.shipping-block ul { list-style: none; padding: 0; margin: 0; }
.shipping-block li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--ink-2); position: relative; padding-left: 20px; }
.shipping-block li:last-child { border-bottom: none; }
.shipping-block li::before { content: ''; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.related-products-section { padding: 96px 0; background: var(--bg-elevated); }
.related-products-section .section-header-edit { max-width: 1280px; margin: 0 auto 40px; padding: 0 48px; }
.related-scroll-wrap { overflow-x: auto; padding: 0 48px; -webkit-overflow-scrolling: touch; }
.related-scroll-wrap::-webkit-scrollbar { display: none; }
.related-scroll-wrap { -ms-overflow-style: none; scrollbar-width: none; }
.related-scroll-track { display: flex; gap: 24px; padding-bottom: 16px; }
.related-card { flex: 0 0 280px; }
.related-link { display: block; color: inherit; }
.related-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.related-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1); display: block; }
.related-card:hover .related-image img { transform: scale(1.05); }
.related-info { padding: 0 4px; }
.related-name { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin: 0 0 6px; color: var(--ink); line-height: 1.2; }
.related-price { font-size: 14px; color: var(--ink-2); }

/* =====================================================================
   3. ARCHIVE-PRODUCT.PHP — 商品列表页
   ===================================================================== */

.shop-header-section { padding: 80px 0 48px; background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.shop-header-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.shop-header-text { max-width: 640px; }
.shop-header-text .section-eyebrow { margin-bottom: 0; }
.shop-page-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 400; margin: 16px 0 20px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }
.shop-page-desc { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 540px; }
.shop-header-aside { display: flex; align-items: flex-end; gap: 24px; flex-direction: column; }
.shop-result-count { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.shop-header-aside .woocommerce-ordering select { padding: 10px 36px 10px 14px; border: 1px solid var(--border-strong); background-color: transparent; font-size: 12px; letter-spacing: 0.05em; color: var(--ink); appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%231a1a1a' d='M2 4l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; font-family: var(--font-body); cursor: pointer; }
.shop-header-aside .woocommerce-ordering select:focus { outline: none; border-color: var(--ink); }

.shop-grid-section { padding: 64px 0 96px; background: var(--bg); }
.shop-layout-grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.shop-filters { position: sticky; top: 120px; align-self: start; padding-right: 16px; border-right: 1px solid var(--border); }
.filter-block { margin-bottom: 40px; padding-right: 16px; }
.filter-block:last-child { margin-bottom: 0; }
.filter-title { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; font-weight: 600; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-item { margin-bottom: 0; }
.filter-item a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; color: var(--ink-2); transition: color 0.25s ease; }
.filter-item a:hover { color: var(--ink); opacity: 1; }
.filter-item.active a { color: var(--gold-dark); font-weight: 500; }
.filter-count { font-size: 11px; color: var(--ink-4); letter-spacing: 0.05em; }

.shop-products-area { min-width: 0; }
.shop-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.shop-product-card { display: flex; flex-direction: column; position: relative; }
.shop-product-link { display: block; color: inherit; flex: 1; }
.shop-product-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; position: relative; }
.shop-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1); display: block; }
.shop-product-card:hover .shop-product-image img { transform: scale(1.05); }
.shop-product-badge { position: absolute; top: 12px; left: 12px; background: var(--cream); color: var(--ink); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 5px 10px; z-index: 2; }
.shop-product-quick { position: absolute; inset: 0; background: rgba(26, 24, 20, 0.4); display: grid; place-items: center; opacity: 0; transition: opacity 0.4s ease; }
.shop-product-card:hover .shop-product-quick { opacity: 1; }
.shop-product-quick span { background: var(--cream); color: var(--ink); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 24px; }
.shop-product-info { padding: 0 4px; }
.shop-product-cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.shop-product-name { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin: 0 0 6px; color: var(--ink); line-height: 1.2; }
.shop-product-name a { color: inherit; transition: color 0.25s ease; }
.shop-product-name a:hover { color: var(--gold-dark); opacity: 1; }
.shop-product-price { font-size: 14px; color: var(--ink-2); }
.shop-product-action { margin-top: 12px; }
.shop-product-action .button { display: block; width: 100%; padding: 10px; background: transparent; border: 1px solid var(--border-strong); color: var(--ink); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; font-family: var(--font-body); cursor: pointer; transition: background 0.3s ease, color 0.3s ease; text-decoration: none; }
.shop-product-action .button:hover { background: var(--ink); color: var(--cream); opacity: 1; }

.shop-pagination { margin-top: 64px; text-align: center; }
.shop-pagination .page-numbers { display: inline-flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.shop-pagination .page-numbers a, .shop-pagination .page-numbers span { padding: 10px 14px; border: 1px solid var(--border); font-size: 13px; color: var(--ink-2); text-decoration: none; transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease; display: inline-block; }
.shop-pagination .page-numbers .current { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.shop-pagination .page-numbers a:hover { border-color: var(--ink); color: var(--ink); opacity: 1; }

.shop-empty { text-align: center; padding: 80px 24px; }
.shop-empty h2 { font-family: var(--font-display); font-size: 32px; color: var(--ink); font-weight: 400; margin: 0 0 16px; }
.shop-empty p { font-size: 15px; color: var(--ink-2); margin-bottom: 32px; }

/* =====================================================================
   4. CART.PHP — 购物车页
   ===================================================================== */

.cart-page-section { padding: 80px 0 96px; background: var(--bg); }
.cart-page-header { margin-bottom: 56px; text-align: center; }
.cart-page-header .section-eyebrow { margin-bottom: 0; }
.cart-page-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 400; margin: 16px 0 0; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }

.cart-empty-edit { text-align: center; padding: 80px 24px; max-width: 480px; margin: 0 auto; }
.cart-empty-icon { width: 64px; height: 64px; margin: 0 auto 24px; color: var(--ink-3); }
.cart-empty-icon svg { width: 100%; height: 100%; }
.cart-empty-edit h2 { font-family: var(--font-display); font-size: 32px; margin: 0 0 16px; color: var(--ink); font-weight: 400; }
.cart-empty-edit p { font-size: 15px; color: var(--ink-2); margin-bottom: 32px; line-height: 1.6; }

.cart-layout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.cart-items-area { background: var(--bg-elevated); padding: 32px; border: 1px solid var(--border); }
.cart-items-header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.cart-item-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item-row:last-child { border-bottom: none; }
.cart-col-product { display: flex; align-items: center; }
.cart-product-inner { display: flex; align-items: center; gap: 16px; }
.cart-product-image { width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--bg-2); }
.cart-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-product-info { display: flex; flex-direction: column; gap: 4px; }
.cart-product-cat { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.cart-product-name { font-family: var(--font-display); font-size: 18px; color: var(--ink); font-weight: 400; line-height: 1.2; transition: color 0.25s ease; }
.cart-product-name:hover { color: var(--gold-dark); opacity: 1; }
.cart-remove { font-size: 18px; color: var(--ink-3); margin-top: 4px; align-self: flex-start; transition: color 0.25s ease; background: transparent; border: none; cursor: pointer; line-height: 1; text-decoration: none; display: inline-block; }
.cart-remove:hover { color: var(--ink); opacity: 1; }
.cart-col-price, .cart-col-total { font-size: 14px; color: var(--ink); }
.cart-col-qty .quantity { display: inline-flex; }
.cart-col-qty input.qty { width: 56px; height: 40px; border: 1px solid var(--border-strong); text-align: center; font-size: 14px; color: var(--ink); font-family: var(--font-body); background: transparent; }
.cart-col-qty input.qty:focus { outline: none; border-color: var(--ink); }

.cart-actions-row { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; gap: 16px; flex-wrap: wrap; }
.cart-continue { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); transition: color 0.25s ease; display: inline-flex; align-items: center; gap: 8px; }
.cart-continue:hover { color: var(--gold-dark); opacity: 1; }
.cart-update-btn { padding: 12px 24px; background: transparent; border: 1px solid var(--border-strong); color: var(--ink); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; font-family: var(--font-body); transition: background 0.3s ease, color 0.3s ease; }
.cart-update-btn:hover { background: var(--ink); color: var(--cream); }

.cart-summary { position: sticky; top: 120px; }
.cart-summary-inner { background: var(--bg-elevated); padding: 32px; border: 1px solid var(--border); }
.cart-summary-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin: 0 0 24px; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--border); line-height: 1.2; }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; gap: 16px; }
.cart-summary-row .summary-label { color: var(--ink-2); }
.cart-summary-row .summary-value { color: var(--ink); }
.cart-summary-row.total { padding-top: 20px; font-size: 18px; }
.cart-summary-row.total .summary-label { font-weight: 600; color: var(--ink); }
.cart-summary-row.total .summary-value { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.cart-summary-row.coupon .summary-value { color: var(--gold-dark); }
.cart-summary-divider { height: 1px; background: var(--border); margin: 16px 0; }

.cart-coupon-form { display: flex; gap: 8px; margin: 20px 0; }
.cart-coupon-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--border-strong); background: transparent; font-size: 13px; color: var(--ink); font-family: var(--font-body); }
.cart-coupon-form input:focus { outline: none; border-color: var(--ink); }
.cart-coupon-form button { padding: 12px 20px; background: var(--ink); color: var(--cream); border: none; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; font-family: var(--font-body); transition: background 0.3s ease; }
.cart-coupon-form button:hover { background: var(--gold-dark); }

.cart-checkout-btn { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 16px; transition: background 0.3s ease, color 0.3s ease; font-family: var(--font-body); text-decoration: none; }
.cart-checkout-btn:hover { background: var(--gold-dark); color: var(--cream); opacity: 1; }
.cart-checkout-btn span { font-size: 16px; }

.cart-trust-row { display: flex; gap: 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); justify-content: center; flex-wrap: wrap; }
.cart-trust-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em; }
.cart-trust-item svg { width: 16px; height: 16px; color: var(--gold-dark); }

/* =====================================================================
   5. MY-ACCOUNT.PHP — 账户页
   ===================================================================== */

.auth-page-section { min-height: calc(100vh - 80px); background: var(--bg); }
.auth-layout-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 80px); }
.auth-brand-side { background: var(--bg-dark); color: var(--cream); padding: 80px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-brand-side .logo-mark { width: 36px; height: 36px; border: 1px solid var(--cream); border-radius: 50%; display: grid; place-items: center; }
.auth-brand-side .code-symbol { font-size: 12px; color: var(--cream); font-family: var(--font-mono); }
.auth-brand-side .logo-text { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.1em; color: var(--cream); }
.auth-brand-title { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 64px); font-weight: 300; line-height: 1.1; color: var(--cream); margin: 0 0 32px; letter-spacing: -0.02em; }
.auth-brand-desc { font-size: 15px; line-height: 1.7; color: rgba(245, 239, 225, 0.8); margin-bottom: 40px; max-width: 460px; }
.auth-features-list { list-style: none; padding: 0; margin: 0; }
.auth-features-list li { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-size: 14px; color: rgba(245, 239, 225, 0.9); }
.auth-feature-mark { color: var(--gold-light); font-size: 14px; flex-shrink: 0; }
.auth-brand-quote { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(245, 239, 225, 0.15); }
.auth-brand-quote p { font-family: var(--font-display); font-size: 20px; font-style: italic; color: rgba(245, 239, 225, 0.9); margin: 0 0 8px; line-height: 1.4; }
.auth-brand-quote cite { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); font-style: normal; }

.auth-form-side { display: grid; place-items: center; padding: 64px 48px; }
.auth-form-wrap { max-width: 440px; width: 100%; }
.auth-tabs-edit { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.auth-tab-edit-btn { flex: 1; padding: 16px 0; background: transparent; border: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; position: relative; transition: color 0.3s ease; font-family: var(--font-body); }
.auth-tab-edit-btn.active { color: var(--ink); }
.auth-tab-edit-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--ink); }
.auth-tab-edit-btn:hover { color: var(--ink); }
.auth-tab-content { display: none; }
.auth-tab-content.active { display: block; }
.auth-form-title { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin: 0 0 8px; color: var(--ink); line-height: 1.2; }
.auth-form-subtitle { font-size: 14px; color: var(--ink-2); margin: 0 0 32px; line-height: 1.6; }
.auth-form-row { margin-bottom: 20px; }
.auth-form-row label { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-2); margin-bottom: 8px; }
.auth-form-row .required { color: var(--gold-dark); }
.auth-form-row input { width: 100%; padding: 14px 16px; border: 1px solid var(--border-strong); background: transparent; font-size: 14px; color: var(--ink); font-family: var(--font-body); transition: border-color 0.3s ease; }
.auth-form-row input:focus { outline: none; border-color: var(--ink); }
.auth-form-row input::placeholder { color: var(--ink-3); }
.auth-submit-btn { display: inline-flex; align-items: center; gap: 8px; width: 100%; padding: 16px; background: var(--ink); color: var(--cream); border: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; justify-content: center; transition: background 0.3s ease; font-family: var(--font-body); margin-top: 8px; }
.auth-submit-btn:hover { background: var(--gold-dark); }

.auth-divider-edit { text-align: center; margin: 32px 0; position: relative; }
.auth-divider-edit::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider-edit span { position: relative; background: var(--bg); padding: 0 16px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

.auth-social-edit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.auth-social-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border: 1px solid var(--border); color: var(--ink-2); font-size: 11px; letter-spacing: 0.05em; transition: border-color 0.3s ease, color 0.3s ease; text-decoration: none; background: transparent; cursor: pointer; }
.auth-social-btn:hover { border-color: var(--ink); color: var(--ink); opacity: 1; }
.auth-social-btn svg { width: 20px; height: 20px; }

.account-dashboard-section { padding: 80px 0 96px; background: var(--bg); }
.account-welcome-header { text-align: center; margin-bottom: 56px; }
.account-welcome-header .section-eyebrow { margin-bottom: 0; }
.account-welcome-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); font-weight: 400; margin: 16px 0 12px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }
.account-welcome-sub { font-size: 15px; color: var(--ink-2); }
.account-layout-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.account-nav { background: var(--bg-elevated); padding: 24px; border: 1px solid var(--border); position: sticky; top: 120px; align-self: start; }
.account-nav-list { list-style: none; padding: 0; margin: 0; }
.account-nav-item { margin-bottom: 0; }
.account-nav-item a { display: block; padding: 12px 16px; font-size: 13px; letter-spacing: 0.05em; color: var(--ink-2); transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease; border-left: 2px solid transparent; }
.account-nav-item.active a { color: var(--ink); font-weight: 500; border-left-color: var(--gold); background: var(--gold-soft); }
.account-nav-item a:hover { color: var(--ink); background: var(--bg-2); opacity: 1; }
.account-content { background: var(--bg-elevated); padding: 40px; border: 1px solid var(--border); min-height: 400px; }
.account-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin: 0 0 24px; color: var(--ink); line-height: 1.2; }
.account-content h3 { font-family: var(--font-display); font-size: 20px; margin: 24px 0 12px; color: var(--ink); font-weight: 400; }
.account-content p { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }

/* =====================================================================
   6. CHECKOUT.PHP — 结算页
   ===================================================================== */

.checkout-page-section { padding: 80px 0 96px; background: var(--bg); }
.checkout-page-header { margin-bottom: 56px; text-align: center; }
.checkout-page-header .section-eyebrow { margin-bottom: 0; }
.checkout-page-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 400; margin: 16px 0 0; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }

.checkout-layout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.checkout-form-area { background: var(--bg-elevated); padding: 40px; border: 1px solid var(--border); }
.checkout-form-area h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin: 0 0 24px; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--border); line-height: 1.2; }
.checkout-form-area .form-row { margin-bottom: 16px; }
.checkout-form-area label { display: block; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); margin-bottom: 6px; }
.checkout-form-area input[type=text], .checkout-form-area input[type=email], .checkout-form-area input[type=tel], .checkout-form-area input[type=password], .checkout-form-area textarea, .checkout-form-area select { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); background: transparent; font-size: 14px; color: var(--ink); font-family: var(--font-body); transition: border-color 0.3s ease; }
.checkout-form-area input[type=text]:focus, .checkout-form-area input[type=email]:focus, .checkout-form-area input[type=tel]:focus, .checkout-form-area input[type=password]:focus, .checkout-form-area textarea:focus, .checkout-form-area select:focus { outline: none; border-color: var(--ink); }
.checkout-form-area textarea { resize: vertical; min-height: 100px; }
.checkout-form-area .woocommerce-additional-fields__field-wrapper { margin-top: 24px; }
.checkout-form-area #place_order { display: block; width: 100%; padding: 16px; background: var(--ink); color: var(--cream); border: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; margin-top: 24px; font-family: var(--font-body); transition: background 0.3s ease; }
.checkout-form-area #place_order:hover { background: var(--gold-dark); }
.checkout-form-area #ship-to-different-address { margin: 24px 0; }
.checkout-form-area #ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); letter-spacing: 0; }
.checkout-form-area .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form-area .form-row-wide { grid-column: span 2; }
.checkout-form-area .form-row-first { grid-column: 1; }
.checkout-form-area .form-row-last { grid-column: 2; }

.checkout-summary { position: sticky; top: 120px; }
.checkout-summary-inner { background: var(--bg-elevated); padding: 32px; border: 1px solid var(--border); }
.checkout-summary-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin: 0 0 24px; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--border); line-height: 1.2; }
.checkout-summary-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.checkout-summary-item { display: flex; gap: 12px; align-items: center; }
.checkout-item-image { position: relative; width: 56px; height: 56px; flex-shrink: 0; overflow: hidden; background: var(--bg-2); }
.checkout-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.checkout-item-qty { position: absolute; top: -6px; right: -6px; background: var(--ink); color: var(--cream); font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--bg-elevated); line-height: 1; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { font-family: var(--font-display); font-size: 15px; font-weight: 400; margin: 0 0 2px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.checkout-item-price { font-size: 12px; color: var(--ink-3); }
.checkout-summary-divider { height: 1px; background: var(--border); margin: 16px 0; }
.checkout-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; gap: 16px; align-items: center; }
.checkout-summary-row .summary-label { color: var(--ink-2); }
.checkout-summary-row .summary-value { color: var(--ink); }
.checkout-summary-row.total { padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; }
.checkout-summary-row.total .summary-label { font-weight: 600; font-size: 16px; color: var(--ink); }
.checkout-summary-row.total .summary-value { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.checkout-trust { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.checkout-trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.checkout-trust-item svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }

/* =====================================================================
   通用工具类 — Buttons
   ===================================================================== */

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; font-family: var(--font-body); text-decoration: none; border: 1px solid transparent; line-height: 1; }
.btn-gold { background: var(--gold); color: var(--cream); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); color: var(--cream); opacity: 1; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); opacity: 1; }
.btn-outline-gold { background: transparent; color: var(--gold-dark); border: 1px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--cream); opacity: 1; }
.btn span { display: inline-block; transition: transform 0.3s ease; }
.btn:hover span { transform: translateX(3px); }

/* =====================================================================
   隐藏滚动条 + WooCommerce 表单覆盖
   ===================================================================== */

.categories-scroll-wrap::-webkit-scrollbar, .related-scroll-wrap::-webkit-scrollbar { display: none; }
.categories-scroll-wrap, .related-scroll-wrap { -ms-overflow-style: none; scrollbar-width: none; }
.woocommerce form .form-row input, .woocommerce form .form-row textarea, .woocommerce form .form-row select { color: var(--ink) !important; background: transparent !important; font-family: var(--font-body) !important; }
.woocommerce form .form-row label { color: var(--ink-2) !important; }
.woocommerce .quantity .qty { color: var(--ink) !important; background: transparent !important; }

/* =====================================================================
   响应式 — 媒体查询
   ===================================================================== */

@media (max-width: 1024px) {
  .featured-edit-grid { grid-template-columns: 1fr; }
  .featured-edit-grid .featured-large { grid-row: auto; }
  .brand-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .bestsellers-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-gallery-edit { position: static; }
  .details-grid { grid-template-columns: 1fr; gap: 32px; }
  .details-sidebar { position: static; }
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-layout-grid { grid-template-columns: 1fr; }
  .shop-filters { position: static; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 32px; padding-right: 0; }
  .filter-block { padding-right: 0; }
  .shop-products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-header-grid { padding: 0; }
  .shop-layout-grid { padding: 0; }
  .cart-layout-grid { grid-template-columns: 1fr; padding: 0; }
  .cart-items-header { display: none; }
  .cart-item-row { grid-template-columns: 80px 1fr auto; gap: 12px; }
  .cart-col-price, .cart-col-total { display: none; }
  .cart-col-qty { grid-column: 2; }
  .cart-col-product { flex-direction: column; align-items: flex-start; }
  .cart-summary { position: static; }
  .auth-layout-grid { grid-template-columns: 1fr; }
  .auth-brand-side { display: none; }
  .account-layout-grid { grid-template-columns: 1fr; padding: 0; }
  .account-nav { position: static; display: flex; overflow-x: auto; padding: 16px; }
  .account-nav-list { display: flex; gap: 8px; }
  .account-nav-item a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; padding: 10px 14px; }
  .account-nav-item.active a { border-left-color: transparent; border-bottom-color: var(--gold); }
  .account-content { padding: 24px; }
  .checkout-layout-grid { grid-template-columns: 1fr; padding: 0; }
  .checkout-summary { position: static; }
  .checkout-form-area .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .checkout-form-area .form-row-first, .checkout-form-area .form-row-last, .checkout-form-area .form-row-wide { grid-column: auto; }
  .checkout-form-area { padding: 32px; }
}

@media (max-width: 768px) {
  .editorial-hero-content { left: 24px; bottom: 24px; }
  .editorial-hero-corner { display: none; }
  .categories-scroll-wrap { padding: 0 24px; }
  .shipping-info-edit { grid-template-columns: 1fr; }
  .tabs-nav-edit { gap: 24px; }
  .product-hero-section { padding: 48px 0 40px; }
  .product-hero-grid, .details-grid { padding: 0 24px; }
  .related-products-section .section-header-edit { padding: 0 24px; }
  .related-scroll-wrap { padding: 0 24px; }
  .auth-form-side { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .bestsellers-grid { grid-template-columns: 1fr; }
  .brand-story-stats { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-edit-form { flex-direction: column; }
  .newsletter-edit-form button { justify-content: center; }
  .shop-products-grid { grid-template-columns: 1fr; }
  .shop-header-section { padding: 56px 0 32px; }
  .cart-items-area { padding: 16px; }
  .cart-summary-inner { padding: 24px; }
  .cart-page-header, .checkout-page-header { padding: 0; }
  .checkout-form-area { padding: 24px; }
  .checkout-summary-inner { padding: 24px; }
}
