/*
  The shop's pages (src/shopPages.ts), Farm Boxes drawn as the redesign draws it (direction F,
  its `FarmBoxes` page), from the frame's parts (site.css: `.container`,
  `.band-oat`, `.card`, `.button`, `.eyebrow`, `.note-ok`, `.input`):

  - Farm Boxes: "Farm Boxes" and "Your pickup", "Change location" at the right; the picker, folded
    under the header until opened, the pickup card (pickupCard.css); then the products
    that come every pickup on the oat band, four panels a row (two on a phone), and the one-time
    extras below on cream;
  - a product's page as the shop drew it before the redesign (R274; Jeff, 2026-11-18): the
    pickup at the top, with "Change location" and the same picker folded under it (R347); the pictures on 65% of the width, the first whole and the rest two a row
    (one at a time, swiped, on a phone), the words beside them; the choices as round pills,
    filled when picked; how it is bought as boxed options; how many in a round box; the button
    across the column; the pickup's box; then "Add to your pickup", as Farm Boxes' cards;
  - the cart and the checkout, which keep the website's look until they are redesigned.
*/

/* A picture's <picture> only chooses its file (src/pictureMarkup.ts): its <img> is laid out as
   if it stood alone, so the rules below for an img hold as they are. Its AVIF <source> is not
   drawn, or it would take a place of its own in a row or a grid of pictures. */
picture {
  display: contents;
}

picture > source {
  display: none;
}

/* ===========================================================================================
   Farm Boxes: the header and the picker
   =========================================================================================== */

.boxes-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.boxes-title {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}

.boxes-pickup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 0;
}

.boxes-pickup .eyebrow {
  letter-spacing: 0.2em;
}

.boxes-pickup-name {
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
}

.boxes-facts {
  margin: 4px 0 0;
  color: var(--text-muted);
}

/* With no pickup known: a line and the pickups, a light row of links (Jeff, 2026-11-18). */
.boxes-head-choose {
  display: block;
}

.boxes-choose-line {
  margin: 14px 0 0;
  font-size: 18px;
}

.boxes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.boxes-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 8px 18px;
  border: 1px solid var(--green);
  border-radius: var(--radius-button);
  color: var(--ink);
  text-decoration: none;
  /* With a press's own (site.css, "A press, shown at once"). */
  transition:
    background-color 0.15s ease,
    opacity var(--press-out),
    scale var(--press-out);
}

.boxes-chip:hover {
  background: var(--oat-light);
}

.boxes-chip:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.boxes-chip-name {
  font-size: 18px;
  line-height: 1.25;
}

.boxes-chip-when {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 749px) {
  .boxes-chips > li {
    flex: 1 1 calc(50% - 5px);
  }

  .boxes-chip {
    height: 100%;
  }
}

/* What a pickup opens, blurred under the chooser: there to see, not to reach, fading out. */
.boxes-locked {
  position: relative;
  max-height: 760px;
  overflow: hidden;
  filter: blur(6px);
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to bottom, #000 45%, transparent);
}

.boxes-change {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.boxes-toggle {
  min-height: 48px;
  padding: 0 22px;
  font-size: 18px;
}

/*
  The picker folds away under the header and opens in place: its height, its fade and a 24 px
  slide over about half a second (the redesign); folded, it is hidden from a screen reader and
  from the keyboard as well (`inert`, set with `aria-hidden` by the page and its script).
*/
.picker-fold {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-24px);
  visibility: hidden;
  transition:
    grid-template-rows 520ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 520ms;
}

.picker-fold.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
  visibility: visible;
  transition:
    grid-template-rows 520ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .picker-fold,
  .picker-fold.is-open {
    transition: none;
  }
}

.picker-clip {
  min-height: 0;
  overflow: hidden;
}

.picker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}

.picker-inner {
  padding-top: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

/* On a product's page, the picker opens in the page's column under the pickup line (R347): the
   pickup card alone, with room under it before the product. */
.picker-in-column .picker {
  border: 0;
  background: none;
}

.picker-in-column .picker-inner {
  padding: 0 0 28px;
}

/* The pickup card (pickupCard.css), with the picker's button under its stops. */
.picker-go {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 18px;
}

.picker-go[hidden] {
  display: none;
}

.picker-cancel {
  min-height: 52px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.boxes-h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.15;
}

/* ===========================================================================================
   Farm Boxes: the products
   =========================================================================================== */

.boxes-band {
  border-top-color: #ddd5c2;
  border-bottom-color: #ddd5c2;
  background: var(--oat-light);
}

.boxes-section {
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.boxes-extras {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: var(--section-pad);
}

.boxes-none {
  margin: 0;
  color: var(--text-muted);
}

/* A page that only says something: couldn't find the pickup, not available. */
.shop-said {
  padding: clamp(24px, 5vw, 56px) 0;
}

.shop-said a {
  color: var(--ink);
}

/* ===========================================================================================
   A product's page, as the shop drew it before the redesign, from Jeff's picked mockups (R274;
   Jeff, 2026-11-18: "go back to what we had before"), in the redesign's frame and colors
   =========================================================================================== */

.shop-lede {
  margin: 0 0 28px;
}

.shop-pickup-line {
  margin: 0 0 18px;
  font-size: 15px;
}

.shop-pickup-line strong {
  color: var(--green);
  font-weight: 400;
}

.shop-pickup-line a {
  color: var(--ink);
}

/* Its pictures and its words side by side when there is room. */
.product {
  display: grid;
  gap: 24px;
}

@media (min-width: 750px) {
  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
}

/* Wide, as the website's: the pictures 65% less half its 16 px gap, the words 35% less the
   same, set in 46 px. */
@media (min-width: 990px) {
  .product {
    grid-template-columns: calc(65% - 8px) calc(35% - 8px);
    gap: 16px;
  }
  .product-words {
    padding-left: 46px;
  }
  /* A long page's pictures stay in view as it scrolls, under the header (R274). */
  .product-pictures {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
  }
}

.product-pictures img,
.product-pictures .product-picture-leaf {
  display: block;
  width: 100%;
  height: auto;
  background: var(--oat);
}

.product-pictures .product-picture-leaf {
  aspect-ratio: 4 / 3;
}

/* The first picture over the card's, which the browser has from the pickup's page: the page
   opens showing it, cut to the same box, and the sharp one covers it when it arrives (R263). */
.product-picture-over {
  position: relative;
  display: block;
  background: var(--oat);
}

.product-picture-over .product-picture-first {
  position: relative;
  background: none;
}

.product-picture-over .product-picture-behind {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-pictures-more {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.product-pictures-more img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* On a phone the pictures are one at a time, swiped, the next one showing at the edge. */
@media (max-width: 749px) {
  .product-pictures {
    display: flex;
    gap: 8px;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .product-pictures::-webkit-scrollbar {
    display: none;
  }
  .product-pictures-more {
    display: contents;
  }
  .product-pictures img {
    flex: 0 0 calc(100% - 8px);
    width: calc(100% - 8px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    scroll-snap-align: start;
  }
  .product-picture-over {
    flex: 0 0 calc(100% - 8px);
    width: calc(100% - 8px);
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }
  .product-picture-over .product-picture-first,
  .product-picture-over .product-picture-leaf {
    width: 100%;
  }
  .product-pictures:has(> :only-child) img,
  .product-pictures > .product-picture-over:only-child {
    flex-basis: 100%;
    width: 100%;
  }
}

.product-words h1 {
  margin-bottom: 18px;
}

/* A product's name, on its own page (R274). */
@media (min-width: 750px) {
  .product-name {
    font-size: 32px;
  }
}

.product-price {
  font-size: 18.4px;
  letter-spacing: 1.5px;
  color: var(--green);
  margin: 0 0 22px;
}

@media (min-width: 750px) {
  .product-price {
    font-size: 20.7px;
  }
}

/* "Sold out" or "Out of season" beside the price of a choice that is (R274, R341). */
.product-price .sold-out-pill {
  margin: 0 0 0 12px;
  vertical-align: 0.15em;
  letter-spacing: 0.04em;
}

/* A product's link with no pickup: its picture and price, as large as a card's, first (R274). */
.product-anywhere {
  max-width: 320px;
}

.product-anywhere img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-bottom: 18px;
}

/*
  The form, as the website's product form (read 2026-10-10, at its 11.5 px rem): a field's label
  14.95 px; the choices round pills, 16.1 px, 41 px tall, as wide as their words; "Quantity"'s
  round box 142 x 53.75 px with 45 px buttons; "Purchase Options" at the body's size, then a box
  each way, 12 px round, its words and price at the body's size (the one-time words a step
  smaller), the line under the weekly one at 0.85em.
*/
.choices-title {
  display: block;
  font-size: 14.95px;
  line-height: 1.435;
  letter-spacing: 0.46px;
  color: var(--text-muted);
  margin: 0 0 6.9px;
  padding: 0;
}

.add-to-cart fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.choices {
  max-width: 506px;
  margin-bottom: 13.8px !important;
}

.choices .choices-title {
  margin-bottom: 2.3px;
}

.choices ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

/* A choice: a round pill, filled when picked, as the website's options. */
.choice {
  display: inline-block;
  margin: 8.05px 5.75px 2.3px 0;
  /* One line is 41 px as the website's; a long name that wraps keeps room between its lines,
     and its lines even. */
  padding: 9.5px 23px;
  border: 1px solid var(--rule-input);
  border-radius: var(--radius-input);
  background: var(--card);
  color: var(--green);
  font-size: 16.1px;
  line-height: 1.25;
  text-wrap: balance;
  letter-spacing: 1.15px;
  text-align: center;
  cursor: pointer;
  /* With a press's own (site.css, "A press, shown at once"). */
  transition:
    border-color 0.1s ease,
    opacity var(--press-out),
    scale var(--press-out);
}

.choice:hover {
  border-color: var(--green);
}

.choice:has(input:checked) {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream);
}

.choice:has(input:focus-visible) {
  box-shadow:
    0 0 0 3.45px var(--cream),
    0 0 0 5.75px var(--green);
}

/* A choice sold out or out of season (R256, R341). */
.choice:has(input[data-not-sold]) .choice-name {
  text-decoration: line-through;
  opacity: 0.6;
}

.add-qty {
  margin: 0 0 17.25px;
}

/* Purchase Options: a box each way, the radio, its words and the price opposite. */
.add-how {
  margin: 0 0 28.75px !important;
}

.add-how[hidden] {
  display: none;
}

.add-how-title {
  display: block;
  margin: 0 0 16.1px;
  padding: 0;
  color: var(--text-muted);
}

.add-bought {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 11.5px;
  padding: 11.5px 16.1px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.add-bought + .add-bought {
  margin-top: 9.2px;
}

.add-bought input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.add-bought-price {
  align-self: start;
  padding-left: 11.5px;
  white-space: nowrap;
}

.add-bought-note {
  grid-column: 2 / 4;
  margin-top: 11.5px;
  font-size: 0.85em;
  line-height: 1.35;
}

.add-bought-once .add-bought-name {
  font-size: 0.85em;
}

.add-bought-once .add-bought-price {
  align-self: center;
}

/* How it comes, where it is bought one way only (R213). */
.add-how-note {
  max-width: 506px;
  margin: 0 0 28.75px;
  color: var(--text-muted);
}

.add-how-note[hidden] {
  display: none;
}

.add-button {
  width: 100%;
  max-width: 506px;
}

/* "Sold out" or "Out of season": a light fill and green text at full strength (R274). */
.add-button:disabled {
  border-color: var(--rule-input);
  background: var(--oat);
  color: var(--green-deep);
  opacity: 1;
  cursor: not-allowed;
}

/* ----- A press, shown at once (site.css) ------------------------------------------------- */

/* The shop's shapes, which press in: the pickups' chips, a product's choices and its purchase
   options. Its icons, steppers, rows and links fade, as every page's do. */
:is(.boxes-chip, .choice, .add-bought) {
  --pressed-scale: var(--press-shrink);
  --pressed-opacity: 1;
}

/* ----- End of a press, shown at once ----------------------------------------------------- */

.add-said {
  margin: 12px 0 0;
}

.add-said a {
  color: var(--ink);
}

/* "Tell me when it's back", under the button of a choice that can't be bought (R256, R341). */
.notify {
  max-width: 506px;
  margin-top: 22px;
}

.notify[hidden] {
  display: none;
}

.notify input[type='email'] {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: var(--radius-input);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

.notify input[type='email']:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.notify-button {
  width: 100%;
  margin-top: 10px;
}

.notify-said {
  margin: 12px 0 0;
}

.description {
  margin: 32px 0 24px;
}

.description h2,
.description h3 {
  margin-top: 1em;
}

.description a {
  color: var(--ink);
}

/* The pickup's box (R266). */
.pickup-facts {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius-box);
  background: var(--oat);
}

.pickup-facts h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.pickup-facts p {
  margin: 6px 0 0;
  line-height: 1.6;
}

/* "Add to your pickup": more of the pickup's, as Farm Boxes' cards. */
.product-more {
  margin-top: clamp(48px, 7vw, 80px);
}

.product-more h2 {
  margin: 0;
}

/* A wholesale flower's look-only page; the Latin name in italics (R274). */
.flower-latin {
  margin: 6px 0 0;
  font-size: 20px;
  font-style: italic;
  color: var(--text-muted);
}

.flower-stems {
  margin: 12px 0 0;
}

.flower-choices {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}

.flower-choices th,
.flower-choices td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.flower-choices th {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.flower-price {
  white-space: nowrap;
}

.flower-unit {
  font-size: 14px;
  color: var(--text-faint);
}

/* ===========================================================================================
   How many, on a product's page and in the cart (public/cart.js): the website's round box, its
   minus and plus at the sides, the number between.
   =========================================================================================== */

.stepper {
  display: flex;
  width: 142px;
  min-height: 53.75px;
  border: 1px solid var(--green);
  border-radius: var(--radius-input);
  background: var(--paper);
  color: var(--green);
}

.stepper-button {
  flex: 0 0 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-input);
  background: none;
  color: inherit;
  cursor: pointer;
}

.stepper-button svg {
  width: 11.5px;
  height: auto;
}

.stepper-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stepper input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 0 5.75px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18.4px;
  letter-spacing: 0.69px;
  opacity: 0.85;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-button:focus-visible,
.stepper input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

/*
  The cart, as the website's (its theme's cart, read 2026-10-10 with an item in it): "Your cart"
  with "Continue shopping" at the right; the lines as a table under small capitals "Product",
  "Quantity" and "Total", a rule under them, 46 px above each line; a 132 px picture, the name
  and how it is bought, the 142 x 53.75 px box with its minus and plus and a remove icon, the
  total at the right; a rule under the lines; then the summary, 402.5 px (35rem) wide at the
  right, "Check out" across it. On a phone each line is a grid: the picture at the left, the
  words and total beside it, how many under them; the summary across the page.

  The cart's script draws it after the page is shown: the cart is a screen tall from the first
  moment and the picker waits unseen, so nothing moves when it is drawn.
*/
.cart {
  min-height: 100vh;
}

.cart-pickup-unseen {
  display: none !important;
}

.cart-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 0 28px;
}

.cart-title h1 {
  margin: 0;
}

.cart-continue {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.cart-continue:hover {
  text-decoration-thickness: 2px;
}

.cart-items {
  width: 100%;
  border-collapse: collapse;
}

.cart-items th {
  padding: 0 0 20.7px;
  border-bottom: 1px solid var(--green-line);
  color: var(--green-soft);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-align: left;
  text-transform: uppercase;
  opacity: 0.85;
}

.cart-items td {
  padding: 46px 0 0;
  vertical-align: top;
}

.cart-items tbody tr:last-child td {
  padding-bottom: 34.5px;
}

.cart-items tbody {
  border-bottom: 1px solid var(--green-line);
}

.cart-items .cart-col-total,
.cart-item-total {
  text-align: right;
}

.cart-item.stopped {
  opacity: 0.7;
}

.cart-item-media {
  width: 132px;
}

/* The words' column as the website's: 35rem wide, 50rem from 990 px. */
@media (min-width: 750px) {
  .cart-item-details {
    width: 402.5px;
  }
  .cart-picture {
    max-width: none;
  }
}

@media (min-width: 990px) {
  .cart-item-details {
    width: 575px;
  }
}

.cart-picture {
  display: block;
  width: 132px;
  height: auto;
  aspect-ratio: 4 / 3;
  background: var(--card);
  object-fit: cover;
}

.cart-item-details p {
  margin: 0;
  max-width: 575px;
}

.cart-line-name {
  color: var(--green);
  font-size: 16.1px;
  line-height: 1.5;
  letter-spacing: var(--heading-spacing);
}

.cart-line-how {
  margin-top: 6.9px !important;
  font-size: 15px;
  line-height: 1.435;
}

.cart-line-change {
  display: flex;
  align-items: center;
  gap: 0 11.5px;
}

.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-soft);
  cursor: pointer;
}

.cart-remove svg {
  width: 17.25px;
  height: 17.25px;
}

.cart-remove:hover {
  color: var(--green);
}

.cart-remove:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.cart-item-total {
  color: var(--green);
  white-space: nowrap;
  letter-spacing: 1.15px;
}

/* Wide: the product's column 60% (50% to 990 px), each column 46 px from the last. */
@media (min-width: 750px) {
  .cart-items th:first-child {
    width: 50%;
  }
  .cart-items th + th,
  .cart-items td + td {
    padding-left: 46px;
  }
  .cart-items .cart-col-quantity,
  .cart-item-quantity {
    padding-left: 57.5px !important;
  }
}

@media (min-width: 990px) {
  .cart-items th:first-child {
    width: 60%;
  }
  .cart-items .cart-col-quantity,
  .cart-item-quantity {
    padding-left: 69px !important;
  }
}

/* A phone: each line a grid, as the website's; no "Quantity" heading. */
@media (max-width: 749px) {
  .cart-items,
  .cart-items thead,
  .cart-items tbody {
    display: block;
    width: 100%;
  }
  .cart-items thead tr {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgb(70 82 62 / 0.2);
    margin-bottom: 46px;
  }
  .cart-items th {
    border: 0;
  }
  .cart-items .cart-col-quantity {
    display: none;
  }
  .cart-items tbody {
    padding-bottom: 34.5px;
  }
  .cart-item {
    display: grid;
    grid-template: repeat(2, auto) / repeat(4, minmax(0, 1fr));
    gap: 17.25px;
    margin-bottom: 40px;
  }
  .cart-item:last-child {
    margin-bottom: 0;
  }
  .cart-items td,
  .cart-items tbody tr:last-child td {
    display: block;
    padding: 0;
  }
  .cart-item-media {
    grid-row: 1 / 3;
    width: auto;
  }
  .cart-picture {
    width: 100%;
  }
  .cart-item-details {
    grid-column: 2 / 4;
  }
  .cart-item-quantity {
    grid-column: 2 / 5;
  }
  .cart-item-total {
    grid-column: 4;
    grid-row: 1;
  }
}

/* The summary: at the right under the lines, "Check out" across it. */
.cart-footer {
  display: flex;
  justify-content: flex-end;
  padding: 46px 0 0;
}

.cart-summary {
  display: grid;
  gap: 17.25px;
  width: 100%;
}

@media (min-width: 750px) {
  .cart-summary {
    width: 402.5px;
  }
}

.cart-pickup {
  display: grid;
  gap: 6.9px;
  font-size: 14.95px;
  letter-spacing: 0.46px;
}

/* The pickup's list: round, with the website's small arrow drawn at the right. */
.cart-pickup select {
  width: 100%;
  min-height: 51.75px;
  padding: 0 44px 0 17px;
  border: 1px solid var(--green);
  border-radius: var(--radius-input);
  background: var(--paper);
  color: var(--green);
  font: inherit;
  font-size: 16.1px;
  letter-spacing: 0.69px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 19px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cart-pickup select:focus-visible,
.cart-line-change input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.cart-when {
  margin: 0;
  color: var(--green);
  font-size: 15px;
  line-height: 1.5;
}

.cart-summary > p {
  margin: 0;
}

.cart-totals {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 24px;
  margin: 0;
}

.cart-totals dt,
.cart-totals dd {
  margin: 0;
  font-size: 15px;
}

.cart-totals dd {
  text-align: right;
  letter-spacing: 1.15px;
}

.cart-totals .strong {
  margin-top: 8px;
  color: var(--green);
}

.cart-totals dt.strong {
  font-size: 16px;
}

.cart-totals dd.strong {
  font-size: 20.7px;
}

.cart-go {
  display: flex;
  width: 100%;
}

/* An empty cart: its words and the way back, in the middle, as the website's. */
.cart-empty {
  padding-top: 40px;
  text-align: center;
}

/*
  The checkout, as Shopify's checkout is (R222, R223): its own header with the logo and the way
  back to the cart, no menu and no footer. A browser not signed in first sees one box, "Log in
  or register", in the middle at the top. Then one page: on the left, white, the pickup, the
  buyer's details and the payment under small headings, with one button across; on the right a
  pale panel to the page's edge with the order. Together at most 1200 px, in the middle. On a
  phone the order is under a bar at the top, opened by a tap. Inputs are rectangles with small
  corners, a small label above each. Everything the script draws after the page is shown goes
  into a place kept for it, or below everything else, so nothing moves.
*/
/* The checkout's header scrolls away with the page, as Shopify's does: held at the top, it covered
   the top of the order panel, which is held there as the left column scrolls. */
.checkout-header {
  position: relative;
}

/*
  The checkout's header is a row with the farm's name in the middle, linking home, and the way
  back to the cart at the right (R333, site.css); the thank-you after paying has the name alone.
*/
body:has(.checkout-done) .checkout-header .checkout-cart {
  visibility: hidden;
}

/* A hairline under it, so the header is set off from the white page below it; none on a phone
   over the order's tinted bar, which sets it off itself, as shops' checkouts have it. */
.checkout-header {
  border-bottom: 1px solid rgb(70 82 62 / 0.18);
}

@media (max-width: 999px) {
  body:has(.checkout-toggle) .checkout-header {
    border-bottom: 0;
  }
}

.site-main:has(> .checkout) {
  display: flex;
  flex-direction: column;
}

.checkout {
  flex: 1;
  display: flex;
  flex-direction: column;
  --checkout-ink: var(--green);
  --checkout-pale: var(--oat);
  --checkout-line: var(--rule);
  /* The boxes the customer reads and pays in (the card on file, the card fields' box, what is
     being paid): halfway between white and the cream page, so no box glares white and each
     still stands off the page (Jeff, 2026-11-19: "The white's fairly stark, and then the
     invoice has no difference in background color"). Fields typed in stay white. */
  --checkout-box: #fbf8f2;
  --checkout-radius: 5px;
  color: var(--checkout-ink);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.checkout h1 {
  font-size: 26px;
}

.checkout-opening {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Step one: one box, in the middle at the top, as a store's login is. */
.checkout-login {
  width: calc(100% - 40px);
  max-width: 440px;
  margin: 48px auto;
  padding: 32px 28px;
  border: 1px solid var(--checkout-line);
  border-radius: 8px;
}

.checkout-login-form {
  display: grid;
  gap: 16px;
}

.checkout-lede {
  margin: 0;
}

.checkout-login-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0;
}

/* Inputs: rectangles with small corners, across, a small label above. */
.checkout-field {
  display: grid;
  gap: 5px;
  font-size: 13px;
}

.checkout-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--checkout-line);
  border-radius: var(--checkout-radius);
  background: var(--paper);
  color: var(--checkout-ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.checkout-field input:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.checkout-field input:disabled,
.checkout-check input:disabled + span {
  opacity: 0.6;
}

.checkout-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.checkout-check input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.checkout-go {
  width: 100%;
  border-radius: var(--radius-frame);
}

.checkout-go:disabled {
  opacity: 0.6;
  cursor: default;
}

/* What checkout has to say (a missing field, a refused card) is in the page's own ink: the
   words say what to do; red would be an alarm. */
.checkout-problem {
  margin: 12px 0 0;
  color: var(--text-muted);
}

/* The sign-in box's line keeps its room while empty, so words appearing move nothing, and
   they fade in. */
.checkout-login-form .checkout-problem {
  margin: 0;
  min-height: 1lh;
  transition: opacity 160ms ease;
}

.checkout-login-form .checkout-problem:empty {
  opacity: 0;
}

/* Step two: the page. */
.checkout-page {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

.checkout-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-bottom: 1px solid var(--checkout-line);
  background: var(--checkout-pale);
  color: var(--checkout-ink);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.checkout-toggle-total {
  font-size: 17px;
}

.checkout-toggle-words {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.checkout-toggle-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.checkout-toggle[aria-expanded='true'] .checkout-toggle-caret {
  transform: translateY(2px) rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
  .checkout-toggle-caret {
    transition: none;
  }
}

.checkout-aside {
  display: none;
  background: var(--checkout-pale);
  border-bottom: 1px solid var(--checkout-line);
}

.checkout-aside.open {
  display: block;
}

.checkout-aside-inner {
  padding: 20px;
}

.checkout-main {
  padding: 24px 20px 48px;
}

/* Who is buying, the first line of "Your details": the email, with "Change" for someone new or
   "Sign out" under the ⋮ when signed in (checkout.js). */
.checkout-details-who {
  margin: 0 0 12px;
}

.checkout-details-who .email-menu {
  display: inline-flex;
  justify-content: flex-start;
  margin: 0;
}

@media (min-width: 1000px) {
  /* The two columns run to the bottom of the window, the panel pale all the way. */
  .checkout-page {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-content: stretch;
  }

  .checkout-toggle {
    display: none;
  }

  .checkout-page {
    grid-template-rows: auto 1fr;
  }

  .checkout-main {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    width: 100%;
    max-width: 600px;
    padding: 40px 48px 64px 24px;
  }

  .checkout-aside,
  .checkout-aside.open {
    display: block;
    grid-column: 2;
    grid-row: 1 / -1;
    border-bottom: 0;
    border-left: 1px solid var(--checkout-line);
  }

  .checkout-aside-inner {
    position: sticky;
    top: 0;
    max-width: 600px;
    padding: 40px 24px 64px 48px;
  }
}

/* Someone new's email, with "Change", the first line of "Your details". */
.checkout-who {
  margin: 0;
}

.checkout-section {
  margin: 0 0 28px;
}

.checkout-section h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.checkout-pickup {
  display: grid;
  margin: 0;
}

.checkout-pickup-place {
  font-size: 16px;
}

.checkout-change {
  display: inline-block;
  margin-top: 6px;
  color: var(--checkout-ink);
  text-underline-offset: 0.3em;
}

/* A signed-in customer's details, as the farm keeps them (R225). */
.checkout-details {
  display: grid;
  margin: 0;
}

.checkout-details-change {
  margin: 6px 0 0;
  font-size: 14px;
}

/* A signed-in customer with no phone number on file types one, under what the farm keeps (R343). */
.checkout-details-phone {
  margin-top: 14px;
}

.checkout-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

/*
  The card on file in its frame (site.css, cardFrame.js), with the checkout's lines.
  Its "Payment" names the section, so the section's own heading is kept for a screen reader
  only while the frame shows; with the card fields open, the heading shows again.
*/
.checkout .card-frame {
  border-color: var(--checkout-line);
  background: var(--checkout-box);
}

.checkout .card-frame-opener {
  border-top-color: var(--checkout-line);
}

.checkout-section:has(> .card-frame:not([hidden])) > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.checkout-section > .card-frame + .checkout-card {
  margin-top: 12px;
}

/* Under the card fields: what the card typed does with it (R205, R209, R236). */
.checkout-card-words {
  margin: 10px 0 0;
  font-size: 14px;
  font-style: italic;
  color: var(--green-soft);
}

.checkout-section .card-on-file-again {
  margin: 2px 0 0;
}

/*
  The place kept for Stripe's card fields, as tall as they open (measured 2026-10-10: 284 px on a
  phone and 212 px wide), so nothing moves when they do. A card kept for a share is the same: the
  page's own sentence says what it may be charged for, not Stripe's (R102).
*/
.checkout-card {
  min-height: 320px;
  padding: 14px;
  border: 1px solid var(--checkout-line);
  border-radius: var(--checkout-radius);
  background: var(--checkout-box);
}

@media (min-width: 1000px) {
  .checkout-card {
    min-height: 250px;
  }
}

.checkout-card > p {
  margin: 0;
}

.checkout-agree {
  margin: 0 0 16px;
  font-size: 14px;
}

/* The order: each item with its picture and how many, then what it comes to. */
.checkout-items {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.checkout-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.checkout-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border: 1px solid var(--checkout-line);
  border-radius: 8px;
  background: var(--paper);
}

/* Its <picture> too, which an edge-to-edge page's rule (site.css) makes a block of its own. */
.checkout-thumb picture,
.checkout-thumb img,
.checkout-thumb .leaf-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
}

.checkout-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgb(70 82 62 / 0.85);
  color: var(--paper);
  font-size: 12px;
  line-height: 21px;
  text-align: center;
}

.checkout-item-words {
  display: grid;
}

.checkout-item-how {
  font-size: 13px;
  color: var(--green-soft);
}

.checkout-item-price {
  text-align: right;
  white-space: nowrap;
}

.checkout-sums {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  margin: 0;
}

.checkout-sums dt,
.checkout-sums dd {
  margin: 0;
}

.checkout-sums dd {
  text-align: right;
}

.checkout-sums .checkout-total {
  margin-top: 6px;
  font-size: 19px;
}

/* An amount with its note under it, smaller and gray: "starts Thu, Nov 12" (R285, R287). In the
   cart's and the checkout's sums and the phone's order bar. */
.amount {
  display: inline-grid;
  justify-items: end;
}

.amount-note {
  color: var(--green-soft);
  font-size: 13px;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1.4;
  white-space: nowrap;
}

/*
  Invoices (R305; src/accountPages.ts, `invoicesPage`): the shop's checkout for a customer's open
  invoices. On a phone, the heading, then what is being paid in rows closed to start, then the
  card and "Pay now" (Jeff, 2026-11-16: "bring the single invoice or list of invoices on top,
  above the payment"), in the page's own order. On a computer, the shop's two columns, the
  heading, the card and "Pay now" on the left and what is being paid open on the right.
*/
.invoice-checkout-page {
  grid-template-areas: 'title' 'who' 'order' 'card' 'go';
}

/* Who is paying, the first thing under the header or the heading (Jeff, 2026-11-16). */
.invoice-checkout-who {
  grid-area: who;
  padding: 16px 20px 0;
}

.invoice-checkout-who .email-menu {
  margin: 0;
}

.invoice-checkout-heading {
  grid-area: title;
}

.invoice-checkout-heading:not(.visually-hidden) {
  padding: 24px 20px 0;
}

.invoice-checkout-card {
  grid-area: card;
  padding-top: 28px;
  padding-bottom: 0;
}

.invoice-checkout-card .checkout-section {
  margin-bottom: 8px;
}

.invoice-checkout .checkout-aside {
  grid-area: order;
  display: block;
  background: none;
  border-bottom: 0;
}

.invoice-checkout .checkout-aside-inner {
  padding: 16px 20px 0;
}

.invoice-checkout-go {
  grid-area: go;
  padding: 20px 20px 48px;
}

.invoice-checkout-back {
  margin: 18px 0 0;
  font-size: 14px;
  text-align: center;
}

/* On a phone, nothing under "Pay now" (Jeff, 2026-11-16): the way back to the orders shows only
   on a computer. */
@media (max-width: 999px) {
  .invoice-checkout-back {
    display: none;
  }
}

.invoice-checkout-back a {
  color: var(--checkout-ink);
  text-underline-offset: 0.3em;
}

/* The privacy policy's link, small, under a checkout's pay button (src/siteFrame.ts). */
.checkout-privacy {
  margin: 16px 0;
  font-size: 13px;
  text-align: center;
}

.checkout-privacy a {
  color: var(--green);
  text-underline-offset: 0.3em;
}

/* An invoice's number after the customer's own name for it, never broken. */
.invoice-checkout-number {
  color: var(--green-soft);
  white-space: nowrap;
}

/* A row that opens an invoice's lines: its photos, its words, its amount and a caret. */
.invoice-open {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--checkout-ink);
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.invoice-open-words {
  display: grid;
  min-width: 0;
}

.invoice-open-name {
  overflow-wrap: anywhere;
}

.invoice-open-more {
  color: var(--green-soft);
  font-size: 13px;
}

.invoice-open-amount {
  font-size: 16px;
  white-space: nowrap;
}

.invoice-caret {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.invoice-open[aria-expanded='true'] .invoice-caret {
  transform: rotate(180deg);
}

.invoice-open[aria-expanded='false'] + .checkout-items,
.invoice-open[aria-expanded='false'] + .invoice-one {
  display: none;
}

/* Two photos stacked, the second tucked under the first. */
.invoice-stack {
  display: flex;
}

.invoice-stack-photo {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 2px solid var(--paper);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--checkout-line);
}

.invoice-stack-photo:first-child {
  z-index: 1;
}

.invoice-stack-photo + .invoice-stack-photo {
  margin-left: -20px;
  margin-top: 8px;
}

.invoice-stack-photo picture,
.invoice-stack-photo img,
.invoice-stack-photo .leaf-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
}

/*
  What is being paid in a box, as the card on file is in its frame (cardFrame.js), with the
  checkout's lines and the frame's corners: one invoice's row alone, several invoices' rows in one box with a
  line between each (Jeff, 2026-11-16).
*/
.invoice-summary,
.invoice-rows {
  border: 1px solid var(--checkout-line);
  border-radius: var(--radius-frame);
  background: var(--checkout-box);
}

/* One invoice: a row on a phone over its lines and sums. */
.invoice-summary {
  padding: 12px 14px;
}

.invoice-one {
  padding-top: 8px;
}

/* On a phone, one invoice opened grows its box downward: the row, a line, then its lines and sums
   inside the same box, as each of several invoices opens inside its own row (Jeff, 2026-11-19:
   "it's a little weird that it kind of expands wider than the parent"). */
@media (max-width: 999px) {
  .invoice-summary[aria-expanded='true'] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .invoice-summary[aria-expanded='true'] + .invoice-one {
    padding: 12px 15px 4px;
    border: 1px solid var(--checkout-line);
    border-top: 0;
    border-radius: 0 0 var(--radius-frame) var(--radius-frame);
    background: var(--checkout-box);
  }
}

/* Its name and day: on a phone on the row, so shown over its lines only on a computer. */
.invoice-checkout-title {
  display: none;
  margin: 0 0 2px;
  font-size: 19px;
}

.invoice-checkout-day {
  display: none;
  margin: 0 0 20px;
  color: var(--green-soft);
}

.invoice-one .checkout-items {
  padding-top: 8px;
}

/* Several: each a row with its tick, which has a tap area of its own; an unticked one faint. */
.invoice-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.invoice-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding-right: 14px;
}

.invoice-row + .invoice-row {
  border-top: 1px solid var(--checkout-line);
}

.invoice-row-tick {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: 2px;
  cursor: pointer;
}

.invoice-row-tick input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.invoice-row:has(.invoice-row-tick input:not(:checked)) .invoice-open {
  opacity: 0.5;
}

.invoice-row .checkout-items {
  grid-column: 2;
  margin: 0;
  padding: 8px 0 18px;
}

.invoice-rows-total {
  margin-top: 8px;
}

.invoice-rows-total [data-pay-count] {
  color: var(--green-soft);
  font-size: 15px;
}

@media (min-width: 1000px) {
  .invoice-checkout-page {
    grid-template-areas: 'title order' 'who order' 'card order' 'go order';
    grid-template-rows: auto auto auto 1fr;
  }

  .invoice-checkout-who {
    justify-self: end;
    width: 100%;
    max-width: 600px;
    padding: 40px 48px 0 24px;
  }

  .invoice-checkout-heading:not(.visually-hidden) ~ .invoice-checkout-who {
    padding-top: 16px;
  }

  .invoice-checkout-heading:not(.visually-hidden) {
    justify-self: end;
    width: 100%;
    max-width: 600px;
    padding: 40px 48px 0 24px;
  }

  /* The card under who is paying. */
  .invoice-checkout-card {
    padding-top: 20px;
  }

  .invoice-checkout .checkout-aside {
    grid-row: 1 / -1;
    background: var(--checkout-pale);
  }

  .invoice-checkout .checkout-aside-inner {
    padding: 40px 24px 64px 48px;
  }

  .invoice-checkout-go {
    justify-self: end;
    width: 100%;
    max-width: 600px;
    padding: 12px 48px 64px 24px;
  }

  /* One invoice: its lines and sums open, no row. */
  .invoice-summary {
    display: none;
  }

  .invoice-open[aria-expanded='false'] + .invoice-one {
    display: block;
  }

  .invoice-one {
    padding-top: 0;
  }

  .invoice-checkout-title,
  .invoice-checkout-day {
    display: block;
  }

  .invoice-stack-photo,
  .invoice-stack-photo + .invoice-stack-photo {
    border-color: var(--checkout-pale);
  }
}

/* The thank-you after paying, the shop's and the invoices', all of it centered under the header:
   the bouquet, the thanks, every line and the button (Jeff, 2026-11-16: "please center the
   flower animation, the thank you, all of that text. Please just please center the whole
   shebang"). */
.checkout-done {
  text-align: center;
}

.checkout-done h1 {
  margin-bottom: 16px;
}

.notice {
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: var(--radius-box);
  background: var(--cream);
  color: var(--green);
}

.checkout .notice {
  border-radius: var(--checkout-radius);
}

.notice[data-kind='problem'] {
  background: rgb(176 58 46 / 0.08);
  color: rgb(140 40 30);
}

.notice ul {
  margin: 6px 0 0;
}

.quiet {
  color: var(--green-soft);
}

.small {
  font-size: 14px;
}

/*
  The flowers while a payment goes through, and the bouquet once it has (public/garden.js):
  farm_hub's Build button garden (`.oe-garden`). While paying, the flowers grow in the Pay
  button's place, at its height, beside a farm chore with a light passing through it, so
  nothing below moves. The leaves, soil and twine are farm_hub's colors; the chore is in the
  checkout's own ink and type.
*/
.garden,
.garden-bouquet {
  --leaf: #3d7a5a;
  --soil: #cabfae;
  --twine: #a67a4c;
}

.garden {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
}

.garden-bed {
  display: block;
  flex: none;
  width: 34px;
  height: 47px;
  overflow: visible;
}

/*
  The words keep one width, the longest chore's ("Snipping stem ends…", 19 characters), so
  they don't jump as the chore changes.
*/
.garden-words {
  position: relative;
  display: block;
  width: 9.6em;
  height: 1.5em;
  overflow: hidden;
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0.3px;
}

/* A new chore slides up in as the old one slides out. */
.garden-chore {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  line-height: 1.5em;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.32s ease;
  /* The shimmer: a pale light passing left to right through the words, then resting. */
  color: var(--checkout-ink, var(--green));
  background: linear-gradient(
    100deg,
    var(--checkout-ink, var(--green)) 0%,
    var(--checkout-ink, var(--green)) 38%,
    rgb(176 190 152) 50%,
    var(--checkout-ink, var(--green)) 62%,
    var(--checkout-ink, var(--green)) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: garden-shimmer 2.2s ease-in-out infinite;
}

.garden-chore.is-out {
  transform: translateY(-80%);
  opacity: 0;
}

.garden-chore.is-in {
  transform: translateY(80%);
  opacity: 0;
}

@keyframes garden-shimmer {
  0% {
    background-position: 100% 0;
  }
  55% {
    background-position: 0% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .garden-chore {
    animation: none;
    -webkit-text-fill-color: currentColor;
    background: none;
    transition: none;
  }
}

/*
  Once paid: the bouquet, made and tied, above the thanks, in the middle as the words are. Its
  drawing is cut to the tied bouquet (garden.js), so these are its own size; the stems come in
  from beyond it as they are laid in.
*/
.garden-bouquet-bed {
  display: block;
  width: 142px;
  height: 160px;
  margin: 0 auto 12px;
  overflow: visible;
}

@media (max-width: 749px) {
  .garden-bouquet-bed {
    width: 124px;
    height: 140px;
  }
}
