/*
Theme Name: Stack Store
Theme URI: https://example.com/
Description: 暗色奢华风格的B2C电商主题，专为实体商品销售设计
Version: 1.0.0
Author: Stack Developer
Author URI: https://example.com/
Text Domain: stack-store
Domain Path: /languages
Tags: e-commerce, woocommerce, dark-theme, gold, glassmorphism, responsive
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --bg: #0a0a0d;
  --bg-2: #111116;
  --bg-elevated: #141419;
  --bg-card: rgba(20, 20, 25, 0.7);
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dark: #a68a3d;
  --gold-soft: rgba(201, 169, 98, 0.15);
  --gold-gradient: linear-gradient(135deg, #f5e6c8 0%, #d4b86a 40%, #b8943f 70%, #9a7a2e 100%);
  --text: #f5f5f7;
  --text-muted: #a0a0a8;
  --text-subtle: #6e6e78;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(201, 169, 98, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --font-display: 'Playfair Display', 'Didot', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-2xl: 96px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-border {
  border: 1px solid var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.btn-dark {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text);
}

.btn-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: 0.02em;
}

.section-title span {
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--gold-gradient);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 13, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark .code-symbol {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.header-icon svg {
  width: 18px;
  height: 18px;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.header-login {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  color: var(--gold);
}

.header-login:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.hero-section {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.hero-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16/8;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-content {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 12px;
}

.hero-slide-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-slide-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-slide-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  right: 32px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.hero-card-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-card-title a:hover {
  color: var(--gold);
}

.hero-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-card-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.categories-section {
  padding: 60px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card-info {
  padding: 16px;
  text-align: center;
}

.category-card-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.category-card-count {
  font-size: 12px;
  color: var(--text-subtle);
}

.products-section {
  padding: 60px 0;
  background: var(--bg-2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-badge.sale {
  background: #e74c3c;
  color: #fff;
}

.product-badge.new {
  background: var(--gold);
  color: #1a1a1a;
}

.product-card-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.price-old {
  font-size: 14px;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--gold-gradient);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  grid-column: span 1;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-subtle);
}

.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-width: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--gold);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 7px;
}

.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  margin-bottom: 10px;
}

.widget a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s ease;
}

.widget a:hover {
  color: var(--gold);
}

.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.search-field {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.search-field:focus {
  outline: none;
  border-color: var(--gold);
}

.search-submit {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit svg {
  width: 18px;
  height: 18px;
}

.header-search-form {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  display: none;
}

.header-search-form.active {
  display: block;
}

.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--gold);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-author img {
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 600;
  font-style: normal;
}

.comment-metadata a {
  font-size: 12px;
  color: var(--text-subtle);
}

.comment-content {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.reply a {
  font-size: 13px;
  color: var(--gold);
}

.comment-respond {
  margin-top: 40px;
}

.comment-reply-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.comment-form p {
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.required {
  color: #e74c3c;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
  width: 100%;
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
}

.nav-menu .sub-menu a::after {
  display: none;
}

.nav-menu .sub-menu a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--gold);
}

.menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  border-color: var(--gold);
  color: var(--gold);
}

.search-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.search-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.search-item-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}

.search-item-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.search-item-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.search-item-type {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.search-item-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.read-more {
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
}

.woocommerce div.product {
  padding: 0;
}

.woocommerce .product_title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.woocommerce .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.woocommerce .price del {
  color: var(--text-subtle);
  font-size: 16px;
  font-weight: 400;
}

.woocommerce .quantity input {
  padding: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  text-align: center;
}

.woocommerce .single_add_to_cart_button {
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.woocommerce .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.woocommerce-tabs {
  margin-top: 60px;
}

.woocommerce-tabs .tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-tabs .tabs li a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.woocommerce-tabs .tabs li.active a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: var(--bg-elevated);
  color: var(--gold);
  font-weight: 600;
  padding: 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}

.woocommerce table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.woocommerce-cart-form .coupon input {
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.woocommerce-cart-form .coupon button {
  padding: 10px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce-cart-form .coupon button:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.woocommerce .cart-collaterals {
  margin-top: 40px;
}

.woocommerce .cart_totals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  min-width: 350px;
}

.woocommerce .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold);
}

.woocommerce .cart_totals .checkout-button {
  width: 100%;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.woocommerce .cart_totals .checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.woocommerce-checkout #customer_details {
  margin-bottom: 40px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--gold);
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

#order_review_heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--gold);
}

#order_review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

#order_review table {
  width: 100%;
  border-collapse: collapse;
}

#order_review th,
#order_review td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

#order_review .order-total th,
#order_review .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.woocommerce-checkout #payment {
  margin-top: 30px;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
}

.woocommerce-checkout #place_order {
  width: 100%;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-weight: 600;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce-checkout #place_order:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    padding: 16px;
    display: none;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-menu a::after {
    display: none;
  }
  
  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: 20px;
  }
  
  .search-item-inner {
    grid-template-columns: 1fr;
  }
  
  .search-item-thumb img {
    height: 200px;
  }
}

@media (max-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-slide-content {
    padding: 16px;
  }
  
  .hero-slide-title {
    font-size: 18px;
  }
}

.page-header {
  padding: 120px 0 40px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.page-header .container {
  text-align: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.page-section {
  padding: 60px 0;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--gold);
}

.page-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.page-content ul,
.page-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-muted);
}

.page-content li {
  margin-bottom: 8px;
}

.shop-section {
  padding: 60px 0;
}

.shop-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.shop-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold);
}

.widget-category-list {
  list-style: none;
}

.widget-category-list li {
  margin-bottom: 8px;
}

.widget-category-list a {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.widget-category-list a:hover,
.widget-category-list a.active {
  color: var(--gold);
}

.category-count {
  color: var(--text-subtle);
  font-size: 12px;
}

.widget-price-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-input label {
  font-size: 12px;
  color: var(--text-subtle);
  margin-bottom: 4px;
  display: block;
}

.price-input input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
}

.price-input input:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.widget-product-list {
  list-style: none;
}

.widget-product-list li {
  margin-bottom: 12px;
}

.widget-product-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.widget-product-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.widget-product-info {
  flex: 1;
}

.widget-product-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.widget-product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.shop-content {
  display: flex;
  flex-direction: column;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.toolbar-result {
  font-size: 14px;
  color: var(--text-muted);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.toolbar-sort label {
  font-size: 14px;
  color: var(--text-muted);
  margin-right: 8px;
}

.toolbar-sort select {
  padding: 8px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
}

.toolbar-sort select:focus {
  outline: none;
  border-color: var(--gold);
}

.toolbar-view {
  display: flex;
  gap: 8px;
}

.view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.view-btn svg {
  width: 16px;
  height: 16px;
}

.shop-pagination {
  margin-top: 40px;
  text-align: center;
}

.shop-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.shop-pagination .page-numbers a:hover,
.shop-pagination .page-numbers span.current {
  border-color: var(--gold);
  color: var(--gold);
}

.product-detail-section {
  padding: 60px 0;
}

.product-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-thumbs img:hover {
  border-color: var(--gold);
}

.product-info-header {
  margin-bottom: 32px;
}

.product-category {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
}

.product-category a {
  color: var(--gold);
}

.product-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-rating-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.rating-count {
  font-size: 14px;
  color: var(--text-muted);
}

.product-price-wrap {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.product-description {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.product-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-label {
  font-size: 14px;
  color: var(--text-subtle);
}

.meta-value {
  font-size: 14px;
  color: var(--text);
}

.product-share {
  display: flex;
  align-items: center;
  gap: 16px;
}

.share-label {
  font-size: 14px;
  color: var(--text-muted);
}

.share-links {
  display: flex;
  gap: 12px;
}

.share-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.share-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.share-link svg {
  width: 16px;
  height: 16px;
}

.product-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  padding: 16px 32px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--gold);
  background: var(--bg-elevated);
}

.tabs-content {
  padding: 32px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.shipping-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold);
}

.shipping-info ul {
  list-style: none;
  padding: 0;
}

.shipping-info li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.related-products {
  margin-top: 60px;
}

.cart-section {
  padding: 60px 0;
}

.cart-cross-sell {
  margin-top: 60px;
}

.checkout-section {
  padding: 60px 0;
}

.search-section {
  padding: 60px 0;
}

.search-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.search-results {
  max-width: 800px;
  margin: 0 auto;
}

.search-result-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.result-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.result-title a {
  color: var(--text);
}

.result-title a:hover {
  color: var(--gold);
}

.result-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.result-meta {
  font-size: 12px;
  color: var(--text-subtle);
}

.result-date,
.result-category {
  margin-right: 16px;
}

.search-pagination {
  margin-top: 40px;
  text-align: center;
}

.no-results {
  text-align: center;
  padding: 60px 0;
}

.no-results-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 24px;
  color: var(--text-subtle);
}

.no-results-icon svg {
  width: 40px;
  height: 40px;
}

.no-results h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.no-results p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.error-404-section {
  padding: 120px 0 60px;
  text-align: center;
}

.error-404-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.error-404-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 24px;
  color: var(--gold);
}

.error-404-icon svg {
  width: 60px;
  height: 60px;
}

.error-404-title {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-404-subtitle {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.error-404-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.error-404-search h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.category-description {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 992px) {
  .shop-wrap {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    position: static;
  }
  
  .product-detail-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .toolbar-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ============================================================
   WooCommerce 样式覆盖
   ============================================================ */

/* 移除WooCommerce默认面包屑的多余样式 */
.woocommerce-breadcrumb {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.woocommerce-breadcrumb a {
  color: var(--text-muted);
}

.woocommerce-breadcrumb a:hover {
  color: var(--gold);
}

/* 产品卡片 - 覆盖WooCommerce默认样式 */
.woocommerce ul.products,
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product,
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.woocommerce ul.products li.product:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.woocommerce ul.products li.product a img,
.product-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce ul.products li.product:hover a img,
.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-image-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  background: var(--bg-elevated);
}

.product-image-placeholder svg {
  width: 64px;
  height: 64px;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 2;
}

.product-badge.sale {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.product-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(10, 10, 13, 0.95) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.woocommerce ul.products li.product .button,
.product-card-overlay .button,
.product-card-overlay .add_to_cart_button {
  background: var(--gold-gradient);
  color: #0a0a0d;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.woocommerce ul.products li.product .button:hover,
.product-card-overlay .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.product-card-info {
  padding: 16px;
}

.product-category {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.product-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text);
}

.product-title a {
  color: var(--text);
}

.product-title a:hover {
  color: var(--gold);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.product-rating .stars {
  color: var(--gold);
  font-size: 12px;
}

.product-rating .star.filled {
  color: var(--gold);
}

.product-rating .star {
  color: var(--border-light);
}

.rating-count {
  font-size: 12px;
  color: var(--text-subtle);
}

.woocommerce ul.products li.product .price,
.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.woocommerce ul.products li.product .price del {
  color: var(--text-subtle);
  font-size: 14px;
  font-weight: 400;
  margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

/* 排序下拉框 */
.woocommerce-ordering select {
  padding: 8px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.woocommerce-ordering select:focus {
  outline: none;
  border-color: var(--gold);
}

/* WooCommerce通知 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: var(--text);
  list-style: none;
}

.woocommerce-message {
  border-left: 4px solid var(--gold);
}

.woocommerce-info {
  border-left: 4px solid #60a5fa;
}

.woocommerce-error {
  border-left: 4px solid #f87171;
}

/* 购物车页面 */
.woocommerce-cart-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.woocommerce-cart-form table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart-form table.shop_table th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce-cart-form table.shop_table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.woocommerce-cart-form table.shop_table td.product-remove {
  width: 40px;
}

.woocommerce-cart-form table.shop_table .product-remove a {
  color: var(--text-subtle);
  font-size: 18px;
}

.woocommerce-cart-form table.shop_table .product-remove a:hover {
  color: #f87171;
}

.woocommerce-cart-form table.shop_table .product-thumbnail {
  width: 80px;
}

.woocommerce-cart-form table.shop_table .product-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.woocommerce-cart-form table.shop_table .product-name a {
  font-weight: 500;
  color: var(--text);
}

.woocommerce-cart-form table.shop_table .product-name a:hover {
  color: var(--gold);
}

.woocommerce-cart-form table.shop_table .product-price,
.woocommerce-cart-form table.shop_table .product-subtotal {
  font-weight: 600;
  color: var(--gold);
}

.woocommerce-cart-form table.shop_table .quantity input {
  width: 60px;
  padding: 6px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-align: center;
}

.cart-collaterals {
  display: flex;
  justify-content: flex-end;
}

.cart_totals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 360px;
}

.cart_totals h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold);
}

.cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cart_totals table th,
.cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.cart_totals table th {
  color: var(--text-muted);
  font-weight: 400;
}

.cart_totals table td {
  text-align: right;
  font-weight: 500;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  border-bottom: none;
  padding-top: 16px;
}

.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--gold-gradient);
  color: #0a0a0d;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* 结算页面 - only block editor div, NOT body or form */
.woocommerce-checkout:not(body):not(form) {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

/* 强制 body 和 form 使用 block 布局，防止 grid 错位 */
body.woocommerce-checkout {
  display: block !important;
}

form.checkout.woocommerce-checkout {
  display: block !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.woocommerce form .form-row {
  margin-bottom: 16px;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.woocommerce form .form-row label .required {
  color: #f87171;
}

.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--gold);
}

.woocommerce form .form-row textarea {
  min-height: 100px;
  resize: vertical;
}

.woocommerce-checkout-review-order {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.woocommerce-checkout-review-order table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce-checkout-review-order table tfoot tr:last-child th,
.woocommerce-checkout-review-order table tfoot tr:last-child td {
  border-bottom: none;
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  padding-top: 16px;
}

#payment {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}

.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.wc_payment_methods li {
  margin-bottom: 8px;
  padding: 12px;
  background: var(--bg-elevated);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.wc_payment_methods li label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

#place_order {
  width: 100%;
  padding: 16px 24px;
  background: var(--gold-gradient);
  color: #0a0a0d;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* 我的账户页面 */
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.woocommerce-MyAccount-navigation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.woocommerce-MyAccount-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 16px;
}

/* 产品详情页 */
.woocommerce-product-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.woocommerce-product-gallery img {
  width: 100%;
  border-radius: 8px;
}

.woocommerce-product-gallery .flex-viewport {
  margin-bottom: 16px;
}

.woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-product-gallery ol.flex-control-thumbs li {
  width: 80px;
  height: 80px;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.woocommerce-product-gallery ol.flex-control-thumbs li:hover,
.woocommerce-product-gallery ol.flex-control-thumbs li.flex-active {
  border-color: var(--gold);
}

.woocommerce-product-gallery ol.flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce-summary .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 16px;
}

.woocommerce-summary .price del {
  color: var(--text-subtle);
  font-size: 18px;
  font-weight: 400;
  margin-right: 12px;
}

.woocommerce-product-details__short-description {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.woocommerce form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.woocommerce form.cart .quantity {
  display: flex;
  align-items: center;
}

.woocommerce form.cart .quantity input {
  width: 80px;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-align: center;
  font-size: 16px;
}

.woocommerce form.cart .single_add_to_cart_button {
  flex: 1;
  padding: 14px 28px;
  background: var(--gold-gradient);
  color: #0a0a0d;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce form.cart .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.woocommerce-product-meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.woocommerce-product-meta .sku_wrapper,
.woocommerce-product-meta .posted_in,
.woocommerce-product-meta .tagged_as {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.woocommerce-product-meta a {
  color: var(--text);
}

.woocommerce-product-meta a:hover {
  color: var(--gold);
}

/* 产品详情Tab */
.woocommerce-tabs {
  margin-top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 16px 28px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li.active a {
  color: var(--gold);
  background: var(--bg-card);
}

.woocommerce-tabs .woocommerce-Tabs-panel {
  padding: 32px;
}

.woocommerce-tabs h2 {
  display: none;
}

/* 相关产品 */
.related.products {
  margin-top: 60px;
}

.related.products h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
}

/* 无产品页面 */
.no-products {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.no-products-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--bg-elevated);
  border-radius: 50%;
  color: var(--text-subtle);
}

.no-products-icon svg {
  width: 40px;
  height: 40px;
}

.no-products h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.no-products p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* 侧边栏热销商品 */
.widget-product-thumb {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: 6px;
  color: var(--text-subtle);
  flex-shrink: 0;
}

.widget-product-thumb svg {
  width: 24px;
  height: 24px;
}

/* WooCommerce按钮通用 */
.btn,
.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold-gradient);
  color: #0a0a0d;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn:hover,
.button:hover,
.wp-element-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  color: #0a0a0d;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0a0a0d;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* 响应式 - WooCommerce */
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .woocommerce-checkout:not(form) {
    grid-template-columns: 1fr;
  }
  
  .woocommerce-checkout-review-order {
    position: static;
  }
}

@media (max-width: 768px) {
  .shop-wrap {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    position: static;
  }
  
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }
  
  .woocommerce-MyAccount-navigation {
    position: static;
  }
  
  .cart_totals {
    width: 100%;
  }
  
  .cart-collaterals {
    justify-content: center;
  }
  
  .woocommerce-tabs ul.tabs {
    flex-wrap: wrap;
  }
  
  .woocommerce-tabs ul.tabs li a {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 20px;
  }
  
  .woocommerce-cart-form {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   购物车页面样式优化
   ============================================================ */

.woocommerce-cart .cart-section {
  padding: 60px 0;
}

.woocommerce-cart-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.woocommerce table.shop_table {
  border: none;
  margin: 0;
  width: 100%;
  border-collapse: collapse;
}

.woocommerce table.shop_table th {
  background: transparent;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-weight: 600;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--border);
  padding: 20px 16px;
  vertical-align: middle;
  color: var(--text);
}

.woocommerce table.shop_table tr:last-child td {
  border-bottom: none;
}

.woocommerce-cart-form__cart-item:hover {
  background: rgba(212, 175, 55, 0.03);
}

.woocommerce table.cart .product-remove {
  width: 50px;
}

.woocommerce table.cart .product-remove a {
  color: var(--text-subtle);
  font-size: 20px;
  transition: color 0.3s;
}

.woocommerce table.cart .product-remove a:hover {
  color: #ef4444;
}

.woocommerce table.cart .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.woocommerce table.cart .product-name {
  min-width: 200px;
}

.woocommerce table.cart .product-name a {
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
}

.woocommerce table.cart .product-name a:hover {
  color: var(--gold);
}

.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal {
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
}

.woocommerce .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.woocommerce .quantity .qty {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce .cart-collaterals {
  margin-top: 40px;
}

.woocommerce .cart-collaterals .cart_totals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  float: right;
  width: 100%;
  max-width: 400px;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}

.woocommerce .cart-collaterals .cart_totals h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.woocommerce table.shop_table tr.cart-subtotal th,
.woocommerce table.shop_table tr.cart-subtotal td,
.woocommerce .cart_totals .cart-subtotal th,
.woocommerce .cart_totals .cart-subtotal td {
  padding: 12px 0;
  border: none;
}

.woocommerce .cart_totals .order-total {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: 10px;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  padding: 0;
  border: none;
}

.woocommerce .cart_totals .order-total .amount {
  font-size: 28px;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.woocommerce .wc-proceed-to-checkout {
  margin-top: 24px;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gold-gradient);
  color: #0a0a0d !important;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.woocommerce .cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.woocommerce .cart-empty::before {
  content: '\1F622';
  display: block;
  font-size: 64px;
  margin-bottom: 20px;
}

.woocommerce .return-to-shop {
  text-align: center;
  margin-top: 30px;
}

.woocommerce .return-to-shop a.button {
  display: inline-block;
  background: var(--gold-gradient);
  color: #0a0a0d !important;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.woocommerce .return-to-shop a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* 购物车交叉销售 */
.cart-cross-sell {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.cart-cross-sell .section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================================
   结算页面样式优化
   ============================================================ */

.woocommerce-checkout .checkout-section {
  padding: 60px 0;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
  width: 100%;
  float: none;
  margin-bottom: 30px;
}

.woocommerce .col2-set::after {
  content: '';
  display: table;
  clear: both;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-account-fields h3,
#order_review_heading {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}

.woocommerce-billing-fields h3::after,
.woocommerce-shipping-fields h3::after,
.woocommerce-account-fields h3::after,
#order_review_heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.woocommerce form .form-row {
  padding: 0;
  margin: 0 0 20px;
}

.woocommerce form .form-row label {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.woocommerce-checkout #order_review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  margin-top: 30px;
}

.woocommerce-checkout #order_review table.shop_table {
  margin-bottom: 20px;
}

.woocommerce-checkout #payment {
  background: transparent;
  border: none;
  margin-top: 20px;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 12px 0;
  color: var(--text);
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  margin-right: 10px;
}

.woocommerce-checkout #payment .form-row-place-order {
  text-align: center;
}

.woocommerce-checkout #payment #place_order {
  width: 100%;
  background: var(--gold-gradient);
  color: #0a0a0d;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.woocommerce-checkout #payment #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   我的账户页面样式优化
   ============================================================ */

.woocommerce-account .my-account-section {
  padding: 60px 0;
}

.woocommerce-account .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 250px;
  flex-shrink: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 14px 20px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
  padding-left: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 17px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--text-muted);
  line-height: 1.75;
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--gold);
  transition: color 0.3s;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
  color: var(--gold-light);
}

.woocommerce-account.woocommerce-page .woocommerce form.login,
.woocommerce-account.woocommerce-page .woocommerce form.register {
  max-width: 450px;
  margin: 0 auto;
  float: none;
  width: 100%;
}

.woocommerce-account.woocommerce-page .woocommerce .col2-set {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.woocommerce-account.woocommerce-page .woocommerce .col2-set .col-1,
.woocommerce-account.woocommerce-page .woocommerce .col2-set .col-2 {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  float: none;
}

.woocommerce .button {
  background: var(--gold-gradient);
  color: #0a0a0d !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.woocommerce .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   响应式 - 购物车/结算/我的账户
   ============================================================ */

@media (max-width: 768px) {
  .woocommerce-cart-form {
    padding: 16px;
    overflow-x: auto;
  }
  
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 12px 8px;
    font-size: 13px;
  }
  
  .woocommerce table.cart .product-name {
    min-width: 120px;
  }
  
  .woocommerce table.cart .product-name a {
    font-size: 14px;
  }
  
  .woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
    padding: 20px;
  }
  
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }
  
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
  }
  
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px;
  }
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.section-title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-more {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.section-more:hover {
  color: var(--gold);
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
  padding: 60px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 13, 0.9) 0%, rgba(10, 10, 13, 0.2) 60%, transparent 100%);
}

.category-card-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
}

.category-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.category-card-count {
  font-size: 13px;
  color: var(--gold);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
  padding: 60px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-overlay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.9);
  color: var(--bg);
  transition: all 0.3s ease;
}

.product-overlay-btn:hover {
  background: var(--gold);
  transform: scale(1.1);
}

.product-overlay-btn svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   BANNER SECTION
   ======================================== */
.banner-section {
  padding: 60px 0;
}

.banner-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  height: 400px;
}

.banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease;
}

.banner-card:hover {
  transform: translateY(-4px);
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-card:hover img {
  transform: scale(1.05);
}

.banner-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(10, 10, 13, 0.95) 0%, rgba(10, 10, 13, 0.3) 70%, transparent 100%);
}

.banner-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.banner-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.banner-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-outline-gold {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: 60px 0;
  background: var(--bg-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-rating .star {
  color: var(--gold);
  font-size: 18px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.author-avatar svg {
  width: 24px;
  height: 24px;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.author-product {
  font-size: 13px;
  color: var(--text-subtle);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
  padding: 60px 0;
}

.newsletter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(20, 20, 25, 0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(10px);
}

.newsletter-content {
  flex: 1;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  width: 300px;
  padding: 14px 20px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail-section {
  padding: 40px 0 60px;
}

.product-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-elevated);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumbs img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gallery-thumbs img:hover {
  border-color: var(--gold);
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-info-content {
  flex: 1;
}

.product-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin: 12px 0;
}

.product-rating-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-rating-wrap .rating-count {
  font-size: 14px;
  color: var(--text-muted);
}

.product-price-wrap {
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.product-price-wrap del {
  color: var(--text-subtle);
  font-size: 20px;
  margin-right: 12px;
}

.product-price-wrap ins {
  text-decoration: none;
  color: var(--gold);
}

.product-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-add-to-cart {
  margin-bottom: 24px;
}

.product-add-to-cart .quantity {
  display: inline-block;
  margin-right: 12px;
}

.product-add-to-cart input[type="number"] {
  width: 80px;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

.product-add-to-cart button {
  padding: 14px 40px;
  background: var(--gold-gradient);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-add-to-cart button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.product-variations {
  margin-bottom: 24px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: 12px;
  margin-bottom: 24px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  color: var(--text);
  font-weight: 500;
}

.product-share {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 14px;
  color: var(--text-muted);
}

.share-links {
  display: flex;
  gap: 12px;
}

.share-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.share-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.share-link svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   PRODUCT TABS
   ======================================== */
.product-tabs {
  margin-bottom: 60px;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tabs-content {
  min-height: 200px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h4 {
  font-size: 16px;
  color: var(--text);
  margin: 20px 0 12px;
}

.tab-pane ul {
  list-style: none;
  padding: 0;
}

.tab-pane ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
}

.tab-pane ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.related-products {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-products .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   SITE STRUCTURE
   ======================================== */
.site-main {
  min-height: 60vh;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-description {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 2px;
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* ========================================
   SEARCH TOGGLE
   ======================================== */
.search-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.search-toggle:hover {
  color: var(--gold);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner-wrap {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .banner-card-primary {
    grid-column: 1 / -1;
    height: 300px;
  }

  .banner-card-secondary {
    height: 250px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-wrap {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .newsletter-form {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form input {
    width: 100%;
    max-width: 300px;
  }

  .product-detail-wrap {
    grid-template-columns: 1fr;
  }

  .related-products .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-wrap {
    grid-template-columns: 1fr;
  }

  .banner-card-primary,
  .banner-card-secondary {
    grid-column: 1 / -1;
    height: 250px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .related-products .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-side {
    flex-direction: row;
  }

  .hero-card {
    flex: 1;
  }
}

/* ============================================================
   登录/注册页面 - 暗色奢华风格
   ============================================================ */

.auth-page-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.auth-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.auth-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0d 0%, #111116 50%, #0a0a0d 100%);
}

.auth-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.auth-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 600px;
}

/* 左侧品牌展示 */
.auth-brand-side {
  position: relative;
  padding: 40px 0;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.auth-brand-logo .logo-mark {
  width: 52px;
  height: 52px;
  background: var(--gold-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.auth-brand-logo .code-symbol {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.auth-brand-logo .logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-brand-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text);
}

.auth-brand-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 420px;
}

.auth-brand-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-brand-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.auth-brand-features li:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.feature-icon {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

.auth-brand-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.deco-circle-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.deco-circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20px;
  right: 80px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
}

.deco-line {
  position: absolute;
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  opacity: 0.3;
}

/* 右侧表单卡片 */
.auth-form-side {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(20, 20, 25, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.05) inset;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.auth-tab-btn {
  flex: 1;
  padding: 14px 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  font-family: var(--font-body);
}

.auth-tab-btn:hover {
  color: var(--gold);
}

.auth-tab-btn.active {
  color: var(--gold);
  font-weight: 600;
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.auth-tab-content {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.auth-tab-content.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 登录/注册表单样式覆盖 */
.auth-card .woocommerce-form.login,
.auth-card .woocommerce-form.register {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  backdrop-filter: none;
}

.auth-card .woocommerce-form p.form-row {
  margin-bottom: 20px;
}

.auth-card .woocommerce-form label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.auth-card .woocommerce-form label .required {
  color: var(--gold);
  margin-left: 2px;
}

.auth-card .woocommerce-form input.input-text,
.auth-card .woocommerce-form input[type="text"],
.auth-card .woocommerce-form input[type="email"],
.auth-card .woocommerce-form input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  background: rgba(17, 17, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  outline: none;
}

.auth-card .woocommerce-form input.input-text:focus,
.auth-card .woocommerce-form input[type="text"]:focus,
.auth-card .woocommerce-form input[type="email"]:focus,
.auth-card .woocommerce-form input[type="password"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  background: rgba(17, 17, 22, 1);
}

.auth-card .woocommerce-form .form-row .checkbox {
  margin-right: 8px;
  accent-color: var(--gold);
}

.auth-card .woocommerce-form .lost_password {
  margin-top: 4px;
}

.auth-card .woocommerce-form .lost_password a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.auth-card .woocommerce-form .lost_password a:hover {
  color: var(--gold);
}

.auth-card .woocommerce-form button.button,
.auth-card .woocommerce-form input.button,
.auth-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--gold-gradient);
  color: #0a0a0d !important;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.auth-card .woocommerce-form button.button:hover,
.auth-card .woocommerce-form input.button:hover,
.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.auth-card .woocommerce-error,
.auth-card .woocommerce-info,
.auth-card .woocommerce-message {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}

.auth-card .woocommerce-info,
.auth-card .woocommerce-message {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.2);
  color: var(--gold);
}

/* 分隔线 */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 28px 0 20px;
  gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  font-size: 12px;
  color: var(--text-subtle);
  white-space: nowrap;
}

/* 社交登录 */
.auth-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: rgba(17, 17, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-wechat:hover {
  border-color: #07c160;
  color: #07c160;
}

.social-qq:hover {
  border-color: #12b7f5;
  color: #12b7f5;
}

.social-weibo:hover {
  border-color: #e6162d;
  color: #e6162d;
}

/* 已登录状态 */
.auth-logged-in {
  text-align: center;
  padding: 20px 0;
}

.auth-welcome-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.auth-welcome-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.auth-welcome-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.auth-welcome-actions .btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* 响应式 - 登录页 */
@media (max-width: 960px) {
  .auth-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .auth-brand-side {
    text-align: center;
    padding: 0;
  }

  .auth-brand-logo {
    justify-content: center;
  }

  .auth-brand-title {
    font-size: 36px;
  }

  .auth-brand-desc {
    margin: 0 auto 32px;
  }

  .auth-brand-features {
    max-width: 320px;
    margin: 0 auto;
  }

  .auth-brand-decoration {
    display: none;
  }

  .auth-form-side {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .auth-page-section {
    padding: 100px 0 60px;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .auth-brand-title {
    font-size: 28px;
  }

  .auth-social {
    flex-direction: column;
  }
}

/* ============================================================
   产品评价区 - 暗色奢华风格
   ============================================================ */

.woocommerce-Reviews {
  padding: 20px 0;
}

.woocommerce-Reviews-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--text);
  position: relative;
  padding-bottom: 16px;
}

.woocommerce-Reviews-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.woocommerce-Reviews-title span {
  color: var(--gold);
}

/* 评论列表 */
ol.commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 40px !important;
  counter-reset: none;
}

ol.commentlist li {
  list-style: none !important;
  margin-bottom: 0;
}

/* 每条评论卡片 */
ol.commentlist li .comment_container {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

ol.commentlist li .comment_container:hover {
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* 头像 */
ol.commentlist .stack-avatar {
  flex-shrink: 0;
}

ol.commentlist .stack-avatar svg {
  border-radius: 50%;
}

/* 评论文本区域 */
ol.commentlist .comment-text {
  flex: 1;
  min-width: 0;
}

ol.commentlist .comment-text .meta {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

ol.commentlist .comment-text .meta .woocommerce-review__author {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

ol.commentlist .comment-text .meta .woocommerce-review__verified {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  font-style: normal !important;
}

ol.commentlist .comment-text .meta .woocommerce-review__dash {
  color: var(--text-subtle);
}

ol.commentlist .comment-text .meta .woocommerce-review__published-date {
  color: var(--text-subtle);
  font-size: 13px;
}

/* 评分星级 - 已有评论 */
.star-rating {
  display: inline-block !important;
  position: relative !important;
  height: 22px !important;
  line-height: 22px !important;
  font-size: 0 !important;
  width: 110px !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}

.star-rating::before {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 2L13.5 8.5H20L14.5 13L17 20L11 16L5 20L7.5 13L2 8.5H8.5L11 2Z' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E") !important;
  background-repeat: repeat-x !important;
  background-size: 22px 22px !important;
  background-position: 0 0 !important;
}

.star-rating span {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: 22px !important;
  display: block !important;
  font-size: 0 !important;
  line-height: 22px !important;
  overflow: hidden !important;
}

.star-rating span::before {
  content: '' !important;
  display: block !important;
  width: 110px !important;
  height: 100% !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 2L13.5 8.5H20L14.5 13L17 20L11 16L5 20L7.5 13L2 8.5H8.5L11 2Z' fill='%23f5e09b'/%3E%3C/svg%3E") !important;
  background-repeat: repeat-x !important;
  background-size: 22px 22px !important;
  background-position: 0 0 !important;
}

.star-rating span strong,
.star-rating span .rating,
.star-rating span .rating-text {
  display: none !important;
}

ol.commentlist .comment-text .star-rating {
  margin-bottom: 8px !important;
}

/* 评论内容 */
ol.commentlist .comment-text .description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

ol.commentlist .comment-text .description p {
  margin: 0;
}

/* 评论区标题（评论数） */
.woocommerce-Reviews .commentlist + .comment-respond h3#reply-title,
#respond .comment-reply-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* 评论表单 */
#respond {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

#respond .comment-form-rating {
  margin-bottom: 20px;
}

#respond .comment-form-rating label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

/* 自定义星级评分选择器 */
.custom-stars {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.custom-star {
  display: block;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 32px;
  line-height: 36px;
  color: rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  font-family: Arial, sans-serif;
  text-align: center;
}

.custom-star:hover {
  color: rgba(212, 175, 55, 0.6);
  transform: scale(1.1);
}

.custom-star.selected {
  color: var(--gold) !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* 隐藏 WooCommerce 默认的星级选择器和 select */
.comment-form-rating p.stars,
.comment-form-rating p.stars span,
.comment-form-rating p.stars a {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

#rating {
  display: none !important;
}

#respond .comment-form-comment label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

#respond textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(17, 17, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 100px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#respond textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

#respond .comment-form-author,
#respond .comment-form-email {
  margin-bottom: 16px;
}

#respond .comment-form-author label,
#respond .comment-form-email label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

#respond .comment-form-author input,
#respond .comment-form-email input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(17, 17, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#respond .comment-form-author input:focus,
#respond .comment-form-email input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

#respond .comment-form-cookies-consent {
  margin-bottom: 16px;
}

#respond .comment-form-cookies-consent label {
  color: var(--text-subtle);
  font-size: 13px;
}

#respond .comment-form-cookies-consent input[type="checkbox"] {
  accent-color: var(--gold);
  margin-right: 6px;
}

#respond .form-submit .submit {
  background: var(--gold-gradient);
  color: #0a0a0d;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

#respond .form-submit .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* 响应式 - 评论区 */
@media (max-width: 640px) {
  ol.commentlist li .comment_container {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  ol.commentlist .comment-text .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  #respond {
    padding: 20px;
  }
}

/* ============================================================
   购物车页面完整修复
   ============================================================ */

/* 确保 WooCommerce 页面有正确的顶部间距 */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-shop .site-main,
.woocommerce-account .site-main {
  padding-top: 100px;
}

/* 购物车页面容器宽度修复 - 使用更宽的容器 */
.woocommerce-cart .page-content,
.woocommerce-checkout .page-content {
  max-width: 1280px !important;
  margin: 0 auto;
  padding: 0 32px;
}

/* WooCommerce 块编辑器购物车块 */
.woocommerce-cart .wp-block-woocommerce-cart {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 购物车页面标题区域 */
.woocommerce-cart .page-header,
.woocommerce-checkout .page-header {
  padding: 120px 0 40px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.woocommerce-cart .breadcrumb,
.woocommerce-checkout .breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
}

.woocommerce-cart .breadcrumb a,
.woocommerce-checkout .breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.woocommerce-cart .breadcrumb a:hover,
.woocommerce-checkout .breadcrumb a:hover {
  color: var(--gold);
}

/* 空购物车页面美化 */
.woocommerce .cart-empty {
  text-align: center !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
}

/* 强力隐藏默认 emoji 图标 */
.woocommerce .cart-empty::before {
  display: none !important;
  content: '' !important;
}

.woocommerce .cart-empty::after {
  display: none !important;
}

/* 自定义空购物车包装器 */
.cart-empty-wrapper {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cart-empty-icon svg {
  width: 40px;
  height: 40px;
}

.cart-empty-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  margin: 0 0 12px 0 !important;
}

/* WooCommerce 块编辑器空购物车样式 */
.wp-block-woocommerce-empty-cart-block {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

/* 替换悲伤的表情图标为购物车图标 */
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 24px !important;
  background: var(--gold-soft) !important;
  border-radius: 50% !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a962' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 40px 40px !important;
  content: '' !important;
  display: block !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
  font-family: var(--font-display) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-top: 0 !important;
}

/* 空购物车分隔线 */
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  margin: 40px auto !important;
  max-width: 200px !important;
  border-color: var(--border-light) !important;
}

/* 空购物车 "You May Also Like" 标题 */
.wp-block-woocommerce-empty-cart-block h2:not(.with-empty-cart-icon) {
  font-family: var(--font-display) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-bottom: 30px !important;
  margin-top: 0 !important;
}

/* WooCommerce 块编辑器产品网格样式 */
/* ============================================================ */

/* 隐藏 WordPress 无障碍动态文本（中文残留） */
.a11y-speak-intro-text,
#a11y-speak-intro-text,
.a11y-speak-message,
#a11y-speak-assertive,
#a11y-speak-polite {
  display: none !important;
}

/* 产品网格容器 */
.wc-block-grid.has-4-columns .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* 响应式产品网格 */
@media (max-width: 1024px) {
  .wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: 1fr !important;
  }
}

/* 产品卡片 */
.wc-block-grid__product {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
}

.wc-block-grid__product:hover {
  border-color: var(--gold) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* 产品图片 */
.wc-block-grid__product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.wc-block-grid__product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.05);
}

/* 产品链接 */
.wc-block-grid__product-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* 产品标题 */
.wc-block-grid__product-title {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  padding: 16px 16px 8px !important;
  margin: 0 !important;
  text-decoration: none !important;
  display: block !important;
  line-height: 1.4 !important;
  min-height: 42px;
}

.wc-block-grid__product-title:hover {
  color: var(--gold) !important;
}

/* 产品价格 */
.wc-block-grid__product-price {
  padding: 0 16px 8px !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

.wc-block-grid__product-price .woocommerce-Price-amount {
  color: var(--gold) !important;
}

/* 产品评分 - 隐藏中文评分文本 */
.wc-block-grid__product-rating {
  display: none !important;
}

/* 产品按钮 */
.wc-block-grid__product-add-to-cart {
  padding: 0 16px 16px !important;
  margin-top: auto !important;
}

.wc-block-grid__product-add-to-cart .wp-element-button,
.wc-block-grid__product-add-to-cart button,
.wc-block-grid__product-add-to-cart a {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: var(--bg-elevated) !important;
  color: var(--text) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.wc-block-grid__product-add-to-cart .wp-element-button:hover,
.wc-block-grid__product-add-to-cart button:hover,
.wc-block-grid__product-add-to-cart a:hover {
  background: var(--gold-gradient) !important;
  color: #0a0a0d !important;
  border-color: var(--gold) !important;
}

.woocommerce .return-to-shop {
  text-align: center;
  margin-top: 30px;
}

.woocommerce .return-to-shop a.button {
  display: inline-block;
  background: var(--gold-gradient);
  color: #0a0a0d !important;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.woocommerce .return-to-shop a.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.woocommerce .return-to-shop a.button:hover::before {
  left: 100%;
}

.woocommerce .return-to-shop a.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* 购物车交叉销售区域 */
.cart-collaterals .cross-sells {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.cart-collaterals .cross-sells h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

/* 购物车表格优化 */
.woocommerce table.shop_table.cart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.woocommerce table.shop_table.cart thead th {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.woocommerce table.shop_table.cart td {
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
}

.woocommerce table.shop_table.cart tr:last-child td {
  border-bottom: none;
}

.woocommerce table.shop_table.cart .cart_item:hover {
  background: rgba(201, 169, 98, 0.03);
}

/* 购物车商品名称 */
.woocommerce table.shop_table.cart .product-name a {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.woocommerce table.shop_table.cart .product-name a:hover {
  color: var(--gold);
}

/* 购物车价格 */
.woocommerce table.shop_table.cart .product-price .woocommerce-Price-amount,
.woocommerce table.shop_table.cart .product-subtotal .woocommerce-Price-amount {
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
}

/* 数量输入框 */
.woocommerce .quantity .qty {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  width: 60px;
  text-align: center;
  font-size: 14px;
}

.woocommerce .quantity .qty:focus {
  outline: none;
  border-color: var(--gold);
}

/* 更新购物车按钮 */
.woocommerce button[name="update_cart"] {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce button[name="update_cart"]:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 购物车合计区域 */
.woocommerce .cart-collaterals .cart_totals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

.woocommerce .cart-collaterals .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce .cart-collaterals .cart_totals table tr:last-child th,
.woocommerce .cart-collaterals .cart_totals table tr:last-child td {
  border-bottom: none;
}

.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td {
  padding-top: 20px;
  padding-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals .order-total .woocommerce-Price-amount {
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
}

/* 结算按钮 */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gold-gradient);
  color: #0a0a0d !important;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover::before {
  left: 100%;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* 优惠券区域 */
.woocommerce .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.woocommerce .coupon input[type="text"] {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  flex: 1;
}

.woocommerce .coupon input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
}

.woocommerce .coupon button {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.woocommerce .coupon button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 运费计算器 */
.woocommerce-shipping-calculator {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.woocommerce-shipping-calculator a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.woocommerce-shipping-calculator a:hover {
  color: var(--gold);
}
