/* ====================================
   XMART - 加纳电商网站样式
   设计风格：简洁干净 + 金色/琥珀色强调 + 大号粗体字
   ==================================== */

:root {
  --gold: #D4A017;
  --gold-light: #F4C430;
  --cream: #FAF7F2;
  --gold-dark: #B8860B;
  --amber: #FFBF00;
  --black: #0F0F0F;
  --dark: #1A1A1A;
  --gray-900: #2A2A2A;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #D0D0D0;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --bg: #FAFAF8;
  --success: #1F9D55;
  --danger: #D33A2C;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 106.25%; } /* 基准字号 17px，全站文字更大 */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==================== 通用排版 ==================== */
h1, h2, h3, h4 { font-weight: 800; color: var(--black); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.3; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ==================== 顶部条 ==================== */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 0.95rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.topbar .accent { color: var(--gold-light); font-weight: 700; }

/* ==================== 导航栏 ==================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.navbar.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  animation: navSlideDown 0.25s ease;
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.logo-img {
  height: 54px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}
.nav-actions { display: flex; gap: 16px; align-items: center; }
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--black);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--gray-100); }
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.menu-toggle { display: none; }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.95rem; }

/* ==================== Hero ==================== */
.hero {
  background: linear-gradient(135deg, #0A0A0A 0%, #1C1710 55%, #2A2115 100%);
  color: var(--white);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.28) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-inner-text {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner-text > div { padding: 0 8px; }
.hero-inner-text p { margin-left: auto; margin-right: auto; }
.hero-inner-text .hero-cta { justify-content: center; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 .accent { color: var(--gold-light); display: inline-block; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 560px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.hero .btn-secondary:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-size: 2rem; font-weight: 900; color: var(--gold-light); }
.hero-stat-label { font-size: 0.95rem; opacity: 0.7; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}
.hero-badge {
  position: absolute;
  background: var(--gold);
  color: var(--black);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.hero-badge.tl { top: 10%; left: 5%; transform: rotate(-5deg); }
.hero-badge.br { bottom: 12%; right: 5%; transform: rotate(4deg); }

/* ==================== 区块通用 ==================== */
.section { padding: 80px 0; }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p { color: var(--gray-700); margin-top: 12px; font-size: 1.15rem; }

/* ==================== 类别卡片 ==================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.category-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card .icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}
.category-card h3 { margin-bottom: 8px; }
.category-card p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.05rem; }
.category-card .count {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

/* ==================== 商品卡片 ==================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }
.product-image-wrap {
  aspect-ratio: 1/1;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s;
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.product-attrs { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 8px; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 0.9rem; color: var(--gray-700); margin-bottom: 12px; }
.product-rating .stars { color: var(--gold); }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 12px; }
.product-price { font-size: 1.4rem; font-weight: 900; color: var(--black); }
.product-price-original { font-size: 1rem; color: var(--gray-500); text-decoration: line-through; }
.product-add { width: 100%; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-500); font-size: 1.1rem; }

/* ==================== 商品详情页 ==================== */
.breadcrumb { padding: 16px 0; font-size: 1rem; color: var(--gray-700); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gray-500); margin: 0 6px; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0 80px;
}
.product-gallery {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
}
.product-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.detail-title { font-size: 2.2rem; margin-bottom: 8px; }
.detail-attrs { color: var(--gray-700); margin-bottom: 20px; font-size: 1.1rem; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 1.05rem; }
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 24px;
}
.detail-price { font-size: 2.6rem; font-weight: 900; color: var(--black); }
.detail-price-original { font-size: 1.2rem; color: var(--gray-500); text-decoration: line-through; }
.detail-save { background: var(--gold); color: var(--black); padding: 4px 10px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 800; }
.detail-section { margin-bottom: 24px; }
.detail-section h4 { font-size: 1.05rem; margin-bottom: 12px; }
.attr-options { display: flex; gap: 8px; flex-wrap: wrap; }
.attr-option {
  padding: 10px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.attr-option:hover { border-color: var(--gold); }
.attr-option.selected { border-color: var(--gold); background: rgba(212, 160, 23, 0.1); color: var(--gold-dark); }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn { width: 40px; height: 44px; font-size: 1.2rem; font-weight: 800; }
.qty-btn:hover { background: var(--gray-100); }
.qty-input { width: 50px; height: 44px; text-align: center; border: none; font-size: 1.05rem; font-weight: 700; }
.detail-actions { display: flex; gap: 12px; }
.detail-actions .btn { flex: 1; }
.detail-meta { margin-top: 24px; padding: 16px; background: var(--gray-100); border-radius: var(--radius); font-size: 1rem; }
.detail-meta div { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.detail-meta .icon { color: var(--gold); }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 1.05rem; }
.specs-table td:first-child { color: var(--gray-700); width: 40%; }
.specs-table td:last-child { font-weight: 600; }
.detail-tabs { margin-top: 60px; }
.tab-head { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-100); }
.tab-btn { padding: 14px 24px; font-weight: 700; font-size: 1.05rem; color: var(--gray-700); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-btn.active { color: var(--gold-dark); border-color: var(--gold); }
.tab-panel { padding: 24px 0; }
.tab-panel p { margin-bottom: 12px; color: var(--gray-900); font-size: 1.05rem; }

/* ==================== 购物车 ==================== */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 40px 0 80px; }
.cart-list { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 100px; aspect-ratio: 1/1; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-name { font-weight: 700; margin-bottom: 4px; font-size: 1.05rem; }
.cart-item-attr { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 6px; }
.cart-item-price { font-size: 1.2rem; font-weight: 800; color: var(--black); }
.cart-item-right { text-align: right; }
.cart-item-remove { color: var(--danger); font-size: 0.95rem; font-weight: 600; margin-top: 8px; }
.cart-item-remove:hover { text-decoration: underline; }
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
  position: sticky;
  top: 88px;
  align-self: start;
}
.cart-summary h3 { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 1.05rem; }
.summary-row.total { font-size: 1.3rem; font-weight: 900; padding: 12px 0; border-top: 2px solid var(--black); margin-top: 8px; }
.summary-row.total .price { color: var(--gold-dark); }
.promo-input { display: flex; gap: 8px; margin: 12px 0; }
.promo-input input { flex: 1; padding: 10px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 1rem; }
.promo-input button { padding: 10px 16px; background: var(--black); color: var(--white); border-radius: var(--radius); font-weight: 700; font-size: 1rem; }

/* ==================== 结账 ==================== */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 40px 0 80px; }
.checkout-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--gray-100); }
.form-section { margin-bottom: 32px; }
.form-section h3 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--gray-700); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.payment-option:hover { border-color: var(--gold); }
.payment-option input { width: 18px; height: 18px; }
.payment-option.selected { border-color: var(--gold); background: rgba(212, 160, 23, 0.06); }
.payment-option-info { flex: 1; }
.payment-option-title { font-weight: 700; font-size: 1.05rem; }
.payment-option-desc { font-size: 0.95rem; color: var(--gray-700); }
.order-summary { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-100); position: sticky; top: 88px; align-self: start; }
.order-summary h3 { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.order-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.order-item-img { width: 56px; height: 56px; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.order-item-name { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.order-item-attr { font-size: 0.9rem; color: var(--gray-700); }
.order-item-price { font-weight: 700; font-size: 1rem; }

/* ==================== 订单成功 ==================== */
.success-wrap { text-align: center; padding: 80px 20px; max-width: 600px; margin: 0 auto; }
.success-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; font-size: 3rem; margin: 0 auto 24px; }
.success-wrap h1 { margin-bottom: 12px; }
.success-wrap p { color: var(--gray-700); margin-bottom: 24px; font-size: 1.15rem; }
.success-order { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 24px; margin: 24px 0; text-align: left; }
.success-order .label { color: var(--gray-700); font-size: 0.95rem; }
.success-order .value { font-weight: 800; margin-bottom: 12px; font-size: 1.05rem; }

/* ==================== 列表页筛选 ==================== */
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 32px 0 80px; }
.filter-side { background: var(--white); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--gray-100); align-self: start; position: sticky; top: 88px; }
.filter-group { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { font-size: 1rem; margin-bottom: 10px; }
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-item { display: flex; align-items: center; gap: 8px; font-size: 1rem; cursor: pointer; padding: 4px 0; }
.filter-item:hover { color: var(--gold); }
.filter-item input { width: 16px; height: 16px; accent-color: var(--gold); }
.filter-item .count { color: var(--gray-500); font-size: 0.9rem; margin-left: auto; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.list-toolbar .count { color: var(--gray-700); font-size: 1.05rem; }
.list-toolbar select { padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); background: var(--white); font-family: inherit; font-size: 1rem; }

/* ==================== 特性条 ==================== */
.feature-bar { background: var(--gold); padding: 18px 0; margin-top: 96px; position: relative; z-index: 1; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; }
.feature-item { text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 4px 0; position: relative; }
.feature-item .icon { display: none; }
.feature-item h4 { display: inline; margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--black); letter-spacing: 0.01em; }
.feature-item p { display: none; }
.feature-item + .feature-item::before { content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--black); opacity: 0.35; }

/* ==================== 关于/联系 ==================== */
.about-hero { background: var(--black); color: var(--white); padding: 80px 0; text-align: center; }
.about-hero h1 { color: var(--white); }
.about-hero h1 .accent { color: var(--gold-light); }
.about-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 16px auto 0; font-size: 1.2rem; }
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { margin-bottom: 16px; }
.about-grid p { color: var(--gray-700); margin-bottom: 12px; font-size: 1.05rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.stat-card { background: var(--white); padding: 24px; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--gray-100); }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--gold); display: block; }
.stat-label { font-size: 1rem; color: var(--gray-700); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--gray-100); }
.contact-info h2 { margin-bottom: 24px; }
.contact-method { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.contact-method:last-child { border-bottom: none; }
.contact-method .icon { font-size: 1.4rem; color: var(--gold); }
.contact-method h4 { font-size: 1.05rem; margin-bottom: 2px; }
.contact-method p { color: var(--gray-700); font-size: 1rem; }

/* ==================== 页脚 ==================== */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 60px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { font-size: 1rem; }
.footer a:hover { color: var(--gold-light); }
.footer-brand { margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-brand .footer-logo {
  height: 64px;
  width: auto;
  display: block;
}
.footer p { font-size: 1rem; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold); color: var(--black); }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 0.95rem; color: rgba(255,255,255,0.5); }

/* ==================== 通知 ==================== */
.toast {
  position: fixed;
  top: 100px;
  right: 24px;
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  transform: translateX(120%);
  transition: transform 0.3s;
}
.toast.show { transform: translateX(0); }
.toast .icon { color: var(--gold-light); }

/* ==================== 响应式 ==================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero-inner, .product-detail, .cart-layout, .checkout-layout, .about-grid, .contact-grid, .list-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-side { position: static; }
  .cart-summary, .order-summary { position: static; }
  .hero { padding: 56px 0 0; }
  .feature-bar { padding: 20px 0; margin-top: 56px; }
  .feature-grid { gap: 14px; }
  .feature-item h4 { font-size: 1rem; }
  .feature-item + .feature-item::before { display: none; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .logo-img { height: 44px; }
  .footer-brand .footer-logo { height: 52px; }
}
@media (max-width: 540px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 1rem; }
  .product-price { font-size: 1.2rem; }
}
