.seller-profile { padding-block: clamp(24px, 5vw, 56px) 64px; }
.seller-profile :where(a:not(.button)) { text-underline-offset: .18em; }
.seller-profile :is(a, input, button):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}
.seller-profile h1 { margin: 0; font-size: clamp(28px, 5vw, 46px); overflow-wrap: anywhere; }
.seller-profile h2 { margin: 0 0 8px; font-size: 20px; }
.seller-profile-header {
  margin-block: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-gradient);
}
.seller-profile-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 104px;
  max-height: 280px;
  background: linear-gradient(120deg, var(--soft), var(--edge), var(--soft));
  overflow: hidden;
}
.seller-profile-banner img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (max-width:600px) {
  .seller-profile-banner { aspect-ratio: 2.35 / 1; }
}
.seller-profile-identity { display: flex; gap: 16px; align-items: center; padding: clamp(12px, 3vw, 24px); }
.seller-profile-identity > div { min-width: 0; }
.seller-profile-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(52px, 12vw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--soft);
  overflow: hidden;
  font-size: 26px;
  font-weight: 800;
}
.seller-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.seller-profile-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-block: 0 28px;
}
.seller-profile-info > section, .seller-profile-empty {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-gradient);
}
.seller-profile-info :is(p, dl, dd) { margin: 0; }
.seller-profile-payment {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 4px 12px;
  padding-block: 6px;
  overflow-wrap: anywhere;
}
.seller-profile-payment + .seller-profile-payment { border-block-start: 1px solid var(--line); }
.seller-profile-payment dd { display: flex; gap: 4px 10px; flex-wrap: wrap; }
.seller-profile-payment dd span { color: var(--muted); }
.seller-breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: 13px; overflow-wrap: anywhere; }
.seller-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.seller-profile-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.seller-profile-contacts a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; }
.seller-profile-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px 16px;
}
.seller-profile-search label {
  display: grid;
  gap: 5px;
  flex: 0 1 380px;
  min-width: 0;
  font-weight: 700;
}
.seller-profile-search input {
  width: 100%;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: var(--action);
  color: var(--ink);
  font: inherit;
}
.seller-profile-search :is(a, button) { min-height: 44px; align-content: center; }
.seller-profile-count { margin-block: 20px 6px; font-weight: 700; }
.seller-profile #seller-stock { scroll-margin-top: 100px; }
@media (max-width: 560px) {
  .seller-profile-search label { flex-basis: 100%; }
  .seller-profile-badges .seller-card-tag { white-space: normal; }
}

.seller-profile-description { margin: 0; padding: 0 20px 16px; overflow-wrap: anywhere; }
