:root {
  --seller-yellow: #ffe33d;
  --seller-yellow-soft: #fff9d5;
  --seller-ink: #0b0b0c;
  --seller-paper: #f2f1ed;
  --seller-line: #d8d6cf;
  --seller-muted: #686868;
  --seller-white: #fff;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  color: var(--seller-ink);
  background: var(--seller-paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.seller-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: 1rem max(1.2rem, calc((100vw - 1240px) / 2));
  background: var(--seller-white);
  border-bottom: 1px solid var(--seller-line);
}

.seller-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  text-decoration: none;
  letter-spacing: .08em;
}

.seller-brand > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--seller-yellow);
  font-size: 1.5rem;
}

.seller-header nav {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.seller-header nav > a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.seller-header .sell-link,
.seller-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.05rem;
  border-radius: 13px;
  color: var(--seller-yellow);
  background: var(--seller-ink);
  font-weight: 900;
  text-decoration: none;
}

.seller-page {
  width: min(1240px, calc(100% - 2rem));
  margin: 1.35rem auto 4rem;
}

.seller-breadcrumbs {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  margin-bottom: 1rem;
  padding: .2rem 0;
  overflow-x: auto;
  color: var(--seller-muted);
  font-size: .92rem;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.seller-breadcrumbs::-webkit-scrollbar { display: none; }
.seller-breadcrumbs > * { flex: 0 0 auto; }
.seller-breadcrumbs a { font-weight: 700; text-underline-offset: .18em; }
.seller-breadcrumbs [aria-current="page"] { color: var(--seller-ink); font-weight: 700; }

.seller-profile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: clamp(1.25rem, 3.5vw, 2.2rem);
  overflow: hidden;
  border: 1px solid var(--seller-line);
  border-radius: 28px;
  background: var(--seller-white);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .055);
}

.seller-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 2px solid var(--seller-ink);
  border-radius: 28px;
  background: var(--seller-yellow);
  font-size: 2.7rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 7px 7px 0 var(--seller-ink);
}

.seller-profile-copy { min-width: 0; }

.seller-kicker,
.seller-list-heading > div > span {
  color: #85720f;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .13em;
}

.seller-list-heading > div > span { color: #6f5e05; }

.seller-profile h1 {
  margin: .3rem 0 .45rem;
  overflow-wrap: anywhere;
  font-size: clamp(2.15rem, 6vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.seller-profile p {
  max-width: 650px;
  margin: 0;
  color: #505050;
  line-height: 1.5;
}

.seller-member-since {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: max-content;
  max-width: 100%;
  margin-top: .8rem;
  padding: .48rem .72rem;
  border: 1px solid #e6d675;
  border-radius: 999px;
  color: #4f481e;
  background: var(--seller-yellow-soft);
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.2;
}

.seller-member-since > span {
  color: #85720f;
  font-size: 1rem;
  line-height: 1;
}

.seller-count {
  padding: .8rem 1rem;
  border: 1px solid #ead253;
  border-radius: 999px;
  background: var(--seller-yellow-soft);
  white-space: nowrap;
}

.seller-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.3rem 0 1rem;
}

.seller-list-heading h2 {
  margin: .3rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.seller-list-heading p {
  margin: 0;
  color: var(--seller-muted);
  font-size: .9rem;
  font-weight: 800;
}

.seller-listings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.seller-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--seller-line);
  border-radius: 20px;
  background: var(--seller-white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.seller-card:hover {
  transform: translateY(-3px);
  border-color: #bdbab0;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .085);
}

.seller-card > a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.seller-card-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: #595959;
  background: #e3e2dd;
}

.seller-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.seller-card:hover .seller-card-image img { transform: scale(1.025); }

.seller-card-image > b { font-size: .9rem; }

.seller-card-image > small {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  padding: .38rem .55rem;
  border-radius: 999px;
  color: var(--seller-ink);
  background: var(--seller-yellow);
  font-size: .7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.seller-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: .85rem;
  padding: 1rem;
}

.seller-card-body > strong {
  min-height: 2.5em;
  overflow-wrap: anywhere;
  font-size: 1.08rem;
  line-height: 1.25;
}

.seller-card-body > b {
  font-size: 1.42rem;
  line-height: 1.05;
}

.seller-card-body > span {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .55rem;
  color: var(--seller-muted);
  font-size: .84rem;
}

.seller-card-body i { overflow-wrap: anywhere; font-style: normal; }
.seller-card-body i:last-child { flex: 0 0 auto; text-align: right; }

.seller-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--seller-line);
  border-radius: 18px;
  background: var(--seller-white);
}

.seller-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: max-content;
  min-height: 44px;
  padding: .7rem .95rem;
  border-radius: 12px;
  color: var(--seller-yellow);
  background: var(--seller-ink);
  font-weight: 900;
  text-decoration: none;
}

.seller-page-link:last-child { justify-self: end; }
.seller-page-link.is-disabled { color: #8b8b86; background: #e8e7e2; }
.seller-page-position { color: var(--seller-muted); font-size: .9rem; }
.seller-page-position strong { color: var(--seller-ink); }

.seller-empty,
.seller-missing {
  width: min(650px, calc(100% - 2rem));
  margin: 10vh auto;
  padding: clamp(1.5rem, 5vw, 2.6rem);
  border: 1px solid var(--seller-line);
  border-radius: 26px;
  background: var(--seller-white);
  text-align: center;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .055);
}

.seller-empty { margin: 2rem auto; }

.seller-empty > span,
.seller-missing-code {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 1.1rem;
  border: 2px solid var(--seller-ink);
  border-radius: 24px;
  background: var(--seller-yellow);
  font-size: 1.65rem;
  font-weight: 950;
  box-shadow: 6px 6px 0 var(--seller-ink);
}

.seller-empty h2,
.seller-missing h1 {
  margin: 0 0 .65rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.05;
}

.seller-empty p,
.seller-missing p {
  margin: 0 auto 1.3rem;
  color: #505050;
  line-height: 1.5;
}

.seller-missing-brand {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-decoration: none;
}

.seller-header a:focus-visible,
.seller-breadcrumbs a:focus-visible,
.seller-page-link:focus-visible,
.seller-primary-link:focus-visible {
  outline: 3px solid #397ee8;
  outline-offset: 3px;
}

.seller-card > a:focus-visible { outline: none; }

.seller-card:focus-within {
  outline: 3px solid #397ee8;
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .seller-listings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .seller-header { min-height: 68px; padding: .7rem .8rem; }
  .seller-header nav > a:first-child { display: none; }
  .seller-brand > span { width: 44px; height: 44px; }
  .seller-page { width: min(100% - 1rem, 680px); margin-top: .8rem; }
  .seller-profile { grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; border-radius: 22px; }
  .seller-avatar { width: 72px; height: 72px; border-radius: 21px; font-size: 2rem; box-shadow: 5px 5px 0 var(--seller-ink); }
  .seller-profile h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .seller-count { grid-column: 1 / -1; justify-self: start; }
  .seller-listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-card-body > span { display: grid; align-content: end; }
  .seller-card-body i:last-child { text-align: left; }
}

@media (max-width: 520px) {
  .seller-brand b { font-size: .72rem; }
  .seller-header nav { gap: .4rem; }
  .seller-header .sell-link { min-height: 44px; padding: .65rem .7rem; font-size: .78rem; }
  .seller-breadcrumbs { flex-wrap: wrap; overflow-x: visible; white-space: normal; }
  .seller-breadcrumbs > * { flex: 0 1 auto; overflow-wrap: anywhere; }
  .seller-list-heading { align-items: start; flex-direction: column; }
  .seller-listings { grid-template-columns: 1fr; }
  .seller-card-body > strong { min-height: 0; }
  .seller-pagination { grid-template-columns: 1fr 1fr; }
  .seller-page-position { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .seller-page-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .seller-card,
  .seller-card-image img { transition: none; }
}
