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

.container-content-left {
  width: 256px;
}

/* ==================== 新版筛选面板样式 ==================== */

/* 左侧筛选面板容器 */
.filter-sidebar {
  margin-top: 20px;
}
#categoryButtons {
  width: 256px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* 主分类按钮 */
.category-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #dee2e7;
  background-color: #e9f0ee;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background-color: #dde8e5;
}

.category-btn.active {
  background-color: #007648;
  border-color: #007648;
}

.category-btn {
  text-decoration: none;
}

.category-btn-text {
  font-size: 16px;
  font-weight: 500;
  color: #1c1c1c;
}

.category-btn:hover .category-btn-text {
  color: #007648;
}

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

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

.category-btn-arrow {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.category-btn.active .category-btn-arrow {
  transform: rotate(180deg);
}

.category-btn-arrow svg {
  width: 100%;
  height: 100%;
}

.category-btn-arrow path {
  stroke: #1c1c1c;
}

.category-btn.active .category-btn-arrow path {
  stroke: #ffffff;
}

/* 展开面板 */
.filter-panel {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #007648;
  border-radius: 8px;
  padding: 16px 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 筛选分组 */
.filter-group {
  padding-bottom: 12px;
  border-bottom: 1px solid #dee2e7;
}

.filter-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group-title {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 4px;
}

/* 复选框样式 */
.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 400;
  color: #1c1c1c;
  margin: 0;
}

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

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

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

.check-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
  margin-bottom: 2px;
}

.filter-checkbox input:checked ~ .check-box::after {
  display: block;
}

/* 搜索框 */
.filter-search-box {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #8b96a5;
  border-radius: 8px;
  margin-bottom: 12px;
  position: relative;
}

.filter-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 400;
  color: #1c1c1c;
  background: transparent;
}

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

.filter-search-box .search-icon {
  width: 18px;
  height: 18px;
  cursor: pointer;
  color: #007648;
}

/* 可滚动选项 */
.filter-options.scrollable {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
  position: relative;
}

.filter-options.scrollable::-webkit-scrollbar {
  width: 6px;
}

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

.filter-options.scrollable::-webkit-scrollbar-thumb {
  background: #007648;
  border-radius: 3px;
}

/* 分类数量样式 */
.category-count {
  color: #8b96a5;
  font-size: 12px;
  margin-left: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container-content-left {
    width: 100%;
  }

  .filter-sidebar {
    width: 100%;
  }

  .filter-panel {
    padding: 12px;
  }
}

/* 面包屑导航 */
.nav-breadcrumb {
  width: 100%;
  height: 64px;
  line-height: 64px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(139, 150, 165, 1);
}

.nav-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-breadcrumb li {
  display: flex;
  align-items: center;
}

.nav-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
  font-size: 14px;
  font-weight: 400;
}

.nav-breadcrumb a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(139, 150, 165, 1);
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-input-category 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;
}

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

.search-input-category input:focus {
  outline: none;
}

::-webkit-input-placeholder {
  color: rgba(139, 150, 165, 1);

  font-size: 14px;
}
.category_filter {
  padding-top: 20px;
  border-top: 1px solid rgba(222, 226, 231, 1);
}

.search-input-category {
  display: flex;

  align-items: center;
  position: relative;
}

.search-category-btn {
  width: 27px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 118, 72, 1);
  cursor: pointer;
}

.search-category-btn img {
  width: 20px;
}

.category_filter div:nth-child(2) {
  border-top: none;
}

.product-category-item1 {
  border-top: 1px solid rgba(222, 226, 231, 1);
}

.product-category-item1 h3 {
  height: 48px;
  line-height: 48px;
  font-size: 20px;
  font-weight: 700;
  color: rgba(0, 118, 72, 1);
  margin-bottom: 0px;
}

.product-category-item1-list {
  /* margin-top: 10px; */
  list-style: none;
  position: relative;
  padding: 0;

  text-align: left;
  overflow-y: auto;
  max-height: 400px;
}

.product-category-item1-list::-webkit-scrollbar {
  width: 12px;
}

.product-category-item1-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

.product-category-item1-list::-webkit-scrollbar-thumb {
  background: rgba(0, 118, 72, 1);
  border-radius: 6px;
}

.product-category-item1-list::-webkit-scrollbar-button {
  display: none;
}

.product-category-item1-list::-webkit-scrollbar-thumb:hover {
  background: rgb(6 157 98);
}

.product-category-item1-list li {
  padding: 9px 0;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
  margin: 0px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
  margin: 0px;
}

.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  border: 2px solid rgba(189, 189, 189, 1);
  border-radius: 4px;
  background-color: #f0f8ff;
  position: relative;
  z-index: 1;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: rgba(0, 118, 72, 1);
  border: none;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  z-index: -1;
}

.product-category-item2,
.product-category-item3 {
  border-top: 1px solid rgba(222, 226, 231, 1);
  margin-top: 30px;
}

.product-category-item3:first-of-type {
  margin-top: 0px;
}

.product-category-item2 h3,
.product-category-item3 h3 {
  height: 48px;
  line-height: 48px;
  font-size: 20px;
  font-weight: 700;
  color: rgba(0, 118, 72, 1);
}

.product-category-item2-list,
.product-category-item3-list {
  list-style: none;
  padding: 0;
  /* margin: 0; */
  text-align: left;
}

.product-category-item2-list li,
.product-category-item3-list li {
  padding: 9px 0;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
  margin: 0px;
}

.product-category-item2-list input,
.product-category-item3-list input {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.container-content-right {
  width: 912px;
  flex-shrink: 0;
}

.container-content-right h1 {
  font-size: 32px;
  font-weight: 700;
  color: rgba(28, 28, 28, 1);
}

.page-size {
  width: 912px;
  padding: 5px 1px;
  min-height: 40px;
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
  box-shadow: 0 4px 16px 0 rgba(139, 150, 165, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(28, 28, 28, 1);
}

.pageshow select:focus {
  outline: none;
}

.list-group-item {
  padding: 0.55rem;
  min-height: 120px;
}

.list-group-item:first-child {
  margin-top: 0px;
}

.pageshow {
  margin-left: 30px;
}

.product-show-type {
  display: flex;

  img {
    margin: 0;
    padding: 0;
    width: 38px;
    height: 40px;
  }
}

.btn-secondary {
  color: rgba(28, 28, 28, 1);
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(222, 226, 231, 1);
  width: 80px;
}

.filter-tags {
  color: rgba(28, 28, 28, 1);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  margin: 0 12px;
}

.filter-tag {
  border: rgba(0, 118, 72, 1) solid 1px;
  color: rgba(80, 80, 80, 1);
  font-size: 14px;
  font-weight: 400;
  padding: 0px 8px;
  border-radius: 12px;
}

.close-btn i::after {
  content: "×";
  font-size: 16px;
  color: rgba(139, 150, 165, 1);
  cursor: pointer;
  font-weight: 700;
}

.clear-all-btn {
  color: rgba(0, 118, 72, 1);
  font-size: 16px;
  font-weight: 400;
  border: none;
  background: none;
  margin-right: 20px;
  flex-shrink: 0;
}

.clear-all-btn:hover {
  color: rgb(97, 192, 156);
}

#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);
}

.product-list {
  width: 912px;
  margin-top: 10px;
}

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

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.list-group-item {
  margin: 5px 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
}

.img-box {
  width: 150px;
  height: 150px;
  position: relative;
}

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

.product-info {
  width: 624px;
  padding: 0 20px;
  line-height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 400;
  color: rgba(139, 150, 165, 1);
}

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

.product-list-name-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
}

.product-detail-btn {
  padding: 12px 15px;
  background: linear-gradient(to bottom right, rgba(0, 118, 72, 1), rgba(0, 118, 72, 1));
  color: rgba(255, 255, 255, 1);
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  margin-top: 10px;
}

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

.product-price-item {
  width: 560px;
  display: flex;
  align-items: center;
}

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

.product-price-item span {
  width: 235px;
  /* margin-left: 93px; */
}

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

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

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

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

.table thead {
  font-size: 16px;
  font-weight: 700;
  color: rgba(80, 80, 80, 1);
}

.product-table-container {
  width: 910px;
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
}

.table {
  width: 870px;
  margin: 0 auto;
}

.table tbody {
  font-size: 14px;
  font-weight: 400;
  color: rgba(28, 28, 28, 1);
}

.table th,
.table td {
  height: 56px;
}

.table td:nth-last-child(2) {
  font-size: 16px;
  color: rgba(0, 118, 72, 1);
  font-weight: 600;
}
.table td:last-child {
  text-align: center;
}
.table td .product-grap-detail-btn {
  display: inline-block;
  width: 80px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 118, 72, 1);
  color: rgba(255, 255, 255, 1);
}

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

.table td span {
  word-wrap: break-word;
  word-break: break-all;
}

.product-tag-list span:nth-child(odd)::after {
  content: " | ";
  color: black;
}

.product-compare-btn {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 118, 72, 1);
}

.product-compare-btn.added {
  color: #ff0000;
}

.table th:nth-child(1) {
  width: 15%;
}

.table th:nth-child(2) {
  width: 32%;
}

.table th:nth-child(3) {
  width: 13%;
}

.table th:nth-child(4) {
  width: 10%;
}

.table th:nth-child(5) {
  width: 10%;
}

.table th:nth-child(6) {
  width: 10%;
}

.table th:nth-child(7) {
  width: 11%;
}

.table td {
  vertical-align: middle;
}

.nav-tags {
  display: none;
}

.nav-tags a {
  color: rgba(28, 28, 28, 1);
  font-size: 16px;
  font-weight: 400;
}

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

.tag:first-child {
  margin-left: 0px;
}

.product-compare {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

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

.product-compare-item {
  width: 150px;
  position: relative;
  margin-left: 30px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.codes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.codes-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.codes-list li:last-child {
  border-bottom: none;
}

.code {
  font-weight: 600;
  color: #333;
}

.spec {
  color: #666;
}

.price {
  font-weight: 600;
  color: #0067ff;
}

#add-antibody {
  background-color: #0067ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 15px;
}

#add-antibody:hover {
  background-color: #0052cc;
}

.product-filter-conditions {
  margin-left: 5px;
  display: flex;
  align-items: center;
}
.filter-title {
  flex-shrink: 0;
}

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

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

/* 搜索词关联内容样式 */
.keyword-relation {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.keyword-relation-link {
  margin-bottom: 20px;
}

.keyword-relation-link .btn {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  background-color: #007648;
  color: white;
  border: none;
  cursor: pointer;
}

.keyword-relation-link .btn:hover {
  background-color: #005a36;
}

.keyword-relation-section {
  margin-bottom: 20px;
}

.keyword-relation-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.keyword-relation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.keyword-relation-list li {
  margin-bottom: 8px;
}

.keyword-relation-list li a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

.keyword-relation-list li a:hover {
  color: #004080;
  text-decoration: underline;
}

.keyword-relation-product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.keyword-relation-product-list li {
  margin-bottom: 8px;
}

.keyword-relation-product-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.keyword-relation-product-list li a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.keyword-relation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: #e6f0ff;
  color: #0066cc;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.keyword-tag:hover {
  background-color: #cce0ff;
  color: #004080;
}
.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #007648;
}

.product-type-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

/* 产品描述 */
.product-card-desc {
  position: absolute;
  bottom: 10px;
  font-size: 12px;
  color: rgba(0, 118, 72, 1);
  margin-bottom: 8px;
  line-height: 1.4;
  width: 80%;
}
.bubbles {
  display: inline-block;
}

/* 列表视图可点击 */
.product-list-row {
  cursor: pointer;
}

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

.spec-title {
  text-align: center;
}
