/* 重置与基础 */
html,
body {
  position: relative;
  height: 100%;
  background: #f5f5fd;
}
body,
div,
span,
a,
img,
input,
p,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
ul,
li,
ol {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
body {
  font-size: 12px;
  font-family:
    microsoft yahei,
    PingFang SC !important;
  color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 18px;
}
a {
  color: #333;
  text-decoration: none;
  font-family:
    microsoft yahei,
    PingFang SC !important;
}
a:hover {
  color: #333;
  text-decoration: none;
  font-family:
    microsoft yahei,
    PingFang SC !important;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button,
input,
select,
textarea {
  font-size: 100%;
  outline: none;
  border: none;
  font-family: Microsoft YaHei;
}
i,
em,
strong {
  font-weight: normal;
  font-style: normal;
}
img {
  display: block;
}
.container {
  width: 1200px;
  height: auto;
  margin: 0 auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clear {
  clear: both;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.top-bar,.main-header,.main-content,.service-banner,.footer-nav,.footer{
  min-width: 1200px;
}
.top-bar {
  background: #ff8d6b;
  color: #fff;
  font-size: 12px;
  height: 36px;
  line-height: 36px;
  width: 100%;
}
.top-bar-inner {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.top-links {
}
.top-links a,
.top-right a {
  color: #fff;
  margin: 0 8px;
}
.top-links a:hover,
.top-right a:hover {
  opacity: 0.9;
}
.top-links .sep,
.top-right .sep {
  margin: 0 4px;
  opacity: 0.7;
}
.top-notice {
  flex: 1;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
}

.xytopline {
  position: relative;
  height: 36px;
}
.xyscoll .xyrolltexts {
  background: url(../images/icon-xx.png) no-repeat 0 center;
  height: 36px;
  overflow: hidden;
  width: 100%;
  padding-left: 20px;
}
.xyscoll .xyrolltexts ul li {
  line-height: 36px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 12px;
  display: block;
  color: #fff;
  font-weight: normal;
}
.xyscoll .xyrolltexts ul li a {
  width: 100%;
  line-height: 36px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-right {
}

.lang-select {
  margin-left: 12px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding: 0 5px;
}
.lang-select .arrow {
  margin-left: 4px;
  font-size: 10px;
}
.lang-select p {
  position: absolute;
  z-index: 9;
  top: 100%;
  padding: 0 8px;
  left: 0;
  font-size: 14px;
  background-color: #f5f5fd;
  text-align: center;
  display: none;
}
.lang-select p a {
  color: #333;
  margin: 0;
  font-size: 12px;
}
/* 主导航 */
.main-header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.header-inner {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 100px;
  justify-content: space-between;
}
.header-inner .logo {
  font-size: 22px;
  font-weight: bold;
  color: #3c3a98;
}
.search-area {
  flex: 1;
}
.search-area .search-input {
  width: 73%;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #3c3a98;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}
/* .search-area .search-input:focus {
  border-color: #3C3A98;
  box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
} */
.search-btn {
  position: relative;
  width: 20%;
  text-indent: 20px;
  height: 40px;
  margin-top: -1px;
  padding: 0 24px;
  background: #3c3a98;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  cursor: pointer;
  margin-left: -5px;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  -ms-border-radius: 0 4px 4px 0;
  -o-border-radius: 0 4px 4px 0;
}

.search-btn::before {
  content: "";
  position: absolute;
  top: 32%;
  left: 28%;
  /* transform: translate(-50%, -50%); */
  width: 17px;
  height: 17px;
  background-image: url(https://cn.ibuychem.com/public/new_index/images/new-imgs03.png);
  background-repeat: no-repeat;
}
.hot-search {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}
.hot-search .label {
  margin-right: 8px;
}
.hot-search a {
  margin-right: 12px;
  color: #666;
}
.hot-search a:hover {
  color: #3c3a98;
}
.btn-post {
  width: 150px;
  text-indent: 25px;
  border: 1px solid #dbdbdb;
  position: relative;
  flex-shrink: 0;
  height: 40px;
  padding: 0 24px;
  background: #fff;
  color: #3c3a98;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
.btn-post:hover {
  background: #fff;
  color: #3c3a98;
}
.btn-post::before {
  content: "";
  position: absolute;
  top: 22%;
  left: 24%;
  /* transform: translate(-50%, -50%); */
  width: 20px;
  height: 22px;
  background-image: url(../images/icon-fbcg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* 面包屑 */
.breadcrumb {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
}
.breadcrumb a {
  color: #666;
}
.breadcrumb a:hover {
  color: #3c3a98;
}
.breadcrumb .sep {
  margin: 0 8px;
  color: #ccc;
}

/* 主内容 */
.main-content {
  padding: 0 0 20px;
}
.content-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 左侧筛选栏 */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.sidebar-tabs {
  width: 14%;
  min-width: 220px;
  margin-bottom: 20px;
}
.sidebar-tabs__inner {
  position: relative;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.sidebar-tabs .tab-item {
  flex: 1 1 0;
  text-align: center;
  padding: 14px 0;
  font-size: 16px;
  color: #666;
  margin-right: 0;
  border-bottom: none;
  position: relative;
  z-index: 1;
  transition: color 0.28s ease, font-weight 0.2s ease;
}
.sidebar-tabs .tab-item:hover:not(.active) {
  color: #444;
}
.sidebar-tabs .tab-item.active {
  color: #3c3a98;
  font-weight: 500;
}
.sidebar-tabs__indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc((100% - 20px) / 2);
  height: 3px;
  background: #3c3a98;
  border-radius: 2px 2px 0 0;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.sidebar-tabs--active-suppliers .sidebar-tabs__indicator {
  transform: translateX(calc(100% + 20px));
}

/* 搜索页 Products / Suppliers 切换：全屏轻量 Loading */
.search-tabs-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.search-tabs-loading-overlay.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}
.search-tabs-loading-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #e8e8f0;
  border-top-color: #3c3a98;
  border-radius: 50%;
  animation: search-tabs-loading-spin 0.65s linear infinite;
}
@keyframes search-tabs-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.search-tabs-loading-text {
  font-size: 14px;
  color: #4b5563;
  letter-spacing: 0.02em;
}

.filter-section {
  padding: 15px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.filter-header h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.filter-header .badge {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 0 6px;
  background: #3c3a98;
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  text-align: center;
  margin-left: 6px;
}
.group-selected-filters {
  margin-bottom: 10px;
}
.group-selected-list {
  margin: 0;
  padding: 0;
}
.group-selected-list li {
  margin-bottom: 10px;
}
.group-selected-list label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}
.group-selected-list input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}
.group-selected-list input[type="checkbox"]:checked {
  accent-color: #3c3a98;
}
.group-selected-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0 6px 6px 0;
  padding: 2px 8px;
  border: 1px solid #3c3a98;
  border-radius: 12px;
  background: #f2f1ff;
  color: #333;
  font-size: 12px;
  line-height: 18px;
}
.group-selected-item em {
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.group-selected-remove {
  cursor: pointer;
  color: #3c3a98;
  font-size: 14px;
  line-height: 1;
  font-style: normal;
}
.filter-select-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1999;
}
.filter-select-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 80px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.filter-select-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.filter-select-modal-title {
  font-size: 18px;
  font-weight: 600;
}
.filter-select-modal-close {
  cursor: pointer;
  font-size: 24px;
  color: #666;
  line-height: 1;
}
.filter-select-modal-body {
  padding: 10px 18px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  gap: 16px;
}
/* 全站搜索「行业应用」：接口一级扁平，单列列表 */
.filter-select-modal-body.filter-select-modal-body--flat {
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-select-modal-flat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filter-select-col {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
}
.filter-select-col1,
.filter-select-col2 {
  border-right: 1px solid #f0f0f0;
  padding-right: 16px;
}
.filter-select-col3 {
  padding-left: 0;
}
.filter-select-level-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}
.filter-select-level-checkbox.active {
  color: #3c3a98;
  background: #f2f1ff;
  font-weight: 600;
}
.filter-select-level-checkbox.filter-select-level-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.filter-select-level-checkbox.filter-select-level-disabled .filter-select-level-text {
  cursor: not-allowed;
  color: #aaa;
}
.filter-select-level-checkbox.filter-select-level-disabled input[type="checkbox"] {
  cursor: not-allowed;
}
.pop-up-criteria-count {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 9999px;
  background: #3b3a98;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.pop-up-criteria-count .text {
  display: inline-block;
  font-style: normal;
}
.filter-select-level-text {
  display: inline-block;
}
.filter-select-modal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  color: #333;
  font-size: 14px;
}
.filter-select-modal-item:hover {
  background: #fafafa;
}
.filter-select-modal-item input[type="checkbox"] {
  margin: 0;
}
.filter-select-modal-item.filter-select-modal-item-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.filter-select-modal-item.filter-select-modal-item-disabled .filter-select-modal-item-checkbox,
.filter-select-modal-item.filter-select-modal-item-disabled span {
  cursor: not-allowed;
  color: #aaa;
}
.filter-select-modal-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px 18px;
  border-top: 1px solid #f2f2f2;
  flex-shrink: 0;
}
.filter-select-cancel,
.filter-select-confirm {
  width: 120px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.filter-select-cancel {
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
}
.filter-select-confirm {
  background: #3c3a98;
  color: #fff;
  border: 1px solid #3c3a98;
}
.btn-reset {
  font-size: 14px;
  color: #3c3a98;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-reset:hover {
  text-decoration: underline;
}
.filter-group {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dbdbdb;
}
.filter-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.filter-group h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  background: url(../images/icon-cpfl.png) no-repeat 0 center;
  background-size: 20px 20px;
  padding-left: 25px;
}
.filter-list li {
  margin-bottom: 10px;
}
.filter-list li:nth-child(n + 7) {
  display: none;
}
/* 全站 search.html 产品分类：侧栏最多展示 8 条，其余在「查看更多」弹层 */
.filter-list.filter-list--search-platform-cat:not(.expanded) li:nth-child(7),
.filter-list.filter-list--search-platform-cat:not(.expanded) li:nth-child(8) {
  display: list-item !important;
}
.filter-list.filter-list--search-platform-cat:not(.expanded) li:nth-child(n + 9) {
  display: none !important;
}
.filter-list.expanded li:nth-child(n + 7) {
  display: list-item;
}
/* 仅勾选弹层回填的整类/整组（虚拟行）且超过 6 条时：展开只为露出更多虚拟行，不露出下方未勾选叶子 */
.filter-list.expanded.filter-list--virtual-only-expanded > li:not(.filter-sidebar-virtual) {
  display: none !important;
}
.filter-list label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}
.filter-list input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}
.filter-sidebar-facet-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 6px;
}
.filter-sidebar-facet-label {
  flex: 1;
  min-width: 0;
}
.view-more {
  font-size: 12px;
  color: #3c3a98;
  margin-top: 8px;
  display: inline-block;
}

/* 右侧产品区 */
.product-area {
  flex: 1;
  min-width: 0;
  border-radius: 4px;
  /* padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
   background: #fff; */
}
.result-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}
/* 结果总数：加粗、深色；关键字单独品牌紫，与无结果 RFQ 关键词一致 */
.result-info__count {
  font-weight: 700;
  color: #111;
  font-size: calc(1em + 8px);
}
.result-info__keyword {
  font-weight: 700;
  color: #3c3a98;
  font-size: calc(1em + 8px);
}
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 15px;
}
.sort-btns {
  display: flex;
  gap: 8px;
}
.sort-btn {
  padding: 6px 16px;
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
}
.sort-btn:hover {
  color: #3c3a98;
  border-color: #3c3a98;
}
.sort-btn.active {
  background: #ff8d6b;
  color: #fff;
  border-color: #ff8d6b;
}
.filter-checkboxes {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #666;
}
.filter-checkboxes label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.filter-checkboxes input {
  margin-right: 6px;
  cursor: pointer;
}
.wnrCon {
  padding: 45px 0 80px;
  margin: 0 auto 10px;
  text-align: center;
}
.wnrCon img {
  display: block;
  margin: 0 auto;
  width: 150px;
}
.wnrCon p {
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}
.wnrCon p span {
  color: #3c3a98;
}
.wnrCon a {
  display: inline-block;
  margin: 0 30px;
  font-size: 14px;
  border-radius: 5px;
  padding: 0 10px;
}
.wnrCon .pt {
  background: #fff;
  border: 1px solid #3c3a98;
  color: #3c3a98;
  height: 40px;
  line-height: 40px;
}
.wnrCon .fh {
  background: #fff;
  color: #555;
  border: 1px solid #eaeaea;
  height: 38px;
  line-height: 38px;
}
.cnxh {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e4e4e4;
}
.cnxh h2 {
  background: #f9f9f9;
  color: #999;
  border-bottom: 1px solid #e4e4e4;
  padding: 10px;
  font-size: 14px;
}
.cnxh .product-grid {
  padding: 20px;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.product-card {
  border: 1px solid #eee;
  border-radius: 4px;
  transition: box-shadow 0.2s;
  background: #fff;
  padding-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.jxdp .card-image{
  aspect-ratio:3/2
}
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fafafa;
  overflow: hidden;
  margin-bottom: 12px;
}
.card-image img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
}
.card-image i.tuijian {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: url(../images/icon-tj.png) no-repeat center;
  background-size: 100% 100%;
}
.card-image .tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 2px;
  color: #fff;
}
.tag-blue {
  background: #3c3a98;
}
.card-image .tag + .tag {
  top: 6px;
  left: 60px;
}
.badge-factory {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 2px 8px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 2px;
}
.card-title {
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.25;
  margin-bottom: 6px;
  /* 标题容器固定两行高度，避免不同长度导致卡片错位；适当收紧行高减少留白 */
  min-height: calc(1.25em * 2);
}

.card-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 标题第二行尽量占满宽度，再触发省略号 */
  word-break: break-all;
  overflow-wrap: break-word;
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: #3c3a98;
}

.card-price {
  font-size: 16px;
  color: #e02020;
  margin-bottom: 6px;
}
.card-consult {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}
.card-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
.card-tags {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  padding: 0 10px;
}
.card-tags span {
  background: #f8f8f8;
  display: inline-block;
  margin-right: 5px;
  padding: 3px 5px;
}
.card-location {
  font-size: 12px;
  color: #999;
  padding: 0 10px;
}

.trigger {
  position: absolute;
  bottom: -40px;
  /*初始位置在容器底部外*/
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 40px;
  background-color: #3c3a98;
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.product-card:hover .trigger {
  bottom: 0;
  /* 鼠标划过时移动到容器底部内 */
}

.gys {
  background: #fff;
  padding: 10px 20px;
  display: flex;
  margin-bottom: 10px;
  align-items: flex-start;
  gap: 10px;
}

.gys .qyright {
  flex: 1 1 auto;
  min-width: 0;
}

.qyinfo {
  display: flex;
  justify-content: space-between;
  flex: 0 0 26%;
  max-width: 26%;
  min-width: 0;
  /* align-items: center; */
}

.qyinfo .avatar {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 0;
}

.qyinfo .avatar > a {
  display: block;
  width: 100%;
  height: 100%;
}

.qyinfo .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #f5f5f5;
  display: block;
  box-sizing: border-box;
}

.qyinfo .avatar .goods-list-empty {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.dpinfo .title {
  flex: 1;
  color: #d32f2f;
  font-size: 24px;
  margin-bottom: 5px;
}

.dpinfo .tags {
  display: flex;
  gap: 15px;
  align-items: center;
}
.dpinfo {
  display: flex;
}

.dpinfo .tags span {
  color: #666;
  font-size: 14px;
}

.dpinfo .tags .sample {
}

.dpinfo .rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  color: #ff9800;
  font-size: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 5px;
}

.info-item {
  flex: 1;
  text-align: left;
}

.info-item h3 {
  color: #333;
  font-size: 14px;
  margin-bottom: 5px;
  display: inline-block;
}

.info-item p {
  color: #333;
  font-size: 14px;
  display: inline-block;
}

.categories {
  margin-bottom: 5px;
}

.categories h3 {
  color: #333;
  font-size: 14px;
}

.categories .list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.categories .list span {
  background: #f8f8f8;
  color: #333;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  height: 18px;
  line-height: 18px;
}

.categories .list span.cat-value-text {
  height: auto;
  min-height: 18px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.categories .list.address-line {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.categories .list.address-line p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.description {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

/* 响应式 */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .search-area {
    order: 3;
    width: 100%;
  }
}

/* 顶部服务优势区 */
.service-banner {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #e8e8e8;
}

.service-banner .container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-banner .item {
  display: flex;
  align-items: center;
  margin-right: 40px;
  font-weight: bold;
}

.service-banner .item:last-child {
  margin-right: 0;
}

.service-banner .item i {
  width: 32px;
  height: 32px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.service-banner .item p {
  font-size: 14px;
  color: #333;
}

.footer-nav {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

.footer-nav .container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-columns {
  display: flex;
  gap: 80px;
}

.nav-column {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-column h3 {
  font-size: 14px;
}

.nav-column a {
  text-decoration: none;
  color: #666;
  font-size: 12px;
  line-height: 18px;
}

.nav-column a:hover {
  color: #ff8d6b;
}

.logo-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-info .logo {
  width: 100px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 5px;
}

.logo-info .contact {
  color: #333;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.logo-info .work-time {
  color: #ff8d6b;
  font-weight: bold;
}

.contact a {
  color: #333;
}

.contact a:hover {
  color: #ff8d6b;
}

.qr-code {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-code img {
  width: 100px;
  height: 100px;
}

.qr-code p {
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .footer-nav .container {
    width: 100%;
    padding: 0 20px;
  }
  .nav-columns {
    gap: 40px;
  }
  .qr-code {
    margin-top: 20px;
  }
}

/* 底部版权区 */

.footer {
  background: #fff;
  color: #fff;
  padding: 20px 0;
  font-size: 12px;
}
.footer-links {
  background-color: #333;
  color: #fff !important;
}
.footer .links,
.footer-links a {
  color: #fff !important;
}
.footer .container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .links {
  color: #999;
  display: flex;
  margin-bottom: 5px;
}

.footer .links a {
  color: #666;
  text-decoration: none;
  margin: 0 5px;
}

.footer .links a:hover {
  color: #ff8d6b;
}

.footer p {
  margin-bottom: 5px;
  color: #666;
}
.footer p a {
  color: #666;
  font-size: 12px;
}
.footer p .ga {
  float: left;
  width: 16px;
}
.social-links {
  margin-bottom: 5px;
}
.social-links img {
  display: inline-block;
  height: 32px;
  margin: 0 3px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}
.media-links {
  margin-top: 10px;
}
.media-links img {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 3px;
}

/*页码*/
.pagenum {
  text-align: center;
  line-height: 33px;
  clear: both;
  padding-top: 10px;
  margin: 20px 0;
}
.pagenum a {
  display: inline-block;
  width: 33px;
  border: 1px solid #dcdcdc;
  color: #666;
  border-radius: 3px;
  margin: 0 2px;
  background: #fff;
}
.pagenum a.sy {
  margin-right: 10px;
}
.pagenum .current {
  background: #3b3a98;
  border: 1px solid #3b3a98;
  color: #fff;
  width: 33px;
  display: inline-block;
  border-radius: 3px;
  margin: 0 2px;
}
.pagenum .zhuan {
  margin: 0 15px;
}
.pagenum .jump_to {
  display: inline-block;
  line-height: 33px;
  height: 33px;
  border: 1px solid #dcdcdc;
  color: #666;
  border-radius: 3px;
  text-align: center;
  margin: 0 4px;
  width: 31px;
}
.pagenum i {
  font-size: 12px;
  color: #999;
}
.pagenum button {
  line-height: 31px;
  display: inline-block;
  padding: 0 12px;
  background: #3c3a98;
  border: 1px solid #3c3a98;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 10px;
}
.pagenum .zhuan {
  display: inline-block;
}
.pagenum span {
  color: #666;
}
.page_op {
  display: inline-block;
  color: #666;
  margin-left: 10px;
}
.page_op .jump_go {
  background: #3b3a98;
  border: 1px solid #3b3a98;
  color: #fff;
  width: 75px;
  display: inline-block;
  border-radius: 3px;
  line-height: 33px;
  height: 33px;
  margin-left: 5px;
  cursor: pointer; /* Confirm：可点击手势 */
}

.ssjg {
  position: relative;
}

.ssjg .swiper-slide {
  background: #fff;
}

.ssjg .swiper-slide ul {
  background: #fff;
  margin: 0 1px;
}

.ssjg .swiper-slide ul li {
}

.ssjg .swiper-slide ul li:nth-child(2n) {
  margin-right: 0;
}

.ssjg .swiper-button-next,
.ssjg .swiper-button-prev {
  position: absolute;
  top:44%;
  width: 20px;
  height: 48px;
  margin-top: -25px;
  z-index: 10;
  cursor: pointer;
  background-size: 20px 48px;
  padding: 0 !important;
 }

.ssjg .swiper-button-next {
  background: url(https://cn.ibuychem.com/public/new_index/images/newimg11.png) no-repeat center;
  left: 0;
  right: auto
}

.ssjg .swiper-button-prev {
  background: url(https://cn.ibuychem.com/public/new_index/images/newimg10.png) no-repeat center;
  right: 0;
  left: auto
}

/* 响应式布局 */
@media (max-width: 1200px) {
  .service-banner .container,
  .main-nav .container,
  .footer .container {
    width: 100%;
    padding: 0 20px;
  }

  .main-nav .nav-links li {
    margin-left: 20px;
  }

  .qr-code {
    margin-top: 20px;
  }
}

/* 商品搜索无结果：与全站 Release 弹窗相同的 Product Description 表单（POST /api/buyer/purchase/add） */
.search-empty-rfq {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0;
 
  box-sizing: border-box;
}
.search-empty-rfq__intro {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  box-sizing: border-box;
}
.search-empty-rfq__card > .search-empty-rfq__intro {
  margin-top: 0;
}
.search-empty-rfq__intro p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
}
.search-empty-rfq__title {
  font-weight: 600;
  color: #222;
}
/* 无结果时仅搜索关键词使用品牌紫，前后英文句子仍继承 .search-empty-rfq__title 的 #222 */
.search-empty-rfq__title .search-empty-rfq__keyword {
  color: #3c3a98;
}
.search-empty-rfq__desc {
  margin-bottom: 0 !important;
  color: #555;
}
.search-empty-rfq__card {
  width: 100%;
  max-width: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(58, 57, 151, 0.1);
  padding: 24px 28px 20px;
  box-sizing: border-box;
}
.search-empty-rfq__zxlx {
  background: transparent;
}
.search-empty-rfq__zxlx .lxdh {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  font-size: 14px;
  overflow: visible;
}
.search-empty-rfq__zxlx .lxdh span {
  flex: 0 0 24%;
  max-width: 200px;
  width: auto;
  height: auto;
  min-height: 0;
  line-height: 1.4;
  padding: 10px 12px 0 0;
  display: block;
  text-align: right;
  box-sizing: border-box;
  vertical-align: unset;
  font-size: 14px;
  color: #333;
}
.search-empty-rfq__zxlx .lxdh:first-child span {
  padding-top: 12px;
}
.search-empty-rfq__zxlx .ipt-con textarea,
.search-empty-rfq__zxlx .lxdh .order-searchinput {
  flex: 1 1 0%;
  min-width: 0;
  width: auto !important;
  max-width: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
}
.search-empty-rfq__zxlx .ipt-con textarea {
  min-height: 100px;
  padding: 10px 12px;
  line-height: 1.45;
  font-family: inherit;
  resize: vertical;
  vertical-align: top;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
  font-size: 14px;
}
.search-empty-rfq__zxlx .lxdh .order-searchinput {
  height: 40px !important;
  line-height: normal !important;
  padding: 0 12px !important;
  margin-top: 0;
}
.search-empty-rfq__zxlx .btn-con .sc-qr {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 768px) {
  .search-empty-rfq__card {
    padding: 16px;
  }
  .search-empty-rfq__zxlx .lxdh {
    flex-direction: column;
  }
  .search-empty-rfq__zxlx .lxdh span {
    width: 100%;
    max-width: none;
    text-align: left;
    padding: 0 0 8px;
  }
}
