/* ============================================
   御鲜宠物食品 - 中文简体网站样式
   设计风格参考: nufresh.com.hk
   ============================================ */

:root {
  --primary-dark: #1a2744;
  --primary-green: #2c5f2d;
  --accent-orange: #c9842f;
  --accent-gold: #d4a574;
  --bg-warm: #faf8f5;
  --bg-cream: #f5f0e8;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --white: #ffffff;
  --border-light: #e8e4de;
  --success: #4a9b5e;
  --danger: #c94c4c;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ============================================
   按钮样式
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(201, 132, 47, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 132, 47, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent-orange);
  border: 1.5px solid var(--accent-orange);
}

.btn-outline:hover {
  background: var(--accent-orange);
  color: var(--white);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

/* ============================================
   顶部导航
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-orange);
}

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

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

.search-box {
  position: relative;
}

.search-box input {
  width: 200px;
  padding: 8px 36px 8px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
  background: var(--bg-warm);
}

.search-box input:focus {
  border-color: var(--accent-orange);
  width: 260px;
}

.search-box button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 16px;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-dark);
  padding: 6px;
  transition: color 0.3s;
}

.icon-btn:hover {
  color: var(--accent-orange);
}

.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-dark);
}

/* ============================================
   页面内容区域
   ============================================ */
.page-content {
  padding-top: 72px;
  min-height: 100vh;
}

.section {
  padding: 60px 24px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================
   Hero区域
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2a3f5f 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,132,47,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent-gold);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-gold);
}

.hero-stat-label {
  font-size: 14px;
  opacity: 0.8;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ============================================
   分类入口
   ============================================ */
.categories {
  background: var(--white);
}

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

.category-card {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

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

.category-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.category-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.category-card p {
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================
   商品卡片
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
}

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

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-cream);
  overflow: hidden;
}

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

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

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-tag.new {
  background: var(--primary-green);
}

.product-tag.hot {
  background: var(--danger);
}

.product-info {
  padding: 16px;
}

.product-brand {
  font-size: 12px;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.product-weight {
  font-size: 12px;
  color: var(--text-light);
  background: var(--bg-warm);
  padding: 2px 8px;
  border-radius: 4px;
}

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

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

.product-price-unit {
  font-size: 13px;
  color: var(--text-light);
}

.product-original-price {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 14px;
}

/* ============================================
   特色区域
   ============================================ */
.features {
  background: linear-gradient(135deg, var(--primary-dark), #2a3f5f);
  color: var(--white);
}

.features .section-title,
.features .section-subtitle {
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.7;
}

/* ============================================
   用户评价
   ============================================ */
.testimonials {
  background: var(--bg-cream);
}

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

.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

.testimonial-info h4 {
  font-size: 16px;
  font-weight: 600;
}

.testimonial-info span {
  font-size: 13px;
  color: var(--text-light);
}

.testimonial-stars {
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-size: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ============================================
   商品列表页
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), #2a3f5f);
  color: var(--white);
  padding: 60px 24px 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  opacity: 0.85;
  font-size: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-light);
}

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

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  height: fit-content;
  position: sticky;
  top: 88px;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-medium);
  transition: color 0.2s;
}

.filter-options label:hover {
  color: var(--accent-orange);
}

.filter-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-orange);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-range input {
  width: 80px;
  padding: 8px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.shop-results {
  font-size: 14px;
  color: var(--text-medium);
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort select {
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  background: var(--white);
}

/* ============================================
   商品详情页
   ============================================ */
.product-detail {
  padding-top: 96px;
  padding-bottom: 60px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.detail-images {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.detail-main-image {
  aspect-ratio: 1;
  background: var(--bg-cream);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs {
  display: flex;
  gap: 12px;
}

.detail-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-cream);
}

.detail-thumb.active,
.detail-thumb:hover {
  border-color: var(--accent-orange);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.detail-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.detail-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--danger);
}

.detail-original-price {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-per-unit {
  font-size: 13px;
  color: var(--text-light);
  margin-left: auto;
}

.detail-specs {
  margin-bottom: 24px;
}

.detail-spec-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.detail-spec-label {
  width: 100px;
  color: var(--text-light);
}

.detail-spec-value {
  color: var(--text-dark);
  font-weight: 500;
}

.detail-sku {
  margin-bottom: 24px;
}

.detail-sku-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.sku-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sku-option {
  padding: 8px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}

.sku-option:hover,
.sku-option.active {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: rgba(201,132,47,0.05);
}

.detail-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.quantity-label {
  font-size: 14px;
  font-weight: 600;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  background: var(--bg-warm);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-dark);
  transition: background 0.2s;
}

.quantity-control button:hover {
  background: var(--border-light);
}

.quantity-control input {
  width: 50px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.detail-actions {
  display: flex;
  gap: 12px;
}

.detail-actions .btn {
  flex: 1;
  padding: 14px;
  font-size: 16px;
}

/* ============================================
   标签页
   ============================================ */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
}

.tab-nav button {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-medium);
  transition: all 0.3s;
}

.tab-nav button.active,
.tab-nav button:hover {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

.tab-panel {
  display: none;
}

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

/* ============================================
   购物车
   ============================================ */
.cart-page {
  padding-top: 96px;
  padding-bottom: 60px;
}

.cart-empty {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.cart-empty h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--text-medium);
  margin-bottom: 24px;
}

.cart-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
  padding: 16px 24px;
  background: var(--bg-warm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
  border-bottom: none;
}

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

.cart-product img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--bg-cream);
}

.cart-product-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-product-info span {
  font-size: 13px;
  color: var(--text-light);
}

.cart-price {
  font-weight: 600;
  color: var(--text-dark);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s;
}

.cart-remove:hover {
  color: var(--danger);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-top: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-medium);
}

.cart-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  border-top: 2px solid var(--border-light);
  margin-top: 8px;
  padding-top: 16px;
}

.cart-summary-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

/* ============================================
   个人中心
   ============================================ */
.account-page {
  padding-top: 96px;
  padding-bottom: 60px;
}

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 8px;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-medium);
  transition: all 0.2s;
}

.account-menu a:hover,
account-menu a.active {
  background: var(--bg-warm);
  color: var(--accent-orange);
}

.account-menu a.active {
  background: rgba(201,132,47,0.08);
  color: var(--accent-orange);
  font-weight: 600;
}

.account-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px;
}

.account-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.order-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.order-id {
  font-weight: 600;
  color: var(--primary-dark);
}

.order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.order-status.pending {
  background: #fff3cd;
  color: #856404;
}

.order-status.paid {
  background: #d4edda;
  color: #155724;
}

.order-status.shipped {
  background: #cce5ff;
  color: #004085;
}

.order-status.completed {
  background: #e2e3e5;
  color: #383d41;
}

/* ============================================
   底部
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 24px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .product-grid,
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .search-box {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .product-grid,
  .category-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cart-table-header,
  .cart-item {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .cart-price:nth-child(2),
  .cart-table-header span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   工具类
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.hidden {
  display: none !important;
}
