:root {
  --ink: #181b20;
  --muted: #68707b;
  --line: #dfe3e8;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --charcoal: #252b33;
  --gold: #c79a35;
  --aqua: #2e7e8c;
  --red: #b34b41;
  --green: #377d55;
  --shadow: 0 16px 45px rgba(25, 29, 34, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 247, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: #050505;
  box-shadow: 5px 5px 0 var(--gold);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--surface);
  color: var(--ink);
}

.owner-route .site-nav,
.owner-route .nav-toggle {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.page-section,
.featured-band,
.browse-band {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  min-height: clamp(520px, 68svh, 680px);
  background:
    linear-gradient(110deg, rgba(37, 43, 51, 0.08), transparent 38%),
    radial-gradient(circle at 78% 22%, rgba(46, 126, 140, 0.14), transparent 34%),
    var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.15;
}

.hero-kicker {
  margin-bottom: 18px;
  color: var(--red);
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  font-weight: 800;
}

.hero-copy > p:not(.eyebrow):not(.hero-kicker) {
  max-width: 650px;
  color: #424852;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.text-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.text-button {
  background: transparent;
  color: var(--aqua);
  padding: 8px;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.hero-panel span {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.section-heading > h2,
.section-heading > h3 {
  margin-bottom: 0;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading.compact a {
  color: var(--aqua);
  font-size: 14px;
  font-weight: 800;
}

.featured-band,
.events-section,
.contact-section,
.admin-section {
  background: var(--surface);
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-columns > article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card,
.inventory-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mini-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 132px;
}

.mini-card .card-art {
  min-height: 132px;
}

.mini-card .mini-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-width: 0;
  padding: 14px;
}

.mini-card h3,
.inventory-card h3 {
  margin-bottom: 0;
}

.mini-card p,
.inventory-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.category-tile {
  min-height: 150px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.category-tile span {
  color: var(--muted);
  line-height: 1.5;
}

.collection-section {
  padding-top: clamp(24px, 4vw, 44px);
}

.collection-section .section-heading {
  margin-bottom: 18px;
}

.collection-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.collection-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  max-width: 1400px;
  margin: 0 auto;
}

.filters {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: #424852;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 14px;
}

.results-bar p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.inventory-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 246px;
  padding: 16px;
  background:
    linear-gradient(140deg, rgba(24, 27, 32, 0.92), rgba(46, 126, 140, 0.78)),
    #27313b;
  color: #fff;
  text-align: center;
}

.card-art.has-image {
  min-height: 0;
  padding: 12px;
  background: #20252c;
}

.card-art.slab-art {
  min-height: 392px;
  padding: 12px 16px 16px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(226, 234, 237, 0.9)),
    #edf2f3;
}

.card-art img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 0.716;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.mini-card .card-art img {
  max-width: 74px;
}

.detail-card .card-art img {
  max-width: 360px;
}

.card-art[data-category="sealed"] img {
  max-width: 250px;
  aspect-ratio: 1;
  object-fit: contain;
}

.detail-card .card-art[data-category="sealed"] img {
  max-width: 420px;
}

.psa-slab {
  position: relative;
  z-index: 2;
  width: min(100%, 270px);
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  padding: 17px 15px 8px;
  border: 1px solid rgba(151, 160, 164, 0.6);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 18% 82%, rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(90deg, rgba(155, 165, 170, 0.16) 0 1px, rgba(255, 255, 255, 0.15) 1px 6px),
    rgba(244, 247, 248, 0.86);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.5),
    inset 0 0 0 8px rgba(171, 183, 188, 0.16),
    0 18px 38px rgba(31, 37, 42, 0.2);
}

.psa-slab::before,
.psa-slab::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(160, 170, 176, 0.36);
  border-radius: 10px;
  pointer-events: none;
}

.psa-slab::after {
  inset: 12px;
  border-color: rgba(255, 255, 255, 0.64);
}

.psa-label {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 70px;
  padding: 9px 78px 9px 13px;
  border: 4px solid #ef1c24;
  background: #fff;
  color: #111;
  box-shadow:
    inset 0 0 0 2px rgba(239, 28, 36, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.12);
}

.psa-label > div {
  min-width: 0;
}

.psa-label strong {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #030303;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 500;
}

.psa-grade-text {
  color: #0c0c0c;
  font-size: 1.56rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.psa-barcode {
  width: 74%;
  max-width: 96px;
  height: 17px;
  margin-top: 6px;
  background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px);
}

.psa-logo {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  display: grid;
  width: 40px;
  height: 18px;
  place-items: center;
  border: 1px solid #aab1b8;
  border-radius: 2px;
  background: linear-gradient(#eef2f6, #cfd7de);
  color: #1f59a7;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1.2;
  text-shadow: 1px 1px 0 #e9272d;
}

.slab-window {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 10px 10px 5px;
  border: 1px solid rgba(169, 178, 183, 0.45);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 244, 245, 0.94)),
    #fff;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.66),
    inset 0 0 0 7px rgba(185, 194, 199, 0.14);
}

.slab-card-window {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  padding: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 5px 14px rgba(38, 45, 50, 0.16);
}

.slab-card-window img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 5px;
  object-fit: contain;
  box-shadow: none;
}

.slab-cert {
  display: none;
}

.mini-card .psa-slab {
  width: 72px;
  padding: 5px 4px 6px;
  gap: 3px;
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.5),
    0 6px 12px rgba(31, 37, 42, 0.16);
}

.mini-card .psa-label {
  min-height: 18px;
  gap: 2px;
  padding: 2px;
  border-width: 1px;
}

.mini-card .psa-grade-text,
.mini-card .psa-barcode,
.mini-card .psa-logo,
.mini-card .slab-cert {
  display: none;
}

.mini-card .psa-label strong {
  position: static;
  transform: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-card .slab-window {
  padding: 3px;
}

.mini-card .slab-card-window {
  width: 90%;
  height: auto;
  padding: 1px;
}

.detail-card .psa-slab {
  width: min(100%, 430px);
  padding: 22px 20px 10px;
  gap: 10px;
  border-radius: 18px;
}

.detail-card .psa-label {
  min-height: 94px;
  padding: 12px 100px 12px 16px;
  border-width: 4px;
}

.detail-card .psa-grade-text {
  font-size: 2rem;
}

.detail-card .psa-label strong {
  right: 18px;
  font-size: 5rem;
}

.detail-card .psa-barcode {
  height: 24px;
  max-width: 132px;
}

.detail-card .psa-logo {
  min-width: 44px;
  font-size: 1rem;
}

.detail-card .slab-window {
  padding: 18px 18px 6px;
}

.detail-card .slab-card-window {
  width: 94%;
}

.card-art[data-tcg="pokemon"] {
  background:
    linear-gradient(140deg, rgba(37, 43, 51, 0.94), rgba(199, 154, 53, 0.78)),
    #27313b;
}

.card-art[data-tcg="one-piece"] {
  background:
    linear-gradient(140deg, rgba(37, 43, 51, 0.94), rgba(179, 75, 65, 0.78)),
    #27313b;
}

.card-art.slab-art[data-tcg] {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(226, 234, 237, 0.9)),
    #edf2f3;
}

.card-art::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
}

.card-art.has-image::before {
  inset: 8px;
  border-color: rgba(255, 255, 255, 0.18);
}

.card-art span {
  position: relative;
  z-index: 1;
  display: block;
}

.card-art.image-loaded .art-fallback {
  display: none;
}

.art-code {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
}

.art-review {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.78;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.card-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 999px;
  background: #eef3f2;
  color: #31434a;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 9px;
}

.sourceable-pill {
  background: #f8edcf;
  color: #6f5318;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price {
  color: var(--ink);
  font-weight: 900;
}

.view-link {
  color: var(--aqua);
  font-weight: 900;
}

.empty-state {
  padding: 42px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.event-card,
.contact-card,
.about-copy,
.detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-card {
  padding: 22px;
}

.event-card h3 {
  margin-bottom: 12px;
}

.event-card p {
  color: var(--muted);
  line-height: 1.55;
}

.about-copy,
.contact-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
}

.about-copy p,
.contact-card p {
  color: #424852;
  font-size: 1.05rem;
  line-height: 1.75;
}

.restock-section .button {
  margin-top: 8px;
}

.restock-invite {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
  word-break: break-all;
}

.restock-invite a {
  color: var(--aqua);
  font-weight: 800;
}

.contact-card form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.admin-shell {
  max-width: 1380px;
  margin: 0 auto;
}

.admin-login,
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto;
  align-items: end;
  gap: 14px;
  max-width: 660px;
  padding: 22px;
}

.admin-panel {
  padding: 18px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-stat {
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f5f5;
}

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

.admin-stat strong {
  font-size: 1.45rem;
  line-height: 1;
}

.admin-stat span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) 145px 120px 120px 120px 145px minmax(180px, 0.85fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-item-name {
  min-width: 0;
}

.admin-item-name strong {
  display: block;
  margin-bottom: 5px;
  line-height: 1.2;
}

.admin-item-name span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-row label {
  gap: 5px;
  font-size: 12px;
}

.admin-row input,
.admin-row select {
  min-height: 40px;
  padding: 9px 10px;
}

.admin-row .button {
  min-height: 40px;
  padding: 9px 13px;
}

.admin-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.admin-message.is-error {
  color: var(--red);
}

.admin-message.is-success {
  color: var(--green);
}

.detail-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 50px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 32px);
}

.detail-section {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  overflow-y: auto;
}

.detail-overlay {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(24, 27, 32, 0.62);
  cursor: pointer;
}

.detail-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  outline: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.detail-copy h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.detail-list div {
  min-height: 74px;
  padding: 14px;
  background: #f3f5f5;
  border-radius: 8px;
}

.detail-list dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

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

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .hero,
  .collection-layout,
  .feature-columns,
  .events-list,
  .detail-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-login,
  .admin-toolbar,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-section,
  .featured-band,
  .browse-band {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .hero-actions,
  .results-bar,
  .site-footer,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel > div {
    min-height: 76px;
    padding: 18px;
  }

  .filters,
  .mini-grid,
  .category-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .mini-card {
    grid-template-columns: 88px 1fr;
  }

  .inventory-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .card-body {
    padding: 12px;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
