:root {
  /* 主色调 - 统一为蓝色系 */
  --primary-color: #2977f3;
  --primary-hover: #1a66e0;
  --secondary-color: #5d87d1;
  --accent-color: #ff5a5f;
  --success-color: #28c76f;
  --warning-color: #ff9f43;
  --danger-color: #ea5455;

  /* 中性色 */
  --text-primary: #1e2022;
  --text-secondary: #5e6e82;
  --text-tertiary: #8e9aaf;

  /* 背景色 */
  --bg-light: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-muted: #f1f2f4;
  --bg-emphasis: #e7eaf0;

  /* 边框和阴影 */
  --border-color: #e2e4ea;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* 字体 */
  --font-sans: "PingFang SC", "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
}

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-subtle);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

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

.text-right {
  text-align: right;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

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

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

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

.btn-accent:hover {
  background-color: #e84a4f;
  color: white;
}

.btn-sm {
  font-size: 0.875rem;
  padding: var(--spacing-xs) var(--spacing-sm);
}

.btn-md {
  font-size: 1rem;
  padding: var(--spacing-sm) var(--spacing-md);
}

.btn-lg {
  font-size: 1.125rem;
  padding: var(--spacing-md) var(--spacing-lg);
}

/* 头部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

.header-scrolled {
  padding: 0.4rem 0;
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.logo {
  height: 60px;
  line-height: 60px;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  position: relative;
}

.logo a {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  max-height: 40px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 自定义导航菜单 */
.main-nav {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  transition: all var(--transition-normal);
}

.main-nav li a {
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  display: block;
}

.main-nav li a:hover,
.main-nav li.active a {
  color: var(--primary-color);
  background-color: var(--bg-muted);
}

.user-nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  transition: all var(--transition-normal);
}

.user-nav-item {
  position: relative;
}

.user-nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.user-nav-link:hover {
  color: var(--primary-color);
  background-color: var(--bg-muted);
}

.user-nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 180px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.user-nav-item:hover .user-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-nav-dropdown a {
  display: block;
  padding: var(--spacing-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  font-weight: 400;
  border-bottom: 1px solid var(--border-color);
}

.user-nav-dropdown a:last-child {
  border-bottom: none;
}

.user-nav-dropdown a:hover {
  background-color: var(--bg-muted);
  color: var(--primary-color);
  padding-left: calc(var(--spacing-md) + 5px);
}

/* 页脚 */
.footer {
  background-color: var(--bg-light);
  color: var(--text-secondary);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-column {
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
}

.footer-column:hover {
  background-color: var(--bg-subtle);
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.footer-column:hover h3::after {
  width: 60px;
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
  transition: transform var(--transition-normal);
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: var(--text-secondary);
  display: block;
  padding: var(--spacing-xs) 0;
  transition: all var(--transition-normal);
  position: relative;
}

.footer-links a::before {
  content: '•';
  margin-right: var(--spacing-sm);
  color: var(--primary-color);
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: var(--spacing-sm);
}

.footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  text-align: center;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
}

.footer-bottom p {
  margin: var(--spacing-xs) 0;
  font-size: 0.9rem;
}

/* 移动端菜单 */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1.5rem;
  margin-left: auto;
  transition: all var(--transition-normal);
  background-color: var(--primary-color);
  position: absolute;
  right: 15px;
  top: 8px;
  z-index: 101;
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle i {
  font-weight: bold;
  font-size: 1.8rem;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(3px);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 99;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.back-to-top i {
  font-size: 1.5rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: var(--spacing-xs) 0;
    position: relative;
  }

  .logo {
    height: 50px;
    line-height: 50px;
    width: 100%;
    padding-right: 50px;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-sm);
    z-index: 100;
  }

  .main-nav.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav li a {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .main-nav li.active a {
    border-left: 3px solid var(--primary-color);
    background-color: var(--bg-subtle);
  }

  .user-nav {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-sm);
    gap: 0;
    z-index: 100;
  }

  .user-nav.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .user-nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

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

  .user-nav-link {
    padding: var(--spacing-md) var(--spacing-lg);
    justify-content: flex-start;
  }

  .user-nav-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background-color: var(--bg-subtle);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height var(--transition-normal);
  }

  .user-nav-dropdown.open {
    max-height: 500px;
  }

  .user-nav-item:hover .user-nav-dropdown {
    max-height: 0;
    opacity: 0;
  }

  .user-nav-dropdown a {
    padding-left: calc(var(--spacing-lg) + var(--spacing-lg));
    font-size: 0.9rem;
  }

  /* 移动端页脚优化 */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .footer-column {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
  }

  .footer-column:last-child {
    border-bottom: none;
  }

  .footer-column h3 {
    cursor: pointer;
    position: relative;
    margin-bottom: var(--spacing-sm);
  }

  .footer-column h3::before {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
    width: 24px;
    height: 24px;
    background-color: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
  }

  .footer-column.open h3::before {
    content: '−';
  }

  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .footer-column.open .footer-links {
    max-height: 500px;
  }

  .footer-bottom {
    margin-top: var(--spacing-md);
    background-color: transparent;
    padding: var(--spacing-md) 0;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    right: 15px;
    bottom: 15px;
  }
}

@media (max-width: 576px) {
  .logo a {
    font-size: 1.2rem;
  }

  .logo img {
    max-height: 30px;
  }

  .footer-bottom {
    padding: var(--spacing-md) 0;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* 主体内容 */
.main-content {
  min-height: 70vh;
  padding: var(--spacing-xl) 0;
}

/* 现代化轮播图 */
.banner-section {
  margin-bottom: var(--spacing-2xl);
  position: relative;
  height: 320px;
  /* 固定高度 */
}

.banner-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 320px;
  width: 100%;
}

.banner-container .banner-slide {
  position: absolute;
  /* 改为绝对定位 */
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  /* 默认隐藏 */
  visibility: hidden;
  /* 完全隐藏 */
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* 平滑过渡 */
  z-index: 1;
}

.banner-container .banner-slide.active {
  opacity: 1;
  /* 激活的slide可见 */
  visibility: visible;
  /* 完全可见 */
  z-index: 2;
}

.banner-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-xl);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  z-index: 1;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.banner-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
}

.banner-indicators {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 2;
}

.banner-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.banner-indicator.active {
  background-color: white;
  transform: scale(1.2);
}

/* 分类区域 */
.section-title {
  margin-bottom: var(--spacing-xl);
  position: relative;
  display: flex;
  align-items: center;
}

.section-title h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}

.view-all {
  margin-left: auto;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.view-all:hover {
  color: var(--primary-color);
}

/* 商品网格 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

/* 商品卡片 - Layui风格美化 */
.product-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.product-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--accent-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.product-image {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 100%;
  background-color: #f8f8f8;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-info {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0.8) 0%, rgba(255, 255, 255, 1) 20%);
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  color: var(--text-primary);
  min-height: 3rem;
}

.product-name a {
  color: inherit;
  transition: all var(--transition-normal);
}

.product-name a:hover {
  color: var(--primary-color);
}

.product-price {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: auto;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
}

.product-price .original-price {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-left: var(--spacing-sm);
  font-weight: 400;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-sm);
  border-top: 1px dashed var(--border-color);
}

.product-actions span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.btn-cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.btn-cart:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1);
}

.btn-cart i {
  font-size: 1.2rem;
}

/* 商品详情页 - Layui风格美化 */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.product-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.product-gallery {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.product-main-image {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f8f8f8;
}

.product-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.product-thumbnail {
  height: 0;
  padding-bottom: 100%;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  background-color: #f8f8f8;
}

.product-thumbnail.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.product-thumbnail:hover {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.product-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-detail {
  display: flex;
  flex-direction: column;
}

.product-title-detail {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.product-title-detail::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}

.product-price-detail {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: baseline;
}

.product-price-detail .original-price-detail {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-left: var(--spacing-sm);
  font-weight: 400;
}

.product-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md);
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-color);
}

.product-meta-info {
  margin-bottom: var(--spacing-xl);
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
}

.product-meta-item {
  display: flex;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px dashed var(--border-color);
}

.product-meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-meta-label {
  width: 100px;
  color: var(--text-secondary);
  font-weight: 500;
}

.product-meta-value {
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
}

.product-quantity {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.product-quantity-label {
  margin-right: var(--spacing-lg);
  color: var(--text-secondary);
  font-weight: 500;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
  font-weight: bold;
}

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

.quantity-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-weight: 500;
  font-size: 1.1rem;
}

.product-actions-detail {
  display: flex;
  gap: var(--spacing-md);
}

.product-actions-detail .layui-btn {
  height: 48px;
  line-height: 48px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  padding: 0 var(--spacing-xl);
  transition: all var(--transition-normal);
}

.product-actions-detail .layui-btn-danger {
  background-color: var(--primary-color);
}

.product-actions-detail .layui-btn-danger:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 5px 15px rgba(41, 119, 243, 0.3);
}

.product-actions-detail .layui-btn-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.product-actions-detail .layui-btn-primary:hover {
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

/* 商品详情标签页 */
.product-tabs {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md);
}

.product-tabs .layui-tab {
  margin: 0;
}

.product-tabs .layui-tab-title {
  border-bottom: 2px solid var(--border-color);
  height: 50px;
}

.product-tabs .layui-tab-title li {
  padding: 0 var(--spacing-xl);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 50px;
}

.product-tabs .layui-tab-title li.layui-this {
  color: var(--primary-color);
}

.product-tabs .layui-tab-title li.layui-this:after {
  height: 3px;
  background-color: var(--primary-color);
}

.product-tabs .layui-tab-content {
  padding: var(--spacing-xl);
  color: var(--text-secondary);
  line-height: 1.8;
}

.product-tabs .layui-tab-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  position: relative;
  padding-left: var(--spacing-md);
}

.product-tabs .layui-tab-item h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 4px;
  height: 1rem;
  background-color: var(--primary-color);
  border-radius: var(--radius-sm);
}

.product-tabs .layui-table {
  margin: 0;
}

.product-tabs .layui-table th {
  font-weight: 500;
  background-color: var(--bg-subtle);
}

/* 相关商品 */
.related-products {
  margin-bottom: var(--spacing-2xl);
}

.related-products .section-title {
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
}

.related-products .section-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.related-products .section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    padding: var(--spacing-md);
  }

  .product-tabs .layui-tab-title li {
    padding: 0 var(--spacing-md);
  }

  .product-tabs .layui-tab-content {
    padding: var(--spacing-md);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-title-detail {
    font-size: 1.5rem;
  }

  .product-price-detail {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-detail {
    padding: var(--spacing-sm);
  }

  .product-actions-detail {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .product-tabs .layui-tab-title {
    height: auto;
  }

  .product-tabs .layui-tab-title li {
    padding: 0 var(--spacing-sm);
    font-size: 1rem;
  }
}

/* 用户认证样式 */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  padding: 40px 0;
}

.auth-box {
  width: 400px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.register-box {
  width: 450px;
}

.auth-header {
  padding: 20px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.auth-header h2 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.auth-body {
  padding: 30px;
}

.auth-input {
  position: relative;
  margin-left: 0 !important;
}

.auth-input .layui-input {
  padding-left: 38px;
  height: 40px;
}

.auth-input i {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #999;
  font-size: 18px;
}

.auth-button {
  margin-top: 20px;
  margin-left: 0 !important;
}

.auth-options {
  margin-top: 15px;
  text-align: center;
}

.auth-link {
  color: #009688;
}

.auth-link:hover {
  color: #5FB878;
}

/* 用户中心样式 */
.user-container {
  padding: 20px 0;
  background-color: var(--bg-subtle);
}

.user-menu {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-menu-header {
  padding: 15px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.user-menu-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.user-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-menu-list li {
  border-bottom: 1px solid #f2f2f2;
}

.user-menu-list li:last-child {
  border-bottom: none;
}

.user-menu-list li a {
  display: block;
  padding: 12px 15px;
  color: #666;
  transition: all 0.3s;
}

.user-menu-list li a:hover {
  background-color: #f9f9f9;
  color: #009688;
}

.user-menu-list li.active a {
  background-color: #009688;
  color: #fff;
}

.user-menu-list li a i {
  margin-right: 10px;
  font-size: 16px;
}

.user-card {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-card-header {
  padding: 15px 20px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-card-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.user-card-body {
  padding: 20px;
}

.user-profile-header {
  display: flex;
  margin-bottom: 30px;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #f2f2f2;
  margin-right: 20px;
  text-align: center;
  line-height: 80px;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar i {
  font-size: 50px;
  color: #ccc;
}

.user-info h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
}

.user-info p {
  margin: 5px 0;
  color: #666;
}

.user-actions {
  margin-top: 10px;
}

.order-status-section,
.quick-links-section {
  margin-top: 30px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.section-title h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.view-all {
  color: #999;
  font-size: 14px;
}

.order-status-grid {
  display: flex;
  justify-content: space-between;
}

.order-status-item {
  flex: 1;
  text-align: center;
  padding: 15px;
  color: #666;
  border-radius: 4px;
  transition: all 0.3s;
}

.order-status-item:hover {
  background-color: #f9f9f9;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.icon-wrapper i {
  font-size: 30px;
  color: #009688;
}

.status-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #FF5722;
  color: #fff;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
}

.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
}

.quick-link-item {
  width: 25%;
  text-align: center;
  padding: 15px;
  color: #666;
  transition: all 0.3s;
}

.quick-link-item:hover {
  background-color: #f9f9f9;
}

.quick-link-item i {
  font-size: 30px;
  color: #009688;
  margin-bottom: 10px;
  display: block;
}

/* 订单列表样式 */
.order-filter {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.filter-item {
  padding: 10px 20px;
  color: #666;
  position: relative;
}

.filter-item.active {
  color: #009688;
}

.filter-item.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background-color: #009688;
}

.order-list {
  margin-bottom: 20px;
}

.order-item {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}

.order-header {
  display: flex;
  padding: 15px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e6e6e6;
}

.order-id {
  flex: 1;
}

.order-time {
  flex: 1;
  text-align: center;
}

.order-status {
  flex: 1;
  text-align: right;
  color: #FF5722;
}

.order-goods {
  padding: 15px;
}

.order-goods-item {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e6e6e6;
}

.order-goods-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.goods-image {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  border: 1px solid #eee;
  overflow: hidden;
}

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

.goods-info {
  flex: 1;
}

.goods-info h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
}

.goods-info h4 a {
  color: #333;
}

.goods-price {
  color: #666;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  border-top: 1px solid #e6e6e6;
}

.order-total {
  font-size: 16px;
  color: #FF5722;
  font-weight: bold;
}

.empty-data {
  text-align: center;
  padding: 30px;
  color: #999;
}

.empty-data i {
  font-size: 60px;
  color: #eee;
  margin-bottom: 10px;
  display: block;
}

/* 地址管理样式 */
.address-list {
  margin-bottom: 20px;
}

.address-item {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  margin-bottom: 15px;
}

.address-content {
  flex: 1;
}

.address-header {
  display: flex;
  margin-bottom: 10px;
}

.contact-info {
  flex: 1;
}

.contact-name {
  font-weight: bold;
  margin-right: 10px;
}

.address-badge {
  background-color: #FF5722;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
}

.address-detail {
  color: #666;
}

.address-action {
  width: 100px;
  display: flex;
}

.address-actions {
  width: 100px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.address-actions a {
  margin-bottom: 5px;
}

.address-actions a:last-child {
  margin-bottom: 0;
}

/* 商品列表页样式 */
.breadcrumb {
  padding: var(--spacing-md) 0;
  margin-bottom: var(--spacing-xl);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.breadcrumb span {
  color: var(--text-primary);
  font-weight: 500;
}

/* 分类列表 */
.category-box {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.category-box:hover {
  box-shadow: var(--shadow-md);
}

.category-title {
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--spacing-lg);
  width: 50px;
  height: 3px;
  background-color: white;
  border-radius: var(--radius-full);
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li a {
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-primary);
  transition: all var(--transition-normal);
  position: relative;
}

.category-list li a::before {
  content: '';
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--border-color);
  transition: all var(--transition-normal);
  opacity: 0;
}

.category-list li a:hover {
  background-color: var(--bg-subtle);
  padding-left: calc(var(--spacing-lg) + var(--spacing-sm));
  color: var(--primary-color);
}

.category-list li a:hover::before {
  opacity: 1;
  background-color: var(--primary-color);
}

.category-list li.active a {
  background-color: var(--bg-emphasis);
  color: var(--primary-color);
  font-weight: 500;
  padding-left: calc(var(--spacing-lg) + var(--spacing-sm));
}

.category-list li.active a::before {
  opacity: 1;
  background-color: var(--primary-color);
  width: 6px;
  height: 6px;
}

/* 热销商品 */
.hot-product {
  display: flex;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  border-bottom: 1px dashed var(--border-color);
  transition: all var(--transition-normal);
}

.hot-product:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.hot-product:hover {
  background-color: var(--bg-subtle);
  transform: translateX(5px);
}

.hot-product-image {
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-right: var(--spacing-sm);
  flex-shrink: 0;
  position: relative;
}

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

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

.hot-product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hot-product-name {
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  margin-bottom: var(--spacing-xs);
}

.hot-product-name a {
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

.hot-product-name a:hover {
  color: var(--primary-color);
}

.hot-product-price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
}

/* 筛选栏 */
.filter-bar {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-left: var(--spacing-md);
  margin: 0;
}

.filter-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: var(--primary-color);
  border-radius: var(--radius-sm);
}

.filter-actions {
  display: flex;
  align-items: center;
}

.filter-sort {
  display: flex;
  gap: var(--spacing-sm);
}

.sort-btn {
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  background-color: var(--bg-subtle);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.sort-btn:hover {
  color: var(--primary-color);
  background-color: var(--bg-emphasis);
}

.sort-btn.active {
  color: var(--primary-color);
  background-color: var(--bg-emphasis);
  border-color: var(--primary-color);
  font-weight: 500;
}

/* 商品网格优化 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

/* 优化商品卡片 */
.product-card {
  animation-duration: 0.6s;
  animation-fill-mode: both;
  position: relative;
}

.animate-fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--accent-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

/* 商品操作按钮 */
.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  opacity: 0;
  transform: translateY(100%);
  transition: all var(--transition-normal);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.action-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.action-btn i {
  font-size: 1.1rem;
}

/* 商品元数据 */
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-sales {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* 分页样式 */
.pagination {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 2px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
}

.pagination a:hover {
  background-color: var(--bg-subtle);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination span.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* 空数据提示 */
.empty-tip {
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-xl);
  color: var(--text-tertiary);
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
}

.empty-tip::before {
  content: '\e664';
  font-family: 'layui-icon';
  display: block;
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--border-color);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .filter-title {
    margin-bottom: var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .category-box {
    margin-bottom: var(--spacing-lg);
  }

  .layui-col-md3,
  .layui-col-md9 {
    padding: 0 !important;
  }

  .filter-sort {
    width: 100%;
    justify-content: space-between;
  }

  .sort-btn {
    flex: 1;
    text-align: center;
  }
}

/* 我们的优势区域美化 */
.advantages-section {
  background-color: #fff;
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-xl) var(--spacing-lg);
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.advantages-section::before {
  display: none;
}

.advantages-title {
  margin-bottom: var(--spacing-xl);
  position: relative;
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  padding-bottom: 5px;
  border-bottom: none;
}

.advantages-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #2977f3;
  border-radius: 0;
  transition: none;
}

.advantages-title:hover::after {
  width: 80px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.advantage-item {
  text-align: center;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-subtle);
  border: 1px solid transparent;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  background-color: white;
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  transition: all var(--transition-normal);
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background-color: rgba(41, 119, 243, 0.1);
}

.advantage-item:nth-child(2) .advantage-icon {
  color: var(--secondary-color);
  background-color: rgba(93, 135, 209, 0.1);
}

.advantage-item:nth-child(3) .advantage-icon {
  color: var(--success-color);
  background-color: rgba(40, 199, 111, 0.1);
}

.advantage-item:nth-child(4) .advantage-icon {
  color: var(--warning-color);
  background-color: rgba(255, 159, 67, 0.1);
}

.advantage-item:nth-child(2):hover .advantage-icon {
  color: var(--secondary-color);
}

.advantage-item:nth-child(3):hover .advantage-icon {
  color: var(--success-color);
}

.advantage-item:nth-child(4):hover .advantage-icon {
  color: var(--warning-color);
}

.advantage-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.advantage-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    padding: var(--spacing-md);
  }

  .advantage-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.5rem;
  }
}

/* 悬浮客服按钮 */
.float-service {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 99;
  transition: all var(--transition-normal);
}

.float-service:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.float-service i {
  font-size: 1.8rem;
}

.float-service-text {
  position: absolute;
  right: 70px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.float-service:hover .float-service-text {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .float-service {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 70px;
  }

  .float-service i {
    font-size: 1.5rem;
  }
}

/* ===== 桌面端优势区域样式 ===== */
.m-features-section {
  padding: 40px 20px;
  margin: 30px 0;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.m-features-header {
  margin-bottom: 30px;
  text-align: center;
}

.m-features-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.m-features-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #2977f3;
  border-radius: 3px;
}

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

.m-feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.m-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.m-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(41, 119, 243, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.m-feature-icon i {
  font-size: 28px;
  color: #2977f3;
}

.m-icon-accent {
  background-color: rgba(255, 90, 95, 0.1);
}

.m-icon-accent i {
  color: #ff5a5f;
}

.m-icon-success {
  background-color: rgba(40, 199, 111, 0.1);
}

.m-icon-success i {
  color: #28c76f;
}

.m-icon-warning {
  background-color: rgba(255, 159, 67, 0.1);
}

.m-icon-warning i {
  color: #ff9f43;
}

.m-feature-content {
  flex: 1;
}

.m-feature-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.m-feature-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}