/* Slopshop.design: colors match the hang tags (Artist Identified jewel palette on near-black). */
:root {
  --bg:        #1A1A1A;
  --bg-raise:  #232323;
  --line:      rgba(237, 230, 218, 0.12);
  --text:      #EDE6DA;
  --text-dim:  #A9A196;

  --lapis:     #0033CC;
  --lapis-lt:  #6F8DF0;   /* readable lapis for small text on dark */
  --crimson:   #CC2200;
  --amethyst:  #6B2FA0;
  --gold:      #C8960C;

  --font-display: 'Michroma', 'Arial Black', sans-serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }

/* ── Hero ── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 35%, rgba(107, 47, 160, 0.16), transparent 60%),
    var(--bg);
}
.hero-logo { margin: 0 0 2.5rem; width: min(880px, 100%); }
.hero-logo img { width: 100%; height: auto; }
.hero-ethos {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.4vw, 1.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.hero-sub {
  max-width: 36rem;
  color: var(--text-dim);
  margin: 0 0 2.25rem;
  text-wrap: pretty;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-buy { background: var(--gold); color: #141414; width: 100%; }
.btn-buy:hover { background: #E0AC1E; }
.btn-soon, .btn-sold { width: 100%; color: var(--text-dim); border-color: var(--line); cursor: default; }
a.btn:focus-visible { outline: 2px solid var(--lapis-lt); outline-offset: 3px; }

/* ── Shop grid ── */
.shop { max-width: 1200px; margin: 0 auto; padding: 4.5rem 1rem 5rem; }
.shop-head { text-align: center; margin-bottom: 2.75rem; }
.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 0.6rem;
}
.shop-note { color: var(--text-dim); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #111;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(200, 150, 12, 0.05) 0 14px, transparent 14px 28px),
    #151515;
}
.card-media-note {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.card-era {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(20, 20, 20, 0.85);
  color: var(--gold);
  padding: 0.35rem 0.55rem;
  border-radius: 3px;
}
.card-stamp {
  position: absolute;
  inset: auto 0.75rem 0.75rem auto;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--crimson);
  border: 2px solid var(--crimson);
  padding: 0.3rem 0.6rem;
  transform: rotate(-8deg);
  background: rgba(20, 20, 20, 0.8);
}
.card.is-sold .card-media img { filter: grayscale(0.7) brightness(0.7); }
.card-body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-name { font-size: 1.05rem; font-weight: 500; line-height: 1.35; margin: 0; text-wrap: balance; }
.card-detail { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.card-price { font-family: var(--font-display); font-size: 0.9rem; color: var(--gold); margin: 0.2rem 0 0; }
/* Pin the button to the card bottom so buttons line up across a row. */
.card-body > :nth-last-child(2) { margin-bottom: 0.9rem; }
.card-body > .btn { margin-top: auto; }

.card-more {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border-style: dashed;
  background: transparent;
  min-height: 220px;
}
.card-more-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amethyst);
  filter: brightness(1.6);
  margin: 0;
}
.card-more-text { color: var(--text-dim); margin: 0; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); background: #141414; }
.footer-inner { max-width: 720px; margin: 0 auto; padding: 3.5rem 1rem; text-align: center; }
.footer-mark {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--crimson);
  margin: 0 0 0.75rem;
}
.footer-mark span { color: var(--gold); }
.footer-place {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1.25rem;
}
.footer-note { color: var(--text-dim); margin: 0 auto 1.25rem; max-width: 34rem; text-wrap: pretty; }
.footer-links { margin: 0 0 1.25rem; }
.footer-links a { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; margin: 0; }

@media (max-width: 520px) {
  .hero { min-height: 78vh; padding: 3rem 0.5rem 2.5rem; }
  .hero-logo { margin-bottom: 2rem; }
  .shop { padding-top: 3.5rem; }
}
