﻿/* ========================================
   鍏ㄥ眬閲嶇疆涓庡熀纭€鏍峰紡
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #5c3d2e;
  --primary-dark: #3e2723;
  --accent: #c0392b;
  --accent-hover: #a93226;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #f7f4f0;
  --bg-white: #ffffff;
  --border: #e0d8cf;
  --border-light: #ede8e0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --header-h: 110px;
  --nav-h: 48px;
  --font-main: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img {
  max-width: 100%;
  display: block;
  /* 鍥剧墖鐮存崯鏃舵樉绀烘鑹插崰浣嶈儗鏅?*/
  background-color: #ede8e0;
}
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.sakurawp-header-contact {
  color: var(--sakurawp-contact-text, var(--primary));
  border-color: var(--sakurawp-contact-border, var(--primary));
  background: var(--sakurawp-contact-bg, transparent);
}

.sakurawp-header-contact:hover,
.sakurawp-header-contact:focus-visible {
  color: var(--sakurawp-contact-hover-text, #fff);
  border-color: var(--sakurawp-contact-hover-border, var(--primary));
  background: var(--sakurawp-contact-hover-bg, var(--primary));
}

.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ========================================
   椤堕儴鍏憡鏍?
   ======================================== */
.top-bar {
  background: var(--primary-dark);
  color: #d4c5b0;
  font-size: 12px;
  padding: 6px 0;
  text-align: center;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-links a {
  color: #d4c5b0;
  margin-left: 16px;
  font-size: 12px;
}
.top-bar-links a:hover { color: #fff; }

/* ========================================
   澶撮儴 Header
   ======================================== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.logo-main {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -1px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 400px;
  margin: 0 30px;
}
.header-search .search-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.search-box {
  display: flex;
  flex: 1;
}
.search-box input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13px;
  outline: none;
  background: var(--bg);
}
.search-box input:focus {
  border-color: var(--primary);
  background: #fff;
}
.search-box button {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.search-box button:hover { background: var(--accent-hover); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn { font-size: 13px; }
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
}
.cart-icon:hover { background: var(--primary-dark); }
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ========================================
   涓诲鑸?
   ======================================== */
.main-nav {
  background: var(--primary);
}
.main-nav .container {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
}
.main-nav ul li a {
  display: block;
  padding: 12px 28px;
  color: #e8ddd0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.main-nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #fff;
}

/* ========================================
   鑻遍泟Banner鍖哄煙
   ======================================== */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  display: flex;
  /* 淇锛氬幓鎺?max-width 闄愬埗锛岃 banner 閾烘弧鏁村睆 */
}

.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.hero-slide {
  display: none;
  width: 100%;
}
.hero-slide.active { display: flex; }

/* banner 鍐呭灞呬腑锛岄檺鍒舵渶澶у搴?*/
.hero-content-wrap {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 400px;
}
.hero-text-side {
  flex: 0 0 420px;
  background: rgba(255,255,255,0.96);
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 淇锛氭枃妗堝尯鍔犲彸渚ч槾褰卞垎鍓?*/
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}
.hero-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}
.hero-btn { align-self: flex-start; }

.hero-img-side {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2f 30%, #1a3d0a 60%, #0d2206 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* 淇锛氱Щ闄?min-height 闄愬埗锛岀敱鐖跺鍣ㄦ拺楂?*/
}
.hero-img-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(74,124,47,0.4) 0%,
    rgba(29,78,16,0.6) 50%,
    rgba(10,30,5,0.8) 100%);
}
.hero-img-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 80px;
}

/* slider dots */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.slider-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* ========================================
   鍒嗙被蹇嵎瀵艰埅
   ======================================== */
.category-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}
.category-nav-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg);
}
.category-nav-item:hover,
.category-nav-item.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.category-nav-item .count {
  font-size: 11px;
  opacity: 0.7;
}

/* ========================================
   鍖哄潡鏍囬
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}
.section-more {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  transition: all 0.2s;
}
.section-more:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========================================
   鍟嗗搧鍗＄墖
   ======================================== */
.products-section { padding: 32px 0; }

/* 鍟嗗搧缃戞牸锛氱粺涓€鍝嶅簲寮忕瓥鐣モ€斺€旇嚜鍔ㄥ～婊★紝涓嶇暀绌虹櫧 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ede8e0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
  z-index: 2;
}
.product-badge.new { background: #27ae60; }
.product-badge.hot { background: #e67e22; }

.product-info { padding: 12px; }
.product-name {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.product-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.price-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.price-original {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-actions {
  display: flex;
  gap: 6px;
}
.product-actions .btn {
  flex: 1;
  font-size: 11px;
  padding: 6px 8px;
}

/* 鍟嗗搧鍗＄墖澶х増鏈紙鏍忕洰椤碉級浣跨敤鐩稿悓缃戞牸锛屼繚鎸佷竴鑷?*/
.products-grid-lg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.products-grid-lg .product-card .product-name {
  font-size: 13px;
  min-height: 40px;
}
.products-grid-lg .product-card .price-current {
  font-size: 16px;
}

/* ========================================
   渚ц竟鏍忓垎绫?
   ======================================== */
.layout-with-sidebar {
  display: flex;
  gap: 24px;
  padding: 28px 0;
}

.sidebar {
  flex: 0 0 200px;
  min-width: 200px;
}
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.sidebar-widget-title {
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.sidebar-list li {
  border-bottom: 1px solid var(--border-light);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text);
  transition: all 0.15s;
}
.sidebar-list li a:hover,
.sidebar-list li a.active {
  background: var(--bg);
  color: var(--accent);
  padding-left: 20px;
}
.sidebar-list li a .cat-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 1px 7px;
  border-radius: 10px;
}

.main-content { flex: 1; min-width: 0; }

/* 绛涢€夊伐鍏锋爮 */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-label { font-size: 13px; color: var(--text-muted); }
.filter-btn {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.filter-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.result-count { font-size: 13px; color: var(--text-muted); }

/* 鍒嗛〉 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 28px 0 8px;
}
.page-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  background: var(--bg-white);
  color: var(--text);
  transition: all 0.15s;
}
.page-item:hover,
.page-item.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.page-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========================================
   鍟嗗搧璇︽儏椤?
   ======================================== */
.product-detail { padding: 28px 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

.product-detail-layout {
  display: flex;
  gap: 36px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
}
.product-gallery {
  flex: 0 0 380px;
}
.main-image {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f5f2ed;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-info-panel {
  flex: 1;
  min-width: 0;
}
.product-detail-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.product-detail-price {
  margin-bottom: 20px;
}
.detail-price-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.detail-price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 10px;
}

.option-group {
  margin-bottom: 16px;
}
.sakurawp-variation-field {
  display: flex;
  align-items: center;
  gap: 12px;
}
.option-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}
.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
}
.sakurawp-variation-field select.sakurawp-variation-select {
  display: none !important;
}
.sakurawp-variation-field .sakurawp-variation-buttons {
  margin-top: 0;
}
.option-item {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}
.option-item:hover,
.option-item.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: #fef9f9;
}

.variations_form .variations select.sakurawp-variation-select {
  display: none !important;
}

.variations_form .reset_variations,
.variations_form .woocommerce-variation-description,
.variations_form .woocommerce-variation-availability,
.variations_form .woocommerce-variation-price {
  display: none !important;
}

.sakurawp-variation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.sakurawp-variation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sakurawp-variation-button:hover:not(:disabled),
.sakurawp-variation-button.is-active {
  border-color: var(--accent);
  background: #fef9f9;
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.08);
}

.sakurawp-variation-button:disabled,
.sakurawp-variation-button.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #fafafa;
  color: var(--text-muted);
  border-color: var(--border-light);
  box-shadow: none;
}

.qty-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.sakurawp-variation-qty-group {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 14px;
}
.sakurawp-variation-qty-group .qty-control {
  margin-left: 0;
}
.sakurawp-variation-qty-group .qty-label {
  min-width: 72px;
}
.sakurawp-variation-qty-group .qty-control {
  flex: 0 0 auto;
}
.sakurawp-variation-qty-group > span:last-child {
  margin-left: 4px;
  white-space: nowrap;
}
.woocommerce-variation-add-to-cart.variations_button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
}

.add-to-cart-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.add-to-cart-row > form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  flex: 0 0 auto;
  width: auto;
}
.product-detail-layout[data-product-type="variable"] .add-to-cart-row > form {
  display: block;
  width: 100%;
  flex: 1 1 100%;
}
.add-to-cart-row > form > .btn,
.add-to-cart-row > form > a.btn,
.add-to-cart-row > .btn[data-action="buy-now-variable"] {
  flex: 0 0 auto;
  min-width: 120px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}
.add-to-cart-row .single_add_to_cart_button,
.add-to-cart-row > .btn[data-action="buy-now-variable"] {
  width: auto;
}
.variation-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.variation-action-row > .btn {
  flex: 0 0 auto;
  min-width: 120px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.product-stats {
  display: flex;
  gap: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.stat-item { text-align: center; flex: 1; }
.stat-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}
.stat-label { font-size: 11px; color: var(--text-muted); }

.product-tabs {
  margin-top: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}
.tab-btn {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
  font-family: var(--font-main);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-panel {
  display: none;
  padding: 24px;
}
.tab-panel.active { display: block; }
.tab-panel p { color: var(--text-light); line-height: 1.9; margin-bottom: 12px; font-size: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td {
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}
.spec-table th { background: var(--bg); color: var(--text-light); width: 30%; }

/* ========================================
   璐墿杞﹂〉闈?
   ======================================== */
.cart-page { padding: 28px 0; }
.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.cart-main { flex: 1; min-width: 0; }
.cart-aside { flex: 0 0 320px; }

.cart-table {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cart-table-head {
  display: grid;
  grid-template-columns: 48px 1fr 120px 120px 80px;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr 120px 120px 80px;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: background 0.15s;
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--bg); }
.cart-cb input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }
.cart-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cart-product-img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ede8e0;
  flex-shrink: 0;
  padding: 4px;
}
.cart-product-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-product-name { font-size: 13px; color: var(--text); line-height: 1.5; }
.cart-product-sku { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.cart-price { font-size: 14px; color: var(--text); font-weight: 500; }
.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100px;
}
.cart-qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
}
.cart-qty-btn:hover { background: var(--primary); color: #fff; }
.cart-qty-val {
  flex: 1;
  text-align: center;
  font-size: 13px;
  border: none;
  outline: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: #fff;
  height: 30px;
}
.cart-subtotal { font-size: 14px; color: var(--accent); font-weight: 700; }
.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-remove:hover { color: var(--accent); }

.cart-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
}

.order-summary {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.summary-title {
  padding: 14px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.summary-body { padding: 16px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-size: 16px;
  font-weight: 700;
  padding-top: 12px;
}
.summary-row.total .amount { color: var(--accent); font-size: 20px; }
.coupon-input {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.coupon-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}
.coupon-input input:focus { border-color: var(--primary); }

/* ========================================
   鍏充簬鎴戜滑
   ======================================== */
.about-page { padding: 0; }
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a3728 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.about-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.about-hero p { font-size: 16px; opacity: 0.8; max-width: 500px; margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 48px 0;
  align-items: center;
}
.about-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 14px;
  margin-bottom: 14px;
}
.about-img-placeholder {
  background: linear-gradient(135deg, #c8bfb0 0%, #a89880 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255,255,255,0.5);
}

.stats-band {
  background: var(--primary);
  padding: 36px 0;
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-block { color: #fff; }
.stat-block .num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-block .label { font-size: 13px; opacity: 0.75; }

.values-section { padding: 48px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon { font-size: 36px; margin-bottom: 14px; }
.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.value-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

.team-section { padding: 0 0 48px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
  transition: all 0.25s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  height: 140px;
  background: linear-gradient(135deg, #d4c5b0 0%, #b0997e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  margin-bottom: 14px;
}
.team-name { font-size: 15px; font-weight: 600; color: var(--primary-dark); margin-bottom: 4px; }
.team-role { font-size: 12px; color: var(--text-muted); }

.about-faq-section { margin-top: 36px; margin-bottom: 8px; }
.about-faq-section .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.about-faq-section details {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-faq-section details summary {
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg);
  list-style: none;
}
.about-faq-section details summary::-webkit-details-marker { display: none; }
.about-faq-section details summary::after {
  content: '+';
  float: right;
  font-weight: 700;
}
.about-faq-section details[open] summary::after { content: '-'; }
.about-faq-section details[open] summary {
  background: var(--primary);
  color: #fff;
}
.about-faq-section details div {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-section {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-text h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.contact-text p { font-size: 13px; color: var(--text-light); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; color: var(--text-light); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ========================================
   页脚
   ======================================== */
.site-footer {
  background: var(--primary-dark);
  color: #c8bfb0;
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding: 40px 0 28px;
}

.footer-brand-row {
  min-width: 0;
  padding-right: 8px;
}

.footer-brand-logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.footer-brand-logo-icon {
  line-height: 1;
}

.footer-brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand-logo-text {
  display: inline-block;
}

.footer-brand-desc {
  margin: 0 0 18px;
  font-size: 12px;
  color: #9a8b78;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 36px;
  padding: 0 12px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #c8bfb0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--accent);
  color: #fff;
}

.footer-links-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
  line-height: 1.4;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col ul li {
  margin: 0;
  min-width: 0;
}

.footer-col ul li a {
  display: inline-block;
  font-size: 12px;
  color: #9a8b78;
  line-height: 1.7;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-copyright {
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0 18px;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 11px;
  color: #6b5e50;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-row {
    padding-right: 0;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 20px;
  }
}

/* ========================================
   閫氱煡鎻愮ず
   ======================================== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  animation: toastIn 0.3s ease;
}
.toast.success { border-left-color: #27ae60; }
.toast-icon { font-size: 16px; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ========================================
   绌鸿喘鐗╄溅
   ======================================== */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
.cart-empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
.cart-empty h3 { font-size: 18px; font-weight: 600; color: var(--text-light); margin-bottom: 10px; }
.cart-empty p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* ========================================
   鍏憡寮圭獥
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}
.modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.modal-close:hover { color: #fff; }
.modal-body { padding: 24px; font-size: 14px; color: var(--text-light); line-height: 1.8; }
.modal-footer { padding: 0 24px 20px; display: flex; justify-content: flex-end; gap: 8px; }

/* ========================================
   鍥剧墖鍗犱綅锛氱牬鎹熸椂浼橀泤闄嶇骇
   ======================================== */
/* 瑕嗙洊娴忚鍣ㄩ粯璁ょ牬鍥惧浘鏍?*/
img[src=""],
img:not([src]) {
  opacity: 0;
}
.product-img-wrap::before,
.product-img-wrap img[src=""],
.product-img-wrap img:not([src]) {
  display: none;
}

/* ========================================
   鍝嶅簲寮?Mobile
   ======================================== */
@media (max-width: 900px) {
  .layout-with-sidebar { flex-direction: column; }
  .sidebar { flex: none; width: 100%; min-width: unset; }
  .hero-text-side { flex: 0 0 280px; }
  .hero-title { font-size: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-img-placeholder { aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-layout { flex-direction: column; }
  .product-gallery { flex: none; width: 100%; }
  .cart-layout { flex-direction: column; }
  .cart-aside { flex: none; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  /* 骞虫澘锛?鍒?*/
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .products-grid-lg { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  .top-bar .container { flex-direction: column; gap: 4px; }
  .header-main {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0;
  }
  .hero-content-wrap { flex-direction: column; }
  .hero-text-side {
    flex: none;
    padding: 28px 24px;
  }
  .hero-title { font-size: 32px; }
  .hero-img-side { min-height: 180px; }
  .main-nav ul { overflow-x: auto; }
  .main-nav ul li a { padding: 12px 16px; white-space: nowrap; }

  /* 鎵嬫満锛?鍒?*/
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products-grid-lg { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* 淇 about 椤甸潰绉诲姩绔秴澶х┖鐧斤細褰诲簳绮剧畝鍚勬ā鍧楅珮搴?*/
  .about-page { padding: 0; }
  .about-hero { padding: 28px 0; }
  .about-hero h1 { font-size: 24px; }
  .about-hero p { font-size: 13px; }
  .about-grid { padding: 24px 0; gap: 16px; }
  .about-text h2 { font-size: 18px; }
  .about-text p { font-size: 13px; margin-bottom: 10px; }
  .about-img-placeholder { aspect-ratio: 16/9; height: 160px; }
  .stats-band { padding: 20px 0; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-block .num { font-size: 24px; }
  .stat-block .label { font-size: 11px; }

  /* values-section锛氭敼涓烘瀬绱у噾鍗曞垪 */
  .values-section { padding: 24px 0; }
  .values-section .section-header { margin-bottom: 14px; }
  .values-grid { grid-template-columns: 1fr; gap: 10px; }
  .value-card { padding: 16px 14px; border-radius: var(--radius-md); }
  .value-icon { font-size: 24px; margin-bottom: 8px; }
  .value-card h3 { font-size: 14px; margin-bottom: 6px; }
  .value-card p { font-size: 12px; line-height: 1.6; }

  /* team-section锛氭敼涓?鍒楃揣鍑?*/
  .team-section { padding: 0 0 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-avatar { height: 90px; font-size: 36px; margin-bottom: 10px; }
  .team-name { font-size: 13px; }
  .team-role { font-size: 11px; }

  /* contact-section锛氭瀬绱у噾 */
  .contact-section { padding: 16px; margin-bottom: 20px; }
  .contact-info-list { gap: 10px; }
  .contact-info-item { padding: 8px 0; border-bottom: 1px solid var(--border-light); gap: 10px; }
  .contact-info-item:last-child { border-bottom: none; }
  .contact-icon { width: 32px; height: 32px; font-size: 14px; }
  .contact-text h4 { font-size: 12px; }
  .contact-text p { font-size: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-section > .section-header { margin-bottom: 14px; }

  /* FAQ锛氭敼涓哄崟鍒楁瀬绱у噾 */
  .about-faq-section { margin-top: 20px; }
  .about-faq-section .section-header { margin-bottom: 12px; }
  .about-faq-section .faq-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .about-faq-section details {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .about-faq-section details summary {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg);
  }
  .about-faq-section details[open] summary {
    background: var(--primary);
    color: #fff;
  }
  .about-faq-section details div {
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.7;
  }

  /* ======= 移动端 footer ======= */
  .site-footer {
    padding: 0;
  }

  .site-footer .container {
    padding: 0 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0 18px;
  }

  .footer-brand-row {
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-brand-logo {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .footer-brand-desc {
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 12px;
  }

  .footer-social {
    gap: 8px;
  }

  .social-btn {
    min-width: 44px;
    height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    padding-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.2px;
  }

  .footer-col ul {
    gap: 6px;
  }

  .footer-col ul li a {
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }

  .footer-copyright {
    padding: 14px 0 18px;
  }

  .footer-copyright p {
    font-size: 10px;
    line-height: 1.5;
  }

  /* 璐墿杞︽墜鏈?*/
  .cart-table-head { display: none; }
  .cart-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "product remove"
      "price qty"
      ". subtotal";
    gap: 8px;
  }
  .cart-cb { display: none; }
  .cart-product { grid-area: product; }
  .cart-price { grid-area: price; font-size: 12px; }
  .cart-qty-ctrl { grid-area: qty; }
  .cart-subtotal { grid-area: subtotal; text-align: right; }
  .cart-remove { grid-area: remove; }
}

/* ========================================
   WordPress 鍩虹閫傞厤
   ======================================== */
.site-content {
  display: block;
  padding-bottom: 48px;
}

.search-form {
  width: 100%;
}

.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a,
.main-nav li.current-menu-ancestor > a {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.main-nav li.current-menu-item > a::after,
.main-nav li.current_page_item > a::after,
.main-nav li.current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #fff;
}

.entry-content > * + * {
  margin-top: 16px;
}

.page-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.page-content .entry-content {
  color: var(--text-light);
  line-height: 1.9;
}

.page-content .entry-content h2,
.page-content .entry-content h3 {
  color: var(--text);
  margin-top: 20px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  transition: all 0.15s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .dots {
  background: transparent;
  border-color: transparent;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  left: 12px;
  top: 12px;
  z-index: 2000;
  background: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
