/* 商品发布企业 */
.product-publisher-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  width: 100%;
  margin: 0;
  padding: 14px 24px;
  box-sizing: border-box;
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 50%, #eff6ff 100%);
  border-top: 1px solid #93c5fd;
  border-bottom: 2px solid #2d75ff;
  color: #1e3a8a;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  clear: both;
}
/* 紧贴下方 banner，去掉多余白边 */
.product-publisher-bar + .banner-inside,
.product-publisher-bar + .banner,
.product-publisher-bar + [class*="banner"] {
  margin-top: 0 !important;
}
.product-publisher-bar::before {
  content: "商品发布企业";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 12px;
  background: #2d75ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.product-publisher-bar strong {
  color: #1e40af;
  font-size: 16px;
  font-weight: 800;
}
.product-publisher-bar a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #2d75ff;
  background: #fff;
  color: #2d75ff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.product-publisher-bar a:hover {
  background: #2d75ff;
  color: #fff !important;
}
.pub-avatar {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff;
}
.pub-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.pub-avatar--lg {
  flex-basis: 34px;
  width: 34px !important;
  height: 34px !important;
  font-size: 15px !important;
}

/* 首页卡片：完整简介；三列网格，避免 float 末列撑高导致下行钻空错位 */
.system-service-items ul.clearfix,
.system-service-items ul {
  display: grid !important;
  grid-template-columns: repeat(3, 400px);
  width: 1200px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.system-service-items ul::before,
.system-service-items ul::after {
  display: none !important;
  content: none !important;
  clear: none !important;
}
.system-service-items ul li {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 220px;
  overflow: visible !important;
  box-sizing: border-box;
  position: relative !important;
  /* 预留按钮区，悬浮显隐不改变占位 */
  padding-bottom: 62px !important;
}
.system-service-items ul li:nth-child(3n) {
  border-right: 0 !important;
}
/* 悬浮保留边框占位，避免 border:0 引起尺寸抖动 */
.system-service-items ul li:hover {
  border-top: 1px solid transparent !important;
  border-left: 1px solid transparent !important;
  border-right: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
}
.system-service-items ul li:nth-child(3n):hover {
  border-right: 1px solid transparent !important;
}
.system-service-items ul li .btns {
  position: absolute !important;
  left: 17px;
  right: 17px;
  bottom: 18px;
  margin: 0 !important;
  z-index: 3;
}
.system-service-items ul li .btns button,
.system-service-items ul li .btns a {
  margin-top: 0 !important;
}

.system-service-items .publisher-badge,
.merchant-listing-li .publisher-badge,
.publisher-badge {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  width: 100%;
  max-width: 100%;
  margin: 6px 0 10px;
  padding: 8px 10px;
  box-sizing: border-box;
  background: #eff6ff;
  border-left: 3px solid #2d75ff;
  color: #1e3a8a;
  font-size: 12px;
  line-height: 1.45;
  overflow: visible;
  float: none !important;
}
.publisher-badge .pub-label {
  flex: 0 0 auto;
  width: 100%;
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}
.publisher-badge .pub-user {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.publisher-badge .pub-name {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #1e40af;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  word-break: break-all;
  overflow: visible;
}
.publisher-badge .pub-link { display: none !important; }

.system-service-items ul li .des {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  white-space: normal !important;
  margin-bottom: 12px;
}
.system-service-items ul li h5 {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 768px) {
  .product-publisher-bar { padding: 12px 14px; font-size: 14px; }
  .product-publisher-bar strong { font-size: 15px; }
}
