.banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.banner img {
  width: 100%;
  max-width: 100%;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*面包屑*/


.nav-container-01 {
  height: 60px;
  background-color: #fff;
  /* 背景色仅供参考 */
  display: flex;
  align-items: center;
  /* 垂直居中 */

}

.nav-content-01 {
  width: 100%;
  max-width: 1667px;
  /* 有效显示区域 */
  margin: 0 auto;
  /* 居中显示 */
  padding: 0 20px;
  /* 左右内边距，防止内容贴边 */
}

.breadcrumbs-01 {
  font-size: 18px;
  color: #969696;
}

.breadcrumbs-01 a {
  color: #969696;
  text-decoration: none;
}

.breadcrumbs-01 a:hover {
  text-decoration: underline;
}

.separator-01 {
  margin: 0 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .nav-container-01 {
    height: 100px;
    /* 小屏幕下适当减小高度 */
  }

  .breadcrumbs-01 {
    font-size: 16px;
    /* 小屏幕下适当减小字体 */
  }
}

@media (max-width: 480px) {
  .nav-container-01 {
    height: 80px;
    /* 超小屏幕进一步减小高度 */
  }

  .breadcrumbs-01 {
    font-size: 14px;
    /* 超小屏幕进一步减小字体 */
  }

  .separator-01 {
    margin: 0 5px;
    /* 减小分隔符间距 */
  }
}


/*主题区域*/
.container {
  display: flex;
  max-width: 1667px;
  margin: 0 auto;
  background: #fff;
  justify-content: space-between;



}

/* 左侧导航样式 */
.left-nav {
  width: 327px;
  max-height: 90vh;


}

.main-category {
  border-top: 3px solid #00a1e9;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.main-category:first-child {
  /* border-top: none;*/
}

.main-category:hover {
  background: #f0f9ff;
}

.main-category .title {
  font-size: 22px;
  color: #000;
  font-weight: normal;
  transition: color 0.2s;
}

.main-category .arrow {
  display: inline-block;
  width: 8px;
  height: 11px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  position: relative;
  color: #000;
  font-weight: bold;
  font-family: '宋体';
}

.main-category.collapsed .arrow {
  transform: rotate(0deg);
}

.main-content {
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.category {
  height: 62px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  padding-left: 28px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.category:hover {
  background: #eef6fc;
}

.category::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 11px solid #000;
  transition: border-color 0.2s;
}

.category.active {
  color: #00a1e9;
}

.category.active::before {
  border-left: 11px solid #00a1e9;
}

.category-name {
  font-size: 22px;
  margin-left: 22px;
}

.category .category-name a {
  color: #000;
  text-decoration: none;
}

.category.active .category-name a {
  color: #00a1e9;
}

.sub-items {
  list-style: none;
  padding-left: 0px;
}

.sub-item {
  height: 50px;
  font-size: 18px;
  line-height: 50px;
  cursor: pointer;
  padding-left: 51px;
  /* 28px + 11px + 22px */
  transition: all 0.2s;
  position: relative;
}

.sub-item a {
  color: #000;
  text-decoration: none;
}

.sub-item a:hover,
.sub-item.active a {
  color: #0088cc;
}

.sub-item::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: transparent;
  border-radius: 50%;
  transition: all 0.2s;
}

.sub-item.active {
  color: #00a1e9;
  font-weight: 500;
}

.sub-item.active::before {
  background: transparent;
  width: 8px;
  height: 8px;
}

.last-border {
  height: 3px;
  background: #00a1e9;
  margin: 10px 0 20px;
  display: none;
}

/* 右侧内容区样式 */
.right-content {
  min-height: auto;
  width: 75%;

}

.content-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #00a1e9;
}

.content-title {
  font-size: 32px;
  color: #00a1e9;
  margin-right: 20px;
}

.selected-category {
  font-size: 20px;
  color: #666;
  font-weight: 500;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 161, 233, 0.25);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, #00a1e9, #00c4cc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 22px;
  margin-bottom: 12px;
  color: #333;
}

.product-id {
  color: #00a1e9;
  font-size: 16px;
  margin-bottom: 15px;
}

.product-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.stats-bar {
  display: flex;
  justify-content: space-around;
  background: #f7f7f7;
  padding: 15px;
  border-top: 1px solid #eee;
}

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

.stat-value {
  font-size: 20px;
  font-weight: bold;
  color: #00a1e9;
}

.stat-label {
  font-size: 14px;
  color: #777;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    flex-direction: column;
  }

  .left-nav {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    max-height: 400px;
    overflow-y: auto;
  }

  .right-content {
    min-height: auto;
  }

  .right-content {
    width: 100%;
    padding: 10px 30px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .main-category {
    padding: 0 20px;
  }

  .category {
    padding-left: 20px;
  }

  .sub-items {
    padding-left: 20px;
  }

  .sub-item {
    padding-left: 53px;
    /* 20px + 11px + 22px */
  }

  .header h1 {
    font-size: 36px;
  }
}

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

  .right-content {
    padding: 20px;
  }

  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .selected-category {
    margin-top: 10px;
  }
}

.highlight {
  color: #00a1e9;
  font-weight: bold;
}

/*这里产品的列表区域*/
.products-showcase {
  padding: 0px 0 0px;
  max-width: 100%;
  margin: auto;
}

.products-showcase .products-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}


.products-showcase .products-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-out;
  flex-wrap: wrap;
}

.products-showcase .product-card {
  flex: 0 0 auto;
  width: 48%;
  height: 557px;
  background: #f4f4f4;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);*/
  transition: transform 0.3s;
}


@media (max-width: 800px) {
  .products-showcase .product-card {
    width: 100%;

  }
}

@media (max-width: 576px) {
  .products-showcase .products-track {
    gap: 20px;
    margin: 0;
    width: 100%;
  }

  .products-showcase .product-card {
    width: 100%;
    height: 440px;
  }

}