.container-content {
  width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
  min-height: 550px;
}

.container-content-left {
  width: 256px;
}
.category-filter-panel {
  padding: 0 10px;
}
.container-content-right {
  width: 912px;
  margin-right: 10px;
}

/* 分类筛选面板样式 - 按设计稿实现可展开折叠 */
#filterFormContainer {
  width: 256px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 0;
}

/* 禁用过渡动画的类 - 用于防止筛选时的闪烁 */
#filterFormContainer.no-transition,
#filterFormContainer.no-transition *,
#filterFormContainer.no-transition *::before,
#filterFormContainer.no-transition *::after {
  transition: none !important;
  animation: none !important;
}

.category-filter-panel h2 {
  margin-top: 15px;
  font-size: 22px;
  font-weight: 500;
}

.category-filter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-filter-btn {
  width: 246px;
  min-height: 40px;
  background: #e9f0ee;
  border: 1px solid #dee2e7;
  border-radius: 8px;
  padding: 2px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-filter-btn:hover {
  background: #e0ebe8;
  border-color: #007648;
  text-decoration: none;
}

/* 展开/选中状态 */
.category-filter-btn.active {
  background: #007648;
  border-color: #007648;
}

.category-filter-btn.active .category-name {
  color: #ffffff;
}

.category-filter-btn.active .category-arrow {
  color: #ffffff;
  transform: rotate(90deg);
}

/* 箭头旋转动画 */
.category-arrow {
  width: 16px;
  height: 16px;
  color: #1c1c1c;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* 详细筛选面板样式 */
.category-sublist.detailed-panel {
  background: #ffffff;
  border: 1px solid #007648;
  border-radius: 8px;
  padding: 15px;
  /* 面板本身不限制高度 */
}

/* 展开状态 */
.category-sublist.detailed-panel.expanded {
  /* 展开时不需要特殊样式 */
}

/* 筛选内容区域 - 包含所有筛选组的容器 */
.filter-content-scrollable {
  /* 默认收起状态：固定高度 + 滚动条 */
  max-height: 200px;
  overflow-y: auto;
}

/* 展开状态：显示全部内容，滚动条消失 */
.filter-content-scrollable.expanded {
  max-height: none !important;
  overflow-y: visible !important;
}

.filter-group {
  margin-bottom: 5px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  font-family: "Noto Sans SC", "Source Han Sans CN", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #007648;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* expand-btn 样式 */
.expand-btn {
  font-size: 14px;
  font-weight: 400;
  color: #007648;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  user-select: none;
}

.expand-btn:hover {
  background: rgba(0, 118, 72, 0.1);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* 移除高度限制，由外层的 filter-content-scrollable 统一管理 */
}

/* 展开状态：显示全部内容，滚动条消失 */
.filter-options.expanded {
  /* 移除高度限制，由外层的 filter-content-scrollable 统一管理 */
}

/* 自定义滚动条 */
.filter-content-scrollable::-webkit-scrollbar {
  width: 12px;
}

.filter-content-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

.filter-content-scrollable::-webkit-scrollbar-thumb {
  background: rgba(0, 118, 72, 1);
  border-radius: 6px;
}

.filter-content-scrollable::-webkit-scrollbar-button {
  display: none;
}

.filter-content-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgb(6 157 98);
}

/* 移除 filter-options 的滚动条样式，由外层统一管理 */
/* 二级子分类的滚动条样式 */
.filter-options.scrollable {
  max-height: 200px;
  overflow-y: auto;
}

/* 二级子分类的自定义滚动条 */
.filter-options.scrollable::-webkit-scrollbar {
  width: 9px;
}

.filter-options.scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

.filter-options.scrollable::-webkit-scrollbar-thumb {
  background: rgba(0, 118, 72, 1);
  border-radius: 6px;
}

.filter-options.scrollable::-webkit-scrollbar-button {
  display: none;
}

.filter-options.scrollable::-webkit-scrollbar-thumb:hover {
  background: rgb(6 157 98);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Source Han Sans CN", sans-serif;
  font-size: 14px;
  color: #1c1c1c;
}

.filter-checkbox input {
  display: none;
}

.filter-checkbox .check-box {
  width: 20px;
  height: 20px;
  border: 2px solid #bdbdbd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.filter-checkbox.checked .check-box,
.filter-checkbox input:checked + .check-box {
  background: #007648;
  border-color: #007648;
}

.filter-checkbox.checked .check-box::after,
.filter-checkbox input:checked + .check-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 搜索框 */
.filter-search-box {
  position: relative;
  margin-bottom: 10px;
}

.filter-search-box-container {
  padding-top: 20px;
  border-top: 1px solid #dee2e7;
}

/* 全局搜索框样式 */
.filter-search-box.global-search {
}

.filter-search-box.global-search input {
  height: 38px;
  font-size: 13px;
}

.filter-search-box.global-search .search-icon {
  right: 12px;
}

.filter-search-box input {
  width: 100%;
  height: 35px;
  border: 1px solid #dee2e7;
  border-radius: 8px;
  padding: 0 35px 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1c1c1c;
}

.filter-search-box input::placeholder {
  color: #8b96a5;
}

.filter-search-box .search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #007648;
}

/* 分类链接 */
.filter-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #dee2e7;
}

.filter-link {
  font-family: "Noto Sans SC", "Source Han Sans CN", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1c1c1c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.filter-link:hover,
.filter-link.active {
  color: #007648;
}

.category-name {
  font-family:
    "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 29px;
}

/* 子分类列表样式 - 设计稿规格 */
.category-sublist {
  width: 246px;
  background: #ffffff;
  border: 1px solid #007648;
  border-radius: 8px;
  padding: 2px 20px;
  display: none;
  /* 默认隐藏 */
  flex-direction: column;
  gap: 5px;
}

/* 展开状态：显示 */
.category-sublist.show {
  display: flex;
  /* 高度限制在内部的 filter-content-scrollable 上，不在这里限制 */
}

/* 抗体详细筛选面板的展开状态 - 显示全部内容，滚动条消失 */
.category-sublist.detailed-panel.expanded {
  /* 展开时不需要特殊样式，高度由内部的 filter-content-scrollable 控制 */
}

.subcategory-item {
  font-family:
    "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 26px;
  text-decoration: none;
  transition: all 0.2s ease;
  padding-left: 10px;
}

.subcategory-item:hover {
  color: #007648;
  text-decoration: none;
  cursor: pointer;
}

/* 子分类选中状态 - 粗体 */
.subcategory-item.active {
  font-weight: 700;
  color: #007648;
}

/* 搜索结果标题 */
.search-result-title {
  font-size: 28px;
  font-weight: 700;
  color: #1c1c1c;
  margin-top: 0;
  margin-bottom: 8px;
}

.search-result-count {
  font-size: 14px;
  color: #8b96a5;
  margin-bottom: 16px;
}

/* 产品网格容器 */
.product-grid-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

/* 分类区块样式 - 始终无背景、无边框 */
.product-category-section {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  transition: all 0.3s ease;
}

.product-category-section.hidden {
  display: none;
}

/* 分类区块头部 */
.category-section-header {
  background: #007648;
  height: 40px;
  border-radius: 8px 8px 0 0;
  /* 展开状态：顶部圆角，底部无圆角 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 收起状态：完整圆角 */
.category-section-header.collapsed {
  border-radius: 8px;
}

.category-section-header:hover {
  background: #005a38;
}

.category-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-section-header .collapse-arrow {
  color: #ffffff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.category-section-header.collapsed .collapse-arrow {
  transform: rotate(-180deg);
}

.category-section-header .collapse-text {
  font-family: "Noto Sans SC", "Source Han Sans CN", sans-serif;
  font-size: 14px;
  color: #ffffff;
}

.category-section-header .category-title {
  font-family: "Noto Sans SC", "Source Han Sans CN", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
}

/* 分类产品列表 - 横向列表视图 */
.product-list-table,
.product-card-view {
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* padding: 0 0 16px 0; */
  transition: all 0.3s ease;
}

/* 收起状态下，产品列表隐藏 */
.category-products.collapsed {
  display: none;
}

/* 产品卡片样式 - 横向列表布局 */
.product-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #dee2e7;
  display: flex;
  flex-direction: row;
  /* height: 170px; */
  position: relative;
}

/* 展开状态下，产品列表的第一个卡片顶部无圆角，与头部连接 */
.category-products:not(.collapsed) .product-card:first-child {
  border-radius: 0 0 8px 8px;
}

.product-card:hover {
  box-shadow: 0 2px 8px rgba(139, 150, 165, 0.15);
}

/* 产品图片区域 */
.product-card-image {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}

.product-card-image .carousel {
  width: 100%;
  height: 100%;
}

.product-card-image .carousel-item img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 产品内容区域 */
.product-card-body {
  flex: 1;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  line-height: 25px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(139, 150, 165, 1);
  justify-content: space-between;
}

/* 标题行 */
.product-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 14px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.4;
  margin: 0;
}

.product-card-title a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
}

.product-card-title .highlight {
  color: #ff8100;
}

/* 产品描述 */
.product-card-desc {
  font-size: 12px;
  color: rgba(0, 118, 72, 1);
  line-height: 18px;
  width: 80%;
}

.tag {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.tag-primary {
  background: #007648;
  color: #ffffff;
}

.tag-secondary {
  background: #ff8100;
  color: #ffffff;
}

/* 应用/种属标签 */
.product-card-specs {
  font-size: 12px;
}

.spec-tag {
  padding: 1px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 400;
  border: 1px solid rgba(0, 118, 72, 1);
  margin-left: 5px;
}

.spec-tag .spec-label {
  color: #007648;
}

.spec-tag .spec-value {
  color: #ff8100;
}
.product-card-tags {
  display: inline-block;
}
/* 产品信息 */
.product-price-item {
  width: 700px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price-item span:first-child {
  margin-left: 0px;
}

.product-price-item span {
  width: 250px;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 118, 72, 1);
}

/* 库存状态文本样式 */
.stock-status-text {
  color: rgba(255, 129, 0, 1);
  font-size: 14px;
}

/* 规格和库存状态垂直布局 */
.spec-stock-column {
  line-height: 20px;
  text-align: center;
}

.spec-stock-column .spec-text {
  display: block;
}

.spec-stock-column .stock-status-text {
  display: block;
  margin-left: 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  color: #8b96a5;
}

.info-value {
  color: #1c1c1c;
}

/* 价格 */
.product-price {
  color: #007648;
  font-weight: 500;
  font-size: 16px;
}

/* 操作区域 - 右侧定位 */
.product-card-actions {
  position: absolute;
  right: 16px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #1c1c1c;
  gap: 4px;
}

.compare-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.compare-mark {
  width: 16px;
  height: 16px;
  border: 2px solid #007648;
  border-radius: 4px;
  background-color: #ffffff;
  position: relative;
  transition: all 0.2s ease;
}

.compare-checkbox input:checked ~ .compare-mark {
  background-color: #007648;
  border-color: #007648;
}

.compare-mark::after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.compare-checkbox input:checked ~ .compare-mark::after {
  display: block;
}

/* 查看详情按钮 */
.searchview-detail-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 16px;
  background: #007648;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.searchview-detail-btn:hover {
  background: rgba(252, 253, 253, 1);
  color: rgba(0, 118, 72, 1);
  border: 1px solid rgba(0, 118, 72, 1);
}

/* 简化版产品卡片 - 仪器/试剂/耗材 */
.product-card-simple {
  min-height: 126px;
  position: relative;
}

.product-card-simple .product-card-title {
  font-size: 14px;
  font-weight: 400;
  color: #1c1c1c;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.product-card-simple .product-card-subtitle {
  font-size: 12px;
  color: #8b96a5;
  margin-bottom: 8px;
}

.product-card-simple .info-simple-item {
  font-size: 12px;
  color: #8b96a5;
}

.product-card-simple .info-simple-item.product-price {
  color: #007648;
  font-size: 16px;
  font-weight: 500;
}

.product-card-simple .product-card-footer {
  font-size: 12px;
  color: #007648;
  margin-top: auto;
}

.product-card-simple .searchview-detail-btn-simple {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 20px;
  background: #007648;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card-simple .searchview-detail-btn-simple:hover {
  background: #005a38;
}

/* 带图片的简化版产品卡片 - 仪器/试剂/耗材 */
.product-card-simple-with-image {
  height: 170px;
  display: flex;
  flex-direction: row;
  padding: 0;
}

.product-card-simple-with-image .product-card-image {
  width: 150px;
  height: 150px;
  margin: 10px;
  position: relative;
  flex-shrink: 0;
}

.product-card-simple-with-image .product-card-image img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-card-simple-with-image .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.product-card-simple-with-image .carousel-arrow.prev {
  left: -10px;
}

.product-card-simple-with-image .carousel-arrow.next {
  right: -10px;
}

.product-card-simple-with-image .product-card-body {
  flex: 1;
  padding: 16px 16px 16px 8px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card-simple-with-image .product-card-title {
  font-size: 14px;
  font-weight: 400;
  color: #1c1c1c;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.product-card-simple-with-image .product-card-subtitle {
  font-size: 12px;
  color: #8b96a5;
  /* margin-bottom: 16px; */
}

.product-card-simple-with-image .product-card-info-row {
  display: flex;
  gap: 40px;
  margin-bottom: 8px;
}

.product-card-simple-with-image .info-item {
  font-size: 12px;
  color: #8b96a5;
}

.product-card-simple-with-image .product-card-footer {
  font-size: 12px;
  color: #007648;
  margin-top: auto;
  padding-bottom: 8px;
}

/* 分页样式优化 */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  gap: 12px;
}

.pagination {
  margin: 0;
}

.page-item.active .page-link {
  background-color: #007648;
  border-color: #007648;
}

.page-link {
  color: #1c1c1c;
  /* border-radius: 6px;
  margin: 0 2px; */
}

.page-link:hover {
  background-color: #e8f5e9;
  color: #007648;
  border-color: #007648;
}

#page-select {
  width: 100px;
  height: 38px;
  border: 1px solid #dee2e7;
  border-radius: 6px;
}

#jump-page-btn {
  color: #007648;
  font-weight: 500;
  text-decoration: none;
}

#jump-page-btn:hover {
  text-decoration: underline;
}

/* 页面控制条优化 */
.top-category-filter {
  border-radius: 10px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0px;
  height: auto;
  min-height: 43px;
  font-weight: 500;
  font-size: 22px;
}

/* 分类筛选标签样式 */
.category-filter-tabs {
  display: flex;
  gap: 5px;
  align-items: center;
}

.filter-tab {
  width: 180px;
  height: 35px;
  background: #e9f0ee;
  border: 1px solid #dee2e7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 7px 16px;
}

.filter-tab:hover {
  background: #dde8e4;
  color: #1c1c1c;
  text-decoration: none;
}

.filter-tab.active {
  background: #007648;
  border-color: #007648;
  color: #ffffff;
}

/* 视图切换按钮样式 */
.product-show-type {
  display: flex;
  gap: 0;
  margin-right: 0;
}

.view-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.view-btn.list-view {
  background: #dee2e7;
  color: #2c2c2c;
}

.view-btn.grid-view {
  background: #dee2e7;
  color: #2c2c2c;
}

.view-btn.active {
  background: #007648;
  color: #ffffff;
}

.view-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* 列表视图样式 - 纯文字表格形式 */
.product-list-table {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dee2e7;
  border-top: none;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  /* 设计稿：白色背景圆角容器，内部有padding */
  padding: 0 10px 0 24px;
}

.product-list-table.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 列表视图表头 */
.product-list-header {
  display: flex;
  align-items: center;
  padding: 16px 0;
  background: #ffffff;
  border-bottom: 1px solid #dee2e7;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #4f4f4f;
}

/* 表头文字颜色 - 根据设计稿 */
.product-list-header .col-code,
.product-list-header .col-name {
  color: #4f4f4f;
}

.col-name a {
  font-size: 14px;
  font-weight: 400;
  color: rgb(28, 28, 28);
}

/* 应用/分类列 - 绿色文字 */
.product-list-header .col-spec {
}

/* 价格列 - 深灰色 */
.product-list-header .col-price {
  color: #4f4f4f;
}

/* 抗体类型表格列宽 */
.product-list-header .col-code {
  width: 140px;
  flex-shrink: 0;
}

.product-list-header .col-name {
  width: 250px;
  flex-shrink: 0;
}

.product-list-header .col-spec {
  width: 150px;
  flex-shrink: 0;
}

.product-list-header .col-size {
  width: 150px;
  text-align: center;
  flex-shrink: 0;
}

.product-list-header .col-price {
  width: 120px;
  flex-shrink: 0;
  text-align: center;
}

.product-list-header .col-action {
  flex: 1;
  text-align: center;
}

/* 非抗体类型表格列宽 - 隐藏分类列后重新分配 */
.product-category-section:not(.is-antibody) .product-list-header .col-code,
.product-category-section:not(.is-antibody) .product-list-row .col-code,
.product-category-section.not-antibody .product-list-header .col-code,
.product-category-section.not-antibody .product-list-row .col-code {
  width: 150px;
}

.product-category-section:not(.is-antibody) .product-list-header .col-name,
.product-category-section:not(.is-antibody) .product-list-row .col-name,
.product-category-section.not-antibody .product-list-header .col-name,
.product-category-section.not-antibody .product-list-row .col-name {
  width: 300px;
}

.product-category-section:not(.is-antibody) .product-list-header .col-spec,
.product-category-section:not(.is-antibody) .product-list-row .col-spec,
.product-category-section.not-antibody .product-list-header .col-spec,
.product-category-section.not-antibody .product-list-row .col-spec {
  display: none;
}

.product-category-section:not(.is-antibody) .product-list-header .col-size,
.product-category-section:not(.is-antibody) .product-list-row .col-size,
.product-category-section.not-antibody .product-list-header .col-size,
.product-category-section.not-antibody .product-list-row .col-size {
  width: 160px;
}

.product-category-section:not(.is-antibody) .product-list-header .col-price,
.product-category-section:not(.is-antibody) .product-list-row .col-price,
.product-category-section.not-antibody .product-list-header .col-price,
.product-category-section.not-antibody .product-list-row .col-price {
  width: 120px;
}

/* 抗体类型表格专用样式 - 6列布局 */
.product-category-section.is-antibody .product-list-header .col-code,
.product-category-section.is-antibody .product-list-row .col-code {
  width: 130px;
}

.product-category-section.is-antibody .product-list-header .col-name,
.product-category-section.is-antibody .product-list-row .col-name {
  width: 220px;
}

.product-category-section.is-antibody .product-list-header .col-spec,
.product-category-section.is-antibody .product-list-row .col-spec {
  width: 160px;
}

.product-category-section.is-antibody .product-list-header .col-size,
.product-category-section.is-antibody .product-list-row .col-size {
  width: 110px;
}

.product-category-section.is-antibody .product-list-header .col-price,
.product-category-section.is-antibody .product-list-row .col-price {
  width: 110px;
}

.product-category-section.is-antibody .product-list-header .col-action,
.product-category-section.is-antibody .product-list-row .col-action {
  flex: 1;
  min-width: 140px;
}

/* 抗体表格操作列中的比较按钮样式优化 */
.product-category-section.is-antibody .product-list-row .col-action {
  gap: 10px;
}

/* 列表视图数据行 - 设计稿：白色背景，顶部边框 */
.product-list-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  background: #ffffff;
  border-top: 1px solid #dee2e7;
  transition: background 0.2s ease;
}

.product-list-row:last-child {
  border-bottom: none;
}

.product-list-row .col-code {
  width: 140px;
  flex-shrink: 0;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 14px;
  color: #1c1c1c;
  line-height: 1.6;
}

.product-list-row .col-name {
  width: 250px;
  flex-shrink: 0;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 14px;
  color: #1c1c1c;
  padding-right: 16px;
}

.product-list-row .col-name .name-highlight {
  color: #e60013;
}

.product-list-row .col-spec {
  width: 150px;
  flex-shrink: 0;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 14px;
  color: #1c1c1c;
  overflow-wrap: break-word;
}

.product-list-row .col-size {
  width: 150px;
  flex-shrink: 0;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 14px;
  color: #1c1c1c;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.product-list-row .col-price {
  width: 120px;
  text-align: center;
  flex-shrink: 0;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 16px;
  color: rgba(0, 118, 72, 1);
  line-height: 1.6;
}

.product-list-row .col-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* 列表视图查看详情按钮 - 设计稿绿色 */
.product-list-row .searchview-detail-btn-small {
  background: #007648;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  width: 80px;
  height: 32px;
  padding: 0;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-list-row .searchview-detail-btn-small:hover {
  background: rgba(252, 253, 253, 1);
  color: rgba(0, 118, 72, 1);
  border: 1px solid rgba(0, 118, 72, 1);
}

.product-list-row .compare-checkbox-small {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 14px;
  color: rgba(0, 118, 72, 1);
  transition: color 0.2s ease;
  margin-bottom: 0px;
}

.product-list-row .compare-checkbox-small input {
  display: none;
}

/* 隐藏自定义check-mark，只显示文字 */
.product-list-row .compare-checkbox-small .check-mark {
  display: none;
}

/* 选中时文字变绿色 */
.product-list-row .compare-checkbox-small input:checked ~ span:last-child {
  color: #ff0000;
  font-weight: 500;
}

/* 视图模式控制 */
/* ============================================
   视图模式控制 - 通过外层容器类名控制子元素显示/隐藏
   ============================================ */

/* 网格模式（卡片视图）*/
.category-products.grid-mode .product-list-table {
  display: none;
}

.category-products.grid-mode .product-card-view {
  display: flex;
}

/* 列表模式（表格视图）*/
.category-products.list-mode .product-list-table {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.category-products.list-mode .product-card-view {
  display: none;
}

/* 筛选标签样式 */
.filter-tag {
  background: #ffffff;
  border: 1px solid #007648;
  color: #1c1c1c;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.filter-tag .close-btn i::after {
  color: #8b96a5;
  margin-left: 6px;
}

.clear-all-btn {
  color: #007648;
  font-weight: 500;
}

/* 已选筛选条件展示区域 - 非抗体 */
.selected-filters-panel-non {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

/* 已选筛选条件展示区域 - 抗体 */
.selected-filters-panel-ab {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

/* 兼容旧样式 - 保留原类名作为通用样式 */
.selected-filters-panel {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.filter-category-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dee2e7;
  border-radius: 8px;
  padding: 5px 1px;
  min-height: 35px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-category-row:last-child .filter-value-tag {
  height: 20px;
}

.filter-category-header {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.filter-category-header .collapse-icon {
  color: #666;
  flex-shrink: 0;
}

.filter-category-header .filter-category-name {
  font-size: 14px;
  color: #1c1c1c;
  font-weight: 400;
}

.filter-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  margin: 0 12px;
}

.filter-value-tag {
  display: inline-flex;
  align-items: center;
  padding: 0px 8px;
  background: #ffffff;
  border: 1px solid #007648;
  border-radius: 12px;
  font-size: 14px;
  color: #007648;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  height: 28px;
  line-height: 1;
}

.filter-value-tag:hover {
  background: #e9f0ee;
}

.filter-value-tag.active,
.filter-value-tag.selected {
  background: #007648;
  color: #ffffff;
}

/* .filter-value-tag.active:hover,
.filter-value-tag.selected:hover {
  background: #005a38;
  color: #ffffff;
} */

.clear-category-btn {
  padding: 4px 12px;
  border: none;
  background: transparent;
  color: #007648;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.clear-category-btn:hover {
  color: #005a38;
  text-decoration: underline;
}

/* ============================================
   二级子分类样式补充
   ============================================ */

/* 二级子分类分组 */
.subcategory-level-1 {
  padding: 12px 0;
  border-bottom: 1px dashed #e8e8e8;
}

.subcategory-level-1:last-child {
  border-bottom: none;
}

/* 二级子分类标题 */
.subcategory-level-1 .filter-group-title {
  font-size: 18px;
  font-weight: 700;
  color: rgba(0, 118, 72, 1);
  margin-bottom: 10px;
  padding-left: 5px;
}

/* 产品数量标记 */
.filter-checkbox .count {
  color: #8b96a5;
  font-size: 12px;
  margin-left: 4px;
  font-weight: normal;
}

/* 搜索词高亮样式 */
.keyword-highlight {
  color: #e74c3c;
  font-weight: bold;
}

/* 空状态样式 */
.no-subcategories,
.filter-options-empty {
  color: #8b96a5;
  font-size: 14px;
  padding: 15px 0;
  text-align: center;
  font-style: italic;
}

.no-categories {
  padding: 30px 15px;
  text-align: center;
  color: #8b96a5;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 10px 0;
}

.no-categories p {
  margin: 0;
  font-size: 14px;
}

/* 快速链接样式优化 */
.filter-links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-link {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f7f4;
  border: 1px solid #dee2e7;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.filter-link:hover {
  background: #e0ebe8;
  border-color: #007648;
}

.filter-link.active {
  background: #007648;
  border-color: #007648;
  color: #ffffff;
}

/* 搜索框激活状态 */
.filter-search-box input:focus {
  outline: none;
  border-color: #007648;
  box-shadow: 0 0 0 2px rgba(0, 118, 72, 0.1);
}

/* 响应式适配 */
@media (max-width: 768px) {
  .filter-links {
    gap: 6px;
  }

  .filter-link {
    padding: 3px 8px;
    font-size: 12px;
  }

  .subcategory-level-1 .filter-group-title {
    font-size: 14px;
  }
}

.carousel-control-prev-icon {
  background-image: url("../images/product_left.png");
  /* width: 30px;
  height: 30px; */
  opacity: 1;
}

.carousel-control-next-icon {
  background-image: url("../images/product_right.png");
  /* width: 30px;
  height: 30px; */
  opacity: 1;
}

.carousel-item {
  width: 150px;
  height: 150px;
  position: relative;
}

.source_bubble {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(255, 129, 0, 1);
  padding: 2px 8px;
  border-radius: 15px;
}

.product-source-25 {
  background-color: rgba(255, 129, 0, 1);
}

.product-source-26 {
  background-color: #007bff;
}

.product-source-27 {
  background-color: lightseagreen;
}

.product-source-28 {
  background-color: darkorchid;
}

.product-source.second {
  background-color: rgba(0, 118, 72, 1);
}

.product-bubble {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  background-color: #e60013;
  padding: 2px 8px;
  border-radius: 15px;
}

.remove-icon {
  margin-left: 5px;
  color: rgba(139, 150, 165, 1);
}

.pagination {
  margin: 0;
}

.page-link {
  color: rgba(28, 28, 28, 1);
  font-size: 16px;
  font-weight: 500;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: rgba(0, 118, 72, 1);
  border-color: rgba(0, 118, 72, 1);
}

#jump-page-btn {
  color: rgba(0, 118, 72, 1);
}

.page-link:hover {
  z-index: 3;
  color: #fff;
  background-color: rgba(0, 118, 72, 1);
  border-color: rgba(0, 118, 72, 1);
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: rgba(28, 28, 28, 1);
  padding-right: 0.1rem;
}

.breadcrumb-item a {
  color: rgba(139, 150, 165, 1);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: rgba(0, 118, 72, 1);
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.pageination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

#page-select {
  width: 105px;
  height: 40px;
  margin-left: 20px;
}

#page-toggle {
  /* width: 96px; */
  height: 40px;
  border: 1px solid rgba(222, 226, 231, 1);
  border-radius: 5px;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 1);
}
.pageshow {
  margin-left: 30px;
}
.selected-filters-panel-ab .filter-value-tag.active {
  border: rgba(0, 118, 72, 1) solid 1px;
  color: rgba(80, 80, 80, 1);
  background: rgba(255, 255, 255, 1);
}

.product-offline-info {
  display: flex;
  align-items: center;
  padding: 8px;
  margin-top: 5px;
  background: #fff;
}
.replace-product-info a {
  color: #007648;
  font-weight: 500;
}
.download-link {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  color: #212529;
}

.download-link:hover {
  color: #007648;
}
.replace-product-info {
  margin-left: 5px;
  color: #007648;
}

/* 产品列表行可点击 */
.product-list-row {
  cursor: pointer;
}

.product-list-row:hover {
  background-color: rgba(0, 118, 72, 0.04);
}

/* 产品卡片可点击 */
.product-card {
  cursor: pointer;
}

/* 产品名称链接样式 */
.product-name-link,
.product-card-title-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
  cursor: pointer;
}
