.header {
  background-color: hsla(0, 0%, 100%, 0.3) !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  line-height: 80px;
  z-index: 10;
}
.software-products-container {
  max-width: 1980px;
  margin: 0 auto;
  position: relative;
  height: 420px;
  overflow: hidden;
}
.software-products-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#footer-container {
  position: relative;
  top: 0;
}

/* 产品展示区域样式 */
.products-section {
  background-color: #f5f5f5;
  padding: 40px 0;
  min-height: 600px;
}

.products-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
  position: relative;
  overflow: visible;
  align-items: flex-start;
}
/* 左侧导航菜单样式 */
.sidebar {
  width: 250px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: -100px; /* 将左侧菜单向左移动30px */
}

/* 右侧产品展示样式 */
.product-display {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: calc(100% + 30px);
  margin-right: -80px;
}

/* 调整产品内容容器的样式 */
.products-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
  position: relative;
  overflow: visible;
}

.sidebar-title {
  background-color: #16bec5;
  color: #ffffff;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

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

.menu-item {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
}

.menu-item:hover {
  background-color: #f8f9fa;
}

.menu-item.active {
  background-color: #e3f2fd;
  color: #17bec4;
  font-weight: bold;
}

.menu-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #17bec4;
}

.menu-icon {
  width: 20px;
  height: 20px;
  background-color: #d9d9d9;
  border-radius: 4px;
}

.product-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

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

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 20px;
}

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


/* 确保其他产品图片保持原有大小 */
.product-img:not(.hardware-product-img) {
  height: 120px; /* 保持原有高度 */
  /* padding: 20px; */
  width: 100%;
}
.product-name {
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .products-content {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-display {
    padding: 20px 15px;
  }
}
/* 产品详情容器样式 */
.product-detail-container {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 产品详情头部 */
.detail-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-title {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.detail-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  margin-left: 400px;
}

/* 返回按钮 */
.back-button {
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #e0e0e0;
  border-color: #ccc;
}

/* 产品详情内容 */
.detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.detail-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-top: 20px;
  margin-bottom: 15px;
}

.detail-content p {
  margin-bottom: 15px;
  text-align: justify;
}

/* 导航链接 */
.navigation-links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

.prev-link,
.next-link {
  cursor: pointer;
  transition: color 0.3s ease;
}

.prev-link:hover,
.next-link:hover {
  color: #007bff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* 增加间隙大小 */
  width: 100%;
  margin-top: 20px;
}


.sidebar {
  width: 250px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* 移除负值margin */
}

.product-display {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* 移除额外的width和负值margin */
}


.product-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e0e0e0;
}


.product-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-top: 15px;
  padding: 10px;
  text-align: center;
  line-height: 1.4;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* 重置所有冲突的样式，确保图片大小一致 */

/* 调整产品图片容器样式 */
.product-img-container {
/* 设置固定高度，确保所有图片容器大小一致 */
height: 200px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 15px;
border-radius: 4px;
padding: 10px;
background-color: #f9f9f9;
}

/* 调整产品图片样式，使其与示例图一致 */
.product-img {
/* 设置固定的宽高比，确保图片比例一致 */
width: 100%;
height: 100%;
display: block;
object-fit: contain;
/* 确保图片清晰显示 */
image-rendering: -webkit-optimize-contrast;
}

/* 删除可能导致冲突的特定选择器样式 */
.product-img:not(.hardware-product-img) {
/* 移除特定高度限制，统一使用.product-img的样式 */
height: 100% !important;
}

/* 调整产品卡片样式，使其与示例图一致 */
.product-card {
/* 统一卡片样式 */
border: none;
background-color: #fff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
border-radius: 8px;
padding: 15px;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
height: 100%;
}

/* 产品卡片悬停效果 */
.product-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 确保产品网格布局正确 */
.product-grid {
display: grid;
/* 一行显示三个产品卡片 */
grid-template-columns: repeat(3, 1fr);
/* 设置卡片间距 */
gap: 30px;
width: 100%;
margin-top: 20px;
}

/* 调整产品名称文字样式，使其与示例图一致 */
.product-name {
font-size: 16px;
color: #333;
font-weight: 500;
text-align: center;
line-height: 1.5;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
padding: 0 10px;
margin-top: auto;
}

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

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

@media (max-width: 768px) {
.product-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
  .product-display {
    padding: 15px;
  }
}

/* 分页样式 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background-color: #f5f5f5;
}

.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-btn {
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #16bec5;
  border-radius: 4px;
  color: #16bec5;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background-color: #f0f0f0;
}

.page-btn.active {
  background-color: #16bec5;
  color: #fff;
  border-color: #16bec5;
}

/* 确保在响应式布局中分页正常显示 */
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination-container {
    padding: 20px 0;
  }
}