/* Pickup page: everything beyond site.css. Classes here are three-letter abbreviations, defined where first written. */

/* the handoff crop on this page is a touch taller than 16/9 so the doorway reads */
.caf-pas { --shape-of-the-crop: 16 / 10; }

/* caf-clr = clears: the list of items that meet the $85 minimum on their own (ul of caf-tag lines) */
.caf-clr {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.caf-clr .caf-tag { padding-block: 0; font-size: 1.125rem; }
.caf-clr .caf-nam a,
.caf-clr a.caf-nam {
  display: inline-block;
  padding-block: 0.5rem;
}
.caf-clr .caf-prc { padding-block: 0.5rem; }

/* caf-cap = capitalised: the street as the shop writes it, not shouted in capitals */
.caf-cap { text-transform: capitalize; }

/* caf-cal = call board list: the four things to say, numbered by counter (ol inside a caf-pan) */
.caf-cal {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: caf-said;
}

/* caf-lin = line: one thing to say, a round numeral beside its words (li, with caf-ris to rise in turn) */
.caf-lin {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 1rem;
  border-block-end: var(--thickness-of-an-outline) dotted currentColor;
  counter-increment: caf-said;
}
.caf-lin:first-child { padding-block-start: 0; }
.caf-lin:last-child { padding-block-end: 0; border-block-end: 0; }
.caf-lin::before {
  content: counter(caf-said);
  display: grid;
  place-items: center;
  inline-size: 3rem;
  aspect-ratio: 1;
  border: var(--thickness-of-an-outline) solid var(--colour-of-the-type);
  border-radius: 50%;
  font-family: var(--face-for-headlines);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
}

/* caf-wrd = words: the large Zilla Slab phrase of a line; caf-hnt = hint: the one sentence that says what to give */
.caf-wrd {
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 1.875rem);
  line-height: 1.15;
}
.caf-hnt {
  display: block;
  margin-block-start: 0.375rem;
  font-size: 1.0625rem;
  line-height: 1.35;
}

@media (max-width: 40rem) {
  .caf-lin { gap: 0.75rem; }
  .caf-lin::before { inline-size: 2.5rem; font-size: 1.25rem; }
}
