:root {
  color-scheme: dark;
  --ink: #f8f7f2;
  --muted: #aaa9a2;
  --surface: rgba(22, 24, 25, 0.88);
  --surface-strong: #1d2021;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #c7f36b;
  --mint: #7be2bd;
  --amber: #ffbf68;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
  background: #0c0e0e;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 9% -10%, rgba(199, 243, 107, 0.16), transparent 34rem),
    radial-gradient(circle at 94% 2%, rgba(123, 226, 189, 0.12), transparent 30rem),
    #0c0e0e;
}

body {
  min-height: 100vh;
  margin: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px);
  background-size: 36px 36px;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #18200e;
  background: linear-gradient(145deg, var(--lime), #91bf3a);
  box-shadow: 0 10px 30px rgba(159, 211, 67, 0.2);
  font-size: 13px;
  letter-spacing: -0.08em;
}

.vendor-pill {
  padding: 7px 11px;
  border: 1px solid rgba(199, 243, 107, 0.3);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(199, 243, 107, 0.07);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-hero,
.landing {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(199, 243, 107, 0.11), transparent 43%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.store-hero::after,
.landing::after {
  position: absolute;
  inset: auto -12% -72% 52%;
  height: 380px;
  border-radius: 50%;
  background: rgba(123, 226, 189, 0.1);
  filter: blur(70px);
  content: "";
  pointer-events: none;
}

.landing {
  display: block;
  padding-block: clamp(44px, 8vw, 90px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.056em;
}

.handle {
  margin-bottom: 20px;
  color: var(--mint);
  font-size: 17px;
  font-weight: 800;
}

.lede {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
}

.store-stat {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-width: 132px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(4, 6, 5, 0.42);
}

.store-stat strong,
.store-stat span {
  display: block;
}

.store-stat strong {
  color: var(--lime);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.store-stat span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-tools {
  display: grid;
  align-items: end;
  gap: 12px;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 190px) auto;
  margin: 34px 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.store-tools label {
  display: grid;
  gap: 7px;
}

.store-tools label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

input,
select,
button {
  min-height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 0 13px;
}

button {
  padding: 0 20px;
  color: #17200d;
  background: var(--lime);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(123, 226, 189, 0.35);
  outline-offset: 2px;
}

.listing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.card-art {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(199, 243, 107, 0.11), transparent 60%),
    rgba(2, 3, 3, 0.45);
}

.card-art img {
  display: block;
  width: 100%;
  max-width: 230px;
  max-height: 320px;
  border-radius: 12px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.4));
}

.art-placeholder {
  color: var(--muted);
  font-size: 13px;
}

.quantity-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 12, 11, 0.9);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.listing-copy {
  padding: 17px;
}

.listing-heading {
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.listing-heading h2 {
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 17px;
  letter-spacing: -0.026em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-heading p,
.note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.listing-heading strong {
  color: var(--lime);
  font-size: 16px;
  white-space: nowrap;
}

.note {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.empty-state,
.error-card {
  grid-column: 1 / -1;
  padding: clamp(30px, 6vw, 64px);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.empty-state h2,
.error-card h1 {
  margin-bottom: 8px;
  color: var(--ink);
}

.error-card {
  margin-top: 10vh;
  border-style: solid;
}

.error-card h1 {
  max-width: none;
  font-size: clamp(34px, 6vw, 58px);
}

.pagination {
  display: grid;
  align-items: center;
  gap: 16px;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.pagination a {
  padding: 10px 12px;
  color: var(--lime);
  text-decoration: none;
}

.pagination a:first-child {
  justify-self: start;
}

.pagination a:last-child {
  justify-self: end;
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .topbar {
    margin-bottom: 24px;
  }

  .store-hero {
    display: block;
    border-radius: 24px;
  }

  .store-stat {
    width: fit-content;
    margin-top: 24px;
  }

  .store-tools {
    grid-template-columns: 1fr;
  }

  .card-art {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
