/*
  The farm's website frame (src/siteFrame.ts): the look of fullcirclefarm.eco, the farm's current
  website (R199), for every public page this service draws. Its theme is Shopify's Dawn, with
  the farm's settings, read from the site on 2026-10-10:

  - Ovo for body and headings; the root size 62.5% x 1.15, so 1rem there is 11.5 px here. Body
    17.25 px (18.4 px from 750 px wide), letter-spacing 0.69 px, line-height 1.7; headings at
    0.87 of the theme's sizes, letter-spacing 0.6 px, line-height 1.3.
  - Colors: the page's text the farm's green rgb(70 82 62) at 75%, headings at full; the header
    black at 75%; the footer rgb(37 37 37); product cards rgb(247 248 250) with slate text
    rgb(56 80 104).
  - A 2 px button 52 px tall, inputs and option pills round (40 px), cards 13.8 px round.
  - The page 57.5 px from each edge (17.25 px on a phone); the menu at the left, the logo in
    the middle and the cart at the right from 990 px; under that a menu button, the logo and
    the cart.

  Ovo is served from beside this file (OFL), asked for at once by every page (siteFrame.ts).
  Until it comes, the text is drawn in a serif the device has, sized and spaced as Ovo is, so
  nothing moves when Ovo replaces it: the sizes are Ovo's own (2048 units, 1770 above the line
  and 534 below, its letters 0.436 of the size wide in running text) over each fallback's,
  measured from the fonts' files. Times New Roman and Liberation Serif share their widths;
  DejaVu Serif is the Linux default. The icons are this service's own drawings.
*/
@font-face {
  font-family: 'Ovo';
  src: url('/assets/ovo-latin.f15f985cf428.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Ovo fallback';
  src:
    local('Times New Roman'), local('TimesNewRomanPSMT'),
    local('Liberation Serif'), local('LiberationSerif');
  size-adjust: 107.3%;
  ascent-override: 80.55%;
  descent-override: 24.3%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Ovo fallback DejaVu';
  src: local('DejaVu Serif'), local('DejaVuSerif');
  size-adjust: 85.18%;
  ascent-override: 101.47%;
  descent-override: 30.61%;
  line-gap-override: 0%;
}

:root {
  --green: rgb(70 82 62);
  --green-soft: rgb(70 82 62 / 0.75);
  /*
    Secondary text that reads: the farm's green, solid, at a contrast of 5.5:1 on --paper, 5.3:1
    on --card and 5.1:1 on --cream (WCAG AA asks 4.5:1). --green-soft is 4.3:1 on white.
  */
  --green-quiet: rgb(98 108 91);
  /* Lighter than the quiet words, still 4.8:1 on white: the farm's green at 80%. */
  --green-light: rgb(107 117 101);
  --green-pill: rgb(70 82 62 / 0.55);
  --green-faint: rgb(70 82 62 / 0.12);
  --green-line: rgb(70 82 62 / 0.08);
  /*
    What is still owed, on a small rounded label: a soft tan with dark ink, warm and never a
    warning's color (principle 1). The ink is 6.7:1 on the tan.
  */
  --sand: rgb(238 226 204);
  --sand-ink: rgb(94 72 40);
  /*
    Paid, on the same label, and how many invoices are open beside "Account": a pale sage with
    deep green ink, so it reads green, not grey. The ink is 7.9:1 on it.
  */
  --sage-pale: rgb(222 233 210);
  --sage-pale-ink: rgb(52 72 42);
  --header-ink: rgb(0 0 0);
  --header-soft: rgb(0 0 0 / 0.75);
  --footer-ink: rgb(37 37 37);
  --slate: rgb(56 80 104);
  --sage: #55654b;
  --cream: rgb(245 244 240);
  --card: rgb(247 248 250);
  --paper: #fff;
  /* What Stripe's card fields on the checkout are told (public/stripeFields.js). */
  --ink: #46523e;
  --sage-deep: #46523e;
  --line-strong: rgba(70, 82, 62, 0.35);
  --critical: #8c281e;
  --font: 'Ovo', 'Ovo fallback', 'Ovo fallback DejaVu', serif;
  --page-width: 1840px;
  --gutter: 17.25px;
  --radius-card: 13.8px;
  --radius-box: 16px;
  --radius-button: 2px;
  --radius-input: 40px;
  --body-size: 17.25px;
  --heading-spacing: 0.6px;
}

@media (min-width: 750px) {
  :root {
    --gutter: 57.5px;
    --body-size: 18.4px;
  }
}

* {
  box-sizing: border-box;
}

html {
  /*
    The scrollbar's place kept whether the page scrolls or not, so a page that grows or shrinks
    (a row opened, a frame closed) keeps its width where scrollbars take room (a Mac with a
    mouse, Windows) and nothing moves sideways. Where scrollbars float over the page, nothing.
  */
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  /* Safari's grey flash on a tapped label or button: each control shows its own state. */
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--green-soft);
  font-family: var(--font);
  font-size: var(--body-size);
  line-height: 1.696;
  letter-spacing: 0.69px;
  accent-color: var(--green);
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--green);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: var(--heading-spacing);
  margin: 0 0 0.5em;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 17px;
}

@media (min-width: 750px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 18px;
  }
}

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

/* The width and height a picture is given only reserve its shape; CSS sizes it. */
img {
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The header: on a phone the menu button, the logo and the cart; wide, the menu at the left. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  color: var(--header-soft);
}

.site-header-row {
  position: relative;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 11px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--header-ink);
}

.site-icon svg {
  width: 26px;
  height: 26px;
}

/*
  The header's left part: the menu's button, or its links in a row where they fit. Which one is
  decided below by this part's own width, not the screen's: it is a third of the row less half
  the logo, and the whole half where a page has no logo (the home page).
*/
.site-nav {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  container: site-nav / inline-size;
}

.site-menu-button {
  margin-left: -10px;
  cursor: pointer;
}

.site-menu-button .site-menu-close,
.site-menu-open:checked + .site-menu-button .site-menu-bars {
  display: none;
}

.site-menu-open:checked + .site-menu-button .site-menu-close {
  display: block;
}

.site-menu-open:focus-visible + .site-menu-button {
  outline: 2px solid var(--header-soft);
  outline-offset: -2px;
}

.site-logo {
  grid-column: 2;
  grid-row: 1;
  display: block;
  line-height: 0;
}

.site-logo img {
  display: block;
  width: 90px;
}

/* On a phone the menu opens below the header, over the page. */
.site-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 66px);
  overflow-y: auto;
  background: var(--paper);
  border-top: 1px solid rgb(0 0 0 / 0.08);
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
  padding: 12px 0 24px;
}

.site-menu-open:checked ~ .site-menu {
  display: block;
}

.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  display: block;
  padding: 11px 32px;
  color: var(--header-soft);
  font-size: 20.7px;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a[aria-current='page'] {
  color: var(--header-ink);
}

.site-menu a[aria-current='page'] {
  background: rgb(0 0 0 / 0.04);
}

/* The cart, and "Account" when the browser is signed in: at the right, as the website's icons. */
.site-tools {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: -10px;
}

.site-cart {
  position: relative;
  text-decoration: none;
}

.site-cart:hover svg {
  transform: scale(1.07);
}

/* Over the icon, not beside it: when the script fills it in, nothing moves. */
.site-cart-count {
  position: absolute;
  left: 25px;
  bottom: 7px;
  min-width: 19.5px;
  height: 19.5px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--header-ink);
  color: var(--paper);
  font-size: 10.5px;
  line-height: 19.5px;
  letter-spacing: 0;
  text-align: center;
}

/*
  "Account" and the menu under it (R297): the customer's pages, and "Sign out" below a line. The
  page shown is marked for a screen reader (aria-current) and not to the eye; a pointer over an
  entry fills it, inset and rounded, clear of the menu's own corners. It opens in place under the button, at the right, on a phone as on a wide
  screen.
*/
.site-account {
  position: relative;
}

.site-account-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  padding: 0 10px;
  background: none;
  color: var(--header-soft);
  font: inherit;
  font-size: 15px;
  letter-spacing: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.site-account-button:hover,
.site-account-button[aria-expanded='true'] {
  color: var(--header-ink);
}

/*
  While the customer has an invoice open, how many, in a small sage pill after "Account", on
  every page (header.js), the same pill as the Invoices row in the menu: never red, as an invoice
  is nothing to be alarmed by (Jeff, 2026-11-15: "pill"). It hangs past the button's padding into
  the page's gutter (17.25 px on a phone) and takes no room: when the script shows it, nothing in
  the header moves. No caret: the button is the menu's only way in (Jeff, 2026-11-15: "we don't
  need a chevron for a menu click").
*/
.site-account-open {
  position: absolute;
  top: 50%;
  left: calc(100% - 5px);
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--sage-pale);
  color: var(--sage-pale-ink);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  transform: translateY(-50%);
}

.site-account-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 200px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
}

.site-account-menu[hidden] {
  display: none;
}

.site-account-pages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-account-pages a,
.site-account-sign-out {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--green);
  font: inherit;
  font-size: 16px;
  letter-spacing: inherit;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-account-pages a:hover,
.site-account-sign-out:hover {
  background: var(--green-line);
}

/*
  How many invoices are open, at the end of the Invoices row: the sage pill "Account" has, never
  red. On the row's own green under a pointer, white, so it still stands out.
*/
.site-account-count {
  min-width: 22px;
  height: 20px;
  margin-left: auto;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--sage-pale);
  color: var(--sage-pale-ink);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.site-account-pages a:hover .site-account-count {
  background: var(--paper);
}

.site-account-pages a:has(.site-account-count) {
  gap: 16px;
}

/* A line the menu's width between the pages and "Sign out". */
.site-account-pages {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--green-faint);
  margin-left: -6px;
  margin-right: -6px;
  padding-left: 6px;
  padding-right: 6px;
}

.site-account-sign-out {
  color: var(--green-quiet);
}

/* No "Sign out" (a sign-in that has ended): no line. */
.site-account-pages:has(+ .site-account-sign-out[hidden]) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.site-account-sign-out[hidden] {
  display: none;
}

/*
  Under 990 px, the website's header stands 3rem (34.5 px) in from each edge, wider than its
  page, with its menu button drawn 1.2rem into that; its cart at the right edge of it.
*/
@media (max-width: 989px) {
  .site-header-row {
    padding-left: 34.5px;
    padding-right: 34.5px;
  }
  .site-menu-button {
    margin-left: -13.8px;
  }
  .site-tools {
    margin-right: 0;
  }
}

/* Wide: the website's taller header and its big logo in the middle. */
@media (min-width: 990px) {
  .site-header-row {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .site-logo img {
    width: 190px;
  }
  .site-account-button {
    font-size: 16.1px;
  }
}

/*
  Where the header's left part has room for them, the menu's links in a row at the left, as the
  website lays it out. The six need about 512 px (526 with their padding, less the 13.8 px the
  row starts left of the part); with less they would wrap to a second line, so until then the
  menu stays behind the phone's button (A1, Jeff's ruling, 2026-10-27). A page with the logo in
  the middle has that room from about 1345 px wide, the home page from about 1155 px ("home
  page: shows left hamburger menu even at super wide desktop widths that could show the regular
  headers", Jeff, 2026-11-16).
*/
@container site-nav (min-width: 520px) {
  .site-menu-button {
    display: none;
  }
  .site-menu,
  .site-menu-open:checked ~ .site-menu {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    border: 0;
    padding: 0;
    margin-left: -13.8px;
    background: none;
  }
  .site-menu ul {
    display: flex;
    flex-wrap: wrap;
  }
  .site-menu a {
    padding: 6px 13.8px;
    font-size: 16.1px;
  }
  .site-menu a[aria-current='page'] {
    background: none;
  }
  .site-menu a:hover,
  .site-menu a[aria-current='page'] {
    text-decoration: underline;
  }
}

.site-main {
  flex: 1;
  max-width: var(--page-width);
  width: 100%;
  margin: 0 auto;
  padding: 22px var(--gutter) 48px;
}

/* The footer: the website's "Don't be a stranger!", centered, and its social icons. */
.site-footer {
  margin-top: 24px;
  padding: 21px var(--gutter) 24px;
  color: var(--footer-ink);
}

@media (min-width: 750px) {
  .site-footer {
    margin-top: 32px;
    padding: 28px var(--gutter) 32px;
  }
}

.site-footer-words {
  text-align: center;
}

.site-footer h2 {
  color: var(--footer-ink);
  font-size: 16px;
  margin: 0 0 20px;
}

.site-footer p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: var(--heading-spacing);
}

.site-footer-email {
  color: rgb(0 0 0);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-social {
  list-style: none;
  max-width: var(--page-width);
  margin: 24px auto 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.site-social a {
  color: var(--footer-ink);
}

.site-social svg {
  width: 20px;
  height: 20px;
}

.site-social a:hover svg {
  transform: scale(1.07);
}

@media (min-width: 990px) {
  .site-footer h2 {
    font-size: 18px;
  }
  .site-social {
    justify-content: flex-end;
    margin-right: -12px;
  }
}

/* Buttons and links that act like one: the website's filled green and its outlined twin. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34.5px;
  border: 1px solid var(--green);
  border-radius: var(--radius-button);
  background: var(--green);
  color: var(--paper);
  font: inherit;
  font-size: 17.25px;
  letter-spacing: 1.15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:not(:disabled):hover {
  box-shadow: 0 0 0 1px var(--green);
}

.button.secondary {
  background: var(--paper);
  color: var(--green);
}

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

/*
  The farm's own pages (src/farmPages.ts, pages/): the website's banners, slides, words and
  questions, at its sizes. Its theme's banners are 28rem tall on a phone and 42rem wide
  ("small"), or 34rem and 56rem ("medium"), at its rem of 11.5 px; the turn is at 750 px.
*/
.site-main-edge {
  max-width: none;
  padding: 0;
}

.site-main-edge picture,
.site-main-edge picture img {
  display: block;
  width: 100%;
}

/* The farm's banner: its name and words, drawn, on its green, half the page wide. */
.farm-band {
  margin: 0;
  padding: 6px var(--gutter);
  background: var(--sage);
  line-height: 0;
}

.farm-band img {
  display: block;
  width: 100%;
}

@media (min-width: 750px) {
  .farm-band {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .farm-band img {
    width: 50%;
  }
}

.farm-hero {
  position: relative;
}

/*
  The moving picture over its first frame, the same size, faded in when it can play through
  (public/farmPages.js); until then, and without the script, the photograph shows.
*/
.farm-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.farm-video.farm-video-on {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .farm-video {
    display: none;
  }
}

/* A photograph across the page. */
.farm-banner img {
  height: 322px;
  object-fit: cover;
}

@media (min-width: 750px) {
  .farm-banner img {
    height: 483px;
  }
}

/* A banner shown at its photo's own shape (the rose palette on Flowers). */
.farm-banner.farm-banner-whole img {
  height: auto;
}

/*
  Words in the middle of the page, under a large heading, and a button: 20 px further in than
  the page on each side, as the website's (its width less 4rem at 1.15).
*/
.farm-text {
  max-width: calc(900px + 2 * var(--gutter) + 40px);
  margin: 0 auto;
  padding: 30px calc(var(--gutter) + 20px) 39px;
  text-align: center;
}

.farm-text h2,
.farm-box h2,
.farm-questions > h2 {
  font-size: 30px;
}

.farm-text p {
  margin: 0 0 24px;
}

.farm-text p:last-child,
.farm-box p:last-child {
  margin-bottom: 0;
}

@media (min-width: 750px) {
  .farm-text {
    padding-top: 40px;
    padding-bottom: 52px;
  }
  .farm-text h2,
  .farm-box h2,
  .farm-questions > h2 {
    font-size: 40px;
  }
}

/*
  Slides, one after another: a photograph with words in a box over it. "Below": on a phone the
  words follow the photograph, on white (About Us). "Over": the box is over it on a phone too
  (Flowers).
*/
.farm-slide {
  position: relative;
}

.farm-box {
  text-align: center;
}

.farm-box p {
  margin: 0 0 20px;
}

.farm-box-green {
  background: var(--sage);
  color: var(--paper);
}

.farm-box-green h2,
.farm-box-green a {
  color: var(--paper);
}

.farm-slide-below img {
  height: 322px;
  object-fit: cover;
}

.farm-slide-below .farm-box {
  padding: 30px var(--gutter) 39px;
}

.farm-slide-below .farm-box-green {
  background: none;
  color: var(--green-soft);
}

.farm-slide-below .farm-box-green h2,
.farm-slide-below .farm-box-green a {
  color: var(--green);
}

.farm-slide-over {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 391px;
  padding: 24px 0;
}

.farm-slide-over picture,
.farm-slide-over picture img,
.farm-slide-below picture {
  position: absolute;
  inset: 0;
  height: 100%;
}

.farm-slide-below picture {
  position: static;
  height: auto;
}

.farm-slide-over picture img {
  object-fit: cover;
}

.farm-slide-over .farm-box {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 20px var(--gutter);
  border-radius: var(--radius-box);
  background: rgb(255 255 255 / 0.85);
}

@media (min-width: 750px) {
  .farm-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 483px;
    padding: 100px var(--gutter);
  }
  .farm-slide-over {
    min-height: 644px;
  }
  .farm-slide picture,
  .farm-slide picture img,
  .farm-slide-below picture {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .farm-slide picture img {
    object-fit: cover;
  }
  .farm-slide .farm-box,
  .farm-slide-below .farm-box {
    position: relative;
    width: 100%;
    max-width: 627px;
    padding: 40px;
    border-radius: var(--radius-box);
  }
  .farm-slide-below .farm-box-green {
    background: var(--sage);
    color: var(--paper);
  }
  .farm-slide-below .farm-box-green h2,
  .farm-slide-below .farm-box-green a {
    color: var(--paper);
  }
  .farm-slide-over .farm-box {
    background: var(--paper);
  }
}

/* Questions, each opened by the reader: a sprout before it, a turn after. */
.farm-questions {
  max-width: calc(810px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 39px var(--gutter) 36px;
}

.farm-questions > h2 {
  text-align: center;
  margin-bottom: 30px;
}

.farm-questions details {
  border-top: 1px solid var(--green-faint);
}

.farm-questions details:last-of-type {
  border-bottom: 1px solid var(--green-faint);
}

.farm-questions summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  list-style: none;
  cursor: pointer;
}

.farm-questions summary::-webkit-details-marker {
  display: none;
}

.farm-questions summary::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  background: url('/assets/pages/sprout.9faa0e66d368.svg') center / contain no-repeat;
}

.farm-questions summary::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin: 0 8px 4px auto;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  transform: rotate(45deg);
}

.farm-questions details[open] summary::after {
  margin-bottom: -4px;
  transform: rotate(-135deg);
}

.farm-questions details[open] summary {
  background: rgb(70 82 62 / 0.03);
}

.farm-questions summary:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.farm-questions h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.6px;
  line-height: 1.5;
}

.farm-answer {
  padding: 4px 6px 18px;
  font-size: 14px;
  line-height: 1.55;
}

.farm-answer p {
  margin: 0 0 10px;
}

.farm-answer p:last-child {
  margin-bottom: 0;
}

@media (min-width: 750px) {
  .farm-questions {
    padding-top: 52px;
    padding-bottom: 36px;
  }
  .farm-questions > h2 {
    margin-bottom: 40px;
  }
  .farm-questions h3 {
    font-size: 16px;
  }
}

/* A page of a few words, as the website's Contact. */
.farm-narrow {
  max-width: calc(835px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 30px var(--gutter) 60px;
}

.farm-email {
  font-size: 20px;
}

@media (min-width: 750px) {
  .farm-narrow {
    padding-top: 40px;
    padding-bottom: 100px;
  }
  .farm-narrow h1 {
    font-size: 52px;
  }
}

/* A page of the store's own words in sections: the privacy policy. */
.farm-policy h2 {
  margin-top: 1.6em;
}

.farm-policy ul {
  padding-left: 1.2em;
}

.farm-policy li {
  margin-bottom: 0.6em;
}

.farm-changed {
  margin-top: 2.4em;
  font-size: 14px;
}

/*
  Slides as a carousel, as the website has them, once the pages' script (public/farmPages.js)
  has made them one: swiped, or moved by the arrows below, with dots or a count between.
*/
.farm-carousel {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.farm-carousel::-webkit-scrollbar {
  display: none;
}

.farm-carousel > .farm-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.farm-slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px 0;
  border-bottom: 1px solid var(--green-line);
  color: var(--green-soft);
}

.farm-slide-arrow,
.farm-slide-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.farm-slide-arrow svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.farm-slide-arrow:hover {
  color: var(--green);
}

.farm-slide-dot {
  width: 26px;
}

.farm-slide-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border: 1px solid var(--green-soft);
  border-radius: 50%;
}

.farm-slide-dot[aria-current='true']::before {
  background: var(--green);
  border-color: var(--green);
}

.farm-slide-count {
  min-width: 40px;
  font-size: 13px;
  text-align: center;
}

/*
  An item with no photo (R280): farm_hub's leaf drawing in the photo's place, on a tile in the
  store's soft background, the leaf in its quiet ink, and no border. The place's own rule gives
  the tile the photo's size and shape (account.css, shop.css); which leaf is the item's own is
  picked from its key (public/picture.js, `leafFor`). The drawing fills the middle 72% of the
  width and 86% of the height, as farm_hub's does.
*/
.leaf-thumb {
  position: relative;
  background: var(--card);
}

.leaf-thumb::before {
  content: '';
  position: absolute;
  inset: 7% 14%;
  background: var(--green-quiet);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.leaf-thumb[data-leaf='leaf_01']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_01.4c557c6abc94.png);
  mask-image: url(/assets/leaves/leaf_01.4c557c6abc94.png);
}

.leaf-thumb[data-leaf='leaf_02b']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_02b.5725764aef33.png);
  mask-image: url(/assets/leaves/leaf_02b.5725764aef33.png);
}

.leaf-thumb[data-leaf='leaf_03']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_03.129ca209a229.png);
  mask-image: url(/assets/leaves/leaf_03.129ca209a229.png);
}

.leaf-thumb[data-leaf='leaf_04']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_04.c016038a637d.png);
  mask-image: url(/assets/leaves/leaf_04.c016038a637d.png);
}

.leaf-thumb[data-leaf='leaf_06']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_06.3fb93041053d.png);
  mask-image: url(/assets/leaves/leaf_06.3fb93041053d.png);
}

.leaf-thumb[data-leaf='leaf_07']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_07.32826d8f87d1.png);
  mask-image: url(/assets/leaves/leaf_07.32826d8f87d1.png);
}

.leaf-thumb[data-leaf='leaf_09']::before {
  -webkit-mask-image: url(/assets/leaves/leaf_09.37037547ba45.png);
  mask-image: url(/assets/leaves/leaf_09.37037547ba45.png);
}

/*
 * Apple Pay or Google Pay above Stripe's card fields, where the device can pay with one
 * (stripeFields.js, R306), then a line saying the card form is the other way.
 */
.card-express[hidden] {
  display: none;
}

.card-express-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--green-soft);
  font-size: 13px;
}

.card-express-or::before,
.card-express-or::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--line-strong);
}

/*
 * The street, city and ZIP under Stripe's card fields (stripeFields.js, R291), dressed as
 * Stripe's own are there (`look`): the same type, lines and corners.
 */
.card-address {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.card-address-street {
  grid-column: 1 / -1;
}

.card-address-field {
  display: grid;
  gap: 4px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: normal;
}

.card-address-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--card-address-radius, 10px);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.card-address-field input:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 1px var(--sage-deep);
}

.card-address-field input[aria-invalid] {
  border-color: var(--critical);
  box-shadow: 0 0 0 1px var(--critical);
}
