/* =====================================================================
   PRODUCT PAGES — /p/<slug>
   ---------------------------------------------------------------------
   These 300+ pages are rendered server-side by the function build that
   still runs behind the worker, so their markup is fixed and small:

     .wrap > header
           > .card > img.photo
                   > .body > .kicker h1 .price .stock .desc .btn .fine
           > .links > a…

   The worker injects this file after the page's own <style>, so it wins
   on ties and the product pages read in the same editorial voice as the
   rest of the shop instead of the old cream card.
   ===================================================================== */

:root {
  --ed-bg: #121212;
  --ed-ink: #fff;
  --ed-muted: #9a9a9a;
  --ed-muted-2: #6f6f6f;
  --ed-line: rgba(255, 255, 255, .14);
  --ed-border: #303030;
  --lime: #c8f14a;
  --display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html, body { background: var(--ed-bg); }
body {
  margin: 0;
  color: var(--ed-ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}
::selection { background: var(--lime); color: #0c0c0c; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ---------------- top bar ---------------- */
header {
  display: flex;
  align-items: center;
  height: 72px;
  border-bottom: 1px solid var(--ed-line);
  margin-bottom: clamp(28px, 5vw, 64px);
}
header a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
header a span { color: var(--lime); }

/* ---------------- the piece ---------------- */
.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.photo {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--ed-border);
  background: #171717;
  display: block;
}
.body { padding-top: 4px; }

.kicker {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--display);
  font-weight: 250;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: .94;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 22ch;
}
.price {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 18px;
}
.stock {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ed-muted);
  padding-top: 16px;
  border-top: 1px solid var(--ed-line);
  margin: 0 0 20px;
}
.stock::before { content: "✱ "; color: var(--lime); }
.desc {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 44ch;
  margin: 0 0 28px;
}

.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 64px;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #0c0c0c;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background-color .28s, color .28s;
}
.btn:hover, a.btn:hover { background: transparent; color: var(--lime); }

.fine {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ed-muted-2);
  margin: 16px 0 0;
  max-width: 42ch;
}

/* ---------------- footer links ---------------- */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: clamp(36px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--ed-line);
}
.links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ed-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.links a:hover { color: #fff; border-color: var(--lime); }

@media (max-width: 800px) {
  .card { grid-template-columns: 1fr; gap: 22px; }
  .body { padding-top: 0; }
  header { height: 62px; }
}

/* the old inline sheet centred this line */
.fine { text-align: left; }
