.suppliers-page {
  padding: 20px 0 48px;
  min-height: 60dvh;
}

.sup-header-card {
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 16px;
}

.sup-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sup-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sup-title {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sup-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff3eb;
  color: #ff5000;
  font-size: 12px;
  font-weight: 400;
}

.sup-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.sup-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sup-search-input {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  width: 230px;
  outline: none;
}

.sup-search-input:focus {
  border-color: #ff5000;
}

.sup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.sup-btn-primary,
a.sup-btn.sup-btn-primary,
a.sup-btn.sup-btn-primary:visited {
  background: #ff5000;
  color: #ffffff;
}

.sup-btn-primary:hover,
.sup-btn-primary:focus-visible,
a.sup-btn.sup-btn-primary:hover,
a.sup-btn.sup-btn-primary:focus {
  background: #e64800;
  color: #ffffff;
}

.sup-btn-ghost,
a.sup-btn.sup-btn-ghost,
a.sup-btn.sup-btn-ghost:visited {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #e5e7eb;
}

.sup-btn-ghost:hover,
.sup-btn-ghost:focus-visible,
a.sup-btn.sup-btn-ghost:hover,
a.sup-btn.sup-btn-ghost:focus {
  background: #e5e7eb;
  color: #111827;
}

.sup-btn-follow,
a.sup-btn.sup-btn-follow {
  background: #ffffff;
  color: #475569;
  border-color: #d1d5db;
}

.sup-btn-follow:hover,
a.sup-btn.sup-btn-follow:hover {
  border-color: #ff5000;
  color: #ff5000;
  background: #fff7f2;
}

.sup-btn-follow.is-following,
.sup-btn-follow.active,
a.sup-btn.sup-btn-follow.is-following,
a.sup-btn.sup-btn-follow.active {
  background: #fff3eb;
  color: #ff5000;
  border-color: #ffd1b8;
}

.sup-btn-follow.is-following svg,
.sup-btn-follow.active svg {
  fill: #ff5000;
  stroke: #ff5000;
}

.sup-guest-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 13px;
  color: #9a3412;
}

.sup-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sup-card {
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sup-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sup-identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 320px;
}

.sup-avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid #eceef2;
  background: #fff7f2;
  color: #ff5000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.sup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sup-meta {
  min-width: 0;
  flex: 1;
}

.sup-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.sup-plat-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 400;
  color: #ffffff;
  background: #ff5000;
}

.sup-plat-taobao {
  background: #ff6a00;
}

.sup-plat-tmall {
  background: #e11d48;
}

.sup-name {
  font-size: 16px;
  font-weight: 400;
  color: #111827;
  text-decoration: none;
}

.sup-name:hover {
  color: #ff5000;
}

.sup-stats-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12.5px;
  color: #4b5563;
}

.sup-stat strong {
  color: #111827;
}

.sup-stat-money strong {
  color: #ff5000;
}

.sup-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sup-previews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

.sup-preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  background: #f8fafc;
  text-decoration: none;
  color: #334155;
  min-width: 0;
}

.sup-preview-item:hover {
  border-color: #ffd1b8;
  background: #fff7f2;
  color: #ff5000;
}

.sup-preview-item img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ffffff;
}

.sup-preview-title {
  font-size: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sup-empty-card {
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  padding: 56px 20px;
  text-align: center;
  color: #6b7280;
}

.sup-empty-card h2 {
  margin: 12px 0 8px;
  font-size: 17px;
  color: #1f2937;
}

.sup-empty-card p {
  margin: 0 auto 18px;
  max-width: 480px;
  font-size: 13px;
  line-height: 1.5;
}

.sup-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.sup-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 13px;
  text-decoration: none;
}

.sup-page-link.is-active {
  background: #ff5000;
  border-color: #ff5000;
  color: #ffffff;
  font-weight: 400;
}

@media (max-width: 900px) {
  .sup-previews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sup-previews-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sup-search-input {
    width: 165px;
  }
}
