/* ==================================================================
   Editorial product layout — the page's own furniture.

   The run itself — the strip, the frames, the thumbnails, the steps —
   lives in run.css, which this page shares with the shop. What is left
   here is only what belongs to a product page: the block of name, price
   and description under the run, and the buy controls beside it.

   Layered on top of styles.css and run.css.
================================================================== */

/* ---------------------------------------------------------------- the meta */

.ed__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
}

@media (min-width: 900px) {
  .ed__meta {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
    padding-top: 4.5rem;
  }
}

.ed__crumbs {
  padding: 0;
  margin-bottom: 1.25rem;
}

.ed__id h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.ed__price {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

.ed__desc {
  margin: 1.25rem 0 0;
  max-width: 34ch;
  color: var(--fg-muted);
  line-height: 1.6;
}

.ed__buy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ed__label {
  margin: 0 0 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.ed__label b {
  font-weight: 500;
  color: var(--fg);
  margin-left: 0.4rem;
}

.ed__buy .colorlist {
  margin-bottom: 1.75rem;
}

.ed__buy .sizelist {
  margin-bottom: 1.75rem;
}

.ed__add {
  width: 100%;
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 899px) {
  /* The last crumb repeats the heading directly beneath it. On a narrow
     screen that redundancy costs two wrapped lines, so it goes. */
  .ed__crumbs span:last-child,
  .ed__crumbs span:nth-last-child(2) {
    display: none;
  }
}
