/* Product page: the name taken apart, one plate under each part. */

.pd { align-items: start; }
.pd__head { min-width: 0; }
.pd__head h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.9rem);
  overflow-wrap: break-word;
  margin-bottom: calc(var(--line) * .5);
}
.pd__kind {
  display: flex; flex-wrap: wrap; gap: 0 1.25rem;
  margin: 0 0 var(--line);
  font-size: var(--t-lead); line-height: 1.4;
}
.pd__price { font-weight: 700; }
.pd__photo { min-width: 0; }
.pd__photo .shot__img { max-height: 40rem; }

@media (min-width: 56em) {
  .pd__head { grid-column: 1 / span 6; }
  .pd__photo { grid-column: 8 / span 5; grid-row: 1; }
}

/* Sections after the opening. */
.pd__section { padding-block: calc(var(--line) * 1.25); }
.pd__section > h2 { margin-bottom: var(--line); }

/* The parts: one name per column, each plate stepping one text line lower than the last. */
.parts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--line) var(--gap);
  align-items: start;
}
.part { min-width: 0; }
.part__name {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem);
  line-height: 1.12;
  overflow-wrap: break-word;
}
.part .plate { margin-top: .6rem; }

@media (min-width: 40em) {
  .parts { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .part .plate { margin-top: calc(.6rem + var(--line) * var(--step)); }
}

/* Body: two reading columns and, on blends, the offer in the third. */
.pd__section .trio p { margin-bottom: 0; max-width: 34em; }
.pd__promo {
  padding: 1rem 1.75rem 1rem 1rem;
  background: var(--cyan);
  color: var(--plum);
  font-size: var(--t-small);
  line-height: 1.5;
}

/* Specs: values flush right, no rules between rows. Both columns keep a floor of their
   own content and share the row two to three, so a label never lies on its value. */
.pd__specs {
  grid-template-columns: minmax(min-content, 2fr) minmax(min-content, 3fr);
  gap: .6rem var(--gap);
  margin: 0;
  max-width: 34rem;
}
.pd__specs dt { min-width: 0; overflow-wrap: anywhere; }
.pd__specs dd { min-width: 0; text-align: right; overflow-wrap: anywhere; }
@media (min-width: 56em) {
  .pd__specs { grid-column: 6 / span 6; width: 100%; }
}

/* Closing links. */
.pd__close { row-gap: var(--line); padding-bottom: calc(var(--line) * 2); }
.pd__close p { margin-bottom: 0; }
.pd__contrast { min-width: 0; }
.pd__contrast a { overflow-wrap: break-word; }
