.chanpin-nei {
  display: flex;
  gap: 20px;
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

.cebian {
  width: 260px;
  flex-shrink: 0;
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.fenlei-zu {
  margin-bottom: 4px;
}

.fenlei-yiji {
  display: flex;
  align-items: baseline;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hei);
  cursor: pointer;
  user-select: none;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.fenlei-yiji:hover {
  color: var(--lan);
}

.fenlei-wenzi {
  flex: 1;
}

.wu-biankuang {
  border-top: none;
  border-bottom: none;
}

.fenlei-jiantou {
  flex-shrink: 0;
  font-size: 14px;
  color: #999;
  font-weight: 400;
  transition: transform 0.3s;
}

.fenlei-zu.dakai .fenlei-jiantou {
  transform: rotate(90deg);
}

.fenlei-neirong {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.fenlei-zu.dakai .fenlei-neirong {
  max-height: 350px;
}

.erji-xiang {
  font-size: 15px;
  color: #555;
  padding: 6px 8px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fuxuankuang {
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 2px;
  flex-shrink: 0;
  transition: 0.2s;
  position: relative;
}

.erji-xiang.xuanzhong .fuxuankuang {
  background: var(--lan);
  border-color: var(--lan);
}

.erji-xiang.xuanzhong .fuxuankuang::after {
  content: "\2713";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bai);
  font-size: 11px;
  line-height: 1;
}

.erji-xiang:hover {
  color: var(--lan);
}

/* 产品图弹窗 */
.tuchuang-zhezhao {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.tuchuang-zhezhao.dakai {
  display: flex;
}

.tuchuang-guanbi {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #ccc;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  user-select: none;
  transition: color 0.2s;
}

.tuchuang-guanbi:hover {
  color: #fff;
}

.tuchuang-nei {
  position: relative;
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tuchuang-tu {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.tuchuang-jishu {
  color: #ccc;
  font-size: 14px;
  margin-top: 12px;
  user-select: none;
}

.tuchuang-jiantou {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ccc;
  font-size: 42px;
  width: 48px;
  height: 80px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.tuchuang-jiantou:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.tuchuang-zuo {
  left: 20px;
}

.tuchuang-you {
  right: 20px;
}

@media (max-width: 768px) {
  .tuchuang-jiantou {
    font-size: 28px;
    width: 36px;
    height: 56px;
  }

  .tuchuang-zuo { left: 8px; }
  .tuchuang-you { right: 8px; }

  .tuchuang-guanbi {
    top: 12px;
    right: 16px;
    font-size: 28px;
  }

  .tuchuang-tu {
    max-width: 92vw;
    max-height: 70vh;
  }
  .chanpin-nei {
    flex-direction: column;
  }

  .cebian {
    width: 100%;
    border-right: none;
    padding-right: 0;
    padding-bottom: 16px;
  }
}
