/* Fonts, served from this site (not Google). Both are free under the SIL Open Font License;
   the licences are in /fonts. Besley, a sturdy serif like the type on old seed packets, is for
   the shop name, headings and plant names. Schibsted Grotesk is for everything else. */
@font-face { font-family: "Besley"; src: url(/fonts/besley-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Besley"; src: url(/fonts/besley-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Besley"; src: url(/fonts/besley-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Besley"; src: url(/fonts/besley-latin-700-italic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Besley"; src: url(/fonts/besley-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* While our fonts load (a split second, mostly on the first visit) the browser shows a font from the phone or
   computer. These stand-ins are stretched to the same size and line height as ours, so nothing jumps when ours
   arrive (Jacob, 18 Nov: the menu "bobbed" on every page change). Numbers from the font files: Schibsted Grotesk
   ascent 2000, descent 528 per 2048, average letter 5.5 % wider than Arial; Besley ascent 2500, descent 850 per
   2000, average letter 15 % wider than Georgia and 28 % wider than Times. */
@font-face { font-family: "Schibsted stand-in"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 105.5%; ascent-override: 92.6%; descent-override: 24.4%; line-gap-override: 0%; }
@font-face { font-family: "Besley stand-in"; src: local("Georgia"); size-adjust: 114.8%; ascent-override: 108.9%; descent-override: 37%; line-gap-override: 0%; }
@font-face { font-family: "Besley stand-in 2"; src: local("Times New Roman"), local("Liberation Serif"), local("Times"); size-adjust: 127.6%; ascent-override: 98%; descent-override: 33.3%; line-gap-override: 0%; }

:root {
  /* Layout idea: one left-aligned column, the price list is the page. Names are set
     the way collectors write them: species in italics, cultivar in quotes. */
  --leaf: #1c3a2a;    /* waxy hoya leaf, used as ink */
  --stem: #56695c;    /* secondary text */
  --paper: #faf4f6;   /* a faint blush, from the pink centre of a hoya flower (Jacob, 18 Nov) */
  --tag: #ffffff;     /* raised surfaces */
  --splash: #ecdfe3;  /* thin lines and quiet fills, a shade deeper than the blush */
  --slot: #f1e6ea;    /* empty photo slots */
  --bloom: #b12f66;   /* the pink centre of a hoya flower, the only accent */
  /* How tall a box is: every field, dropdown and button on the site (Jacob, 19 Nov: the boxes were 46 px, with a
     lot of empty space above and below the text). 40 px keeps a thumb-sized target; don't go lower. */
  --box: 40px;
  --font: "Schibsted Grotesk", "Schibsted stand-in", Arial, sans-serif;
  --font-name: "Besley", "Besley stand-in", "Besley stand-in 2", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
/* Room for the scrollbar on every page, also short ones, so the page doesn't shift sideways between a long
   page (the shop) and a short one (About) on a computer. */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--leaf);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
}
.page { max-width: 680px; margin: 0 auto; padding: 6px 18px 140px; }
h1 { font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 10px; }
h1, h2, .sitename, .name, .adm-name { font-family: var(--font-name); }
h2 { font-size: 20px; font-weight: 700; margin: 0 0 8px; text-wrap: balance; }
p { margin: 0 0 12px; max-width: 60ch; }
a { color: var(--leaf); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bloom); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Site header: a dark green band, the same colour as the basket bar at the bottom,
   so the list sits between the two. The logo is drawn in currentColor, so it takes the white. */
.band { background: var(--leaf); color: #fff; }
/* Header pattern (Jacob, 19 Nov): rows of the hoya leaf from the logo (outlined, with its stalk and midrib)
   and, between them, rows of a small hoya flower, one shade darker than the band, every other row shifted
   half a step. It took over from the cross when the logo became the two hands. Very subtle on purpose. The
   logo gets a plain backing so the pattern never shows through it. The next line is written by
   design/header-pattern.js: change the drawing there, not here. */
.band, .foot { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2036%2036%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23152e22%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cg%20transform%3D%22translate(9%209)%20rotate(-45)%20scale(0.5)%20translate(-13%200)%22%20stroke-width%3D%222.6%22%3E%3Cpath%20d%3D%22M0%200C2%20-8%209%20-10.5%2017%20-9.5C24%20-8.5%2027.5%20-3.5%2030%200C27.5%203.5%2024%208.5%2017%209.5C9%2010.5%202%208%200%200Z%22%2F%3E%3Cpath%20d%3D%22M-7%200.6C2%200.2%2011%20-0.4%2019%200%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(27%2027)%22%20stroke-width%3D%221.3%22%3E%3Cpath%20d%3D%22M-2.73%20-3.75Q-2.8%20-6.29%200%20-8Q2.8%20-6.29%202.73%20-3.75L2.73%20-3.75Q5.11%20-4.6%207.61%20-2.47Q6.84%200.72%204.41%201.43L4.41%201.43Q5.96%203.44%204.7%206.47Q1.43%206.73%200%204.64L0%204.64Q-1.43%206.73%20-4.7%206.47Q-5.96%203.44%20-4.41%201.43L-4.41%201.43Q-6.84%200.72%20-7.61%20-2.47Q-5.11%20-4.6%20-2.73%20-3.75Z%22%2F%3E%3Cpath%20d%3D%22M1.88%20-2.59L1.52%20-0.49L3.04%200.99L0.94%201.29L0%203.2L-0.94%201.29L-3.04%200.99L-1.52%20-0.49L-1.88%20-2.59L0%20-1.6Z%22%20fill%3D%22%23152e22%22%20stroke-width%3D%220.78%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: 36px 36px; background-position: -2px -1px; }
.band .logo { background: var(--leaf); border-radius: 50%; }
.band-in { max-width: 680px; margin: 0 auto; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.band h1 { font-size: 24px; margin: 0; color: #fff; }
.logo { flex: none; width: 40px; height: 40px; display: block; color: #fff; }

/* "Page not found": the header links home, the name looks like the header's h1. */
.home { color: #fff; text-decoration: none; }
a.home { min-height: 44px; display: inline-flex; align-items: center; } /* the logo link is big enough to tap */
/* The shop name next to the logo, in the serif from the plant label, on one line (Jacob, 18 Nov). */
.brand { margin-left: 10px; font-family: var(--font-name); font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }

/* Header menu: the three pages as plain words. No burger menu: three links fit on a phone. */
.band-in { justify-content: space-between; }
.nav { display: flex; }
/* The menu is set in the heading font, like the shop's name beside it (Jacob, 20 Nov: the same font as what stands
   right next to it looks less odd). */
.nav a { color: #fff; text-decoration: none; font-family: var(--font-name); font-size: 16px; font-weight: 500; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:last-child { padding-right: 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (hover: hover) { .nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; } }
/* Phones: logo, name and menu share one row. "Handpicked Hoya" is too long for one line beside the menu
   below 520 px, so there it stands on two, "Handpicked" over "Hoya", like on the home page's plant label.
   On phones the menu words sit closer together and the logo is a little smaller. */
@media (max-width: 519px) { .brand span { display: block; } }
@media (max-width: 439px) {
  .band-in { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .logo { width: 36px; height: 36px; }
  .brand { margin-left: 8px; font-size: 17px; }
  .nav a { padding: 0 7px; font-size: 15px; }
  .nav a:last-child { padding-right: 0; }
}
@media (max-width: 379px) { .brand { font-size: 16px; } .nav a { padding: 0 6px; } .nav a:last-child { padding-right: 0; } }
@media (max-width: 359px) { .brand { margin-left: 6px; font-size: 15px; } .logo { width: 32px; height: 32px; } .nav a { padding: 0 5px; font-size: 14px; } .nav a:last-child { padding-right: 0; } .band-in { gap: 6px; padding-left: 12px; padding-right: 12px; } }

/* Home: one plant from the shop, a new one every time the page is opened (Jacob, 20 Nov: clean, one plant).
   From the top: a line of welcome with a flourish under the whole of it; the plant's photo; a small tag with
   the plant's name and price hanging beside it; and the two buttons and the number of plants for sale.
   The flourish and the frame are the site's "swirl" (Jacob, 20 Nov: one look for both): a line that ends in a
   curl, with the header's hoya flower in the middle of the flourish, and a loop in each corner of the frame.
   On a phone the photo runs from edge to edge, so it has no frame; from 600 px wide the picture stands in the
   middle of the page with the frame round it. */
.landing { padding-top: 14px; }
.welcome { margin: 0 0 12px; text-align: center; }
.welcome > div { display: inline-block; }
.welcome h1 { margin: 0 0 4px; font-size: min(26px, calc((100vw - 36px) / 16.8)); line-height: 1.2; white-space: nowrap; }
.flourish { height: 22px; background:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2222%22%20viewBox%3D%22-15%20-11%2030%2022%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%22-15%22%20y%3D%22-11%22%20width%3D%2230%22%20height%3D%2222%22%20fill%3D%22%23faf4f6%22%2F%3E%3Cpath%20d%3D%22M-2.73%20-3.75Q-2.8%20-6.29%200%20-8Q2.8%20-6.29%202.73%20-3.75L2.73%20-3.75Q5.11%20-4.6%207.61%20-2.47Q6.84%200.72%204.41%201.43L4.41%201.43Q5.96%203.44%204.7%206.47Q1.43%206.73%200%204.64L0%204.64Q-1.43%206.73%20-4.7%206.47Q-5.96%203.44%20-4.41%201.43L-4.41%201.43Q-6.84%200.72%20-7.61%20-2.47Q-5.11%20-4.6%20-2.73%20-3.75Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%231c3a2a%22%20stroke-width%3D%221.3%22%2F%3E%3Cpath%20d%3D%22M1.88%20-2.59L1.52%20-0.49L3.04%200.99L0.94%201.29L0%203.2L-0.94%201.29L-3.04%200.99L-1.52%20-0.49L-1.88%20-2.59L0%20-1.6Z%22%20fill%3D%22%23b12f66%22%2F%3E%3C%2Fsvg%3E") center / 30px 22px no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2222%22%20viewBox%3D%220%200%2026%2022%22%20fill%3D%22none%22%20stroke%3D%22%231c3a2a%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M26%2011H13c-9%200-13-8-6-10%205-1.4%207.5%204%203%205.4%22%2F%3E%3C%2Fsvg%3E") left center / 26px 22px no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2222%22%20viewBox%3D%220%200%2026%2022%22%20fill%3D%22none%22%20stroke%3D%22%231c3a2a%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M0%2011h13c9%200%2013%208%206%2010-5%201.4-7.5-4-3-5.4%22%2F%3E%3C%2Fsvg%3E") right center / 26px 22px no-repeat,
    linear-gradient(var(--leaf), var(--leaf)) center / calc(100% - 50px) 1.6px no-repeat; }
.show-stage { position: relative; margin: 0 -18px; }
.show-pic { display: block; height: min(87vw, 430px); overflow: hidden; background: var(--slot); }
.show-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The tag: a small price tag on a string, like the one on a pair of shoes (Jacob, 20 Nov: the label must not lie
   over the picture, "it must not disturb the picture"; let the price hang beside it). It never covers any of the
   photo. On a phone, and up to 900 px wide, it hangs under the photo's lower left corner with the two buttons
   beside it; from 900 px wide it hangs beside the photo, on a string from the loop in the frame's upper left
   corner. It is turned a little, about its hole, and sways once when the page opens. Measured in em, so on a
   narrow phone all of it shrinks together, and it grows downward with its text. */
.landing:not(.no-plant) { display: grid; grid-template-columns: minmax(0, 1fr) var(--btn); column-gap: 8px; align-content: start; }
.landing:not(.no-plant) > .welcome, .landing:not(.no-plant) > .show-stage { grid-column: 1 / -1; }
.hang { position: relative; justify-self: start; width: 12.2em; margin: 18px 0 0 1.4em; font-size: clamp(11.5px, calc((100vw - 52px) / 26), 13px); }
.tag { --tilt: -3deg; transform: rotate(var(--tilt)); transform-origin: 50% 1.45em; }
.tag-top { display: block; width: 100%; height: 3.4em; margin-bottom: -1px; overflow: visible; }
.tag-face { padding: .35em 1.1em 1em; display: flex; flex-direction: column; gap: .35em; border: 2px solid var(--leaf); border-top: 0; border-radius: 0 0 .5em .5em; background: #fcfcfa url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22220%22%20height%3D%22240%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20seed%3D%2211%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.11%200%200%200%200%200.23%200%200%200%200%200.16%200%200%200%204%20-2.55%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22220%22%20height%3D%22240%22%20filter%3D%22url%28%23g%29%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E"); }
.tag-face[hidden] { display: none; }
.tag-face img { display: block; width: 2.5em; height: 2.5em; }
.tag-title { font-family: var(--font-name); font-weight: 800; font-size: 1.625em; line-height: 1.02; letter-spacing: -0.02em; margin: .15em 0 0; }
.tag-title.name { font-weight: 500; font-size: 1.3em; line-height: 1.14; letter-spacing: 0; margin: 0; overflow-wrap: anywhere; }
.tag-face hr { width: 100%; border: 0; border-top: 2px solid var(--leaf); margin: .4em 0 .15em; }
.tag-face p:not(.tag-title) { margin: 0; font-size: 1.06em; font-weight: 500; }
.tag-face p span { color: var(--stem); font-weight: 400; }
/* The string, from the tag's hole up to the pin it is tied to with a small bow. The pin sits in the photo
   (Jacob, 20 Nov: the string "just stopped in the picture"; a notice-board pin, the string tied to it): here
   18 px above the photo's lower edge. The pin and the bow are the only things that lie on the photo. */
.string, .tack { position: absolute; z-index: 1; overflow: visible; pointer-events: none; } /* over the tag, so the string is seen to end in the hole */
.string-down { left: calc(50% - 3px); top: -36px; width: 20px; height: calc(36px + 1.45em); }
.string-side { display: none; }
.tack { z-index: 2; left: calc(50% - 6px); top: -46px; width: 38px; height: 29px; } /* the pin, 19 px in and 10 px down, is the string's upper end */
/* Beside the tag: the two buttons one over the other, and the count under them. */
.show-go { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.show-count { margin: 2px 0 0; max-width: none; font-size: 15px; line-height: 1.3; color: var(--stem); }
.show-count b { display: block; color: var(--leaf); font-weight: 700; }
/* Until the shop's data is here, the tag is blank and the photo's place is empty: nothing moves when the plant
   arrives. */
.landing.pending .tag-face > :not(img), .landing.pending .show-count { visibility: hidden; }
@media (min-width: 600px) {
  .landing { padding-top: 24px; }
  .landing:not(.no-plant) { max-width: 496px; } /* a photo of 460 px and the page's 18 px on each side */
  .welcome { margin: 0 -74px 30px; } /* the line may be wider than the photo; it stays inside the page's column */
  .show-stage { margin: 0; }
  .show-pic { height: 460px; }
  /* The frame: a thin line 11 px outside the photo, with a loop in each corner. */
  .landing:not(.no-plant) .show-stage::after { content: ""; position: absolute; inset: -14px; border: 20px solid transparent; border-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%20fill%3D%22none%22%20stroke%3D%22%231c3a2a%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%203H8a5%205%200%201%201-5%205V20M40%203H52a5%205%200%201%200%205%205V20M20%2057H8a5%205%200%201%200-5-5V40M40%2057H52a5%205%200%201%201%205-5V40M20%203H40M20%2057H40M3%2020V40M57%2020V40%22%2F%3E%3C%2Fsvg%3E") 20 stretch; pointer-events: none; }
  .hang { margin-top: 34px; font-size: 13px; }
  .string-down { top: -52px; height: calc(52px + 1.45em); } /* over the frame's lower line, up to the pin in the photo */
  .tack { top: -62px; }
  .landing:not(.no-plant) .show-go { margin-top: 30px; }
}
@media (min-width: 900px) {
  /* The tag beside the photo: it shares the photo's place in the layout and is moved out to its left, so the
     string can run from its hole, over the frame, to the pin in the photo's upper left corner. Under the frame,
     the two buttons from the photo's left edge and the count against its right edge. */
  .landing:not(.no-plant) { grid-template-columns: minmax(0, 1fr); }
  .landing:not(.no-plant) > .show-stage, .landing:not(.no-plant) > .hang { grid-row: 2; grid-column: 1; }
  .hang { align-self: start; margin: 40px 0 0 -189px; }
  .tag { --tilt: 7deg; }
  .string-down { display: none; }
  .string-side { display: block; left: 79px; top: -18px; width: 130px; height: 37px; }
  .tack { left: 190px; top: -28px; } /* the pin: 20 px in from the photo's left edge, 22 px down from its top */
  .landing:not(.no-plant) .show-go { flex-direction: row; align-items: center; }
  .landing:not(.no-plant) .show-count { margin: 0 0 0 auto; text-align: right; }
  .landing:not(.no-plant) .show-count b { display: inline; }
}
/* No plant to show (none for sale with a photo of Maja's own, or the shop's data didn't come): the tag alone, in
   the middle, larger, with the shop's name, hanging from the flourish; and one button under it. */
.no-plant .show-stage, .no-plant #show-one, .no-plant .show-count { display: none; }
.no-plant .hang { margin: 10px auto 0; font-size: 16px; }
.no-plant .tag { --tilt: -3deg; }
.no-plant .tag-face { padding-top: .2em; }
.no-plant .string-down { display: block; top: -22px; height: calc(22px + 1.45em); }
.no-plant .string-side, .no-plant .tack { display: none; }
.no-plant .show-go { align-items: center; margin-top: 24px; }

/* The hanging hoya (Maja, 19 Nov: the site was a bit empty, a hanging plant, and it must be a hoya; Jacob picked
   where on 20 Nov). A Hoya polyneura 'Albomarginata' hangs from the green header on every public page where the
   screen has empty room beside the page's column: one stem, then two, then three as the room grows. It never
   hangs over the plants or the text, and it is never cut by the window's edge. On a phone there is no such room,
   so there a short sprig hangs beside the title on About and a small one on Contact, and the text runs round it.
   The drawings are made by design/hanging-hoya.js; the widths and heights here are theirs. Maja's admin has none. */
.has-foot > .band { position: relative; }
.has-foot > .band::after { content: ""; display: none; position: absolute; top: 100%; left: calc(50% + 364px); background: no-repeat 0 0 / 100% 100%; pointer-events: none; }
@media (min-width: 920px) { .has-foot > .band::after { display: block; width: 78px; height: 252px; background-image: url(/hoya-one.svg); } }
@media (min-width: 1080px) { .has-foot > .band::after { width: 154px; height: 292px; background-image: url(/hoya-two.svg); } }
@media (min-width: 1220px) { .has-foot > .band::after { width: 226px; height: 320px; background-image: url(/hoya-three.svg); } }
/* The shop's column is wider on a computer, so the same three steps come later there. */
@media (min-width: 900px) {
  .wide > .band::after { display: none; left: calc(50% + 562px); }
}
@media (min-width: 1320px) { .wide > .band::after { display: block; width: 78px; height: 252px; background-image: url(/hoya-one.svg); } }
@media (min-width: 1480px) { .wide > .band::after { width: 154px; height: 292px; background-image: url(/hoya-two.svg); } }
@media (min-width: 1620px) { .wide > .band::after { width: 226px; height: 320px; background-image: url(/hoya-three.svg); } }
/* While the shop is closed, its full-width closed line would cross the plant, so there it stays away. */
.wide:has(#closed:not([hidden])) > .band::after { display: none; }
.sprig::before { content: ""; float: right; width: 140px; height: 152px; margin: -24px 0 2px 12px; background: url(/hoya-sprig.svg) no-repeat 0 0 / 100% 100%; }
.sprig.small::before { width: 72px; height: 104px; background-image: url(/hoya-sprig-small.svg); }
@media (min-width: 920px) { .sprig::before { display: none; } }
.sprig .ways { clear: both; }

/* About and Contact */
.textpage { padding-top: 24px; }
.textpage h1 { font-size: 28px; margin: 0 0 14px; } /* every page title is 28 px: About, Contact, Checkout and Maja's admin */
.textpage p { font-size: 17px; text-wrap: pretty; }
.textpage .lede { font-size: 20px; line-height: 1.4; margin-bottom: 24px; } /* the one-line answer to "who is this", read first */
.textpage h2 { margin-top: 26px; }
.textpage p a { min-height: 44px; display: inline-flex; align-items: center; }
.sitename { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; }
/* A plant's own page, written by the server for search engines, assistants and shared links (worker/index.js,
   "a page per plant"): the photo, the name as in the list, a line per size with its price, and one button to the
   plant in the shop, where the buying happens. */
.plantpage .crumb { margin: 0 0 6px; font-size: 15px; }
.pp-fig { margin: 0 0 16px; }
.pp-photo { display: block; width: 100%; max-height: 560px; object-fit: contain; background: var(--slot); border-radius: 4px; }
.plantpage h1.name { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: 0; margin: 0 0 2px; }
.plantpage .note { font-size: 15px; margin: 0; }
.pp-sizes { list-style: none; margin: 16px 0 18px; padding: 0; border-top: 1px solid var(--splash); }
.pp-sizes li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--splash); }
.pp-sizes small { color: var(--stem); font-size: 14px; }
.pp-sizes b { font-variant-numeric: tabular-nums; }
.pp-sizes li > span:last-child { white-space: nowrap; }
.pp-go { margin: 0 0 22px; max-width: none; }
.pp-go .btn { min-height: var(--box); } /* a button, not one of the page's text links, which are 44 px tall */
.notfound { padding-top: 28px; }
.notfound h1 { font-size: 28px; }
.notfound a { display: inline-flex; align-items: center; min-height: 44px; }


/* Winter break: Maja turns it on in the admin when it's too cold to post plants.
   The bear sleeps under the text, on the bottom edge of the box. */
.winter { margin: 14px 0 4px; padding: 12px 16px 0; background: var(--splash); border-radius: 4px; }
.winter h2 { font-size: 18px; margin: 0 0 2px; }
.winter p { margin: 0; font-size: 16px; }
.winter svg { width: 116px; height: 60px; display: block; margin-top: 4px; }
/* The rest of the year: "Shipping from €6", which opens on tap to the price per zone. */
.shipinfo { margin: 8px 0 0; font-size: 15px; color: var(--stem); }
.shipinfo summary { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--leaf); font-weight: 500; list-style: none; -webkit-tap-highlight-color: transparent; }
.shipinfo summary::-webkit-details-marker { display: none; }
.shipinfo summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.shipinfo[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.shipinfo ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; }
.shipinfo b { color: var(--leaf); font-weight: 500; }

/* The search row follows the buyer down the list. While the shop is closed, a one-line notice
   rides on top of it, so nobody scrolls far and wonders why nothing can be picked (Jacob, 18 Nov). */
.pin { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.tools { background: var(--paper); padding: 10px 0; display: flex; gap: 10px; border-bottom: 2px solid var(--leaf); }
/* Full width like the header band (the shadow paints the sides without widening the page), text centred. */
.closedline { max-width: none; margin: 0; padding: 8px 0; background: var(--leaf); box-shadow: 0 0 0 100vmax var(--leaf); clip-path: inset(0 -100vmax); color: #fff; font-size: 15px; line-height: 1.3; text-align: center; }
.tools input { flex: 1; min-width: 0; }
/* Currency: euros or Danish kroner, next to the search so it stays in reach while scrolling. */
.cur { position: relative; flex: none; display: grid; grid-template-columns: 1fr 1fr; height: var(--box); border: 1.5px solid var(--leaf); border-radius: 4px; overflow: hidden; background: var(--tag); }
/* The dark half lies under the chosen currency; app.js says which one with data-now on the box. */
.cur::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--leaf); }
.cur[data-now="dkk"]::before { transform: translateX(100%); }
.cur button { position: relative; min-width: 54px; padding: 0 10px; border: 0; background: none; color: var(--leaf); font-weight: 700; font-size: 16px; cursor: pointer; }
.cur button[aria-pressed="true"] { color: #fff; }
.cur button:focus-visible { outline-offset: -4px; }
.field, .tools input {
  height: var(--box); padding: 0 12px; background: var(--tag);
  border: 1.5px solid var(--leaf); border-radius: 4px;
}
/* Count on the left, sort on the right. Tapping the sort opens the phone's own picker.
   The select is 44 px tall for the thumb; the line under it sits just below the text. */
/* "53 plants" and "Sort: Name" share one baseline, so the two texts sit on the same line. */
.meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--splash); }
/* Filter, left, styled like the sort menu on the right: bold, underlined, with the same arrow. */
.filterbtn {
  height: 44px; padding: 0 22px 0 0; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; color: var(--leaf);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c3a2a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 2px center,
    linear-gradient(var(--leaf), var(--leaf)) left calc(50% + 15px) / 100% 2px no-repeat;
}
.filterbtn[aria-expanded="true"] {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5l5-5 5 5' fill='none' stroke='%231c3a2a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 2px center,
    linear-gradient(var(--leaf), var(--leaf)) left calc(50% + 15px) / 100% 2px no-repeat;
}
/* The kinds of plant, one choice per genus with its count (only with more than one genus). On a phone: a row
   of words under the search, the chosen one underlined like the current page in the menu. On a computer the
   page column is wider (see "The shop on a computer"), and from 1560 px there is empty space beside it again, so
   there the choices are a list to the left of the plants that stays in view while the list scrolls. It is a zero-height float, so it never moves the plants. */
.kinds { display: flex; flex-wrap: wrap; gap: 0 20px; border-bottom: 1px solid var(--splash); }
.kinds button { height: 44px; padding: 0; border: 0; background: none; font-size: 16px; color: var(--leaf); cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.kinds button b { font-weight: 400; }
.kinds button span { margin-left: 3px; color: var(--stem); font-size: 14px; font-variant-numeric: tabular-nums; }
.kinds button[aria-pressed="true"] b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (min-width: 1560px) {
  .kinds { float: left; position: sticky; top: 18px; display: block; width: 190px; height: 0; margin: 10px 0 0 -230px; border: 0; }
  .kinds button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 12px; border-left: 3px solid transparent; }
  .kinds button[aria-pressed="true"] b { text-decoration: none; }
  .kinds button[aria-pressed="true"] { border-left-color: var(--bloom); background: var(--tag); }
  @media (hover: hover) { .kinds button:hover { background: var(--tag); } }
}
/* The panel: the price range, and a button that says how many plants are left. It opens in place, above the
   list, and scrolls with the page. */
.filters { padding: 12px 0 16px; border-bottom: 1px solid var(--splash); display: grid; gap: 14px; }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 15px; color: var(--leaf); }
.f-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-price label { display: grid; gap: 4px; font-size: 14px; color: var(--stem); }
.f-price .field { width: 100%; }
/* "Show 12 plants" and "Clear" share the row edge to edge; with nothing to clear, Show has the row to itself. */
.f-actions { display: flex; gap: 8px; }
.f-actions #f-show { flex: 1; width: auto; }

/* The (i) after the count: an 18 px drawing inside a 44 px tap area, pulled close to the text.
   The note it opens says how many plants are hoyas and how many are other kinds. */
.info { flex: none; width: 44px; height: 44px; margin-left: -7px; padding: 0; border: 0; background: none; color: var(--stem); cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.info svg { width: 18px; height: 18px; display: block; }
.info[aria-expanded="true"] { color: var(--leaf); }
.tip {
  position: absolute; z-index: 3; top: calc(100% - 2px); left: 0; margin: 0;
  width: max-content; max-width: min(280px, 80vw); padding: 9px 12px;
  background: var(--tag); border: 1.5px solid var(--leaf); border-radius: 4px;
  font-size: 15px; color: var(--leaf);
}
.sortsel { display: flex; align-items: baseline; gap: 6px; font-size: 15px; color: var(--stem); }
/* The sort menu draws its own arrow, so it looks the same in every browser and its underline
   ends exactly at the right edge, in line with the currency switch above. */
.sortsel select {
  height: 44px; padding: 0 22px 0 0; border: 0; border-radius: 0; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--leaf);
  -webkit-appearance: none; appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c3a2a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 2px center,
    linear-gradient(var(--leaf), var(--leaf)) left calc(50% + 15px) / 100% 2px no-repeat;
}

.plants { list-style: none; margin: 0; padding: 0; }
/* Row: a photo on the left, with the name and the three size buttons beside it. The photo runs from
   the top of the name to the bottom of the buttons (Jacob picked B, 18 Nov), so it is a little taller
   in rows with a two-line name. */
.plant { padding: 14px 0 16px; border-bottom: 1px solid var(--splash); display: grid; grid-template-columns: 100px 1fr; column-gap: 12px; row-gap: 8px; align-items: start; }
/* The plant a visitor came for, from the front page's photo or a plant's own page: a line round it, so it is
   clear which of the plants it is (app.js brings it to the top of the screen, and takes the line away at the
   visitor's first tap or key). The line keeps inside the plant's own place in the list: it never reaches a
   neighbour's photo or the thin line between two rows (Jacob, 20 Nov: it ran over the photos below). */
.plant.arrived { position: relative; }
.plant.arrived::after { content: ""; position: absolute; inset: 4px -8px 5px; border: 2px solid var(--bloom); border-radius: 4px; pointer-events: none; }
.pic { grid-row: 1 / span 2; align-self: stretch; }
.head, .sizes { grid-column: 2; }
.big { grid-column: 1 / -1; }

/* Photo slot: the grey variegated hoya leaf from the logo until a photo file exists for the plant. */
.pic { position: relative; width: 100px; min-height: 100px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--slot); color: #a3afa6; }
.pic .nophoto { width: 100%; height: 100%; display: block; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.pic.has-img { cursor: zoom-in; }
.pic.has-img img { opacity: 1; }
/* A picture with see-through parts is shown whole on the box's own colour, with no grey leaf behind it. */
.pic.clear img { object-fit: contain; }
.pic.clear > svg { visibility: hidden; }
.big img { max-width: 100%; border-radius: 4px; display: block; }
/* Several photos: one fixed shape while stepping through them, and a row under it edge to edge:
   previous at the left, "2 of 4" in the middle, next at the right (the same buttons as minus and plus). */
.big.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--slot); touch-action: pan-y; }
.gal { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-top: 8px; }
.gal span { text-align: center; font-size: 15px; color: var(--stem); font-variant-numeric: tabular-nums; }
.gal button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1.5px solid var(--leaf); border-radius: 4px; background: transparent; color: var(--leaf); cursor: pointer; }
.gal button:disabled { border-color: var(--splash); color: #b3bdb5; cursor: default; }
/* Example photo (Jacob, 18 Nov): a free photo of the same plant from Wikimedia Commons, for plants Maja
   hasn't photographed. A grey band across it says so, in the grey of the faded size marks. It shows only
   once the photo has loaded; opened, a line under the photo names the photographer and the licence. */
.exband { display: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 2px 4px; background: var(--stem); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; }
.pic.has-img .exband, .exband.on { display: block; }
.credit { margin: 6px 0 0; max-width: none; font-size: 13px; line-height: 1.4; color: var(--stem); }
.credit a { color: var(--stem); display: inline-block; padding: 13px 0; margin: -13px 0; } /* 44 px to tap, without spreading the line */
.name { font-size: 19px; font-weight: 500; line-height: 1.25; }
.name i { font-weight: inherit; }
/* No bold in the names (Jacob and Maja, 18 Nov): the bold species came and went, because hybrids and sp. have
   none. Italics alone, the way collectors write: genus and species italic, variety in quotes upright. */
.note { font-size: 14px; color: var(--stem); margin-top: 2px; }
/* Size buttons: always three, in the same three columns on every row so prices line up.
   The drawing shows the size with 2, 4 or 6 leaves. A size Maja doesn't offer is a faded,
   dashed button that can't be tapped. */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; } /* to the right edge at every width (Jacob, 18 Nov) */
.size {
  min-height: 70px; padding: 6px 2px 8px; cursor: pointer; min-width: 0; /* fits the tallest icon, so every row is the same height */
  background: var(--tag); border: 1.5px solid var(--splash); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px;
  font-size: 14px; color: var(--leaf);
}
.size .sprig { flex: none; }
.size:disabled { cursor: default; background: transparent; border-style: dashed; color: #b3bdb5; }
.size:disabled b { color: var(--stem); }
/* Not offered: the faded icon sits in the middle with a line through it, so "not available"
   reads at a glance without words. */
.size.none { position: relative; justify-content: center; padding-bottom: 6px; }
.size.none::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(-40deg); }
/* Sold out: the same faded icon, but no line and no price. */
.size.gone::after { content: none; }
/* Key row above the list: each icon once, with its size name and leaf count (Jacob picked A, 18 Nov). */
/* It runs from edge to edge, from under Filter to the end of Sort (Jacob, 18 Nov), at every width. */
.sizekey { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 0; }
.ch { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; line-height: 1.25; color: var(--stem); white-space: nowrap; }
@media (max-width: 359px) { .sizekey { gap: 4px; } .ch { gap: 4px; font-size: 12px; } }
.ch b { color: var(--leaf); font-weight: 700; }
.ch .sprig { flex: none; color: var(--leaf); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.size b { color: var(--leaf); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; white-space: nowrap; }
.size b small { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
@media (max-width: 380px) { .size { padding-left: 0; padding-right: 0; } .size b { font-size: 15px; } }
@media (hover: hover) { button.size:not(:disabled):hover { border-color: var(--leaf); } }
span.size { cursor: default; background: transparent; } /* shop closed: the price shows, but it isn't a button */
.size[aria-pressed="true"] { background: var(--bloom); border-color: var(--bloom); color: #fff; }
.size[aria-pressed="true"] b { color: #fff; }
/* How many: a minus/plus line under the plant once a size is picked, framed in the pick's pink. */
.qty { grid-column: 1 / -1; display: grid; gap: 6px; }
.qty:empty { display: none; }
.qrow { display: grid; grid-template-columns: 1fr auto 64px; gap: 10px; align-items: center; padding: 4px 8px 4px 12px; border: 1.5px solid var(--bloom); border-radius: 4px; background: var(--tag); font-size: 15px; }
.qrow b { text-align: right; font-variant-numeric: tabular-nums; }
.step { display: inline-flex; align-items: center; }
.step button { width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--leaf); border-radius: 4px; background: transparent; color: var(--leaf); font-size: 22px; line-height: 1; cursor: pointer; }
.step button:disabled { border-color: var(--splash); color: #b3bdb5; cursor: default; }
.step output { min-width: 34px; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.plant.out .name, .plant.out .size b { color: var(--stem); }
.state { font-size: 14px; font-weight: 700; color: var(--bloom); }
.no-hits { padding: 28px 0; color: var(--stem); }

/* The shop on a computer (Maja, 19 Nov: "too small and too much wasted space; show three side by side, larger,
   with the three small signs under each"). From 900 px wide the shop page (body.wide) has a wider column, and
   the header, footer and basket bar follow it, so every edge still lines up. The plants stand three across: a
   large photo, the name, then the three size buttons. Each plant borrows its rows from the list (subgrid), so
   names, buttons and quantity lines stand at the same height across a row, and picking a size never moves the
   buttons of the plant beside it. The size key moves up between Filter and Sort: spread across the column it
   would read as a heading over each of the three plants. */
@media (min-width: 900px) {
  .wide .page, .wide .band-in, .wide .foot-in, .wide .bar-in { max-width: 1076px; }
  .wide .plants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; padding-top: 22px; }
  .wide .plant { grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 0 0 30px; border: 0; }
  .wide .plant.arrived::after { inset: -8px -8px 12px; } /* 8 px round the photo; ends 12 px above the row below */
  .wide .pic { grid-row: 1; width: 100%; min-height: 0; aspect-ratio: 1; }
  .wide .head { grid-column: 1; grid-row: 2; }
  .wide .sizes { grid-column: 1; grid-row: 3; }
  .wide .qty { grid-row: 4; }
  .wide .name { font-size: 20px; }
  .wide .no-hits { grid-column: 1 / -1; }
  .wide .sizekey { justify-content: center; align-items: center; gap: 40px; }
  .wide .filters[hidden] + .sizekey { height: 44px; margin: -53px 0 9px; pointer-events: none; }
  .wide .filters { grid-template-columns: 1fr 1fr; align-items: end; }
}
/* A photo opened on a computer: large, in the middle of the screen, over the dimmed page (lightbox in app.js).
   On a phone the photo opens in the list itself, under its plant. */
.lightbox { padding: 0; border: 0; border-radius: 6px; background: var(--paper); color: var(--leaf); max-width: calc(100vw - 48px); max-height: calc(100vh - 32px); overflow: visible; }
.lightbox::backdrop { background: rgba(21, 46, 34, 0.84); }
.lb-in { position: relative; padding: 12px; }
.lightbox .big img { width: auto; max-width: min(100%, calc(100vw - 72px)); max-height: calc(100vh - 140px); }
.lightbox .big.gallery img { width: auto; height: min(calc(100vh - 140px), 900px); max-width: none; }
.lb-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1.5px solid var(--leaf); border-radius: 0 4px 0 4px; background: var(--paper); color: var(--leaf); cursor: pointer; }

/* Footer (Jacob, 19 Nov): a dark green band like the header, with the same pattern. It holds only what the
   header doesn't say already (Jacob, 19 Nov: the name was on the front page six times and the menu twice):
   the ways to reach the shop, then one line with the year and the business details the law asks a shop to
   show, and the log in link. The contact and business details come from the Information page (footer.js)
   and show only once they're filled in. On a short page the footer still sits at the bottom of the screen;
   while the basket bar shows, the footer leaves room for it (.has-bar). */
.has-foot { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.has-foot > .page { width: 100%; flex: 1 0 auto; padding-bottom: 56px; }
.foot { flex: none; background-color: var(--leaf); color: #fff; font-size: 15px; }
.foot-in { max-width: 680px; margin: 0 auto; padding: 12px 18px 8px; }
.foot p { margin: 0; max-width: none; }
.foot a { color: #fff; }
/* Email and phone in a column on the left edge, Instagram and Facebook in a column against the right edge. */
.foot-contact { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 20px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.foot-contact div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; overflow-wrap: anywhere; text-decoration: none; } /* 44 px tall to tap */
.foot-contact a:hover { text-decoration: underline; }
/* The year and the business line share a row with Log in when they fit; a long line pushes Log in below it. */
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 16px; font-size: 14px; color: #dfe8e1; }
.foot-contact:not([hidden]) + .foot-end { padding-top: 8px; }
/* "Danish-owned" with the flag, on every page (Jacob, 20 Nov: "we are 100% Danish"; and no town in it). */
.foot-dk { flex: 1 0 100%; display: flex; align-items: center; gap: 8px; padding: 6px 0 0; color: #fff; }
.foot-dk img { display: block; width: 20px; height: 15px; border-radius: 1px; }
.foot-legal { padding: 6px 0; }
.foot-end a { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
.has-bar .foot-in { padding-bottom: 118px; }

/* The link to the admin that only Maja and Jacob see, on a phone or computer logged in to the admin
   (footer.js). It is the last word in the menu, after Contact. Below 600 px the menu has no room for a
   fourth word beside the shop's name, so there it is a drawn pencil: a 44 px tap area with the pencil's right
   side on the page's right edge. The narrowest phones have no room for that either; the footer link is enough. */
.nav-admin svg { display: none; width: 20px; height: 20px; flex: none; }
@media (max-width: 599px) {
  .nav-admin span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-admin svg { display: block; }
  .nav.has-admin a:nth-last-child(2) { padding-right: 2px; }
  .nav.has-admin .nav-admin { position: relative; min-width: 44px; justify-content: center; padding: 0; margin-right: -12px; }
}
@media (max-width: 379px) { .nav.has-admin a { padding: 0 4px; font-size: 14px; } .nav.has-admin a:nth-last-child(2) { padding-right: 0; } }
@media (max-width: 349px) { .nav .nav-admin { display: none; } }

/* The small icon in front of a way to reach the shop, in the footer and on the Contact page. */
.way-icon { display: inline-flex; flex: none; }
.way-icon svg { width: 20px; height: 20px; display: block; }
.ways dt { gap: 10px; }

/* Contact page: the ways to reach the shop as rows, the name of each on the left edge and the link on the
   right edge. */
.ways { display: grid; grid-template-columns: auto 1fr; margin: 22px 0 0; border-top: 1px solid var(--splash); }
.ways dt, .ways dd { display: flex; align-items: center; min-height: 52px; margin: 0; border-bottom: 1px solid var(--splash); }
.ways dt { font-weight: 700; font-size: 15px; padding-right: 16px; }
.ways dd { justify-content: flex-end; text-align: right; min-width: 0; }
.ways a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }

/* Basket bar at the bottom */
/* The faint line on top only shows where the bar lies over the footer, which is the same green. */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; background: var(--leaf); color: #fff; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.28); }
.bar-in { max-width: 680px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar strong { font-variant-numeric: tabular-nums; }
.bar-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bar-text strong { font-size: 18px; }
.bar-text small { font-size: 13px; color: #dfe8e1; }
.bar-text small:empty { display: none; }
/* Deliver to: under the total. White on the green bar, a line underneath like the sort menu. */
.bar-text select { min-height: 44px; max-width: 100%; margin-top: 2px; padding: 0 24px 0 0; border: 0; border-bottom: 1.5px solid #dfe8e1; border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center;
  color: #fff; font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.bar-text select option, .bar-text select optgroup { color: var(--leaf); background: #fff; }
/* Buttons (Jacob, 19 Nov: decide the button's size first, then write the words to fit it). One height (--box) and one
   text size everywhere. The width is a share of the page column, never the width of the words: a third of it
   (every plain .btn), two thirds (.long) or all of it (.wide). On a phone three buttons side by side fill the
   column exactly, with 8 px between them; from about 425 px wide a button stays 124 px. */
:root { --btn: min(calc((100vw - 52px) / 3), 124px); }
.btn { display: inline-flex; align-items: center; justify-content: center; width: var(--btn); height: var(--box); padding: 0 6px; white-space: nowrap; border: 0; border-radius: 4px; background: var(--bloom); color: #fff; font-size: 17px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn.long { width: calc(var(--btn) * 2 + 8px); }
.btn.wide { width: 100%; }
.btn:active:not(:disabled) { filter: brightness(.9); } /* a short darkening on tap instead of the phone's blue flash */
.btn.plain { background: transparent; color: var(--leaf); border: 1.5px solid var(--leaf); }

@media (max-width: 380px) { h1 { font-size: 29px; } .name { font-size: 18px; } }
/* Small movements (Maja, 19 Nov: the site lacked a little life). Each one answers something the visitor did,
   lasts a fraction of a second, and is switched off for anyone who has asked their phone for less motion.
   - The EUR / DKK switch: the dark half slides across.
   - The basket bar rises from the bottom edge the first time something is picked.
   - An opened photo and a quantity line ease in.
   - The plant label on the home page sways once, as if just pushed into the soil. */
@media (prefers-reduced-motion: no-preference) {
  .size { transition: background-color .12s, border-color .12s; }
  .cur.slides button { transition: color .18s; }
  .cur.slides::before { transition: transform .18s cubic-bezier(.3, .7, .4, 1); }
  .bar { transition: transform .22s cubic-bezier(.2, .8, .3, 1); }
  @starting-style { .bar { transform: translateY(100%); } }
  .big, .qrow { transition: opacity .16s, transform .16s; }
  @starting-style { .big, .qrow { opacity: 0; transform: translateY(-4px); } }
  .tag { animation: tag-settle .9s cubic-bezier(.3, 1.4, .5, 1) both; }
  @keyframes tag-settle { from { transform: rotate(calc(var(--tilt) - 7deg)); } 55% { transform: rotate(calc(var(--tilt) + 1.5deg)); } to { transform: rotate(var(--tilt)); } }
}

/* Checkout and order pages: one column, the plants first, then delivery, details and the total. */
.co-test { display: inline-block; padding: 2px 8px; border: 1.5px solid var(--bloom); border-radius: 4px; color: var(--bloom); font-weight: 700; font-size: 15px; }
.co-sec { margin: 22px 0 0; }
.co-sec h2 { margin: 0 0 10px; }
.co-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.co-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--splash); }
.co-lines .name { font-size: 18px; }
.co-lines small { display: block; color: var(--stem); font-size: 14px; margin-top: 2px; }
.co-lines b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-note { color: var(--stem); font-size: 15px; }
.co-form { display: grid; gap: 6px; }
.co-form h2 { margin-top: 18px; }
.co-form label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.co-form .opt { margin-left: 4px; font-weight: 400; font-size: 14px; color: var(--stem); } /* "optional", after the label */
.co-form .field { width: 100%; height: var(--box); padding: 0 12px; background-color: var(--tag); border: 1.5px solid var(--leaf); border-radius: 4px; font-size: 16px; }
.co-form textarea.field { height: auto; padding: 10px 12px; }
/* Every dropdown field (checkout and admin) draws the same arrow as the sort menu, not the browser's own. */
select.field { -webkit-appearance: none; appearance: none; padding-right: 36px; background: var(--tag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c3a2a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.co-two { display: grid; grid-template-columns: 2fr 3fr; gap: 10px; }
.co-two label { display: block; }
.co-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 16px 0 4px; padding-top: 10px; border-top: 2px solid var(--leaf); font-variant-numeric: tabular-nums; }
.co-sum dt, .co-sum dd { margin: 0; }
.co-sum dd { text-align: right; }
.co-sum .total { font-weight: 800; font-size: 19px; }
.co-form .error { margin: 4px 0 0; color: var(--bloom); font-weight: 700; }
.co-pay { margin-top: 8px; }
.co-pay:disabled { opacity: .6; cursor: default; }
/* Until online payment is switched on, this box stands where the buyer's details and the Pay button will be. */
.co-soon { margin-top: 10px; padding: 14px 16px 6px; border: 1.5px solid var(--leaf); border-radius: 4px; background: var(--tag); }
.co-soon p { margin: 0; }
.co-sec p a, .orderpage p a { display: inline-flex; align-items: center; min-height: 44px; }
