/* Parfumprijsvergelijker. "Op de markt": a tomato-red stall field, white price cards with
   heavy condensed figures, and every scent group in the colour of its ingredient.
   Order: font, tokens, scent group colours, base, shell, shared components, perfume page,
   home, scent guide, scent groups, other pages, wider screens, small screens, motion, print. */

/* Bricolage Grotesque by Mathieu Triay, SIL Open Font License 1.1 (fonts/OFL.txt), from
   github.com/google/fonts/tree/main/ofl/bricolagegrotesque. Cut to weights 400-800, widths
   75-100 and optical sizes 12-96, and subset; the file name carries a hash of its content,
   so a changed font gets a new name. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/static/fonts/bricolage-latin-68c26e70.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013,
    U+2018-201E, U+2022, U+2026, U+2032-2033, U+20AC, U+2122, U+212E, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/static/fonts/bricolage-latin-ext-556e2194.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0;
}

:root {
  /* The stall: brand and action. Never a scent group colour. */
  --red: #c93a20;
  --red-deep: #a52c15;
  --red-tint: #fbe6df;
  /* Ink, card stock and the sand of the market floor. */
  --ink: #231b17;
  --ink-2: #62564f;
  --on-ink: #f4ede5;
  --line: #e9e1da;
  --edge: #9a8d85;
  --sand: #f4ede5;
  --sand-2: #ebe1d6;
  --white: #ffffff;

  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --lift: 0 18px 36px -20px rgb(35 27 23 / 0.55);
  --wrap: 74rem;
  --gutter: 1rem;

  /* The colour of whatever scent group an element names; neutral when it names none. */
  --g: var(--sand-2);
  --g-on: var(--ink);
  --g-tint: var(--sand);
  --g-deep: var(--ink-2);

  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--edge) transparent;
  accent-color: var(--red);
}

/* ---------- Scent group colours: the fill, the text on it, a tint, a readable shade ---------- */

.g-citrus { --g: #f37f22; --g-on: var(--ink); --g-tint: #ffe8d4; --g-deep: #9c4a00; }
.g-aquatisch { --g: #1b72ab; --g-on: var(--white); --g-tint: #dcedf8; --g-deep: #105d8e; }
.g-aromatisch { --g: #5a9e2f; --g-on: var(--ink); --g-tint: #e4f1d8; --g-deep: #356e17; }
.g-fruitig { --g: #cc3366; --g-on: var(--white); --g-tint: #fde1ea; --g-deep: #a8214e; }
.g-bloemig { --g: #f39bbd; --g-on: var(--ink); --g-tint: #fde8f0; --g-deep: #a8325f; }
.g-muskus { --g: #e9c9b5; --g-on: var(--ink); --g-tint: #f8ece4; --g-deep: #85583f; }
.g-kruidig { --g: #6f3a1d; --g-on: var(--white); --g-tint: #f2e1d6; --g-deep: #7a3f1c; }
.g-houtachtig { --g: #2f6142; --g-on: var(--white); --g-tint: #dfece3; --g-deep: #2f6142; }
.g-amber { --g: #e8b43f; --g-on: var(--ink); --g-tint: #fcf0cf; --g-deep: #7d5800; }
.g-zoet { --g: #b98a63; --g-on: var(--ink); --g-tint: #f4e8dc; --g-deep: #7e5430; }
.g-leer { --g: #525a63; --g-on: var(--white); --g-tint: #e6e9ec; --g-deep: #4a525b; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
/* The footer sits at the bottom of the screen on a short page (an empty state, a 404). */
body { margin: 0; background: var(--white); font-variant-numeric: lining-nums; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1 0 auto; }
::selection { background: var(--red); color: var(--white); }
a { color: var(--red-deep); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 1.5rem; font-weight: 760; }
h3 { font-size: 1.1875rem; font-weight: 720; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 720; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; background: var(--sand); padding: 0.05em 0.35em; border-radius: 4px; }
input, button, select { font: inherit; color: inherit; }
input { caret-color: var(--red); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--ink-2); }
/* A row of facts with a dot before each. The dot that would open a wrapped line falls in the
   clipped strip on the left, so no line starts with one. */
.dots { display: flex; flex-wrap: wrap; margin-left: -1.1rem; clip-path: inset(0 0 0 1.1rem); }
.dots > * { padding-left: 1.1rem; text-indent: -1.1rem; }
.dots > *::before { content: "·"; content: "·" / ""; display: inline-block; width: 1.1rem; text-indent: 0; text-align: center; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-top: 1.25rem; padding-bottom: 4rem; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 10; background: var(--white); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--r-m); }
.phone-only { display: none; }
/* An ingredient drawing; decorative wherever the word stands beside it. */
.ing { display: block; flex: none; width: 2rem; height: 2rem; }

/* ---------- Shell: an ink bar, the menu, a sand footer with the produce ---------- */

.site-head { background: var(--ink); color: var(--white); }
.head-bar { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; min-height: 2.75rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.brand-name { font-size: 1.125rem; font-weight: 780; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head-search { position: relative; margin-left: auto; width: min(24rem, 42%); }
.head-search input {
  width: 100%; height: 2.75rem; padding: 0 3rem 0 1.1rem; border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 0.9375rem;
}
.head-search input::placeholder { color: var(--ink-2); }
.head-search input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.head-search button {
  position: absolute; top: 0.25rem; right: 0.25rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 0; border-radius: 999px; background: var(--red); color: var(--white); cursor: pointer;
}
.head-search button:hover { background: var(--red-deep); }
.site-head :focus-visible { outline-color: var(--white); }
.head-find { display: none; }
.main-nav { position: relative; border-top: 1px solid rgb(255 255 255 / 0.12); }
.nav-more { display: none; }
.nav-row { display: flex; align-items: center; gap: 0.25rem; min-height: 3.25rem; overflow-x: auto; scrollbar-width: none; }
.nav-row a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.95rem; flex: none; border-radius: 999px;
  color: var(--on-ink); font-size: 0.9375rem; font-weight: 640; text-decoration: none;
  transition: background-color 0.15s var(--ease);
}
.nav-row > a:first-child { margin-left: -0.95rem; }
.nav-row a:hover { color: var(--white); background: rgb(255 255 255 / 0.1); }
.nav-row a[aria-current], .nav-row a.is-section { color: var(--white); background: var(--red); }

.site-foot { background: var(--sand); padding: 0 0 2.5rem; color: var(--ink-2); font-size: 0.9375rem; }
/* The produce on the stall: one drawing per scent group, across the top of the footer. */
.foot-produce { display: flex; justify-content: space-between; gap: 0.4rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.foot-produce img { flex: 1 1 0; min-width: 0; max-width: 2rem; width: 100%; height: auto; }
.foot-produce img:nth-child(even) { transform: rotate(-8deg); }
.foot-grid { display: grid; gap: 1.25rem 4rem; grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; border-top: 1px solid var(--sand-2); }
.foot-note, .foot-stamp { margin: 0 0 0.5rem; max-width: 36rem; }
.foot-stamp { font-variant-numeric: tabular-nums; }
/* A fixed grid of max-content columns: its narrowest size equals its natural size, so no
   browser can squeeze the links into a single column. */
.foot-nav { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 2rem; align-content: start; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-weight: 560; text-decoration-color: var(--edge); }
.foot-nav a:hover { color: var(--red-deep); text-decoration-color: currentColor; }

/* ---------- Shared components ---------- */

.crumbs {
  font-size: 0.875rem; color: var(--ink-2); margin-bottom: 0.75rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crumbs a { color: var(--ink-2); }
.crumbs a::after { content: "/"; display: inline-block; margin: 0 0.45rem; color: var(--edge); text-decoration: none; }

/* The stall: the red field a page's answer or its one action stands on. */
.stall { background: var(--red); color: var(--white); }
.stall a:not(.button) { color: var(--white); }
.stall :focus-visible { outline-color: var(--white); }
.stall .crumbs, .stall .crumbs a { color: var(--white); }
.stall .crumbs a::after { color: rgb(255 255 255 / 0.7); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0 1.5rem;
  border: 0; border-radius: var(--r-m); font-weight: 740; font-size: 1.0625rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  background: var(--red); color: var(--white);
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.button:hover { background: var(--red-deep); color: var(--white); }
.button:active { transform: translateY(1px); }
/* A secondary action: an outlined ink pill. */
.empty-actions a, .pager a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 2px solid var(--ink);
  border-radius: 999px; color: var(--ink); font-weight: 680; text-decoration: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.empty-actions a:hover, .pager a:hover { background: var(--ink); color: var(--white); }

.sheet { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 1.25rem; }
.sheet > :last-child { margin-bottom: 0; }
/* An empty state: what is missing, why, and where to go instead, with the produce beside it. */
.empty { position: relative; max-width: 42rem; padding: 1.5rem 1.35rem 1.6rem; background: var(--sand); border: 0; }
.empty h2 { font-size: 1.375rem; margin-bottom: 0.4rem; }
.empty p { max-width: 34rem; }
.empty-produce { display: flex; gap: 0.4rem; margin-bottom: 0.85rem; }
.empty-produce img { width: 2.25rem; height: 2.25rem; }
.empty-produce img:nth-child(2) { transform: rotate(-10deg); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-top: 1.1rem; }

.block { margin-top: 3rem; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.block-head h2 { margin: 0; }
.block > h2 { margin-bottom: 1rem; }
.block-count { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
.block-intro { max-width: 40rem; margin: -0.4rem 0 1rem; color: var(--ink-2); }
.more-link { font-weight: 680; }
.page-note { max-width: 40rem; margin: 1rem 0 0; color: var(--ink-2); font-size: 0.875rem; }

.tag {
  display: inline-block; vertical-align: 0.1em; margin-left: 0.4rem; padding: 0.12rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 720; line-height: 1.4; white-space: nowrap;
}
.tag-best { background: var(--red); color: var(--white); }
.tag-value { background: var(--ink); color: var(--white); }
.tag-drop { background: var(--red-tint); color: var(--red-deep); }
.tag-out { background: var(--white); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }

/* The search form: on the stall it is the page's one action. */
.search label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.search-row { display: flex; gap: 0.5rem; max-width: 40rem; }
.search input {
  flex: 1; min-width: 0; height: 3.5rem; padding: 0 1.2rem; border: 2px solid var(--ink); border-radius: var(--r-m);
  background: var(--white); color: var(--ink); font-size: 1.0625rem;
}
.search input::placeholder { color: var(--ink-2); }
.search button {
  height: 3.5rem; padding: 0 1.5rem; border: 0; border-radius: var(--r-m); cursor: pointer;
  background: var(--red); color: var(--white); font-weight: 740; font-size: 1.0625rem;
}
.search button:hover { background: var(--red-deep); }
.stall .search input { border-color: var(--white); }
.stall .search input:focus-visible { outline-color: var(--white); }
.stall .search button { background: var(--ink); }
.stall .search button:hover { background: #000; }

/* Tables: a white sheet with horizontal rules only. */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
th, td { padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 1.25rem; }
th:last-child, td:last-child { padding-right: 1.25rem; }
thead th { font-size: 0.8125rem; font-weight: 680; color: var(--ink-2); background: var(--sand); padding-top: 0.6rem; padding-bottom: 0.6rem; border-bottom: 0; }
tbody tr:last-child > * { border-bottom: 0; }
th[scope="row"] { font-weight: 700; }
td.num, th.num { text-align: right; }

/* A perfume in a list: the same furniture in the same place on every tile, and the price
   on its own little card at the bottom right. */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.875rem; }
.pcard {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto auto 1fr;
  grid-template-areas: "reason reason" "name name" "sizes sizes" "why why" "shops price"; column-gap: 0.75rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 1.05rem 1.05rem 1rem;
  transition: border-color 0.15s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pcard:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--lift); }
.pcard-link { grid-area: name; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.pcard-link:hover { color: var(--ink); }
.pcard-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }
.pcard-link:focus-visible { outline: 0; }
.pcard-link:focus-visible::after { outline: 3px solid var(--ink); outline-offset: 2px; }
.pcard-brand { font-size: 0.9375rem; font-weight: 480; color: var(--ink-2); }
.pcard-line { font-size: 1.1875rem; font-weight: 780; line-height: 1.15; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.pcard-family { font-weight: 450; }
.pcard-kind { margin-top: 0.2rem; font-size: 0.875rem; color: var(--ink-2); }
.pcard-sizes { grid-area: sizes; margin: 0.55rem 0 0; font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pcard-shops { grid-area: shops; align-self: end; margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
.pcard-price {
  grid-area: price; align-self: end; justify-self: end; margin: 0.9rem 0 0; padding: 0.35rem 0.65rem 0.4rem;
  border-radius: var(--r-m); background: var(--sand); text-align: right; line-height: 1.1;
}
.pcard-price strong { display: block; font-size: 1.5rem; font-weight: 800; font-stretch: 75%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pcard-from, .pcard-size { display: block; font-size: 0.75rem; color: var(--ink-2); }
/* A picture of the bottle, only when a source grants one: beside the name in a fixed box, so
   a tile with a picture keeps the furniture of one without, and a slow or missing picture
   moves nothing. Never cropped (contain) and never enlarged past its own size (scale-down).
   Packshots stand on white; multiply lets that white take the tile's own ground. */
.pcard.has-img { grid-template-areas: "reason reason" "name img" "sizes sizes" "why why" "shops price"; }
.pcard-img {
  grid-area: img; align-self: start; justify-self: end; width: 4.75rem; height: 5.25rem;
  object-fit: scale-down; object-position: 50% 100%; mix-blend-mode: multiply;
}
/* Why a tile is suggested, read first: the answers in their scent group colours, then notes. */
.pcard-reason { grid-area: reason; margin: 0 0 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.why-words { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.45rem; }
.why-notes { margin: 0; color: var(--ink-2); font-size: 0.875rem; line-height: 1.4; }
.why {
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2rem; padding: 0 0.7rem 0 0.35rem; border-radius: 999px;
  background: var(--g-tint); color: var(--g-deep); font-size: 0.9375rem; font-weight: 740;
}
.why .ing { width: 1.5rem; height: 1.5rem; }
.why.is-plain { padding-left: 0.7rem; }
.pcard-why {
  grid-area: why; display: grid; gap: 0.15rem; margin: 0.7rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 0.875rem; line-height: 1.4;
}
.pcard-why b { color: var(--ink); font-weight: 700; }
.has-reason .pcard-why { margin-top: 0.6rem; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0 1rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink);
  font-weight: 640; font-size: 0.9375rem; text-decoration: none;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips span { color: var(--ink-2); font-weight: 500; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
/* A chip that names a scent group wears its colour. */
.chips .g-chip a { padding-left: 0.4rem; border-color: transparent; background: var(--g-tint); color: var(--g-deep); font-weight: 720; }
.chips .g-chip a:hover { border-color: var(--g-deep); }
.chips .g-chip span { color: var(--g-deep); }
.chips .g-chip .ing { width: 1.75rem; height: 1.75rem; }

.rows { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); }
.rows li { position: relative; padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows a { font-weight: 720; font-size: 1.125rem; text-decoration: none; color: var(--ink); }
.rows a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rows a:focus-visible { outline: 0; }
.rows a:focus-visible::after { outline: 3px solid var(--ink); outline-offset: -3px; }
.rows li:hover { background: var(--sand); }
.rows li:hover a { color: var(--red-deep); text-decoration: underline; }
.rows li:first-child { border-radius: var(--r-l) var(--r-l) 0 0; }
.rows li:last-child { border-radius: 0 0 var(--r-l) var(--r-l); }
.rows li:only-child { border-radius: var(--r-l); }
.rows p { margin: 0.25rem 0 0; color: var(--ink-2); max-width: 60ch; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 42rem; margin-bottom: 0.5rem; }
.count { color: var(--ink-2); margin: 0; font-variant-numeric: tabular-nums; }
/* A band of red at the top of a page whose head is its one statement. */
.stall-head { padding: 1.5rem 0 1.75rem; }
.stall-head h1 { margin: 0 0 0.35rem; }
.stall-head .lead, .stall-head .count { color: var(--white); }
.stall-head .crumbs { margin-bottom: 0.6rem; }

/* ---------- Perfume page: the price card on the stall ---------- */

/* The red band ends three rem above the card's foot, so the card stands on the stall's edge. */
.p-stall { position: relative; background: linear-gradient(var(--red) 0 calc(100% - 3rem), transparent 0); }
.p-stall-inner { position: relative; z-index: 1; }
/* The produce lies in the band's lower left on wide screens only, beside the name. */
.p-stall .stall-produce { display: none; bottom: 3rem; overflow: hidden; --x0: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); }
.p-stall-inner { display: grid; gap: 1rem; padding-top: 1rem; }
.p-stall .crumbs, .p-stall .crumbs a { color: var(--white); }
.p-stall .crumbs a::after { color: rgb(255 255 255 / 0.75); }
.p-stall .p-head :focus-visible, .p-stall .crumbs :focus-visible { outline-color: var(--white); }
.p-head { margin: 0; }
/* The bottle, when a source grants a picture: a white card pinned at the head's top right,
   reaching up beside the crumbs, so it costs the first screen no height. */
.p-head.has-img { position: relative; }
.p-head.has-img .p-title { padding-right: 5.6rem; }
.p-stall-inner:has(.p-head.has-img) > .crumbs { padding-right: 5.6rem; }
.p-img {
  position: absolute; top: -2.5rem; right: 0; width: 4.75rem; height: 5.75rem; padding: 0.3rem;
  border-radius: var(--r-m); background: var(--white); box-shadow: var(--lift); transform: rotate(3deg);
  object-fit: scale-down; object-position: 50% 100%;
}
.p-title { margin: 0; font-size: 1.875rem; line-height: 1.04; letter-spacing: -0.025em; overflow-wrap: anywhere; color: var(--white); }
.p-brand { display: block; font-size: 0.6em; font-weight: 520; letter-spacing: -0.01em; margin-bottom: 0.1em; }
.p-line { font-weight: 800; }
/* A long name steps down a size, so the card and its button stay high on a phone. */
.p-title.is-long { font-size: 1.375rem; line-height: 1.1; }
.p-meta { align-items: center; row-gap: 0.15rem; margin-top: 0.55rem; margin-bottom: 0; color: var(--white); font-size: 0.9375rem; }
.p-meta .p-kind { font-weight: 720; }
.p-meta a { font-weight: 640; }

.pricecard {
  position: relative; background: var(--white); color: var(--ink); border-radius: var(--r-l);
  padding: 1rem 1rem 0.95rem; box-shadow: var(--lift); view-transition-name: pricecard;
}
.pricecard :focus-visible { outline-color: var(--ink); }
/* Sizes: a row of stamps across the top of the card; the chosen one is ink. */
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); gap: 0.4rem; margin: 0 0 1rem; }
.size {
  display: flex; flex-direction: column; justify-content: center; min-height: 3.4rem; margin: 0; padding: 0.4rem 0.55rem;
  border-radius: var(--r-m); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--white);
  color: var(--ink); text-decoration: none; line-height: 1.12;
  transition: background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
a.size:hover { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.size-ml { font-size: 1.3125rem; font-weight: 800; font-stretch: 75%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.size-unit { font-size: 0.75rem; font-weight: 640; font-stretch: 100%; letter-spacing: 0; }
.size-price { margin-top: 0.12rem; font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.size[aria-current] { background: var(--ink); color: var(--white); box-shadow: none; }
.size[aria-current] .size-price { color: var(--on-ink); }
.size.is-out { background: var(--sand); box-shadow: none; }
/* "uitverkocht" is the longest word a stamp holds: set it condensed so it fits a phone's stamp. */
.size.is-out .size-price { font-stretch: 75%; font-size: 0.875rem; }
.size.is-out .size-ml { color: var(--ink-2); }
.size.is-out[aria-current] { background: var(--ink-2); }
.size.is-out[aria-current] .size-ml { color: var(--white); }
.sizes.is-single { grid-template-columns: repeat(auto-fill, minmax(5.5rem, 7rem)); }

.answer { display: grid; gap: 1rem; }
.answer-lead { margin: 0 0 0.3rem; font-size: 1.0625rem; font-weight: 480; letter-spacing: 0; line-height: 1.3; }
.answer-lead strong { font-weight: 780; }
.answer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.6rem; margin: 0; }
.answer-price strong { font-size: 3rem; font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.answer-price span { color: var(--ink-2); font-weight: 600; }
/* Bottle plus shipping, per 100 ml, the shop's remark: a row with dots on wide screens, one
   line each on a phone (see the small-screen block). */
.answer-detail { margin-top: 0.45rem; margin-bottom: 0; color: var(--ink-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.answer-detail > span { white-space: nowrap; }
.answer-detail > .answer-note { white-space: normal; }
.answer-out { margin: 0.5rem 0 0; max-width: 36rem; color: var(--ink-2); font-size: 0.9375rem; }
.answer-more > :first-child { margin-top: 0; }
.answer-deal {
  display: flex; gap: 0.4rem; align-items: flex-start; margin: 0.75rem 0 0; padding: 0.55rem 0.75rem; border-radius: var(--r-m);
  background: var(--red-tint); color: var(--red-deep); font-weight: 650; font-size: 0.9375rem; max-width: 34rem;
}
.answer-deal .icon { margin-top: 0.1rem; }
.answer-saving { margin: 0.5rem 0 0; color: var(--ink-2); font-size: 0.9375rem; }
.answer .button { width: 100%; }
.plate-stamp { margin: 1rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

.offers th[scope="row"] { font-size: 1.0625rem; }
.offers .total strong { font-size: 1.25rem; font-weight: 800; font-stretch: 75%; }
.offers tr.is-best { background: var(--red-tint); }
.offers tr.is-out { color: var(--ink-2); }
.offers tr.is-out .total strong { font-weight: 640; }
.offer-note, .offer-change { display: block; margin-top: 0.1rem; font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); }
.offers .go { width: 1%; }
.go a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0 0.95rem; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 0.9375rem; text-decoration: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.go a:hover { background: var(--ink); color: var(--white); }
.offers tr.is-best .go a { background: var(--red); border-color: var(--red); color: var(--white); }
.offers tr.is-best .go a:hover { background: var(--red-deep); border-color: var(--red-deep); }
.go .icon { width: 1.1em; height: 1.1em; }
.ad { margin-left: -0.15rem; }
/* Under the offers: one short statement per line, so the shipping rule is not lost in a paragraph. */
.table-notes { list-style: none; display: grid; gap: 0.35rem; margin: 0.85rem 0 0; padding: 0; max-width: 40rem; color: var(--ink-2); font-size: 0.875rem; line-height: 1.45; }
.offer-plus { display: block; margin-top: 0.1rem; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }

.size-table th[scope="row"] a { font-weight: 800; font-stretch: 75%; font-size: 1.1875rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.size-table th[scope="row"] a::after { content: ""; position: absolute; inset: 0; }
.size-table tbody tr { position: relative; }
.size-table tbody tr:hover { background: var(--sand); }
.size-table th[scope="row"] a:focus-visible { outline: 0; }
.size-table th[scope="row"] a:focus-visible::after { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 4px; }
.size-table tr.is-chosen { background: var(--sand); }
.size-table tr.is-chosen th[scope="row"] a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.size-table td.per { font-weight: 760; }
.size-table td.per .tag { margin: 0 0.4rem 0 0; }
.size-table tr.is-out td.per { font-weight: 400; color: var(--ink-2); }
.size-table .shop { color: var(--ink-2); }

.chart { margin: 0; }
.chart svg { display: block; width: 100%; height: 7.5rem; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); }
.chart polyline { stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart-rule { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart figcaption { display: grid; gap: 0.2rem; margin-top: 0.6rem; color: var(--ink-2); font-size: 0.875rem; }
.chart-range { display: flex; gap: 1.25rem; font-variant-numeric: tabular-nums; }
.chart-range strong { color: var(--ink); }
.waiting { color: var(--ink-2); background: var(--sand); border: 0; }

/* The scent profile: the groups in their colours with their drawings, the notes as the shops
   list them, the source. The sheet wears the tint of the group whose list holds the perfume. */
.scent-sheet { position: relative; display: grid; gap: 1.1rem 2.5rem; max-width: 64rem; background: var(--g-tint); border: 0; padding: 1.35rem 1.25rem 1.25rem; }
.scent-label { margin: 0 0 0.6rem; color: var(--ink); font-size: 0.875rem; font-weight: 720; }
.scent-notes { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; margin: 0; }
.scent-notes dt, .scent-notes dd { padding: 0.6rem 0; border-top: 1px solid rgb(35 27 23 / 0.12); line-height: 1.5rem; }
.scent-notes dt { padding-right: 1.25rem; color: var(--ink); font-size: 0.875rem; font-weight: 720; }
.scent-notes dd { margin: 0; font-size: 1.0625rem; }
.scent-notes dt:first-of-type, .scent-notes dt:first-of-type + dd { padding-top: 0; border-top: 0; }
.scent-notes dt:last-of-type, .scent-notes dd:last-of-type { padding-bottom: 0; }
.scent-source { grid-column: 1 / -1; margin: 0; padding-top: 0.85rem; border-top: 1px solid rgb(35 27 23 / 0.12); color: var(--ink); font-size: 0.875rem; max-width: 46rem; }
.scent-source a { color: var(--ink); }
.scent-groups .chips .g-chip a { background: var(--g); color: var(--g-on); }
.scent-groups .chips .g-chip a:hover { border-color: var(--ink); }

.p-page { padding-top: 0.5rem; }
.home-page > .block:first-child, .band-page > .block:first-child { margin-top: 0.5rem; }
.p-page > .block:first-child { margin-top: 1.75rem; }
/* The chip needs no dot before it; its own shape separates it, and it keeps the clip strip. */
.p-meta > .p-group::before { content: none; }
.p-meta > .p-group { text-indent: 0; }
.p-meta .p-group a {
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 1.875rem; padding: 0 0.7rem 0 0.3rem; border-radius: 999px;
  background: var(--white); color: var(--g-deep); font-weight: 720; text-decoration: none; text-indent: 0;
}
.p-meta .p-group a:hover { color: var(--g-deep); text-decoration: underline; }
.p-meta .p-group .ing { width: 1.375rem; height: 1.375rem; }
.pricecard.is-empty h2 { font-size: 1.375rem; margin-bottom: 0.4rem; }
.pricecard.is-empty p { color: var(--ink-2); max-width: 34rem; }

/* ---------- Home ---------- */

.home-stall { position: relative; overflow: hidden; }
.home-stall-inner { position: relative; z-index: 1; display: grid; gap: 2rem; padding-top: 1.75rem; padding-bottom: 2rem; }
.home-stall h1 { font-size: 2.25rem; line-height: 1.02; max-width: 15ch; margin-bottom: 0.65rem; letter-spacing: -0.03em; }
.home-stall .lead { color: var(--white); font-size: 1.0625rem; max-width: 36rem; margin-bottom: 1.35rem; }
.home-stall .search label { color: var(--white); }
.plate-facts { margin-top: 1rem; margin-bottom: 0; color: var(--white); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.plate-facts > span { white-space: nowrap; }
/* The date may break after "op" on the narrowest phones; the stamp itself stays whole. */
.plate-facts > span:last-child { white-space: normal; }
/* The produce scattered on the stall, like herbs round a kitchen card. Decoration only. */
.stall-produce { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.stall-produce li { position: absolute; }
.stall-produce img { display: block; width: 100%; height: auto; }
/* On a phone the home stall shows its produce as a row along its foot. */
.home-stall .stall-produce { position: relative; display: flex; justify-content: space-between; max-width: var(--wrap); margin: -0.5rem auto 0; padding: 0 var(--gutter) 1.25rem; }
.home-stall .sp { position: static; width: 2.5rem; transform: rotate(8deg); }
.home-stall .sp:nth-child(even) { transform: rotate(-10deg); }
.home-stall .sp-8, .home-stall .sp-9 { display: none; }

/* The home page with scent notes: the question on the stall and the guide's form standing on
   its edge. On a phone the heading, the three sliders, "Voor wie?" and the button fit the
   first 700 px; from 64rem the three sliders stand side by side across the page. */
.home-guide-stall { position: relative; overflow: hidden; padding: 0.6rem 0 3.25rem; }
.home-guide-head { position: relative; z-index: 1; }
.home-guide-stall h1 { max-width: 12ch; margin: 0 0 0.15rem; font-size: 1.875rem; line-height: 1.02; letter-spacing: -0.03em; }
.home-guide-stall p { margin: 0; font-size: 1rem; }
.wide-only { display: none; }
/* Two of the produce beside the heading on a phone; scattered over the band from 64rem. */
.home-guide-stall .sp { display: none; }
.home-guide-stall .sp-1 { display: block; right: 1rem; top: 0.55rem; width: 3rem; transform: rotate(12deg); }
.home-guide-stall .sp-2 { display: block; right: 4.4rem; top: 2.1rem; width: 2.6rem; transform: rotate(-10deg); }
.home-guide-stall + .home-page { padding-top: 0; }
.home-guide { position: relative; z-index: 1; margin-top: -2.9rem; }
.home-guide .guide-form { gap: 0.55rem; padding-top: 0.8rem; }
.home-guide .guide-question + .guide-question { padding-top: 0.5rem; }

/* The price search: the second way in, on sand under the guide. Its heading names it, so the
   field's own label is for screen readers only. */
.home-search { margin-top: 1.75rem; padding: 1.15rem 1rem 1rem; border-radius: var(--r-l); background: var(--sand); }
.home-search h2 { margin: 0 0 0.75rem; font-size: 1.375rem; }
.home-search .search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-search .search input { border-color: var(--ink); }
.home-facts { margin: 0.7rem 0 0; color: var(--ink-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.home-facts > span { white-space: nowrap; }
.home-facts > span:last-child { white-space: normal; }

.deal-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); }
.deal-list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); }
.deal-list li:last-child { border-bottom: 0; }
.deal-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.deal-list a::after { content: ""; position: absolute; inset: 0; }
.deal-list li:hover { background: var(--sand); }
.deal-now { text-align: right; font-weight: 800; font-stretch: 75%; font-size: 1.375rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.deal-was { color: var(--ink-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.deal-drop { justify-self: end; }

.how { display: grid; gap: 1.25rem 2rem; margin: 0; padding: 0; list-style: none; }
.how li { padding: 1.15rem 1.2rem 1.2rem; border-radius: var(--r-l); background: var(--sand); }
.how strong { display: block; font-size: 1.1875rem; font-weight: 780; margin-bottom: 0.3rem; }
.how p { margin: 0; color: var(--ink); }
.how-more { margin: 1.25rem 0 0; font-weight: 680; }

/* ---------- The scent guide: three sliders, for whom, one button ---------- */

.guide-stall { position: relative; overflow: hidden; padding: 1rem 0 3.75rem; }
.guide-stall .wrap { position: relative; z-index: 1; }
.guide-stall .stall-produce { display: none; }
.guide-stall h1 { margin: 0 0 0.2rem; font-size: 2rem; line-height: 1.05; }
.guide-stall p { margin: 0; font-size: 1rem; }
.guide-page { padding-top: 0; }
.guide-layout { display: grid; gap: 2rem; margin-top: -3rem; }
.guide { min-width: 0; }
.guide-form {
  display: grid; gap: 0.85rem; padding: 1rem 1rem 1.1rem; border-radius: var(--r-l); background: var(--white); box-shadow: var(--lift);
  view-transition-name: guide;
}
/* Each slider's two ends take the colours of their scent groups; an end without one is taupe. */
.guide-question { --lo: #8c7e74; --lo-t: #ddd3ca; --hi: #8c7e74; --hi-t: #ddd3ca; }
.lo-citrus { --lo: #f37f22; --lo-t: #ffe8d4; }
.hi-citrus { --hi: #f37f22; --hi-t: #ffe8d4; }
.lo-aquatisch { --lo: #1b72ab; --lo-t: #dcedf8; }
.hi-aquatisch { --hi: #1b72ab; --hi-t: #dcedf8; }
.lo-aromatisch { --lo: #5a9e2f; --lo-t: #e4f1d8; }
.hi-aromatisch { --hi: #5a9e2f; --hi-t: #e4f1d8; }
.lo-fruitig { --lo: #cc3366; --lo-t: #fde1ea; }
.hi-fruitig { --hi: #cc3366; --hi-t: #fde1ea; }
.lo-bloemig { --lo: #f39bbd; --lo-t: #fde8f0; }
.hi-bloemig { --hi: #f39bbd; --hi-t: #fde8f0; }
.lo-muskus { --lo: #e9c9b5; --lo-t: #f8ece4; }
.hi-muskus { --hi: #e9c9b5; --hi-t: #f8ece4; }
.lo-kruidig { --lo: #6f3a1d; --lo-t: #f2e1d6; }
.hi-kruidig { --hi: #6f3a1d; --hi-t: #f2e1d6; }
.lo-houtachtig { --lo: #2f6142; --lo-t: #dfece3; }
.hi-houtachtig { --hi: #2f6142; --hi-t: #dfece3; }
.lo-amber { --lo: #e8b43f; --lo-t: #fcf0cf; }
.hi-amber { --hi: #e8b43f; --hi-t: #fcf0cf; }
.lo-zoet { --lo: #b98a63; --lo-t: #f4e8dc; }
.hi-zoet { --hi: #b98a63; --hi-t: #f4e8dc; }
.lo-leer { --lo: #525a63; --lo-t: #e6e9ec; }
.hi-leer { --hi: #525a63; --hi-t: #e6e9ec; }
.guide-ask { display: block; margin: 0 0 0.2rem; padding: 0; font-size: 1.0625rem; font-weight: 780; line-height: 1.25; letter-spacing: -0.01em; }
.guide-scale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "low high" "range range"; column-gap: 0.75rem; }
.guide-end { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; align-content: start; column-gap: 0.4rem; min-height: 2.25rem; }
.guide-end-low { grid-area: low; }
.guide-end-high { grid-area: high; grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
.guide-end-high .ing { grid-column: 2; grid-row: 1 / span 2; }
.guide-end .ing { grid-row: 1 / span 2; width: 2rem; height: 2rem; }
.guide-word { font-size: 1.0625rem; font-weight: 780; line-height: 1.15; color: var(--g-deep); }
.guide-end.no-ing .guide-word { color: var(--ink); }
.guide-hint { font-size: 0.75rem; line-height: 1.25; color: var(--ink-2); }
.guide-end-low .guide-word, .guide-end-low .guide-hint { grid-column: 2; }
.guide-end-high .guide-word, .guide-end-high .guide-hint { grid-column: 1; }
.guide-end.no-ing { grid-template-columns: minmax(0, 1fr); }
.guide-end.no-ing .guide-word, .guide-end.no-ing .guide-hint { grid-column: 1; }

/* The slider: five stops drawn as five segments of the track, the strong colours at the ends,
   the tints next to them, and the middle neutral (it means "maakt niet uit"). The segment
   edges sit halfway between the thumb's stops, so the thumb always stands on one. */
.guide-range {
  --t: 2.25rem; --h: 1rem;
  --b1: calc(var(--t) / 2 + (100% - var(--t)) * 0.125);
  --b2: calc(var(--t) / 2 + (100% - var(--t)) * 0.375);
  --b3: calc(var(--t) / 2 + (100% - var(--t)) * 0.625);
  --b4: calc(var(--t) / 2 + (100% - var(--t)) * 0.875);
  --track: linear-gradient(to right,
    var(--lo) 0 calc(var(--b1) - 1.5px), var(--white) 0 calc(var(--b1) + 1.5px),
    var(--lo-t) 0 calc(var(--b2) - 1.5px), var(--white) 0 calc(var(--b2) + 1.5px),
    var(--mid, var(--sand)) 0 calc(var(--b3) - 1.5px), var(--white) 0 calc(var(--b3) + 1.5px),
    var(--hi-t) 0 calc(var(--b4) - 1.5px), var(--white) 0 calc(var(--b4) + 1.5px),
    var(--hi) 0 100%);
  grid-area: range; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2.75rem; margin: 0.15rem 0 0;
  background: transparent; cursor: pointer;
}
.guide-range:focus-visible { outline: 0; }
.guide-range::-webkit-slider-runnable-track { height: var(--h); border-radius: 999px; background: var(--track); box-shadow: inset 0 0 0 1px rgb(35 27 23 / 0.25); }
.guide-range::-moz-range-track { height: var(--h); border-radius: 999px; background: var(--track); box-shadow: inset 0 0 0 1px rgb(35 27 23 / 0.25); }
.guide-range::-moz-range-progress { background: transparent; }
.guide-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; width: var(--t); height: var(--t); margin-top: calc((var(--h) - var(--t)) / 2);
  border: 4px solid var(--ink); border-radius: 50%; background: var(--white); box-shadow: 0 6px 14px -6px rgb(35 27 23 / 0.6);
  transition: transform 0.15s var(--ease);
}
.guide-range::-moz-range-thumb {
  box-sizing: border-box; width: var(--t); height: var(--t); border: 4px solid var(--ink); border-radius: 50%; background: var(--white);
  box-shadow: 0 6px 14px -6px rgb(35 27 23 / 0.6);
}
.guide-range:hover::-webkit-slider-thumb { transform: scale(1.06); }
.guide-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--red); outline-offset: 3px; }
.guide-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--red); outline-offset: 3px; }

/* "Voor wie?": three radios drawn as one segmented control. */
.guide-who { min-width: 0; margin: 0; padding: 0; border: 0; }
.guide-who legend { float: left; width: 100%; margin-bottom: 0.35rem; }
.guide-who-row { clear: both; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr); gap: 0.35rem; padding: 0.3rem; border-radius: calc(var(--r-m) + 0.3rem); background: var(--sand); }
.guide-who label { position: relative; display: block; cursor: pointer; }
.guide-who input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.guide-who label span {
  display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 0.35rem; border-radius: var(--r-m);
  font-weight: 700; font-size: 0.9375rem; text-align: center; line-height: 1.15; color: var(--ink);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.guide-who label:hover span { background: var(--white); }
.guide-who input:checked + span { background: var(--ink); color: var(--white); }
.guide-who input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.guide-actions { margin: 0.2rem 0 0; }
.guide-actions .button { width: 100%; }
.guide-note { margin: 0; color: var(--ink-2); font-size: 0.8125rem; line-height: 1.4; }

.guide-results { margin-top: 0; scroll-margin-top: 1rem; }
.guide-answer {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin: 0 0 1rem; padding: 0.75rem 1rem;
  border-radius: var(--r-m); background: var(--sand); font-size: 1.0625rem; font-weight: 640;
}
.guide-answer a { font-weight: 720; color: var(--red-deep); }
/* "Jouw keuze" and the budget make one sand panel (the template always puts the budget right
   after the answer). The budget is a small segmented choice in the family of "Voor wie?",
   white on the sand: it narrows the result and never orders it. */
.guide-answer { margin-bottom: 0; border-radius: var(--r-m) var(--r-m) 0 0; }
.guide-budget { display: grid; gap: 0.35rem; margin: 0 0 1rem; padding: 0.7rem 1rem 0.85rem; border-radius: var(--r-m); background: var(--sand); }
.guide-answer + .guide-budget { padding-top: 0.1rem; border-radius: 0 0 var(--r-m) var(--r-m); }
.guide-budget-label { font-size: 0.875rem; font-weight: 720; }
.guide-budget ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.25rem; max-width: 26rem; margin: 0; padding: 0.25rem;
  border-radius: calc(var(--r-m) + 0.25rem); background: var(--white); list-style: none;
}
.guide-budget a {
  display: flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: 0 0.25rem; border-radius: var(--r-m);
  color: var(--ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.guide-budget a:hover { background: var(--sand); color: var(--ink); }
.guide-budget a[aria-current] { background: var(--ink); color: var(--white); }
.guide-budget a:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--red); outline-offset: 2px; border-radius: var(--r-m); }
.guide-results .pcards { grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.guide-again { margin: 1rem 0 0; font-weight: 680; }
.finder-note { max-width: 42rem; margin: 1rem 0 0; color: var(--ink-2); font-size: 0.875rem; }
.guide-side h2 { font-size: 1.375rem; }

/* ---------- Scent groups ---------- */

.group-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.875rem; margin: 0; padding: 0; list-style: none; }
.group-list li {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.25rem 0.85rem;
  padding: 1rem 1.15rem 1.05rem; background: var(--g-tint); border-radius: var(--r-l);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.group-list li:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.group-list .ing { grid-row: span 2; width: 3.25rem; height: 3.25rem; }
.group-link { color: var(--g-deep); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-decoration: none; }
.group-link:hover { color: var(--g-deep); }
.group-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }
.group-link:focus-visible { outline: 0; }
.group-link:focus-visible::after { outline: 3px solid var(--ink); outline-offset: 2px; }
.group-count { margin: 0; color: var(--ink); font-size: 0.8125rem; text-align: right; white-space: nowrap; }
.group-count strong { margin-right: 0.2rem; font-size: 1.5rem; font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; }
.group-notes { grid-column: 2 / -1; margin: 0; color: var(--ink); font-size: 0.875rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin: 1.25rem 0 0; }

/* A group's own page: its tint as the band, its drawing large, its name in its own shade. */
.group-band { background: var(--g-tint); }
/* Amber's tint across a whole band reads as yellow (owner: no yellow layout): sand, and the drawing carries the colour. */
.group-band.g-amber { background: var(--sand); }
.group-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.5rem; }
.group-band h1 { color: var(--g-deep); margin-bottom: 0.4rem; }
.group-band .lead { color: var(--ink); }
.group-band .count { color: var(--ink); }
.group-band .crumbs, .group-band .crumbs a { color: var(--ink); }
.group-band .ing { width: 5rem; height: 5rem; transform: rotate(-8deg); }
.group-usual { margin: 0 0 0.35rem; font-weight: 640; }
.group-band-inner { align-items: start; }
.group-band .h1-sub { display: block; margin-top: 0.2rem; font-size: 0.5em; font-weight: 640; letter-spacing: -0.01em; color: var(--ink); }
.group-band .ing { width: 3.75rem; height: 3.75rem; }

/* ---------- Brands, shops, deals, search ---------- */

.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(2.75rem, 1fr)); gap: 0.35rem; margin: 0 0 2rem; }
.letters a {
  display: grid; place-items: center; min-height: 2.75rem; border-radius: var(--r-m);
  background: var(--sand); color: var(--ink); font-weight: 800; font-size: 1.0625rem; text-decoration: none;
}
.letters a:hover { background: var(--red); color: var(--white); }
.letter { display: grid; gap: 0.25rem 2rem; padding: 1.25rem 0; border-top: 1.5px solid var(--line); scroll-margin-top: 1rem; }
.letter h2 { margin: 0; font-size: 2.5rem; font-weight: 800; color: var(--red); line-height: 1; white-space: nowrap; }
.brand-list { list-style: none; margin: 0; padding: 0; columns: 13rem; column-gap: 2rem; }
.brand-list li { break-inside: avoid; }
.brand-list a { display: inline-flex; align-items: baseline; gap: 0.4rem; min-height: 2.25rem; padding: 0.35rem 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.brand-list a:hover { color: var(--red-deep); text-decoration: underline; }
.brand-list span { color: var(--ink-2); font-size: 0.8125rem; font-weight: 450; font-variant-numeric: tabular-nums; }

.shop-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.875rem; }
.shop-list li { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 1.2rem 1.3rem; }
.shop-list .dd-note { display: block; margin-top: 0.25rem; color: var(--ink-2); font-size: 0.875rem; line-height: 1.4; }
.shop-list h2 { font-size: 1.375rem; margin-bottom: 0.35rem; }
.shop-list h2 a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.shop-list h2 a:hover { color: var(--red-deep); text-decoration: underline; }
.shop-list h2 .icon { width: 1rem; height: 1rem; color: var(--ink-2); }
.shop-list p { color: var(--ink-2); max-width: 60ch; }
.shop-list dl { display: grid; grid-template-columns: max-content 1fr; align-content: start; gap: 0.4rem 1.25rem; margin: 0; padding-top: 0.85rem; border-top: 1px solid var(--line); }
.shop-list dt { color: var(--ink-2); font-size: 0.9375rem; }
.shop-list dd { margin: 0; }
.shop-list .yes { font-weight: 720; }

.deals th[scope="row"] a { color: var(--ink); text-decoration: none; }
.deals th[scope="row"] a:hover { color: var(--red-deep); text-decoration: underline; }
.deals .now strong { font-size: 1.25rem; font-weight: 800; font-stretch: 75%; }
.deals .was { color: var(--ink-2); }
.deals .tag { margin-left: 0; }
.count-head { font-size: 1rem; font-weight: 640; color: var(--ink-2); letter-spacing: 0; }
.after-list { color: var(--ink-2); max-width: 46rem; }
.search-stall { padding: 1.5rem 0 1.75rem; }
.search-stall h1 { font-size: 1.875rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.search-stall .lead { color: var(--white); }

/* ---------- Reading pages ---------- */

/* A calm sand band holds the title and the lead; the article follows on white. */
.prose-band { background: var(--sand); }
.prose-head { padding-top: 1.5rem; padding-bottom: 1.75rem; }
.prose-head h1 { max-width: 22ch; margin-bottom: 0.5rem; }
.prose-head .lead { max-width: 38rem; margin: 0; color: var(--ink); font-size: 1.1875rem; line-height: 1.45; }
.prose > h2:first-child { margin-top: 0.5rem; }

.prose { max-width: 38rem; font-size: 1.0625rem; line-height: 1.65; }
.prose h1 { font-size: 2.25rem; line-height: 1.05; margin-bottom: 0.6rem; }
.prose .lead { font-size: 1.25rem; line-height: 1.45; color: var(--ink); margin-bottom: 1.75rem; }
.prose h2 { margin-top: 2.25rem; margin-bottom: 0.6rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--red); }
.prose table { margin: 1.25rem 0 1.5rem; font-size: 1rem; line-height: 1.45; }
.prose .table-wrap table { margin: 0; }
.prose .table-wrap { margin: 1.25rem 0 1.5rem; }
.prose table th, .prose table td { vertical-align: top; }
.prose .stamp { color: var(--ink-2); font-size: 0.9375rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1.5px solid var(--line); }
.more-guides { margin-top: 3rem; max-width: 38rem; }

/* ---------- Wider screens ---------- */

@media (min-width: 48rem) {
  :root { --gutter: 1.5rem; }
  h1 { font-size: 2.75rem; }
  .page { padding-top: 1.75rem; }
  .p-stall-inner { padding-top: 1.5rem; gap: 1.5rem; }
  .p-title { font-size: 2.75rem; }
  .p-title.is-long { font-size: 1.875rem; }
  .p-head.has-img .p-title { padding-right: 7.5rem; }
  .p-stall-inner:has(.p-head.has-img) > .crumbs { padding-right: 7.5rem; }
  .p-img { top: -2.75rem; width: 6.25rem; height: 7.5rem; padding: 0.4rem; }
  .wide-only { display: inline; }
  .home-guide-stall { padding: 1.75rem 0 4.75rem; }
  .home-guide-stall h1 { max-width: none; font-size: 2.75rem; margin-bottom: 0.35rem; }
  .home-guide-stall p { font-size: 1.125rem; }
  .home-guide-stall .sp-1 { right: max(1.5rem, calc((100% - var(--wrap)) / 2 + 1.5rem)); top: 1.1rem; width: 4rem; }
  .home-guide-stall .sp-2 { right: max(6.5rem, calc((100% - var(--wrap)) / 2 + 6.5rem)); top: 2.6rem; width: 3.5rem; }
  .home-guide { margin-top: -3.25rem; }
  .home-guide .guide-form { gap: 1rem; padding-top: 1.35rem; }
  .home-guide .guide-question + .guide-question { padding-top: 1rem; border-top: 1px solid var(--line); }
  .home-search { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items: center; column-gap: 2.5rem; margin-top: 2.5rem; padding: 1.6rem 1.75rem; }
  .home-search h2 { margin: 0; font-size: 1.5rem; }
  .guide-budget { grid-template-columns: auto minmax(0, 26rem); align-items: center; justify-content: start; column-gap: 0.9rem; }
  .pricecard { padding: 1.35rem 1.5rem 1.25rem; }
  .sizes { grid-template-columns: repeat(auto-fill, minmax(5.5rem, 6.5rem)); gap: 0.5rem; margin-bottom: 1.35rem; }
  .size { min-height: 4rem; padding: 0.5rem 0.7rem; }
  .size-ml { font-size: 1.625rem; }
  .answer { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; }
  .answer.has-more { grid-template-areas: "text go" "more go"; row-gap: 0.75rem; }
  .answer.has-more .answer-text { grid-area: text; }
  .answer.has-more .button { grid-area: go; }
  .answer.has-more .answer-more { grid-area: more; }
  .answer .button { width: auto; min-width: 15rem; }
  .answer-lead { font-size: 1.1875rem; }
  .answer-price strong { font-size: 4rem; }
  .home-stall h1 { font-size: 3.5rem; }
  .home-stall-inner { padding-top: 3rem; padding-bottom: 3.25rem; }
  .search-stall { padding: 2rem 0 2.25rem; }
  .search-stall h1 { font-size: 2.5rem; }
  .prose h1 { font-size: 2.75rem; }
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .letter { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) max-content; align-items: start; }
  .foot-nav { grid-template-columns: repeat(4, max-content); }
  .foot-nav a { min-height: 2.25rem; }
  .foot-produce img { max-width: 2.5rem; }
  .scent-sheet.is-split { grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr); padding: 1.6rem 1.75rem 1.5rem; }
  .group-band-inner { padding-top: 1.75rem; padding-bottom: 2.25rem; }
  .group-band .ing { width: 8rem; height: 8rem; }
  .stall-head { padding: 2rem 0 2.25rem; }
  .guide-stall { padding: 1.75rem 0 4.5rem; }
  .guide-stall h1 { font-size: 2.75rem; }
  .guide-stall p { font-size: 1.125rem; }
  .guide-form { padding: 1.5rem 1.6rem 1.5rem; gap: 1.1rem; }
}

@media (min-width: 64rem) {
  :root { --gutter: 2rem; }
  .p-stall-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); align-items: end; column-gap: 2.5rem; padding-top: 2rem; }
  .p-stall .p-head { align-self: start; padding-top: 0.5rem; padding-bottom: 4rem; }
  .p-stall .crumbs { grid-column: 1 / -1; margin-bottom: 0; }
  /* Beside the price card the head has room: the bottle stands in the flow, right of the name. */
  .p-head.has-img { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title img" "meta img"; align-content: start; column-gap: 1.5rem; }
  .p-head.has-img .p-title { grid-area: title; padding-right: 0; }
  .p-head.has-img .p-meta { grid-area: meta; }
  .p-stall-inner:has(.p-head.has-img) > .crumbs { padding-right: 0; }
  .p-img { position: static; grid-area: img; width: 8.5rem; height: 10rem; padding: 0.45rem; }
  .p-stall .stall-produce { display: block; }
  .p-stall .sp { bottom: 1.75rem; width: 4.25rem; }
  .p-stall .sp-1 { left: var(--x0); width: 6rem; bottom: 1.25rem; transform: rotate(-10deg); }
  .p-stall .sp-2 { left: calc(var(--x0) + 7.25rem); bottom: 3.5rem; transform: rotate(12deg); }
  .p-stall .sp-3 { left: calc(var(--x0) + 12.75rem); bottom: 1rem; transform: rotate(-6deg); }
  .p-stall .sp-4 { left: calc(var(--x0) + 18rem); bottom: 3.25rem; transform: rotate(8deg); }
  .p-stall .sp-5 { left: calc(var(--x0) + 23.5rem); bottom: 1.25rem; width: 3.75rem; transform: rotate(-14deg); }
  .answer { grid-template-columns: minmax(0, 1fr); }
  .answer.has-more { grid-template-areas: none; }
  .answer.has-more .answer-text, .answer.has-more .button, .answer.has-more .answer-more { grid-area: auto; }
  .answer .button { width: 100%; }
  .home-stall-inner { grid-template-columns: minmax(0, 1fr) 22rem; align-items: center; column-gap: 4rem; }
  .home-stall-inner { padding-bottom: 6.5rem; }

  /* The home guide across the page: three sliders side by side, then "Voor wie?", the note
     and the button in the same three columns. The columns touch, so the rules between them
     run from edge to edge of the card. */
  .home-guide-stall { padding: 2.25rem 0 5.75rem; }
  .home-guide-stall h1 { font-size: 3.5rem; letter-spacing: -0.035em; margin-bottom: 0.4rem; }
  /* The produce fills the band right of the one-line heading (about 40rem wide): four on a
     small laptop, six from 80rem. */
  .home-guide-stall .stall-produce { left: calc(max(var(--gutter), (100% - var(--wrap)) / 2 + var(--gutter)) + 40rem); right: max(1rem, calc((100% - var(--wrap)) / 2)); width: auto; }
  .home-guide-stall .sp { display: block; width: 4.25rem; }
  .home-guide-stall .sp-1 { right: auto; left: 2%; top: 1.6rem; width: 4.25rem; transform: rotate(-14deg); }
  .home-guide-stall .sp-2 { right: auto; left: 27%; top: 3.9rem; width: 4.75rem; transform: rotate(8deg); }
  .home-guide-stall .sp-3 { left: 52%; top: 1rem; transform: rotate(18deg); }
  .home-guide-stall .sp-4 { left: 75%; top: 3.6rem; width: 4.5rem; transform: rotate(-10deg); }
  .home-guide-stall .sp-5, .home-guide-stall .sp-6 { display: none; }
  .home-guide { margin-top: -4rem; }
  .home-guide .guide-form {
    max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; row-gap: 1.25rem;
    padding: 1.6rem 0 1.5rem; position: static;
  }
  .home-guide .guide-question { padding: 0 1.75rem 1.4rem; border-bottom: 1px solid var(--line); }
  .home-guide .guide-question + .guide-question { padding-top: 0; border-top: 0; border-left: 1px solid var(--line); }
  .home-guide .guide-who { grid-column: 1; grid-row: 2; padding: 0 1.75rem; }
  .home-guide .guide-who-row { grid-template-columns: auto auto minmax(0, 1fr); }
  .home-guide .guide-who label span { padding: 0 0.55rem; }
  .home-guide .guide-note { grid-column: 2; grid-row: 2; align-self: end; padding: 0 1.75rem 0.3rem; }
  .home-guide .guide-actions { grid-column: 3; grid-row: 2; align-self: end; margin: 0; padding: 0 1.75rem; }
  .home-search { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); padding: 1.75rem 2.25rem; column-gap: 3rem; }
  .home-stall .stall-produce { position: absolute; inset: 0; display: block; max-width: none; margin: 0; padding: 0; }
  .home-stall .sp { position: absolute; display: block; }
  .home-stall .sp-8, .home-stall .sp-9 { display: block; }
  .home-stall .sp-1 { left: 2%; bottom: -1.5rem; width: 5.5rem; transform: rotate(-12deg); }
  .home-stall .sp-2 { left: 11.5%; bottom: -0.6rem; width: 4.5rem; transform: rotate(10deg); }
  .home-stall .sp-3 { left: 20%; bottom: -1.75rem; width: 5rem; transform: rotate(-4deg); }
  .home-stall .sp-4 { left: 29%; bottom: -0.8rem; width: 4.25rem; transform: rotate(14deg); }
  .home-stall .sp-5 { left: 37.5%; bottom: -1.5rem; width: 5rem; transform: rotate(-8deg); }
  .home-stall .sp-6 { left: 46.5%; bottom: -0.6rem; width: 4.25rem; transform: rotate(6deg); }
  .home-stall .sp-7 { left: 58%; top: 2rem; width: 4.5rem; transform: rotate(-10deg); }
  .home-stall .sp-8 { right: 2.5%; bottom: -1rem; width: 5rem; transform: rotate(12deg); }
  .home-stall .sp-9 { left: 55.5%; bottom: -1.5rem; width: 5rem; transform: rotate(-14deg); }
  .duo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; }
  .duo > .block:only-child { grid-column: 1 / -1; max-width: 44rem; }
  /* Two shops side by side; name, description and facts line up across the pair. */
  .shop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.875rem; row-gap: 0; }
  .shop-list li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 0.875rem; }
  /* The guide: the form on the left, what it found (or the groups) on the right. */
  .guide-layout { grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); align-items: start; column-gap: 2.5rem; }
  .guide-stall { padding-bottom: 2.25rem; }
  .guide-page { padding-top: 2rem; }
  .guide-layout { margin-top: 0; }
  .guide-form { position: sticky; top: 1rem; }
  .guide-results h2, .guide-groups h2 { margin-top: 0; }
  .guide-results .pcards { grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); }
  /* Produce on the right half of the guide's band. */
  .guide-stall .stall-produce { display: block; left: auto; right: max(1rem, calc((100% - var(--wrap)) / 2)); width: 40rem; }
  .guide-stall .sp { width: 4.5rem; }
  .guide-stall .sp-1 { left: 4%; top: 22%; transform: rotate(-14deg); }
  .guide-stall .sp-2 { left: 20%; top: 38%; width: 5.5rem; transform: rotate(8deg); }
  .guide-stall .sp-3 { left: 38%; top: 14%; transform: rotate(18deg); }
  .guide-stall .sp-4 { left: 55%; top: 40%; width: 5rem; transform: rotate(-10deg); }
  .guide-stall .sp-5 { left: 72%; top: 12%; width: 5rem; transform: rotate(6deg); }
  .guide-stall .sp-6 { left: 86%; top: 42%; transform: rotate(-6deg); }
}

/* Small laptops: the three columns of the home guide pad less, the perfume head is narrow. */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .home-guide .guide-question, .home-guide .guide-who, .home-guide .guide-note, .home-guide .guide-actions { padding-left: 1.25rem; padding-right: 1.25rem; }
  /* The head's column is narrow here: a smaller bottle, and a name a step smaller beside it,
     so one long word (Irresistible) never breaks. */
  .p-head.has-img { column-gap: 1rem; }
  .p-head.has-img .p-title:not(.is-long) { font-size: 2.25rem; }
  .p-img { width: 6rem; height: 7.25rem; padding: 0.35rem; }
}

/* From 80rem the home band has room for six of the produce. */
@media (min-width: 80rem) {
  .home-guide-stall .sp-1 { left: 1%; }
  .home-guide-stall .sp-2 { left: 18%; }
  .home-guide-stall .sp-3 { left: 36%; }
  .home-guide-stall .sp-4 { left: 53%; }
  .home-guide-stall .sp-5 { display: block; left: 69%; top: 1.1rem; width: 4.5rem; transform: rotate(6deg); }
  .home-guide-stall .sp-6 { display: block; left: 85%; top: 3.7rem; transform: rotate(-6deg); }
}

/* ---------- Small screens ---------- */

@media (max-width: 47.99rem) {
  .phone-only { display: inline; }
  .head-search { display: none; }
  .head-find {
    display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; min-height: 2.75rem; padding: 0 1rem;
    border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none;
  }
  .head-find .icon { color: var(--red); }
  .head-bar { min-height: 3.5rem; gap: 0.5rem; }
  .brand-name { font-size: 1.0625rem; }
  .nav-row { justify-content: space-between; gap: 0; min-height: 3rem; }
  .nav-row a { padding: 0 0.7rem; }
  .nav-row > a:first-child { margin-left: -0.7rem; }

  /* Six items do not fit a phone's row: the last two fold under "Meer" (a details element,
     so it works without JavaScript and by keyboard). */
  .nav-row .nav-wide { display: none; }
  .nav-more { display: block; }
  .nav-more summary {
    display: inline-flex; align-items: center; gap: 0.15rem; min-height: 2.75rem; padding: 0 0.7rem; margin-right: -0.7rem; border-radius: 999px;
    color: var(--on-ink); font-size: 0.9375rem; font-weight: 640; cursor: pointer; list-style: none;
  }
  .nav-more summary::-webkit-details-marker { display: none; }
  .nav-more summary .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.15s var(--ease); }
  .nav-more summary:hover, .nav-more[open] summary { color: var(--white); background: rgb(255 255 255 / 0.1); }
  .nav-more.is-section summary { color: var(--white); background: var(--red); }
  .nav-more[open] summary .icon { transform: rotate(180deg); }
  .nav-more-panel {
    position: absolute; top: 100%; right: var(--gutter); z-index: 5; display: grid; min-width: 12rem; padding: 0.35rem;
    background: var(--white); border-radius: var(--r-m); box-shadow: var(--lift);
  }
  .nav-row .nav-more-panel a { margin: 0; padding: 0 0.9rem; border-radius: var(--r-s); color: var(--ink); }
  .nav-row .nav-more-panel a:hover { background: var(--sand); color: var(--ink); }
  .nav-row .nav-more-panel a[aria-current], .nav-row .nav-more-panel a.is-section { color: var(--white); background: var(--red); }

  /* Offers: two lines per shop; the whole row is the link to the shop. */
  .offers, .offers tbody { display: block; }
  .offers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .offers tr {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto 1.5rem;
    grid-template-areas: "shop shop total go" "price ship per go"; gap: 0.6rem 0.75rem; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line);
  }
  .offers tbody tr:last-child { border-bottom: 0; }
  .offers th, .offers td { padding: 0; border: 0; }
  .offers th[scope="row"] { grid-area: shop; align-self: center; }
  .offers td.num { text-align: left; font-size: 0.9375rem; }
  .offers td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--ink-2); font-weight: 500; }
  .offers td:nth-of-type(1) { grid-area: price; }
  .offers td:nth-of-type(2) { grid-area: ship; }
  .offers td.total { grid-area: total; text-align: right; }
  .offers td:nth-of-type(4) { grid-area: per; }
  .offers td.total strong { font-size: 1.5rem; }
  .offers .go { grid-area: go; width: auto; align-self: center; justify-self: end; }
  .offers .go a, .offers tr.is-best .go a { position: static; min-height: 0; padding: 0; border: 0; background: none; color: var(--ink); }
  .offers tr.is-best .go a { color: var(--red-deep); }
  .offers .go a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .offers .go a:focus-visible { outline: 0; }
  .offers .go a:focus-visible::after { outline: 3px solid var(--ink); outline-offset: -3px; }
  .offers .go .icon { width: 1.35rem; height: 1.35rem; }
  .offers .go-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .offers tr:hover { background: var(--sand); }
  .offers tr.is-best:hover { background: var(--red-tint); }

  /* Sizes table: size and price per 100 ml first, the rest on a second line. */
  .size-table, .size-table tbody { display: block; }
  .size-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .size-table tbody tr {
    display: grid; grid-template-columns: 5.25rem minmax(0, 1fr) auto; grid-template-areas: "size per per" "price shop count";
    gap: 0.2rem 0.6rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line);
  }
  .size-table tbody tr:last-child { border-bottom: 0; }
  .size-table th, .size-table td { padding: 0; border: 0; }
  .size-table th[scope="row"] { grid-area: size; }
  .size-table td.per { grid-area: per; }
  .size-table td:nth-of-type(2) { grid-area: price; text-align: left; color: var(--ink-2); font-size: 0.875rem; }
  .size-table td.shop { grid-area: shop; font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .size-table td.count { grid-area: count; color: var(--ink-2); font-size: 0.875rem; }
  .size-table .unit { color: var(--ink-2); font-weight: 450; font-size: 0.8125rem; }

  /* Lists: one sheet with a row per perfume, the price card on the right edge. */
  .pcards { display: block; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); }
  .pcard {
    grid-template-rows: auto auto auto auto; grid-template-areas: "reason reason" "name price" "sizes shops" "why why"; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; background: none; padding: 0.9rem 1rem;
  }
  .pcard:hover { background: var(--sand); transform: none; box-shadow: none; }
  .pcard:first-child { border-radius: var(--r-l) var(--r-l) 0 0; }
  .pcard:last-child { border-bottom: 0; border-radius: 0 0 var(--r-l) var(--r-l); }
  .pcard-link::after { border-radius: 0; }
  .pcard-link:focus-visible::after { outline-offset: -3px; }
  .pcard-sizes { margin-top: 0.35rem; }
  .pcard-shops { text-align: right; align-self: start; margin-top: 0.35rem; }
  .pcard-price { align-self: start; margin-top: 0; padding: 0.3rem 0.55rem 0.35rem; }
  .pcard-price strong { font-size: 1.375rem; }
  /* A row with a picture: the bottle stands between the name and the price card. */
  .pcard.has-img { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "reason reason reason" "name img price" "sizes sizes shops" "why why why"; }
  .pcard-img { width: 3.5rem; height: 4.25rem; }

  .deal-list li { grid-template-columns: minmax(0, 1fr) auto; }

  /* Deals: the perfume on one line, the figures under it. */
  .deals, .deals tbody { display: block; }
  .deals thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .deals tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; grid-template-areas: "name name name name" "size now was diff"; gap: 0.5rem 0.75rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
  .deals tbody tr:last-child { border-bottom: 0; }
  .deals th, .deals td { padding: 0; border: 0; }
  .deals th[scope="row"] { grid-area: name; }
  .deals td.num { text-align: left; }
  .deals td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--ink-2); font-weight: 500; }
  .deals .vol { grid-area: size; } .deals .now { grid-area: now; } .deals .was { grid-area: was; }
  .deals .diff { grid-area: diff; align-self: end; }
  .deals td.diff::before { content: none; }

  .prose { font-size: 1rem; }
  .prose table th, .prose table td { padding: 0.65rem 0.6rem; font-size: 0.9375rem; }
  .prose table th:first-child, .prose table td:first-child { padding-left: 0.85rem; }

  /* One fact per line under the price; no dots to strand at a line end. */
  .answer-detail { flex-direction: column; gap: 0.1rem; margin-left: 0; clip-path: none; }
  .answer-detail > span::before { content: none; }
  .answer-detail > span { white-space: normal; padding-left: 0; text-indent: 0; }

  /* Shop facts: label above value, so the value gets the full width. */
  .shop-list dl { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .shop-list dt { margin-top: 0.7rem; font-size: 0.8125rem; }
  .shop-list dt:first-child { margin-top: 0; }

  /* Brand index: two columns of full-height tap targets. */
  .brand-list { columns: 9.5rem; column-gap: 1rem; }
  .brand-list a { min-height: 2.75rem; align-items: center; padding: 0.25rem 0; }

  /* The guide on a phone: the two end words state each question, so the question line
     itself is read only by screen readers, and the form with its button fits one screen. */
  .guide-question > .guide-ask { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* The perfume's scent group waits in its profile further down: the answer comes first. */
  .p-meta .p-group { display: none; }
  .guide-form { gap: 0.7rem; }
  .guide-question + .guide-question { padding-top: 0.6rem; border-top: 1px solid var(--line); }
  .guide-stall { padding-top: 0.85rem; }

}

/* The smallest phones (320 to 374 wide): the search link keeps only its icon, the menu tightens. */
@media (max-width: 23.4rem) {
  .head-find { padding: 0; width: 2.75rem; justify-content: center; }
  .head-find-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .head-find .icon { width: 1.35rem; height: 1.35rem; }
  .nav-row a, .nav-more summary { padding: 0 0.4rem; font-size: 0.8125rem; }
  .nav-row > a:first-child { margin-left: -0.4rem; }
  .nav-more summary { margin-right: -0.4rem; }
  .nav-more summary .icon { width: 0.95rem; height: 0.95rem; }
  .search input { padding: 0 0.85rem; font-size: 1rem; }
  .search-row { gap: 0.4rem; }
  .search button { padding: 0 0.9rem; }
  .offers tr { column-gap: 0.5rem; padding-left: 0.85rem; padding-right: 0.85rem; }
  .offers td.num { font-size: 0.875rem; }
  .offers td.total strong { font-size: 1.3125rem; }
  .guide-form { padding-left: 0.85rem; padding-right: 0.85rem; }
  .guide-word { font-size: 1rem; }
  .guide-who label span { font-size: 0.875rem; }
  /* The four budgets stay one row; their amounts set a little narrower, like the figures. */
  .guide-answer, .guide-budget { padding-left: 0.65rem; padding-right: 0.65rem; }
  .guide-budget a { font-size: 0.875rem; font-stretch: 87.5%; }
  .pcard-img { width: 2.75rem; height: 3.75rem; }
  .pcard.has-img { column-gap: 0.6rem; }
}

/* ---------- Motion ---------- */

@view-transition { navigation: auto; }
::view-transition-group(pricecard), ::view-transition-group(guide) { animation-duration: 0.25s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */

@media print {
  .site-head, .head-search, .go, .search, .skip, .foot-nav, .foot-produce, .stall-produce { display: none !important; }
  .stall, .p-stall { background: none; color: var(--ink); }
  .p-title, .p-meta, .stall a:not(.button), .stall .crumbs { color: var(--ink) !important; }
  .pricecard { box-shadow: none; border: 1px solid var(--ink); }
  .button { display: none; }
}
