/* 全局样式重置与基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  /* 强制显示垂直滚动条，防止切换时布局偏移 */
  overflow-y: scroll;
  /* 隐藏横向滚动条，防止全屏元素导致的溢出 */
  overflow-x: hidden;
}

.app-container {
  width: 100%;
  max-width: 1100px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 让顶部头部区域（蓝色背景）占满整个屏幕宽度 */
.modern-header {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}


/* 现代头部样式 - 统一桌面和移动端 */
header {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modern-header {
  background: #2e365a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 调整搜索框在标题区域的样式 */
.header-content .search-form {
  margin-top: 0;
}

/* Logo样式 */
.header-title-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.site-logo {
  margin-bottom: 0;
}

.site-logo img {
  max-height: 65px;
  max-width: 200px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 当没有logo时标题居中 */
.header-title-group:has(.site-logo) h1 {
  margin: 0;
}

.header-title-group:not(:has(.site-logo)) {
  justify-content: center;
  width: 100%;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  line-height: 1.2;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: rgb(189 108 115);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.contact-info i {
  margin-right: 8px;
  color: rgb(189 108 115);
  font-size: 1rem;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.header-title-group h1 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-title-group h1 a:hover {
  color: #bd6c73;
}


/* 搜索框样式 */
.search-form {
  flex: 1;
  width: auto;
  max-width: 400px;
  margin-top: 0;
}

.search-container {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.search-container:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-container input {
  flex: 1;
  padding: 0 18px;
  border: none;
  font-size: 0.9rem;
  outline: none;
  color: #495057;
}

.search-container input::placeholder {
  color: #adb5bd;
  font-style: italic;
}

.search-btn {
  padding: 0 20px;
  background: #bd6c73;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
}

.search-btn:hover {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 手机端搜索框 */
.mobile-search {
  width: 100%;
  max-width: none;
  padding: 6px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* PC版导航样式 */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-item {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  transition: all 0.3s ease;
  background: none;
  border-radius: 0;
  backdrop-filter: none;
}

.nav-item:hover {
  color: #bd6c73;
  background: none;
  transform: none;
  box-shadow: none;
}

.nav-item i {
  font-size: 16px;
  color: #2e365a
}

.nav-item.btn-primary {
  background: none;
  color: #333;
  font-weight: 600;
}

.nav-item.btn-primary:hover {
  background: none;
  color: #FF5722;
  transform: none;
}

/* 顶部导航栏样式 - 固定在网页最顶端 */
.top-navigation {
  background: #92a1ca;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 150; /* 确保在所有内容之上 */
  position: static;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.navigation-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.navigation-menu {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* 导航栏样式 */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* 手机版底部导航 */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: none;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
  text-decoration: none;
  color: #666;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.mobile-nav-item:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.mobile-nav-item:active {
  color: #5a6fd8;
  background: rgba(90, 111, 216, 0.2);
}

.mobile-nav-item.active {
  color: #bd6c73;
  background: rgba(102, 126, 234, 0.1);
}

.mobile-nav-item i {
  font-size: 20px;
}

/* 主内容区 - 核心布局优化 */
.main-content {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  /* 防止内容溢出导致布局错乱 */
  overflow: hidden;
}


/* 分类侧边栏 - 现代化设计（无图标和编码） */
:root {
  --category-primary: #2e365a;
  --category-primary-hover: #5a6fd8;
  --category-secondary: #764ba2;
  --category-bg: #ffffff;
  --category-bg-hover: #f8f9fa;
  --category-text: #2c3e50;
  --category-text-hover: #ffffff;
  --category-border: #e9ecef;
  --category-active: #667eea;
  --category-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

/* 分类侧边栏 - 现代化设计（无图标和编码） */
.categories-sidebar {
  width: 240px;
  background-color: var(--category-bg);
  border-right: 1px solid var(--category-border);
  box-shadow: var(--category-shadow);
  flex-shrink: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
  padding-top: 15px;
}

.categories-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  margin: 0;
  padding: 0;
  /* 优化滚动条样式 */
  scrollbar-width: thin;
  scrollbar-color: var(--category-primary) #f0f0f0;
}

/* 滚动条美化 */
.categories-list::-webkit-scrollbar {
  width: 6px;
}

.categories-list::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.categories-list::-webkit-scrollbar-thumb {
  background-color: var(--category-primary);
  border-radius: 3px;
}

.categories-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--category-primary-hover);
}

.categories-list li {
  border-bottom: 1px solid var(--category-border);
  transition: var(--transition);
}

.categories-list li:last-child {
  border-bottom: none;
}

.categories-list a {
  width: 100%;
  padding: 16px 20px;
  display: block;
  color: var(--category-text);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.categories-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--category-primary);
  transform: scaleY(0);
  transition: var(--transition);
}

.categories-list a:hover {
  padding-left: 24px;
  background-color: var(--category-bg); /* 保持原背景色不变 */
  color: var(--category-text); /* 保持原文字色不变 */
}

.categories-list a.active {
  padding-left: 24px;
  background-color: var(--category-primary);
  color: var(--category-text-hover);
}

.categories-list a:hover::before,
.categories-list a.active::before {
  transform: scaleY(1);
}

/* 父分类样式 */
.parent-category {
  border-bottom: 1px solid var(--category-border);
  background-color: var(--category-bg);
}

.parent-category-header {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.parent-link {
  font-weight: 600;
  background-color: var(--category-bg);
  font-size: 1rem;
  flex: 1;
}

.parent-link:hover {
  background-color: var(--category-bg); /* 保持原背景色不变 */
  color: var(--category-text); /* 保持原文字色不变 */
}

.parent-link.active {
  background-color: var(--category-primary);
  color: white;
}

/* 子分类样式 */
.child-categories {
  display: none;
  list-style: none;
  background-color: #f8f9fa;
  transition: var(--transition);
}

.child-categories.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.child-categories li {
  padding-left: 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.child-categories li:last-child {
  border-bottom: none;
}

.child-categories a {
  padding: 12px 20px 12px 24px;
  font-size: 0.9rem;
  font-weight: 400;
  background-color: transparent;
}

.child-categories a:hover {
  padding-left: 28px;
  background-color: #f8f9fa; /* 保持原背景色不变 */
  color: var(--category-text); /* 保持原文字色不变 */
}

.child-categories a.active {
  padding-left: 28px;
  background-color: rgba(102, 126, 234, 0.1);
  color: var(--category-primary);
}

.child-categories a::before {
  background-color: transparent;
}

/* 展开/收起按钮 */
.toggle-btn {
  position: absolute;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: var(--category-primary);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 50%;
  z-index: 2;
}

.parent-link:hover + .toggle-btn,
.toggle-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: var(--category-primary);
}

/* 激活状态下的按钮样式 */
.parent-link.active + .toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.parent-link.active + .toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 只有在按钮激活时才旋转箭头，悬停时不旋转 */
.toggle-btn.active {
  transform: rotate(180deg);
}

.parent-link.active + .toggle-btn.active {
  transform: rotate(180deg);
}

/* 移除单独对i标签的旋转，直接旋转整个按钮 */
.parent-link.active + .toggle-btn.active i {
  color: white;
}

/* 产品分类标题样式 */
.cpfl_bt {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.cpfl_bt:hover {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}


/* 产品展示区 - 防止高度突变 */
.products-area {
  flex: 1;
  padding: 15px 0 20px 20px;
  /* 保持最小高度，避免切换时高度骤变 */
  min-height: calc(100vh - 200px);
  transition: none;
}

/* 分类层级导航 */
.category-breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 12px;
  background-color: #f9f9f9;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #666;
}

.category-breadcrumb a {
  color: #0d2d57;
  text-decoration: none;
}

.category-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #aaa;
}

/* 产品容器 */
.products-container {
  width: 100%;
}

/* 产品卡片 */
.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 产品图片 */
.product-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f9f9f9;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* 产品信息 */
.product-info {
  padding: 15px 15px 5px 15px;
  text-align: left;
}

.product-name {
  height: 28px;
  margin-bottom: 5px;
  font-size: 1.1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-brand,
.product-spec,
.product-barcode {
    margin-bottom: 3px;
    font-size: 0.85rem;
    color: #666;
}

.product-remark {
    margin-bottom: 3px;
    font-size: 0.75rem;
    color: #ff4444;
    font-weight: 500;
}

/* 产品详情页的产品备注样式 */
.product-details .product-remark {
    margin: 10px 0 15px 0;
    font-size: 0.9rem;
    color: #ff4444;
    font-weight: 500;
    line-height: 1.4;
}

.product-factory-price {
    margin-bottom: 2px;
    font-size: 0.8rem;
    color: #27ae60;
    font-weight: 500;
}

.product-brand span,
.product-barcode span {
    color: #999;
}

.product-price {
  font-size: 1rem;
  color: #e74c3c;
  font-weight: 600;
}

/* 产品价格行布局 */
.product-price-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* 手机版加入订单按钮样式 */
@media (max-width: 768px) {
  .product-price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }
  
  .product-price-link {
    text-align: left;
    width: 100%;
  }
  
  .add-to-order-container {
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .quantity-input {
    flex: 1;
    height: 44px;
    font-size: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0;
  }
  
  .add-to-order-btn {
    flex: 1;
    height: 44px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 20px;
    border-radius: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    transition: all 0.3s ease;
  }
  
  .add-to-order-btn:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(238, 90, 82, 0.3);
  }
}

/* 加入订单容器样式 */
.add-to-order-container {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 数量输入框样式 - 前台首页 */
.add-to-order-container .quantity-input {
  width: 200px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  background-color: #f8f9fa;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.quantity-input:focus {
  background-color: white;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 加入订单按钮样式 */
.add-to-order-btn {
  background-color: #bd6c73;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.add-to-order-btn:hover {
  background-color: #ff3333;
  transform: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 电脑版加入订单按钮样式 */
@media (min-width: 769px) {
  /* 电脑端供货价格容器样式 */
  .product-factory-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .product-factory-price {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #27ae60;
    font-weight: 500;
  }
  
  .add-to-order-container {
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .add-to-order-container:hover {
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
  }
  
  .add-to-order-container .quantity-input {
    height: 25px;
    padding: 0 5px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #f8f9fa;
    border-radius: 0;
    transition: all 0.3s ease;
  }
  
  .quantity-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: inset 0 2px 4px rgba(255, 107, 107, 0.2);
  }
  
  .add-to-order-btn {
    height: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 16px;
    border-radius: 0;
    background: #bd6c73;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .add-to-order-btn:hover {
    background: #2e365a;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(238, 90, 82, 0.3);
  }
  
  .add-to-order-btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

/* 产品卡片链接 */
.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

a#gxbbeian {
  color: #6e6e6e;
  text-decoration: none;
  font-size: 14px;
}


/* 分页样式 */
.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.pagination-btn:hover {
  background-color: #2980b9;
}

.prev-btn {
  margin-right: 10px;
}

.next-btn {
  margin-left: 10px;
}

.page-info {
  font-size: 0.9rem;
  color: #666;
}


/* 无产品状态 */
.no-products,
.no-product {
  text-align: center;
  padding: 50px 20px;
  color: #999;
}

.no-products i,
.no-product i {
  margin-bottom: 15px;
  font-size: 3rem;
  color: #ddd;
}


/* 图片查看器 */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.image-viewer.active {
  display: flex;
}

.viewer-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-viewer,
.prev-image,
.next-image {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.close-viewer:hover,
.prev-image:hover,
.next-image:hover {
  opacity: 1;
}

.close-viewer {
  top: 20px;
  right: 20px;
}

.prev-image {
  left: 20px;
}

.next-image {
  right: 20px;
}


/* 产品详情页 */
.product-detail-area {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.product-detail-container {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-detail-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.product-detail-info {
    flex: 1;
    min-width: 300px;
}

.detail-product-name {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2c3e50;
}

.detail-product-brand,
.detail-product-spec,
.detail-product-barcode {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}

.detail-product-brand span,
.detail-product-spec span,
.detail-product-barcode span {
    margin-right: 10px;
    color: #777;
}

.detail-product-price {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 4px;
    font-size: 1.5rem;
    color: #e74c3c;
    font-weight: 600;
}

.back-btn {
    margin-top: 20px;
    padding: 10px 20px;
    display: inline-block;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: #2980b9;
}

/* 产品详情页特定样式 */
.detail-header {
    padding: 15px 20px;
    background-color: #0d2d57;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: #3498db;
}

.product-detail-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

/* 产品详情页容器 - 左右布局 */
.product-detail-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧产品图片区域 */
.product-image-section {
    flex: 0 0 40%;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 右侧产品信息区域 */
.product-info-section {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-gallery {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.main-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 4px;
}

.product-details {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-image-section {
        flex: 1;
        width: 100%;
    }
}

.detail-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    line-height: 1.3;
}

.product-remark {
    font-size: 1rem;
    color: #e74c3c;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #fff5f5;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    font-weight: 500;
}

.detail-info-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.detail-info-item label {
    display: inline-block;
    width: 100px;
    color: #777;
    font-weight: 500;
    flex-shrink: 0;
}

.detail-info-item span {
    color: #333;
    font-weight: 400;
    flex: 1;
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e74c3c;
    margin: 25px 0;
    padding: 15px;
    background-color: #fff5f5;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.supply-price {
    font-size: 1.2rem;
    font-weight: 500;
    color: #27ae60;
    margin: 20px 0;
    padding: 12px;
    background-color: #f0f8f0;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

/* 加入订单功能样式 */
.add-to-order-section {
    margin-top: 30px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.add-to-order-section h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.add-to-order-btn {
    width: 50%;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.add-to-order-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
}

.add-to-order-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 数量控制样式 */
.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    background-color: #ecf0f1;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quantity-btn:hover {
    background-color: #d5dbdb;
    transform: translateY(-1px);
}

.quantity-input {
    flex: 1;
    height: 45px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 0 5px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

.quantity-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 产品详情页响应式样式 */
@media (max-width: 768px) {
    /* 整体布局调整 */
    .main-content {
        padding: 0;
    }
    
    .product-detail-main {
        padding: 0 0 80px 0;
    }
    
    /* 返回按钮样式优化 */
    .back-button {
        padding: 12px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .back-button:hover {
        background-color: rgba(102, 126, 234, 0.1);
    }
    
    /* 产品详情容器 */
    .product-detail-container {
        flex-direction: column;
        gap: 0;
    }
    
    /* 左侧产品图片区域 */
    .product-image-section {
        flex: 1;
        width: 100%;
        border-radius: 0;
        padding: 15px;
        box-shadow: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .product-gallery {
        padding: 20px;
        border-radius: 12px;
        background-color: #f9f9f9;
        margin-bottom: 0;
    }
    
    .main-image {
        max-height: 320px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* 右侧产品信息区域 */
    .product-info-section {
        padding: 25px;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* 产品标题 */
    .detail-title {
        font-size: 1.6rem;
        margin-bottom: 22px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
        font-weight: 600;
        color: #2c3e50;
        line-height: 1.3;
    }
    
    /* 产品备注 */
    .product-remark {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 22px;
        padding: 12px;
        background-color: #fff5f5;
        border-radius: 6px;
        border-left: 3px solid #e74c3c;
    }
    
    /* 产品信息项 */
    .detail-info-item {
        margin-bottom: 18px;
        font-size: 1rem;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .detail-info-item label {
        width: 70px;
        font-size: 0.95rem;
        color: #888;
    }
    
    .detail-info-item span {
        font-size: 0.95rem;
        color: #333;
        font-weight: 500;
    }
    
    /* 价格显示 */
    .detail-price {
        font-size: 1.4rem;
        margin: 22px 0;
        padding: 15px;
        background-color: #fff5f5;
        border-radius: 8px;
        border-left: 4px solid #e74c3c;
        text-align: center;
    }
    
    .supply-price {
        font-size: 1.1rem;
        margin: 18px 0;
        padding: 12px;
        background-color: #f0f8f0;
        border-radius: 8px;
        border-left: 4px solid #27ae60;
        text-align: center;
    }
    
    /* 加入订单区域 */
    .add-to-order-section {
        padding: 22px;
        margin-top: 25px;
        border-radius: 12px;
        background-color: #f8f9fa;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 1px solid #e9ecef;
    }
    
    .add-to-order-section h3 {
        margin-bottom: 20px;
        font-size: 1.2rem;
        color: #2c3e50;
        font-weight: 600;
        text-align: center;
    }
    
    /* 数量控制 */
    .quantity-control {
        padding: 12px;
        margin-bottom: 20px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        justify-content: space-between;
    }
    
    .quantity-btn {
        width: 45px;
        height: 45px;
        border-radius: 6px;
        font-size: 1.2rem;
        font-weight: 600;
        background-color: #ecf0f1;
        border: 1px solid #ddd;
        transition: all 0.3s ease;
    }
    
    .quantity-btn:hover {
        background-color: #d5dbdb;
        transform: translateY(-1px);
    }
    
    .quantity-input {
        flex: 1;
        height: 45px;
        margin: 0 5px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
    }
    
    /* 加入订单按钮 */
    .add-to-order-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1.15rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    }
    
    .add-to-order-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
    }
    
    /* 未登录或未授权状态 */
    .text-gray {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #777;
    }
    
    .view-auth-status-link,
    .login-btn-for-order {
        padding: 14px 25px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* 活动方式标识 */
    .product-activity-badges {
        position: absolute;
        top: 15px;
        left: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .activity-badge {
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 500;
        color: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    
    /* 响应式调整 */
    @media (max-width: 480px) {
        .product-info-section {
            padding: 20px;
        }
        
        .detail-title {
            font-size: 1.4rem;
        }
        
        .detail-info-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }
        
        .detail-info-item label {
            width: 100%;
            font-size: 0.9rem;
        }
        
        .detail-price {
            font-size: 1.3rem;
        }
        
        .add-to-order-btn {
            padding: 16px;
            font-size: 1.1rem;
        }
    }
}

/* 产品详情页特定辅助样式 */
.text-center {
    text-align: center;
}

.text-gray {
    color: #ff0000;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.view-auth-status-link,
.login-btn-for-order {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.view-auth-status-link {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.view-auth-status-link:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #6c757d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(149, 165, 166, 0.3);
    text-decoration: none;
}

.login-btn-for-order {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.login-btn-for-order:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
    color: white;
}


/* 页面加载状态 - 保持稳定高度 */
.loading-page {
  text-align: center;
  padding: 50px 20px;
  color: #666;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-page i {
  margin-bottom: 15px;
  font-size: 2rem;
  color: #3498db;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* 底部样式 */
footer {
  margin-top: auto;
  background-color: #bd6c73;
  color: white;
  padding: 10px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-details p {
  margin: 5px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-details i {
  width: 20px;
  margin-right: 8px;
  color: #3498db;
}

.copyright {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

a.admin-link {
  color: #6e6e6e;
  text-decoration: none;
}


/* 响应式样式 - 确保各设备布局稳定 */
/* 移动端 (<=768px) */
@media (max-width: 768px) {
  /* 头部与搜索框 - 手机版美化 */
  .modern-header {
    padding: 12px 0;
    background: #2e365a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 100;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
  }

  .header-title-group {
    flex-direction: row;
    gap: 15px;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
  }

  .site-logo-img {
    height: 55px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
  }

  .site-logo-img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  .title-content {
    align-items: flex-start;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .site-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.5px;
  }

  .contact-info {
    font-size: 0.82rem;
    opacity: 0.95;
    margin: 4px 0 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .contact-info i {
    color: #bd6c73;
    font-size: 0.9rem;
  }

  .desktop-search {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-search {
    display: block;
    background: #ffffff;
    padding: 12px 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 12px 12px;
  }

  .search-container {
    max-width: 100%;
    height: 42px;
    background: #f8f9fa;
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
  }

  .search-container:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
  }

  .search-container input {
    font-size: 0.9rem;
    padding: 0 18px;
    flex: 1;
    border: none;
    outline: none;
    height: 100%;
    background: transparent;
    color: #495057;
  }

  .search-container input::placeholder {
    color: #adb5bd;
    font-style: italic;
  }

  .search-btn {
    padding: 0 22px;
    height: 100%;
    background: #bd6c73;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .search-btn:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* 主内容区 - 移动端优化 */
  .main-content {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 200px);
    overflow: hidden;
    align-items: stretch;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  /* 移除左侧分类栏的紫色标题栏，使其与右侧内容区直接对齐 */
  .categories-sidebar {
    display: flex;
    width: 32%;
    max-width: 130px;
    height: calc(100vh - 200px);
    position: static;
    top: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    border-right: 1px solid var(--category-border);
    overflow-y: auto;
    background-color: var(--category-bg);
    flex-shrink: 0;
    border-radius: 0 8px 8px 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 调整分类列表样式，使其直接从顶部开始 */
  .categories-list {
    margin: 0 !important;
    padding: 0 !important;
    max-height: none;
    overflow-y: visible;
  }

  .products-area {
    width: 68%;
    padding: 0 15px 15px 15px;
    height: calc(100vh - 200px);
    overflow-y: auto;
    background-color: #ffffff;
    margin-bottom: 60px; /* 为底部导航留出空间 */
    margin: 0 !important;
    padding: 0 15px 15px 15px !important;
  }

  /* 调整分类导航位置 */
  .category-breadcrumb {
    margin-top: 0;
    margin-bottom: 15px;
    padding: 15px 12px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
  }

  /* 显示移动端底部导航 */
  .mobile-bottom-nav {
    display: flex;
  }

  /* 移动端分类列表样式优化 */
  .categories-list {
    max-height: none;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* 分类项目样式 */
  .parent-category {
    border-bottom: 1px solid var(--category-border);
  }

  /* 父分类头部样式 */
  .parent-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
  }

  /* 分类链接基础样式 */
  .categories-list a {
    display: block;
    padding: 14px 12px;
    font-size: 0.88rem;
    color: var(--category-text);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 4px 0 0 4px;
  }

  /* 父分类链接样式 */
  .categories-list a.parent-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--category-primary);
    background-color: rgba(0, 0, 0, 0.05);
  }

  /* 子分类链接样式 */
  .categories-list .child-categories a {
    padding: 10px 12px 10px 20px;
    font-size: 0.85rem;
    color: var(--category-text);
    background-color: rgba(0, 0, 0, 0.08);
    border-left: 2px solid var(--category-border);
  }

  /* 链接悬停和激活样式 */
  .categories-list a:hover,
  .categories-list a.active {
    background-color: var(--category-primary);
    color: white;
    padding-left: 16px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .categories-list .child-categories a:hover,
  .categories-list .child-categories a.active {
    padding-left: 24px;
    background-color: var(--category-primary);
    color: white;
    border-left-color: var(--category-primary);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  /* 展开/收起按钮样式 */
  .toggle-btn {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--category-border);
    border-radius: 50%;
    color: var(--category-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  /* 激活状态下的按钮旋转效果 */
  .toggle-btn.active {
    transform: translateY(-50%) rotate(180deg);
  }

  /* 激活状态下的父分类按钮样式 */
  .parent-link.active + .toggle-btn.active {
    transform: translateY(-50%) rotate(180deg);
  }

  .toggle-btn:hover {
    background-color: var(--category-primary);
    color: white;
    border-color: var(--category-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
  }

  /* 激活状态下的按钮悬停效果 */
  .toggle-btn.active:hover {
    transform: translateY(-50%) rotate(180deg) scale(1.05);
  }

  .parent-link.active + .toggle-btn.active:hover {
    transform: translateY(-50%) rotate(180deg) scale(1.05);
  }

  /* 隐藏不必要的元素 */
  .menu-toggle {
    display: none !important;
  }

  /* 手机版隐藏顶部导航栏，使用底部导航 */
  .top-navigation {
    display: none;
  }

  /* 移除分类序号和图标，优化窄分类栏显示 */
  .category-number,
  .category-icon {
    display: none;
  }

  /* 产品卡片 */
  .product-name {
    font-size: 1rem;
    height: auto;
    -webkit-line-clamp: 1;
  }

  /* 产品列表布局 */
  /* 确保产品列表在移动端正常显示 */
  .products-grid {
    display: block !important;
  }
  
  .products-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .products-list .product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .products-list .product-top {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 10px;
  }
  
  .products-list .product-factory-prices {
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    min-height: 30px;
    padding: 0 10px;
  }
  
  .products-list .product-factory-price {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #27ae60;
    font-weight: 500;
    flex-shrink: 0;
  }

  .products-list .product-image {
    width: 70px !important;
    height: 80px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    padding-top: 0 !important; /* 覆盖桌面端的padding-top */
    background-color: #f8f9fa !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .products-list .product-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .products-list .product-info {
    padding: 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex: 1 !important;
    text-align: left;
  }
  
  .products-list .product-price-row {
    width: 100% !important;
    margin-top: 0px !important;
  }
  
  .products-list .add-to-order-container {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .products-list .quantity-input {
    width: 100% !important;
    height: 40px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
  }
  
  .products-list .add-to-order-btn {
    width: 100% !important;
    height: 44px !important;
    font-size: 0.8rem !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    background: #bd6c73; !important;
  }

  /* 分页 */
  .pagination {
    gap: 10px;
  }

  .pagination-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  /* 分类层级导航 - 固定在顶部 */
  .category-breadcrumb {
    position: sticky;
    top: 0;
    z-index: 4;
    font-size: 0.85rem;
    padding: 5px 5px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: #666;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  /* 产品详情页 */
  .product-detail-image {
    min-width: 100%;
    padding: 10px;
  }

  .product-detail-image img {
    max-height: 300px;
    width: 100%;
  }

  .product-detail-container {
    padding: 10px;
    gap: 15px;
  }

  .detail-product-name {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .detail-product-brand,
  .detail-product-spec,
  .detail-product-barcode {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }

  .product-detail-info {
    min-width: 100% !important;
    padding: 0 10px;
  }
	.copyright {display: none !important;
		}
}


/* 订单页面样式 */
.orders-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* 手机版订单页面响应式样式 */
@media (max-width: 768px) {
    .orders-container {
        padding: 5px;
    }
    
    .page-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .orders-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    /* 临时订单表格响应式处理 */
    .temp-order-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 8px;
    }
    
    .temp-order-table th,
    .temp-order-table td {
        padding: 5px 5px;
        font-size: 0.7rem;
    }
    
    .temp-order-table th {
        font-size: 0.85rem;
    }
    
    /* 临时订单表格商品名称宽度设置 */
    .temp-order-table td:first-child {
        width: 110px;
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal;
    }
    
    /* 数量控制响应式 */
    .quantity-control {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .quantity-input {
        width: 100%;
        height: 40px;
        font-size: 1rem;
    }
    
    /* 订单操作按钮响应式 */
    .order-actions-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .save-order-btn {
        width: 100%;
        height: 30px;
        font-size: 1rem;
    }
    
    /* 客户表单响应式 */
    .customer-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 0.95rem;
    }
    
    .form-group input {
        width: 100%;
        height: 45px;
        padding: 0 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    /* 历史订单响应式 */
    .order-item {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .order-list-header {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .order-list-no {
        font-weight: 600;
        color: #495057;
    }
    
    .order-date {
        font-size: 0.85rem;
        color: #6c757d;
    }
    
    .order-list-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .order-info-item {
        font-size: 0.9rem;
    }
    
    .order-info-label {
        font-weight: 600;
        color: #495057;
    }
    
    .order-total-info {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
        color: #2c3e50;
    }
    
    .order-actions {
        display: flex;
        gap: 10px;
    }
    
    .order-action-btn {
        flex: 1;
        height: 40px;
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    /* 空状态响应式 */
    .empty-state {
        padding: 40px 20px;
        text-align: center;
    }
    
    .empty-state i {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .empty-state p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .empty-state a {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

.page-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.orders-section {
    background-color: white;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.orders-section:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.section-title {
    font-size: 0.9rem;
    color: #34495e;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #667eea;
}

/* 临时订单样式 */
.temp-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.temp-order-table th,
.temp-order-table td {
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.temp-order-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.temp-order-table tr:hover {
    background-color: #f8f9fa;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.quantity-input {
    width: 50px;
    height: 25px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.7rem;
    transition: all 0.3s ease;
	background: #dddddd;
}

.quantity-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 3px 3px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.delete-btn:hover {
    background-color: #c0392b;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transform: translateY(-1px);
}

.order-total {
    text-align: right;
    margin-top: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-radius: 8px;
}

/* 订单详情容器样式 */
.order-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 订单卡片样式 */
.order-card {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 订单头部信息 */
.order-detail-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.order-no {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: block;
}

.order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.order-info-item {
    font-size: 1rem;
    color: #495057;
    display: flex;
    align-items: flex-start;
}

.order-info-item.full-width {
    grid-column: 1 / -1;
}

.order-info-label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 8px;
    min-width: 90px;
    flex-shrink: 0;
}

.order-info-item span:last-child {
    flex: 1;
    text-align: left;
}

/* 订单商品列表 */
.order-items {
    margin-bottom: 25px;
}

.order-items-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.order-items-table th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
}

.order-items-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #495057;
}

.order-items-table tr:last-child td {
    border-bottom: none;
}

/* 订单总计 */
.order-total {
    text-align: right;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 25px;
    border-radius: 8px;
}

/* 返回按钮样式 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #bd6c73;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-btn:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* 保存图片按钮 */
.save-image-section {
    margin-bottom: 25px;
    text-align: center;
}

.save-image-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #667eea;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.save-image-btn:hover {
    background-color: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.save-image-btn:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 生成的图片容器 */
.order-image-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.order-image-container h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.order-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 订单操作提示样式 */
.order-action-hint {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #dc3545;
    border-radius: 4px;
    text-align: left;
}

.hint-text {
    font-size: 0.95rem;
    color: #dc3545;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* 响应式设计 - 操作提示 */
@media (max-width: 768px) {
    .order-action-hint {
        margin-top: 15px;
        padding: 12px;
    }
    
    .hint-text {
        font-size: 0.7rem;
    }
    
    /* 移动版删除按钮样式，只显示图标 */
    .delete-btn {
        padding: 8px;
        font-size: 0;
        width: 20px;
        height: 20px;
        justify-content: center;
    }
    
    .delete-btn i {
        font-size: 0.7rem;
    }
}

/* 历史订单表格样式 */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.orders-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.orders-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.orders-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.orders-table td {
    padding: 15px 20px;
    font-size: 0.8rem;
    color: #495057;
}

.orders-table td.order-status {
    font-weight: 600;
}

.orders-table td.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* 订单操作按钮样式 */
.order-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
   
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.order-action-btn i {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 查看按钮样式 */
.view-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
	width: 60px;
    line-height: 30px;
}

.view-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

/* 登录页面样式 */
.login-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.login-container h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-error {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    color: #c62828;
    font-size: 0.9rem;
    font-weight: 500;
}

.login-tips {
    margin-bottom: 30px;
    padding: 20px;
    background: #f3e5f5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #4a148c;
    line-height: 1.5;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form .form-group {
    text-align: left;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.login-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.login-form input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 12px 24px;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.login-back-link:hover {
    color: #bd6c73;
    border-color: #bd6c73;
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(-3px);
}

/* 登录页面响应式样式 */
@media (max-width: 768px) {
    .login-container {
        max-width: 90%;
        margin: 30px auto 80px;
        padding: 30px 25px;
        border-radius: 12px;
    }

    .login-container h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .login-form {
        gap: 15px;
    }

    .login-form input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .login-btn {
        padding: 14px;
        font-size: 1rem;
    }

    .login-back-link {
        margin-top: 20px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 25px 20px;
        margin: 20px auto;
    }

    .login-container h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .login-form input {
        padding: 10px 14px;
    }

    .login-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* 编辑按钮样式 */
.edit-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
	width: 50px;
    line-height: 30px;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
    transform: translateY(-1px);
}

/* 删除按钮样式 */
.delete-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    font-family: inherit;
	width: 50px;
    line-height: 30px;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transform: translateY(-1px);
}

/* 订单状态样式 */
.status-draft {
    display: inline-block;
    padding: 6px 12px;
    background-color: #ffeaa7;
    color: #d68910;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	line-height: 17px;
}

.status-submitted {
    display: inline-block;
    padding: 6px 12px;
    background-color: #d5f5e3;
    color: #27ae60;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	line-height: 20px;
}

/* 响应式设计 - 订单表格 */
@media (max-width: 1024px) {
    .orders-table {
        font-size: 0.9rem;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 5px 5px;
    }
    
    .order-action-btn {
        padding: 3px 4px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .orders-table {
        display: block;
        overflow-x: auto;
    }
    
    .orders-table thead,
    .orders-table tbody,
    .orders-table tr,
    .orders-table th,
    .orders-table td {
        display: block;
    }
    
    .orders-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .orders-table tr {
        border: 1px solid #f0f0f0;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .orders-table td {
        border: none;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    
    .orders-table td:before {
        position: absolute;
        top: 12px;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: #6c757d;
    }
    
    .orders-table td.order-list-no:before { content: "订单号："; }
    .orders-table td.order-date:before { content: "创建时间："; }
    .orders-table td.order-quantity:before { content: "数量："; }
    .orders-table td.order-amount:before { content: "金额："; }
    .orders-table td.order-status:before { content: "状态："; }
    .orders-table td.order-actions:before { content: ""; }
    
    .orders-table td.order-actions {
        text-align: left;
        padding-left: 0;
        padding-top: 10px;
        justify-content: center;
    }
    
    .order-action-btn {
        margin: 4px;
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: 8px;
        min-width: 80px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }
    
    .order-action-btn i {
        font-size: 0.9rem;
        margin-right: 6px;
    }
    
    /* 已提交订单详情按钮居中 */
    .orders-list .order-action-btn.view-btn {
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* 查看按钮样式 */
    .view-btn {
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        color: white;
		width: 90px;
		line-height: 30px;
    }
    
    .view-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(52, 152, 219, 0.3);
    }
    
    /* 编辑按钮样式 */
    .edit-btn {
        background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
        color: white;
		width: 90px;
		line-height: 30px;
    }
    
    .edit-btn:hover {
        background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(39, 174, 96, 0.3);
    }
    
    /* 删除按钮样式 */
    .delete-btn {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
		width: 90px;
        line-height: 30px;
    }
    
    .delete-btn:hover {
        background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(231, 76, 60, 0.3);
    }
}

/* 产品详情页电脑版样式 */
@media (min-width: 769px) {
    /* 产品详情页加入订单按钮美化 */
    .add-to-order-section .add-to-order-btn {
        width: 100% !important;
        padding: 16px !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3) !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }
    
    .add-to-order-section .add-to-order-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4) !important;
    }
    
    .add-to-order-section .add-to-order-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3) !important;
    }
    
    .add-to-order-section .add-to-order-btn i {
        font-size: 1.2rem !important;
    }
    
    /* 产品详情页加入订单数字输入框高度 */
    .add-to-order-section .quantity-input {
        height: 35px !important;
        font-size: 1.1rem !important;
        padding: 0 15px !important;
        border: 2px solid #e9ecef !important;
        border-radius: 8px !important;
        text-align: center !important;
    }
    
    /* 数量控制按钮高度 */
    .add-to-order-section .quantity-btn {
        height: 50px !important;
        width: 50px !important;
        font-size: 1.2rem !important;
        border: 2px solid #e9ecef !important;
        border-radius: 8px !important;
        background-color: #f8f9fa !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .add-to-order-section .quantity-btn:hover {
        background-color: #e9ecef !important;
        border-color: #dee2e6 !important;
    }
}

/* 我的订单电脑版样式 */
@media (min-width: 769px) {
    /* 我的订单更新按钮样式 */
    .temp-order-table .order-action-btn.view-btn {
        width: 60px !important;
        height: 30px !important;
        padding: 0 12px !important;
        font-size: 0.85rem !important;
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
        color: white !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 12px rgba(52, 152, 219, 0.2) !important;
        transition: all 0.3s ease !important;
        border: none !important;
        cursor: pointer !important;
        font-weight: 600 !important;
    }
    
    .temp-order-table .order-action-btn.view-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 16px rgba(52, 152, 219, 0.3) !important;
    }
    
    /* 我的订单删除按钮样式 */
    .temp-order-table .delete-btn {
        width: 36px !important;
        height: 30px !important;
        padding: 0 !important;
        font-size: 0.85rem !important;
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
        color: white !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 12px rgba(231, 76, 60, 0.2) !important;
        transition: all 0.3s ease !important;
        border: none !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* 我的订单产品数量输入框宽度 */
    .temp-order-table .quantity-input {
        width: 80px !important;
        text-align: center !important;
    }
    
    .temp-order-table .delete-btn:hover {
        background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 16px rgba(231, 76, 60, 0.3) !important;
    }
    
    .temp-order-table .delete-btn i {
        font-size: 1rem !important;
        margin-right: 0 !important;
    }
    
    /* 历史订单按钮样式 */
    .orders-list .order-action-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
        border: none !important;
        cursor: pointer !important;
        font-weight: 600 !important;
        min-width: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
		width: 70px;
    }
    
    .orders-list .order-action-btn i {
        display: none !important;
    }
    
    /* 历史订单查看按钮样式 */
    .orders-list .view-btn {
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
        color: white !important;
    }
    
    .orders-list .view-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 16px rgba(52, 152, 219, 0.3) !important;
    }
    
    /* 历史订单编辑按钮样式 */
    .orders-list .edit-btn {
        background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
        color: white !important;
    }
    
    .orders-list .edit-btn:hover {
        background: linear-gradient(135deg, #229954 0%, #1e8449 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 16px rgba(39, 174, 96, 0.3) !important;
    }
    
    /* 历史订单删除按钮样式 */
    .orders-list .delete-btn {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
        color: white !important;
    }
    
    .orders-list .delete-btn:hover {
        background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 16px rgba(231, 76, 60, 0.3) !important;
    }
}

/* 我的订单手机版样式 */
@media (max-width: 768px) {
    /* 我的订单更新按钮样式 */
    .temp-order-table .order-action-btn.view-btn {
        width: 30px !important;
        height: 20px !important;
        padding: 0 !important;
        font-size: 0.7rem !important;
        min-width: 30px !important;
        background: #3498db !important;
        color: white !important;
        border-radius: 4px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        line-height: 20px !important;
    }
    
    /* 我的订单删除按钮样式 */
    .temp-order-table .delete-btn {
        width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        font-size: 0.7rem !important;
        min-width: 20px !important;
        background: #e74c3c !important;
        color: white !important;
        border-radius: 4px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 20px !important;
    }
    
    .temp-order-table .delete-btn i {
        font-size: 0.8rem !important;
        margin-right: 0 !important;
    }
}

/* 订单详情页备注样式 */
.order-card .order-remark-section {
    text-align: left;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 25px;
    border-radius: 8px;
}

.order-card .order-remark-section .total-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 15px;
}

.order-card .order-remark-section .total-label {
    color: #6c757d;
    font-weight: 600;
    margin-right: 0;
    white-space: nowrap;
    min-width: 80px;
}

.order-card .order-remark-section .total-value {
    color: #2c3e50;
    text-align: left;
    flex: 1;
    word-break: break-word;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .order-card {
        border-radius: 8px;
    }
    
    .order-no {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .order-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .order-info-item {
        font-size: 0.95rem;
    }
    
    .order-items-table {
        font-size: 0.85rem;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 10px 8px;
    }
    
    .order-items-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .order-total {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .order-card .order-remark-section {
        padding: 15px;
        font-size: 1rem;
        margin-top: 15px;
    }
    
    .order-card .order-remark-section .total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-card .order-remark-section .total-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    
    .order-no {
        font-size: 1.2rem;
    }
    
    .order-items-table {
        font-size: 0.8rem;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 8px 6px;
    }
    
    .order-total {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* 客户信息样式 */
.customer-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: white;
}

.form-group input::placeholder {
    color: #adb5bd;
}

/* 表单文本域样式 */
.form-group textarea {
    width: 100%;
    padding: 12px 12px 12px 8px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    text-align: left;
    vertical-align: top;
}

.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: white;
}

.form-group textarea::placeholder {
    color: #adb5bd;
}

/* 订单备注样式 */
.order-remark {
    margin: 20px 0;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    width: 100%;
}

/* 确保订单备注在移动端正常显示 */
@media (max-width: 768px) {
    .order-remark {
        padding: 15px;
        border-radius: 0;
    }
}

.save-order-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.save-order-btn:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    transform: translateY(-2px);
}

.save-order-btn:disabled {
    background-color: #cccccc;
    background-image: none;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* 历史订单样式 */
.orders-list {
    margin-top: 25px;
}

.order-item {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.order-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #e9ecef; /* 保持与默认状态相同的边框颜色，取消蓝色边框 */
}

.order-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.order-list-no {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.order-date {
    color: #6c757d;
    font-size: 0.95rem;
    background-color: #f8f9fa;
    padding: 5px 12px;
    border-radius: 20px;
}

.order-list-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.order-info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
}

.order-info-item span:last-child {
    color: #2c3e50;
    font-weight: 500;
}

.order-total-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #2c3e50;
    margin: 15px 0;
    font-size: 1.1rem;
    padding: 10px 0;
    border-top: 1px dashed #e0e0e0;
    border-bottom: 1px dashed #e0e0e0;
    background: transparent;
    border-radius: 0;
}

/* 订单信息行样式 - 一行显示 */
.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.order-info-row:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.order-item {
    margin-bottom: 15px;
}

.order-list-no {
    font-weight: 700;
    color: #2c3e50;
    margin-right: 25px;
    font-size: 0.9rem;
}

.order-date {
    color: #6c757d;
    margin-right: 25px;
    font-size: 0.9rem;
}

.order-quantity {
    color: #27ae60;
    font-weight: 700;
    margin-right: 25px;
    font-size: 0.9rem;
}

.order-amount {
    color: #e74c3c;
    font-weight: 700;
    margin-right: 25px;
    font-size: 0.9rem;
}

.order-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 0;
    border-top: none;
}

/* 调整查看详情按钮大小 */
.order-action-btn {
     border: none;
     border-radius: 11px;
     cursor: pointer;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     transition: all 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     padding: 3px 6px;
     font-size: 0.7rem;
     height: auto;
     min-width: auto;
 }

.order-action-btn i {
    font-size: 0.75rem;
    margin-right: 5px;
}

/* 订单筛选和导出样式 */
.order-filter-export {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    white-space: nowrap;
}

.filter-group input[type="date"] {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: white;
    transition: all 0.3s ease;
}

.filter-group input[type="date"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-btn, .export-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.export-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.export-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
}

/* 响应式处理 */
@media (max-width: 768px) {
    .order-filter-export {
        display: none; /* 手机版隐藏筛选和导出功能 */
    }
}

/* 响应式处理 */
@media (max-width: 768px) {
    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-list-no,
    .order-date,
    .order-quantity,
    .order-amount {
        margin-right: 0;
    }
    
    .order-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.order-action-btn {
		border: none;
		border-radius: 11px;
		cursor: pointer;
		text-decoration: none;
		display: inline-flex;
		align-items: center;
		transition: all 0.3s ease;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		}

.view-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
	width: 35px;
    line-height: 30px;
}

.view-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.save-image-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.save-image-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.save-image-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.save-image-btn:disabled {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 消息样式 */
.message {
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

/* 订单操作按钮容器 */
.order-actions-container {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 已提交状态样式 */
.status-submitted {
    color: #27ae60;
    font-weight: 600;
}

/* 订单详情页样式 */
.order-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 订单卡片样式 */
.order-card {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 订单头部信息 */
.order-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.order-no {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.order-info-item.full-width {
    grid-column: 1 / -1;
}

.order-info-label {
    font-weight: bold;
    color: #555;
}

/* 订单商品列表 */
.order-items {
    margin-bottom: 30px;
}

.order-items-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.order-items-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #555;
}

/* 订单页面产品名称样式 */
.order-items-table td:first-child {
    width: auto;
}

/* 手机版订单页面产品名称宽度设置 */
@media (max-width: 768px) {
    .order-items-table td:first-child {
        width: 130px;
        word-wrap: break-word;
        word-break: break-all;
    }
}

/* 订单详情总计 */
.order-detail-total {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-row {
    margin-bottom: 10px;
}

.total-label {
    margin-right: 20px;
}

.total-value {
    color: #e74c3c;
}

/* 保存图片按钮 */
.save-image-section {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 12px;

}

/* 订单图片样式 */
.order-image-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: none;
}

.order-image-container.visible {
    display: block;
}

.order-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.order-image-container h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #2c3e50;
    text-align: center;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-inline {
    display: inline-block !important;
}

.hidden {
    display: none !important;
}

/* 打印样式 */
@media print {
    .save-image-section,
    .back-btn,
    header,
    .mobile-bottom-nav {
        display: none !important;
    }
    
    .order-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* 登录页面样式 */

/* 登录页面CSS变量定义 */
:root {
  --white: #ffffff;
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
  --darker-gray: #495057;
  --info-color: #3498db;
  --danger-color: #dc3545;
  --success-color: #28a745;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
}

/* 登录容器 */
.login-container {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
}

/* 登录标题 */
.login-container h2 {
    text-align: center;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 登录提示 */
.login-tips {
    background: #f8f9fa;
    color: #fe0000;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* 登录表单 */
.login-form {
    margin-bottom: 20px;
}

/* 登录表单组 */
.login-form .form-group {
    margin-bottom: 15px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

/* 登录输入框 */
.login-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
}

.login-form .form-group input:focus {
    border-color: #007bff;
    outline: none;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 10px;
    background: #2e365a;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
}

.login-btn:hover {
    background: #0056b3;
}

/* 登录错误消息 */
.login-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* 登录返回链接 */
.login-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #2e365a;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-back-link:hover {
    text-decoration: underline;
}



/* 输入框验证样式 */
.input-valid {
    border-color: #4CAF50 !important;
}

.input-invalid {
    border-color: #f44336 !important;
}

/* 修改密码页面样式 */
.change-password-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.change-password-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.change-password-container h2 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

/* 强制修改密码提示 */
.force-change-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 243, 205, 0.3);
    line-height: 1.5;
}

.force-change-notice i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* 修改密码表单样式 */
.change-password-form .form-group {
    margin-bottom: 30px;
}

.change-password-form .form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #495057;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.change-password-form .form-group label:hover {
    color: #667eea;
}

.change-password-form .form-group label i {
    color: #667eea;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 密码输入容器 - 用于定位可见性切换按钮 */
.password-input-container {
    position: relative;
}

/* 表单输入框样式 */
.change-password-form .form-group input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 60px; /* 为密码切换按钮留出空间 */
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1.1rem;
    color: #495057;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.change-password-form .form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.change-password-form .form-group input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* 密码可见性切换按钮 */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

/* 修改密码按钮 */
.change-password-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.change-password-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.change-password-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.change-password-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 返回链接样式 */
.change-password-container .back-link {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 2px solid #667eea;
    background-color: transparent;
}

.change-password-container .back-link:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.change-password-container .back-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* 消息提示样式 */
.change-password-container .message {
    padding: 18px 24px;
    margin-bottom: 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.change-password-container .message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.change-password-container .message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.change-password-container .message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式设计 - 平板和手机 */
@media (max-width: 768px) {
    .change-password-container {
        max-width: 95%;
        margin: 30px auto 80px;
        padding: 30px 25px;
        border-radius: 12px;
    }

    .change-password-container h2 {
        font-size: 2rem;
        margin-bottom: 25px;
        letter-spacing: -0.3px;
    }

    .force-change-notice {
        padding: 18px;
        margin-bottom: 25px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .force-change-notice i {
        font-size: 1.4rem;
    }

    .change-password-form .form-group {
        margin-bottom: 25px;
    }

    .change-password-form .form-group label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .change-password-form .form-group label i {
        font-size: 1.1rem;
    }

    .change-password-form .form-group input {
        padding: 14px 18px;
        padding-right: 50px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .toggle-password {
        right: 10px;
        font-size: 16px;
        padding: 8px;
    }

    .change-password-btn {
        padding: 16px 25px;
        font-size: 1.1rem;
        margin-top: 30px;
        border-radius: 8px;
        letter-spacing: 0.5px;
    }

    .change-password-container .back-link {
        margin-top: 20px;
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .change-password-container .message {
        padding: 15px 20px;
        margin-bottom: 25px;
        font-size: 1rem;
        border-radius: 8px;
    }
}

/* 响应式设计 - 小屏幕手机 */
@media (max-width: 480px) {
    .change-password-container {
        padding: 25px 20px;
        margin: 20px auto 80px;
        border-radius: 10px;
    }

    .change-password-container h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .force-change-notice {
        padding: 15px;
        margin-bottom: 20px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .force-change-notice i {
        font-size: 1.2rem;
    }

    .change-password-form .form-group {
        margin-bottom: 20px;
    }

    .change-password-form .form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .change-password-form .form-group label i {
        font-size: 1rem;
    }

    .change-password-form .form-group input {
        padding: 12px 16px;
        padding-right: 45px;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .toggle-password {
        right: 8px;
        font-size: 14px;
        padding: 6px;
    }

    .change-password-btn {
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 25px;
        border-radius: 6px;
        letter-spacing: 0.3px;
    }

    .change-password-container .back-link {
        margin-top: 15px;
        padding: 8px 16px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .change-password-container .message {
        padding: 12px 16px;
        margin-bottom: 20px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
}

/* 用户中心页面样式 */
.user-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.user-container:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.user-container h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 用户信息样式 */
.user-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.user-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

/* 用户详情样式 */
.user-details {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label i {
    color: #667eea;
}

.detail-value {
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 500;
}

/* 状态徽章样式 */
.status-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-authorized {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    box-shadow: 0 4px 12px rgba(212, 237, 218, 0.5);
}

.status-unauthorized {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    box-shadow: 0 4px 12px rgba(248, 215, 218, 0.5);
}

/* 操作按钮样式 */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.user-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

/* 订单按钮 */
.user-action-btn.btn-orders {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.user-action-btn.btn-orders:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.3);
}

/* 修改密码按钮 */
.user-action-btn.btn-password {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-action-btn.btn-password:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

/* 退出登录按钮 */
.user-action-btn.btn-logout {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.user-action-btn.btn-logout:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* 用户中心页面响应式样式 */
@media (max-width: 768px) {
    /* 用户中心响应式样式 */
    .user-container {
        margin: 20px;
        padding: 20px;
        padding-bottom: 100px; /* 添加底部padding，确保内容不被底部导航栏遮挡 */
    }
    
    .user-container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .user-info {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .user-avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .user-info h3 {
        font-size: 1.3rem;
    }
    
    .user-details {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .detail-value {
        font-size: 1rem;
        color: #2c3e50;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .user-action-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 25px;
    color: #667eea;
    opacity: 0.3;
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.empty-state a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-block;
}

.empty-state a:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* 产品活动方式标识样式 */
.product-activity-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.activity-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.activity-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 不同活动方式的颜色 */
.activity-badge.activity-promotion {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.activity-badge.activity-gift {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 100%);
}

.activity-badge.activity-hot {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
}

.activity-badge.activity-recommend {
    background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);
}

.activity-badge.activity-new {
    background: linear-gradient(135deg, #54a0ff 0%, #2e86de 100%);
}

/* PC端徽章容器样式优化 */
@media (min-width: 769px) {
    .product-activity-badges {
        top: 15px;
        right: 15px;
        gap: 10px;
    }
}



/* 手机版活动方式标识样式 */
@media (max-width: 768px) {
    .product-activity-badges {
        top: 2px;
        left: 2px;
        right: auto;
        gap: 6px;
    }
    
    .activity-badge {
        font-size: 0.6rem;
        font-weight: 400;
        border-radius: 2px;
        background-color: #ff4444;
        color: white;
        border: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        background-image: none;
        padding: 2px 6px;
    }
    
    /* 手机版不同活动方式的颜色 */
    .activity-badge.activity-promotion {
        background-color: #ff4444;
    }
    
    .activity-badge.activity-gift {
        background-color: #44b8ff;
    }
    
    .activity-badge.activity-hot {
        background-color: #ff66cc;
    }
    
    .activity-badge.activity-recommend {
        background-color: #44cc88;
    }
    
    .activity-badge.activity-new {
        background-color: #6688ff;
    }
}

/* 产品图片容器相对定位，确保标识正确定位 */
.product-image {
    position: relative;
}

/* 产品图片链接样式 */
.product-image-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* 产品名称链接样式 */
.product-name-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.product-name-link:hover {
    color: #667eea;
}

/* 产品价格链接样式 */
.product-price-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.product-gallery {
    position: relative;
}

/* 电脑端 (>=769px) */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .mobile-search {
    display: none;
  }

  /* 滚动行为调整 - 电脑端整体滚动 */
  .main-content {
    overflow-y: auto;
  }

  .categories-sidebar {
    height: auto;
    overflow-y: visible;
    position: static;
  }

  .products-area {
    height: auto;
    overflow-y: visible;
    padding-bottom: 40px;
  }

  /* 产品网格布局 */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-image {
    padding-top: 100%;
  }
}