/* Inventory page overrides (platinum) */
.inventoryPage{
  /* Inventory page overrides (catalogue gradient) */
  --invBg:#050506;
  --invCard:rgba(255,255,255,.035);
  --invInk:rgba(244,242,239,.92);
  --invMuted:rgba(244,242,239,.74);
  --invLine:rgba(244,242,239,.14);
  --invChip:rgba(0,0,0,.22);
  background:
    radial-gradient(1600px 1000px at 12% 6%, rgba(178,42,51,.65), transparent 65%),
    radial-gradient(1600px 1000px at 90% 0%, rgba(245,194,107,.55), transparent 65%),
    var(--invBg);
  color: var(--invInk);
  font-family: "Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.inventoryPage a{ color: rgba(255,255,255,.86); text-decoration: none; }
.inventoryPage a:hover{ color: var(--invInk); }

.invTop{
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid var(--invLine);
  backdrop-filter: blur(10px);
}
.invTopInner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 18px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 18px;
}
.brand{
  display:flex; gap:10px; align-items:baseline;
  font-weight: 600;
  letter-spacing:.2px;
}
.brand b{ font-weight: 700; }
.nav{
  display:flex; gap:18px; align-items:center;
  font-size: 14px;
}
.nav a.active{
  color: var(--invInk);
  border-bottom: 2px solid rgba(255,255,255,.75);
  padding-bottom: 6px;
}

.invMain{ padding: 28px 0 80px; }
.invShell{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
}
@media (max-width: 980px){
  .invShell{ grid-template-columns: 1fr; }
}

.invSidebar{
  background: rgba(0,0,0,.08);
  border: 1px solid var(--invLine);
  border-radius: 18px;
  padding: 18px;
  height: fit-content;
  position: sticky;
  top: 88px;
}
@media (max-width: 980px){
  .invSidebar{ position: static; top: auto; }
}

.invSideTitle{ font-size: 18px; font-weight: 700; margin: 0 0 2px; }
.invSideSub{ font-size: 12px; color: var(--invMuted); margin: 0 0 14px; }

.filterBlock{ margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--invLine); }
.filterBlock:first-of-type{ border-top: 0; padding-top: 0; }
.filterLabel{ font-size: 12px; color: var(--invMuted); margin: 0 0 8px; }
.textInput{
  width: 100%;
  background: rgba(0,0,0,.12);
  border: 1px solid var(--invLine);
  color: var(--invInk);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.textInput::placeholder{ color: rgba(255,255,255,.45); }

.optList{ display:flex; flex-direction:column; gap:8px; }
.optRow{ display:flex; gap:10px; align-items:center; font-size: 14px; color: var(--invInk); }
.optRow small{ color: var(--invMuted); font-size: 12px; }
.optRow input{ transform: scale(1.05); }

.btn{
  width: 100%;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--invLine);
  background: rgba(0,0,0,.10);
  color: var(--invInk);
  cursor: pointer;
}
.btn:hover{ background: rgba(0,0,0,.16); }
.mini{
  font-size: 12px;
  color: var(--invMuted);
  margin-top: 10px;
}

.invContent h1{ font-size: 42px; margin: 0 0 4px; letter-spacing: -.3px; }
.invMeta{ color: var(--invMuted); font-size: 13px; margin-bottom: 18px; }

.invGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 780px){
  .invGrid{ grid-template-columns: 1fr; }
}

.invCard{
  background: rgba(0,0,0,.08);
  border: 1px solid var(--invLine);
  border-radius: 18px;
  overflow: hidden;
}
.invMedia{
  position: relative;
  height: 360px; /* fixed height, contain image */
  background: rgba(0,0,0,.10);
  display:flex; align-items:center; justify-content:center;
}
.invMedia img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display:block;
}
.magBtn{
  position:absolute; top: 12px; right: 12px;
  width: 108px; height: 108px;
  border-radius: 28px;
  border: 1px solid var(--invLine);
  background: rgba(0,0,0,.25);
  color: var(--invInk);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  font-size: 42px;
}
.magBtn:hover{ background: rgba(0,0,0,.35); }

.invBody{ padding: 14px 16px 16px; }
.invArtist{ font-size: 14px; color: rgba(255,255,255,.82); margin-bottom: 2px; }
.invTitle{ font-size: 18px; font-weight: 650; margin: 0 0 6px; }
.invLine{ font-size: 13px; color: rgba(255,255,255,.80); margin: 0 0 10px; }
.invActions{ display:flex; align-items:center; justify-content:space-between; gap: 12px; }

.actionBtn{
  border-radius: 12px;
  padding: 9px 12px;
  border: 1px solid var(--invLine);
  background: rgba(0,0,0,.18);
  color: var(--invInk);
  cursor:pointer;
  font-size: 13px;
}
.actionBtn:hover{ background: rgba(0,0,0,.26); }
.price{ font-weight: 650; font-size: 14px; }

.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--invLine);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.86);
  white-space: nowrap;
}

/* Lightbox */
.lb{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.82);
  display:none;
  align-items:center; justify-content:center;
  z-index: 2000;
  padding: 24px;
}
.lb.open{ display:flex; }
.lbInner{
  width: min(1100px, 100%);
  background: rgba(105,105,105,.9);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  overflow:hidden;
}
.lbTop{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.10);
}
.lbTop .lbTitle{ font-size: 13px; color: rgba(255,255,255,.85); }
.lbClose{
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.22);
  color: white;
  cursor:pointer;
}
.lbClose:hover{ background: rgba(0,0,0,.32); }
.lbImgWrap{
  background: rgba(0,0,0,.18);
  display:flex; align-items:center; justify-content:center;
  height: min(70vh, 720px);
}
.lbImgWrap img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lbBottom{
  padding: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.lbBottom .lbMeta{
  font-size: 13px;
  color: rgba(255,255,255,.85);
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lbBottom .lbBtns{ display:flex; gap: 10px; }
/* ===== Catalogue background: match detail pages (strong) ===== */
html, body { min-height: 100%; }

body.inventoryPage{
  background:
    radial-gradient(1400px 900px at 10% 8%, rgba(178,42,51,.72), transparent 62%),
    radial-gradient(1400px 900px at 92% 0%, rgba(245,194,107,.60), transparent 62%),
    #050506 !important;
  color: rgba(244,242,239,.92);
}

/* Kill any “silver sheet” that hides the gradient */
.invTop,
.invShell,
.invMain,
.invContent{
  background: transparent !important;
}
/* ===== Curatorial statement emphasis ===== */
.curatorialLine{
  font-size: 2.2rem;              /* ~2x larger */
  line-height: 1.35;
  font-weight: 500;
  color: rgba(178,42,51,.95);     /* crimson */
  letter-spacing: .25px;
  margin: 0.25rem 0 1rem 0;
}
/* ===== Fixed atmospheric background layer (non-scrolling) ===== */
body.inventoryPage::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(1400px 900px at 10% 8%, rgba(178,42,51,.72), transparent 62%),
    radial-gradient(1400px 900px at 92% 0%, rgba(245,194,107,.60), transparent 62%),
    #050506;

  will-change: transform;
}
/* Curatorial statement — lighter, more modern */
.curatorialLine {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;          /* thinner */
  font-size: 1.6rem;         /* already good scale — adjust later if desired */
  line-height: 1.35;
  letter-spacing: 0.01em;    /* subtle refinement */
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
  margin-bottom: 1.2rem;
}
