/* =========================
   容器布局
========================= */
.category-product-wrap {
  display: flex;
  max-width: 1300px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

/* =========================
   左侧分类
========================= */
.category-left {
  flex: 0 0 350px;
}

.category-title-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: #2196f3;
}

.mobile-product-icon {
  display: none;
  height: 40px;
  background: #f0e2b7;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.mobile-product-icon span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.mobile-product-icon span::before {
  content: "";
  width: 40px;
  height: 40px;
  background: url("https://www.hongjiehome.com/wp-content/uploads/2026/01/icon_category.png") no-repeat center / contain;
	margin-right: 20px;            /* 控制距离 */
}

.category-sidebar {
  font-family: Georgia, "Times New Roman", serif;
  padding: 0 15px 0 20px;
}

.category-block {
  margin-bottom: 20px;
}

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-title span {
  font-size: 16px;
  font-weight: 500;
}

.toggle-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  background: none;
  cursor: pointer;
}

.category-list {
  list-style: none;
  margin-top: 10px;
  padding-left: 22px;
}

.category-list li {
  position: relative;
  margin-bottom: 10px;
}

.category-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.9em;
  width: 4px;
  height: 1px;
  background: #ddd;
}

.category-list a {
  font-size: 15px;
  color: #999 !important;
  text-decoration: none;
}

.category-list a:hover {
  color: #2f80ff;
}

.category-block:not(.is-open) .category-list {
  display: none;
}

/* =========================
   右侧产品
========================= */
.product-showcase {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f5faff;
  padding-left: 25px;
}

/* =========================
   产品列表前说明行
========================= */
.product-intro-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 50px 0 12px;
  border-bottom: 1px solid #eee;
}

.product-intro-line .intro-left {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.product-intro-line .intro-right {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

/* =========================
   产品列表
========================= */
.product-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-items li {
  display: flex;
  gap: 30px;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}
	
	/* =========================
   PC端产品块 hover 背景色
========================= */
@media (min-width: 1041px) {
  .product-items li:hover {
    background-color: #fff; /* 修改为你想要的颜色 */
    transition: background-color 0.3s ease;
  }
}


.product-item-img {
  flex: 0 0 200px;
}

.product-item-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.product-item-info {
  flex: 1;
  max-width: 620px;
}

.product-item-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-item-info h3 .title {
  color: #111;
  text-decoration: none;
}

.product-item-desc {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-item-contact a {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #3fa9f5, #67c5ff);
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s;
}

.product-item-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(63, 169, 245, 0.35);
}

/* =========================
   移动端
========================= */
@media (max-width: 767px) {
  .category-product-wrap {
    display: block;
  }

  .category-left {
    width: 100%;
    margin-top: 20px;
  }

  .category-title-text {
    display: none;
  }

  .mobile-product-icon {
    display: flex;
    width: 100vw;
    padding: 12px 0;
  }

  .category-sidebar {
    display: none;
    padding-left: 10px;
  }

  .category-sidebar.is-open {
    display: block;
    margin-top: 12px;
  }

  .product-showcase {
    padding: 0 10px;
  }

  .product-intro-line {
    gap: 4px;
    padding: 20px 0 8px;
  }

  .product-intro-line .intro-left {
    font-size: 16px;
  }

  .product-intro-line .intro-right {
    font-size: 12px;
    white-space: normal;
  }

  .product-items li {
    gap: 15px;
    padding: 20px 0;
    align-items: center;
  }

  .product-item-img {
    flex: 0 0 120px;
  }

  .product-item-info {
    max-width: calc(100% - 120px);
  }

  .product-item-info h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .product-item-desc {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .product-item-contact a {
    padding: 8px 16px;
    font-size: 14px;
  }

  .category-list li::before {
    display: none;
  }

  .pum-container {
    max-width: 90vw !important;
  }
}
		
		
/* =========================
   平板端布局（跟手机一样）
========================= */
@media (min-width: 768px) and (max-width: 1040px) {
  /* 容器改为块布局 */
  .category-product-wrap {
    display: block;
  }

  /* 左侧分类 */
  .category-left {
    width: 100%;
    margin-top: 20px;
  }

  .category-title-text {
    display: none;
  }

  .mobile-product-icon {
    display: flex;
    width: 100%;
    padding: 12px 0;
    justify-content: center;
    align-items: center;
  }

  .category-sidebar {
    display: none;
    padding-left: 10px;
  }

  .category-sidebar.is-open {
    display: block;
    margin-top: 12px;
  }

  /* 右侧产品 */
  .product-showcase {
    padding: 0 10px;
  }

  /* 产品列表前说明行 */
  .product-intro-line {
    gap: 4px;
    padding: 20px 0 8px;
  }

  .product-intro-line .intro-left {
    font-size: 16px;
  }

  .product-intro-line .intro-right {
    font-size: 12px;
    white-space: normal;
  }

  /* 产品列表 */
  .product-items li {
    gap: 15px;
    padding: 20px 0;
    align-items: center;
  }

  .product-item-img {
    flex: 0 0 120px;
  }

  .product-item-info {
    max-width: calc(100% - 120px);
  }

  .product-item-info h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .product-item-desc {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .product-item-contact a {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* 分类列表小图标 */
  .category-list li::before {
    display: none;
  }

  /* 弹窗最大宽度 */
  .pum-container {
    max-width: 90vw !important;
  }
}

