.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;
}

/* 左侧导航菜单样式 */
.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);
  /* 移除额外的宽度和负值margin，避免布局问题 */
}

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

/* 产品网格样式 - 确保产品卡片在网格中正确排列 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* 增加空隙大小 */
  width: 100%;
  margin-top: 20px;
}

/* 产品卡片样式 */
.product-card {
  background-color:#f8f9fd;
  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;
  /* height: 100%; */
  /* border: 1px solid #e0e0e0; */
}

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

/* 产品图片容器样式 */
.product-img-container {
  width: 100%;
  height: 200px;
  /* background-color: #f5f5f5; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 15px; */
  overflow: hidden;
  border-radius: 4px;
  padding: 20px;
}

/* 粮库|硬件产品的图片样式 - 长方形 */
.hardware-product-img {
  height: 180px;
  width: 180px;
  object-fit: contain;
}

/* 确保其他产品图片保持原有大小 */
.product-img:not(.hardware-product-img) {
  height: 180px;
  width: 180px;
  object-fit: contain;
}

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

/* 产品标题 */
.product-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #17bec5;
}

/* 确保响应式布局 */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

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

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-display {
    padding: 20px;
  }
  
  .product-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .product-display {
    padding: 15px;
  }
}