/* ==========================================
   CSS变量系统 - 设计令牌
   ========================================== */
:root {
  /* 颜色系统 - 女装主题 */
  --primary-color: #e91e63;        /* 主色 - 时尚粉 */
  --primary-hover: #c2185b;        /* 主色悬停 */
  --secondary-color: #9c27b0;      /* 辅色 - 优雅紫 */
  --accent-color: #ff4081;         /* 强调色 - 亮粉 */
  
  --text-primary: #2c3e50;         /* 主文本色 */
  --text-secondary: #7f8c8d;       /* 次要文本色 */
  --text-light: #95a5a6;           /* 浅色文本 */
  --text-white: #ffffff;           /* 白色文本 */
  
  --bg-white: #ffffff;             /* 白色背景 */
  --bg-light: #f8f9fa;             /* 浅色背景 */
  --bg-dark: #34495e;              /* 深色背景 */
  --bg-overlay: rgba(0, 0, 0, 0.5);/* 遮罩层 */
  
  --border-color: #ecf0f1;         /* 边框颜色 */
  --border-light: #e0e0e0;         /* 浅色边框 */
  
  /* 字体系统 */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-size-xs: 12px;            /* 小字号 */
  --font-size-sm: 14px;            /* 默认字号 */
  --font-size-md: 16px;            /* 中等字号 */
  --font-size-lg: 18px;            /* 大字号 */
  --font-size-xl: 24px;            /* 超大字号 */
  --font-size-xxl: 36px;           /* 标题字号 */
  
  /* 间距系统 */
  --spacing-xs: 4px;               /* 最小间距 */
  --spacing-sm: 8px;               /* 小间距 */
  --spacing-md: 16px;              /* 中等间距 */
  --spacing-lg: 24px;              /* 大间距 */
  --spacing-xl: 32px;              /* 超大间距 */
  --spacing-xxl: 48px;             /* 巨大间距 */
  
  /* 圆角系统 */
  --border-radius-sm: 4px;         /* 小圆角 */
  --border-radius-md: 8px;         /* 中等圆角 */
  --border-radius-lg: 12px;        /* 大圆角 */
  --border-radius-circle: 50%;     /* 圆形 */
  
  /* 阴影系统 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
  
  /* 过渡动画 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* 布局 */
  --container-width: 1200px;
  --header-height: 70px;
}

/* ==========================================
   全局样式
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ==========================================
   顶部导航栏
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
}

.logo i {
  font-size: 28px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  letter-spacing: 1px;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  padding: var(--spacing-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link i {
  font-size: 10px;
}

/* 汉堡菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
}

.mobile-menu-btn:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

/* 用户功能区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-circle);
  color: var(--text-primary);
  position: relative;
}

.icon-btn:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: var(--secondary-color);
  color: var(--text-white);
  font-size: 11px;
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Hero轮播区 - 全新设计
   ========================================== */
.hero-section {
  margin-top: var(--header-height);
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #f5f5f5;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   轮播项1 - 分屏式设计
   ========================================== */
.hero-split-layout {
  display: flex;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.hero-content-left {
  flex: 1;
  display: flex;
  align-items: center;
  padding-right: var(--spacing-xxl);
}

.hero-text-box {
  max-width: 540px;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  padding: 6px 16px;
  background: rgba(233, 30, 99, 0.1);
  border-radius: 20px;
}

.hero-main-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -2px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-hero-primary i {
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
  transform: translateX(4px);
}

.btn-hero-secondary {
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(233, 30, 99, 0.05);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.hero-image-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 550px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-price-tag {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.price-tag-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.price-tag-amount {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 4px;
}

.price-tag-original {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ==========================================
   轮播项2 - 全屏大图设计
   ========================================== */
.hero-fullscreen-layout {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.hero-center-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 var(--spacing-xl);
}

.hero-subtitle-top {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
}

.hero-big-title {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: var(--spacing-xxl);
  opacity: 0.95;
}

.hero-price-display {
  margin-bottom: var(--spacing-xl);
}

.price-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  padding: 24px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-md);
  justify-content: center;
}

.price-now {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.price-was {
  font-size: 18px;
  opacity: 0.7;
  text-decoration: line-through;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 16px 40px;
  background: transparent;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid white;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-hero-outline i {
  transition: transform 0.3s ease;
}

.btn-hero-outline:hover i {
  transform: translateX(4px);
}

/* ==========================================
   轮播项3 - 卡片叠加设计
   ========================================== */
.hero-card-layout {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
  z-index: 1;
}

.hero-card-container {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1000px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin: 0 var(--spacing-xl);
}

.hero-card-image {
  position: relative;
  flex: 0 0 45%;
  min-height: 500px;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--accent-color);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.4);
}

.card-badge i {
  font-size: 14px;
}

.hero-card-content {
  flex: 1;
  padding: var(--spacing-xxl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.card-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.card-discount {
  padding: 6px 12px;
  background: var(--accent-color);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.card-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.card-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.card-price-info {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-md);
}

.card-price-current {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.card-price-old {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.btn-card-add {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 14px 28px;
  background: var(--primary-color);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-card-add:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.card-features {
  display: flex;
  gap: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-item i {
  color: #4caf50;
  font-size: 14px;
}

/* ==========================================
   现代化指示器
   ========================================== */
.hero-nav-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.nav-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-dot .dot-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-dot:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.nav-dot.active {
  border-color: white;
  background: white;
}

.nav-dot.active .dot-inner {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
}

/* ==========================================
   简约箭头控制
   ========================================== */
.hero-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-xl);
  z-index: 10;
  pointer-events: none;
}

.hero-ctrl-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-ctrl-btn:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-ctrl-btn:active {
  transform: scale(0.95);
}

/* 动画效果 */
.hero-slide.active .hero-text-box {
  animation: slideInLeft 0.8s ease-out;
}

.hero-slide.active .hero-image-wrapper {
  animation: slideInRight 0.8s ease-out;
}

.hero-slide.active .hero-center-content {
  animation: zoomIn 0.8s ease-out;
}

.hero-slide.active .hero-card-container {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   新品上市区
   ========================================== */
.new-arrivals {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-md);
  background-color: var(--text-primary);
  color: var(--text-white);
  display: inline-block;
  border-radius: var(--border-radius-sm);
}

.section-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 比例 */
  overflow: hidden;
  background-color: var(--bg-light);
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

/* 产品遮罩层 */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-white);
  color: var(--text-primary);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: scale(1.1);
}

/* 产品信息 */
.product-info {
  padding: var(--spacing-lg);
}

.product-name {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.product-desc {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   页脚
   ========================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.footer p {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

/* ==========================================
   响应式设计
   ========================================== */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: 36px;
  }
}

/* 移动设备 (320px - 767px) */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
    --spacing-xxl: 32px;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  /* 导航栏 */
  .navbar {
    position: relative;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--spacing-lg);
    transition: left var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link {
    display: flex;
    width: 100%;
    padding: var(--spacing-md) 0;
    font-size: var(--font-size-md);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .logo {
    font-size: var(--font-size-lg);
  }
  
  .logo i {
    font-size: 20px;
  }
  
  .logo-img {
    height: 30px;
  }
  
  .logo-text {
    display: none;
  }
  
  .nav-actions {
    gap: var(--spacing-xs);
  }
  
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  /* Hero区 - 移动端适配 */
  .hero-section {
    height: auto;
    min-height: 600px;
  }
  
  /* 分屏式布局 - 移动端改为垂直 */
  .hero-split-layout {
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
  }
  
  .hero-content-left {
    padding-right: 0;
    padding-bottom: var(--spacing-lg);
  }
  
  .hero-text-box {
    max-width: 100%;
  }
  
  .hero-main-title {
    font-size: 42px;
    letter-spacing: -1px;
  }
  
  .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .hero-stats {
    justify-content: space-around;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .hero-image-wrapper {
    max-width: 100%;
    height: 400px;
  }
  
  .hero-price-tag {
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
  }
  
  .price-tag-amount {
    font-size: 28px;
  }
  
  /* 全屏大图 - 移动端 */
  .hero-big-title {
    font-size: 48px;
    letter-spacing: -2px;
  }
  
  .hero-tagline {
    font-size: 16px;
    letter-spacing: 2px;
  }
  
  .price-now {
    font-size: 36px;
  }
  
  .price-was {
    font-size: 16px;
  }
  
  .btn-hero-outline {
    padding: 14px 32px;
    font-size: 14px;
  }
  
  /* 卡片叠加 - 移动端改为垂直 */
  .hero-card-container {
    flex-direction: column;
    margin: var(--spacing-lg);
  }
  
  .hero-card-image {
    flex: none;
    min-height: 300px;
  }
  
  .hero-card-content {
    padding: var(--spacing-lg);
  }
  
  .card-title {
    font-size: 32px;
  }
  
  .card-desc {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .card-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }
  
  .card-price-current {
    font-size: 32px;
  }
  
  .btn-card-add {
    width: 100%;
    justify-content: center;
  }
  
  .card-features {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
  
  /* 控制按钮 */
  .hero-controls {
    padding: 0 var(--spacing-md);
  }
  
  .hero-ctrl-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  .hero-nav-dots {
    bottom: 20px;
    gap: 10px;
  }
  
  .nav-dot {
    width: 10px;
    height: 10px;
  }
  
  /* 产品网格 */
  .new-arrivals {
    padding: var(--spacing-xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-xl);
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .section-title {
    font-size: var(--font-size-md);
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .section-subtitle {
    font-size: 11px;
  }
  
  .product-card {
    border-radius: var(--border-radius-md);
  }
  
  .product-info {
    padding: var(--spacing-sm);
  }
  
  .product-name {
    font-size: 13px;
    margin-bottom: 4px;
  }
  
  .product-price {
    font-size: var(--font-size-md);
    margin-bottom: 4px;
  }
  
  .product-desc {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .btn-icon {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-md);
  }
}

/* 超小设备 (< 480px) */
@media (max-width: 480px) {
  .hero-section {
    min-height: 550px;
  }
  
  .hero-main-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 13px;
  }
  
  .hero-stats {
    gap: var(--spacing-md);
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .hero-image-wrapper {
    height: 350px;
  }
  
  .hero-big-title {
    font-size: 36px;
  }
  
  .hero-tagline {
    font-size: 14px;
  }
  
  .price-now {
    font-size: 32px;
  }
  
  .card-title {
    font-size: 28px;
  }
  
  .card-price-current {
    font-size: 28px;
  }
  
  .hero-ctrl-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .hero-controls {
    padding: 0 var(--spacing-sm);
  }
  
  .nav-dot {
    width: 8px;
    height: 8px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .nav-menu {
    width: 100%;
    left: -100%;
  }
}

/* ==========================================
   动画效果
   ========================================== */

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

/* 加载动画 */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* 无障碍访问 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 打印样式 */
@media print {
  .header,
  .hero-section,
  .footer {
    display: none;
  }
  
  .product-card {
    break-inside: avoid;
  }
}

