/* Brewmistress public site, "Stout & amber" (owner's pick, 2026-11-13): near-black hero and footer, amber accent, cool
   light-grey page. The logo is the same line art in any colour (a CSS mask on brewmistress-logo.png). No outside fonts or
   scripts (the privacy policy promises no tracking). */
:root {
  --page: #f4f5f7;
  --surface: #ffffff;
  --band: #ffffff;
  --stout: #15171c;
  --stout2: #262a33;
  --ink: #15171c;
  --muted: #5b6170;
  --line: #e3e5ea;
  --amber: #e3a23b;
  --amber-dark: #b97a17;
  --amber-ink: #1b1406;
  --amber-soft: #fbf1df;
  --k-malt: #c9951f; --k-hop: #4c8a2c; --k-yeast: #b39456;          /* the kinds' colours (2026-11-15) */
  --k-malt-soft: #fbf0d9; --k-hop-soft: #ebf4e2; --k-yeast-soft: #f6efe1;
  --on-dark: #ffffff;
  --on-dark-muted: #aab0bc;
  --green: #2f8a4b;
  --red: #c2412f;
  --shadow: 0 1px 2px rgba(10, 12, 16, .06), 0 10px 30px rgba(10, 12, 16, .08);
  --radius: 16px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--amber-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the logo: one line drawing, coloured by its place */
.logo { display: block; width: 172px; height: 38px; background: var(--ink);
  -webkit-mask: url(brewmistress-logo.png) left center / contain no-repeat; mask: url(brewmistress-logo.png) left center / contain no-repeat; }
.figure { display: block; width: min(440px, 100%); aspect-ratio: 1316 / 385; margin-bottom: 26px; background: var(--amber);
  -webkit-mask: url(brewmistress-figure.png) left bottom / contain no-repeat; mask: url(brewmistress-figure.png) left bottom / contain no-repeat; }
.logo-foot { width: 160px; height: 36px; background: var(--amber); }

/* line icons: masks, coloured amber */
.ic { display: inline-block; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--amber-soft); position: relative; }
.ic::after { content: ""; position: absolute; inset: 10px; background: var(--amber-dark); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic-hop { --m: url(hop.png); }
.ic-malt { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V9'/%3E%3Cpath d='M12 9c-2.5 0-4-1.8-4-4 2.5 0 4 1.8 4 4Zm0 0c2.5 0 4-1.8 4-4-2.5 0-4 1.8-4 4Z'/%3E%3Cpath d='M12 14c-2.5 0-4-1.8-4-4 2.5 0 4 1.8 4 4Zm0 0c2.5 0 4-1.8 4-4-2.5 0-4 1.8-4 4Z'/%3E%3Cpath d='M12 19c-2.5 0-4-1.8-4-4 2.5 0 4 1.8 4 4Zm0 0c2.5 0 4-1.8 4-4-2.5 0-4 1.8-4 4Z'/%3E%3C/svg%3E"); }
.ic-caramel { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 3c3 3.5 5 6.2 5 9.2A5 5 0 0 1 7 12.2C7 9.2 9 6.5 12 3Z'/%3E%3Cpath d='M9.5 13.5a2.6 2.6 0 0 0 2.5 2.4' stroke-linecap='round'/%3E%3Cpath d='M5 21h14' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-roast { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cellipse cx='12' cy='12' rx='6' ry='8.5' transform='rotate(35 12 12)'/%3E%3Cpath d='M9 18c1-3 1-6 3-8s3-4 3-6'/%3E%3C/svg%3E"); }
.ic-adjunct { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h18a9 9 0 0 1-18 0Z'/%3E%3Cpath d='M8 8c0-1.5 1-2 1-3.5M12 8c0-1.5 1-2 1-3.5M16 8c0-1.5 1-2 1-3.5'/%3E%3C/svg%3E"); }
.ic-yeast { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='9' cy='10' r='5'/%3E%3Ccircle cx='16.5' cy='15.5' r='3.5'/%3E%3Ccircle cx='16' cy='5.5' r='2'/%3E%3C/svg%3E"); }
.ic-liquid { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9.5A1.7 1.7 0 0 0 6.5 21h11a1.7 1.7 0 0 0 1.5-2.5L14 9V3'/%3E%3Cpath d='M7.5 15h9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-shop { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-1.5-4.5h-13Z'/%3E%3Cpath d='M5 9v10.5h14V9'/%3E%3Cpath d='M10 19.5v-5h4v5'/%3E%3C/svg%3E"); }
.ic-code { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5l-3 14'/%3E%3C/svg%3E"); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 0 1.3rem; border-radius: 10px;
  border: 1.5px solid transparent; font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn.primary { background: var(--amber); color: var(--amber-ink); }
.btn.primary:hover { background: #eeb24f; }
.btn.line { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.line:hover { border-color: var(--amber); }
.btn.small { min-height: 36px; padding: 0 .9rem; font-size: .85rem; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(227, 162, 59, .55); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--amber-soft); }
.login { min-height: 42px; }

/* hero: the stout band */
.hero { position: relative; overflow-x: clip; overflow-y: visible;   /* sideways only: the search dropdowns may reach over the beer (2026-11-15) */
   color: var(--on-dark); background: linear-gradient(135deg, var(--stout) 0%, var(--stout2) 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; align-items: center; padding: 64px 0 112px; }
/* the beer poured under the hero (2026-11-13): stout banner, foam, beer, drawn live on a canvas (site.js) */
.pour { position: relative; z-index: 1; height: 460px; margin-top: -326px; margin-bottom: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, transparent 326px, color-mix(in srgb, var(--stout) 50%, var(--stout2)) 326px); }   /* dark behind the beer: a tilted surface shows the hero's night above it, never cream (2026-11-15) */   /* 230 px of room for the head to rise */
/* the canvas runs 80 px below the box (2026-11-15): the beer reaches under the next section's top; nothing moves */
.pour canvas { position: absolute; top: 0; left: 0; display: block; width: 100%; height: calc(100% + 80px); }
.results[hidden] + .core { position: relative; z-index: 2; background: linear-gradient(180deg, transparent 0, transparent 80px, var(--amber-soft) 80px); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.1; color: var(--on-dark); }
.lead { color: var(--on-dark-muted); font-size: 1.15rem; margin: 14px 0 26px; max-width: 620px; }
.search { display: flex; align-items: center; gap: 8px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 14px 44px rgba(0, 0, 0, .3); max-width: 660px; }
.search-ico { width: 22px; height: 22px; margin-left: 10px; flex: none; opacity: .5;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; font: 1.05rem var(--sans); color: var(--ink); outline: none; }
.search select { height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: #fafafb; font: .95rem var(--sans); color: var(--ink); }
.search .btn { min-height: 48px; padding: 0 1.7rem; }
.pop { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--on-dark-muted); font-size: .9rem; }
.pop button { border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: var(--on-dark); border-radius: 999px; padding: 5px 13px; font: .88rem var(--sans); cursor: pointer; }
.pop button:hover { border-color: var(--amber); color: var(--amber); }
.statcard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); }
.statcard b { display: block; font: 600 2rem/1.15 var(--serif); color: var(--amber); white-space: nowrap; }
.statcard span { color: var(--on-dark-muted); font-size: .9rem; }

/* sections */
.sec { padding: 60px 0; }
.sec.band { background: var(--band); border-block: 1px solid var(--line); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.head h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.head > .muted { margin: 0; }
.eyebrow { margin: 0 0 6px; color: var(--amber-dark); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

/* categories */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font: inherit; color: var(--ink);
  transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: var(--amber); }
.tile .ic { margin-bottom: 10px; }
.tile .t { font: 600 1.15rem var(--serif); }
.tile .c { color: var(--muted); font-size: .9rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--stout); color: var(--amber);
  font: 700 1.05rem var(--serif); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* popular */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prod { display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; overflow: hidden; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.prod:hover { transform: translateY(-2px); border-color: var(--amber); }
.prod .top { display: grid; place-items: center; width: 100%; height: 96px; background: linear-gradient(135deg, var(--stout), var(--stout2)); }
.prod .top .ic { background: rgba(227, 162, 59, .14); }
.prod .top .ic::after { background: var(--amber); }
.prod .bd { padding: 16px 18px 18px; }
.prod .t { display: block; font: 600 1.15rem var(--serif); }
.prod .from { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.prod .from b { color: #2d6a3a; font-size: .98rem; }   /* in stock in N shops (2026-11-18) */

/* shops */
.badbot { width: 64px; height: 64px; flex: none; color: var(--amber-dark); }
.countries { display: grid; gap: 26px; }
.country h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 .82rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.country .cnt { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .9rem; }
.flag { width: 26px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
/* the shop wall's countries as a row of flags (2026-11-20) */
.cnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.cnav a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
.cnav a:hover { border-color: var(--amber); }
.cnav .flag { width: 22px; height: 14px; }
.cnav .cnt { color: var(--muted); font-weight: 500; }
.country { scroll-margin-top: 84px; }
.shopcard { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; background: var(--page); border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
a.shopcard:hover { border-color: var(--amber); }
.shopcard img, .shopcard .noimg { width: 38px; height: 38px; flex: none; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; border: 1px solid var(--line); }
.shopcard .noimg { display: grid; place-items: center; padding: 0; color: var(--amber-dark); font: 700 1rem var(--serif); }
.shopcard .nm { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-dark); font-size: .72rem; font-weight: 700; }
.small-note { font-size: .88rem; margin: 16px 0 0; }

/* audiences */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aud article { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.aud h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.aud p { margin: 0 0 18px; color: var(--muted); font-size: .94rem; }
.aud .btn { margin-top: auto; align-self: flex-start; min-height: 42px; font-size: .9rem; }
.works { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 28px; margin-top: 34px; }
.works span:not(.muted) { font: 600 1.15rem var(--serif); color: #3b404b; }

/* the shops note */
.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 18px 20px; border-radius: 14px;
  background: var(--amber-soft); border: 1px solid #f0dcb7; color: #4a3b1f; }
.notice b { color: var(--ink); }
.notice a { color: var(--amber-dark); font-weight: 600; }

/* the extension: a stout band with its pictures */
.ext { background: linear-gradient(160deg, var(--stout) 0%, var(--stout2) 100%); color: var(--on-dark); }
.ext h2 { color: var(--on-dark); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ext .eyebrow { color: var(--amber); }
.ext .lead { color: var(--on-dark-muted); margin: 12px 0 22px; }
.ext-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.ext-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; }
.muted-dark { color: var(--on-dark-muted); font-size: .9rem; }
.shots { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 40px; }
.shots figure { margin: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.shots img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.shots figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: .92rem; }
.shots figcaption b { display: block; color: var(--ink); font: 600 1.1rem var(--serif); margin-bottom: 2px; }
.ext-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 30px 0 0; color: var(--on-dark); }
.ext-points li { display: flex; align-items: center; gap: 8px; }
.ext-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.shots-note { margin: 18px 0 0; color: var(--on-dark-muted); font-size: .82rem; }

/* the recipe drop: in the hero, and the core section with the answer */
.hero-side { display: grid; gap: 14px; }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px 20px; text-align: center; cursor: pointer;
  border: 2px dashed rgba(232, 169, 66, .55); border-radius: 18px; background: rgba(232, 169, 66, .07); color: var(--on-dark-muted);
  transition: background .15s, border-color .15s; }
.drop b { color: var(--on-dark); font: 600 1.25rem var(--serif); }
.drop span { font-size: .9rem; }
.drop u { color: var(--amber); text-underline-offset: 3px; }
.drop:hover, .drop.over { background: rgba(232, 169, 66, .16); border-color: var(--amber); }
.drop.busy { opacity: .6; pointer-events: none; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--amber); outline-offset: 3px; }
.drop-ico { width: 40px; height: 40px; background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 18v-6M9 15l3-3 3 3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 18v-6M9 15l3-3 3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.drop-example { justify-self: center; background: none; border: 0; color: var(--on-dark-muted); font: inherit; font-size: .9rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.drop-example:hover { color: var(--amber); }
body.dragging .drop { border-color: var(--amber); background: rgba(232, 169, 66, .16); }

.core { background: var(--amber-soft); }
.core-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.core h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.core .lead { margin: 12px 0 14px; color: #4b4436; }
.core { scroll-margin-top: 64px; }
.core-why { margin: 0; padding-left: 14px; border-left: 3px solid var(--amber); color: var(--ink); font-weight: 500; }
.core-points { list-style: none; margin: 0; padding: 0; align-self: end; }   /* level with the text's last line (2026-11-15) */   /* an icon list without cards (2026-11-15, sketch B) */
.core-points li { display: grid; grid-template-columns: 31px 1fr; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0d9ae; }
.core-points li:first-child { padding-top: 2px; }
.core-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.core-points li::before { content: ""; grid-column: 1; grid-row: 1 / 3; width: 29px; height: 29px; border-radius: 50%; border: 1.5px solid var(--amber); }
.core-points li::after { content: ""; grid-column: 1; grid-row: 1 / 3; width: 15px; height: 15px; margin: 7.5px 0 0 7.5px; background: var(--amber-dark);
  -webkit-mask: var(--ic) no-repeat center / contain; mask: var(--ic) no-repeat center / contain; }
.core-points li:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.8'/%3E%3C/svg%3E"); }
.core-points li:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M12 12l8-4.5M12 12v9M12 12L4 7.5M16 5.2L8 9.7'/%3E%3C/svg%3E"); }
.core-points li:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.5' cy='19' r='1.6'/%3E%3Ccircle cx='17' cy='19' r='1.6'/%3E%3Cpath d='M17 17.4H6.5V4H4.5M6.5 6l13.5 1-1 6.5H6.5'/%3E%3C/svg%3E"); }
.core-points b { grid-column: 2; display: block; font: 600 .98rem/1.3 var(--serif); color: var(--ink); }
.core-points span { grid-column: 2; color: var(--muted); font-size: .86rem; line-height: 1.5; margin-top: 1px; }
.rx-panel { margin-top: 30px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(30, 24, 14, .06); }
.rx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; }
.drop.small { flex: none; white-space: nowrap; grid-auto-flow: column; align-items: center; gap: 10px; padding: 12px 18px; border-color: #e6c58b; background: var(--amber-soft); color: var(--muted); }
.drop.small b { color: var(--ink); font-size: 1.05rem; }
.drop.small .drop-ico { width: 26px; height: 26px; background: var(--amber-dark); }
.drop.small u { color: var(--amber-dark); }
.rx-country { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); }
.rx-test select { padding: 11px 36px 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6252' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  -webkit-appearance: none; appearance: none; font: inherit; color: var(--ink); cursor: pointer; }
.rx-test select:hover, .rx-test select:focus-visible { border-color: var(--amber); outline: none; }
.rx-country select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.rx-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.rx-head h3 { margin: 0; font: 600 1.4rem var(--serif); }
.rx-head .muted { font-size: .92rem; }
.rx-err { color: #a23a2a; font-weight: 500; }
.rx-shops { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.rx-shop { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rx-shop.best { border-color: var(--amber); }
.rx-shop > button { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; width: 100%; padding: 14px 16px;
  background: var(--page); border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.rx-shop > button:hover { background: var(--amber-soft); }
.rx-shop .nm { font-weight: 600; }
.rx-shop .nm small { display: block; color: var(--muted); font-weight: 400; }
.rx-shop .sum { font: 600 1.15rem var(--serif); white-space: nowrap; }
.rx-shop .chev { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.rx-shop.open .chev { transform: rotate(-135deg); }
.rx-tag { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: #e3f1e5; color: #2d6a3a; }
.rx-tag.part { background: var(--amber-soft); color: var(--amber-dark); }
.rx-best { margin-left: 8px; padding: 1px 8px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: var(--amber); color: var(--amber-ink); }
.rx-detail { padding: 4px 16px 16px; overflow-x: auto; }
.rx-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rx-table th, .rx-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rx-table th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.rx-table .r { text-align: right; white-space: nowrap; }
.rx-table .grp td { padding-top: 14px; font-weight: 700; color: var(--amber-dark); border-bottom: 0; }
.rx-table .miss td { color: var(--muted); }
.rx-table a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.fit { margin-left: 8px; padding: 0 7px; border-radius: 99px; font-size: .74rem; background: #e3f1e5; color: #2d6a3a; white-space: nowrap; }
.fit.sub { background: var(--amber-soft); color: var(--amber-dark); }
.rx-note { margin: 14px 0 0; color: var(--muted); font-size: .88rem; }

/* the recipe drop's search options (the extension's Settings > Brewmistress) */
.rx-optbtn { display: inline-flex; align-items: center; gap: 8px; margin-left: 0; padding: 9px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.rx-optbtn:hover, .rx-optbtn[aria-expanded="true"] { border-color: var(--amber); background: var(--amber-soft); }
.rx-optbtn .tune, .fbtn .tune { width: 18px; height: 18px; background: var(--amber-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.rx-optsum { margin: -4px 0 14px; color: var(--muted); font-size: .88rem; }
.rx-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 18px; }
.rx-opts[hidden] { display: none; }
.rx-group { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }
.rx-group h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); }
.rx-opt { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.rx-opt:first-of-type { border-top: 0; }
.rx-opt svg { width: 22px; height: 22px; color: var(--amber-dark); justify-self: center; }
.rx-opt b { display: block; font-weight: 600; font-size: .93rem; }
.rx-opt small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.rx-opt.choice { grid-template-columns: 32px 1fr; }
.rx-seg { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rx-seg button { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: inherit; font-size: .82rem; cursor: pointer; }
.rx-seg button.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 600; }
.sw { position: relative; width: 40px; height: 22px; flex: none; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw span { position: absolute; inset: 0; border-radius: 99px; background: #cfd3da; transition: background .15s; pointer-events: none; }
.sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.sw input:checked + span { background: var(--amber); }
.sw input:checked + span::after { transform: translateX(18px); }
.sw input:focus-visible + span { outline: 2px solid var(--amber-dark); outline-offset: 2px; }
.rx-optfoot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; }
.rx-optfoot button { background: none; border: 0; color: var(--amber-dark); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* the extension's own icon */
.ext-brand { display: flex; align-items: center; gap: 18px; }
.ext-ico { display: grid; place-items: center; width: 68px; height: 68px; flex: none; border-radius: 18px; background: var(--amber);
  color: var(--amber-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.ext-ico svg { width: 38px; height: 38px; }
.ext-brand h2 { margin: 0; }
.ext-brand .eyebrow { margin: 0 0 4px; }
.btn .btn-ico { width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px; }

/* the extension section's tabs: one per brewing app */
.apps { margin-top: 40px; }
.apps-q { margin: 0 0 12px; color: var(--on-dark); font: 600 1.3rem var(--serif); }
.app-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1); width: fit-content; max-width: 100%; }
.app-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 11px; background: none;
  color: var(--on-dark-muted); font: 600 .98rem var(--sans); cursor: pointer; }
.app-tabs button:hover { color: var(--on-dark); background: rgba(255, 255, 255, .06); }
.app-tabs button[aria-selected="true"] { background: var(--amber); color: var(--amber-ink); }
.app-tabs button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.soon { padding: 2px 8px; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(232, 169, 66, .18); color: var(--amber); vertical-align: middle; }
.app-tabs button[aria-selected="true"] .soon { background: rgba(0, 0, 0, .15); color: var(--amber-ink); }
.app-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; margin-top: 22px; }
.app-panel[hidden] { display: none; }
.app-panel.no-shot { grid-template-columns: minmax(0, 720px); }
.app-text h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; color: var(--on-dark); font: 600 1.6rem var(--serif); }
.app-text h3 .soon { font-size: .8rem; padding: 3px 10px; }
.app-text p { margin: 0 0 14px; color: var(--on-dark-muted); }
.app-text a { color: var(--amber); }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--on-dark); }
.app-list li { position: relative; padding-left: 22px; }
.app-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.app-shots { display: grid; gap: 16px; }
.app-shots figure { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.app-shots img { display: block; width: 100%; max-height: 320px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.app-shots figcaption { padding: 12px 16px 14px; color: var(--muted); font-size: .9rem; }
.app-shots figcaption b { display: block; color: var(--ink); font: 600 1.05rem var(--serif); }
.app-drop { display: grid; justify-items: center; gap: 6px; padding: 36px 20px; text-align: center; text-decoration: none;
  border: 2px dashed rgba(232, 169, 66, .55); border-radius: 18px; background: rgba(232, 169, 66, .07); color: var(--on-dark-muted); }
.app-drop:hover { background: rgba(232, 169, 66, .16); border-color: var(--amber); }
.app-drop b { color: var(--on-dark); font: 600 1.25rem var(--serif); }

/* the app logos in the tabs, and a picture opened large */
.app-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; background: #fff; padding: 2px; }
.app-shots figure { cursor: zoom-in; position: relative; }
.app-shots figure::after { content: ""; position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(21, 23, 28, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8a942' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transition: opacity .15s; }
.app-shots figure:hover::after, .app-shots figure:focus-visible::after { opacity: 1; }
.app-shots figure:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.zoom { max-width: min(96vw, 1500px); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #fff; overflow: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.zoom::backdrop { background: rgba(10, 11, 14, .82); }
.zoom img { display: block; max-width: 100%; height: auto; }
.zoom p { margin: 0; padding: 12px 18px; color: var(--muted); font-size: .92rem; }
.zoom-x { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(21, 23, 28, .78); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* the recipe panel's country: a dropdown with flags */
.flagdrop { position: relative; }
.fd-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 150px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.fd-btn:hover, .fd-btn[aria-expanded="true"] { border-color: var(--amber); }
.fd-btn:focus-visible { outline: 2px solid var(--amber-dark); outline-offset: 2px; }
.fd-cur, .fd-list li { display: inline-flex; align-items: center; gap: 9px; }
.fd-cur { flex: 1; font-weight: 600; }
.flagdrop .flag { width: 22px; height: 14px; }
.fd-chev { width: 8px; height: 8px; margin: -4px 2px 0 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.fd-btn[aria-expanded="true"] .fd-chev { transform: rotate(-135deg); margin-top: 4px; }
.fd-list { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 100%; margin: 0; padding: 6px; list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(30, 24, 14, .16); }
.fd-list[hidden] { display: none; }
.fd-list li { display: flex; padding: 8px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.fd-list li:hover, .fd-list li.act { background: var(--amber-soft); }
.fd-list li[aria-selected="true"] { font-weight: 600; }
.fd-list li[aria-selected="true"]::after { content: ""; width: 10px; height: 5px; margin-left: auto; border-left: 2px solid var(--amber-dark);
  border-bottom: 2px solid var(--amber-dark); transform: rotate(-45deg) translateY(-2px); }

/* the beer keeps level when the phone tilts (2026-11-13) */
.tilt-ask { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; max-width: 440px; margin: 0 auto;
  padding: 16px 18px; border-radius: 16px; background: var(--stout); color: var(--on-dark); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  border: 1px solid rgba(232, 169, 66, .4); animation: bm-ask-in .35s ease-out; }
.tilt-ask[hidden] { display: none; }
.tilt-ask p { margin: 0 0 12px; font-size: .95rem; line-height: 1.45; color: var(--on-dark-muted); }
.tilt-ask b { color: var(--on-dark); }
.tilt-ask div { display: flex; gap: 10px; }
.tilt-ask .btn { flex: 1; justify-content: center; }
.tilt-ask .btn.line { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .35); }
@keyframes bm-ask-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tilt-ask { animation: none; } }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq details { background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* sign-in band */
.cta { display: flex; align-items: center; gap: 22px; padding: 34px 36px; border-radius: 22px; color: var(--on-dark);
  background: linear-gradient(135deg, var(--stout), var(--stout2)); }
.cta h2 { color: var(--on-dark); font-size: 1.8rem; }
.cta p { color: var(--on-dark-muted); margin: 6px 0 0; }
.cta .btn { margin-left: auto; }
.ic.big { width: 62px; height: 62px; background: rgba(227, 162, 59, .14); }
.ic.big::after { background: var(--amber); inset: 12px; }

/* results */
.results { position: relative; z-index: 2; margin-top: 80px; padding: 4px 0 36px; }
.results::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: var(--amber-soft); }
.hits { list-style: none; margin: 10px 0 0; padding: 0; }
.hit { display: grid; grid-template-columns: 60px 1fr auto auto; align-items: center; gap: 14px; padding: 12px 2px; border-top: 1px solid var(--line); }
.hit:first-child { border-top: 0; }
.hit .ic { width: 44px; height: 44px; }
/* the selling shop's logo, the kind's icon as a badge in its corner (2026-11-15) */
.hit-thumb { position: relative; width: 60px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; }
.hit-thumb.dark { background: var(--stout); border-color: var(--stout); }
.hit-thumb img { max-width: 50px; max-height: 32px; object-fit: contain; }
.hit-thumb .ic.mini { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber-soft); box-shadow: 0 0 0 2px #fff; }
.hit-thumb .ic.mini::after { inset: 4px; }
.hit-name { font-weight: 600; }
.hit-sub { color: var(--muted); font-size: .9rem; }
.hit-price { text-align: right; white-space: nowrap; font-weight: 700; }
.hit-price small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.stock { display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.stock.out::before { background: var(--red); }
.empty { color: var(--muted); margin: 10px 0 0; }
.more { text-align: center; margin-top: 10px; }

/* footer */
.foot { margin-top: 60px; padding: 52px 0 26px; background: var(--stout); color: var(--on-dark-muted); }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.3fr; gap: 28px; }   /* brand, service, ingredients, for, about, company */
.foot h4 { margin: 0 0 12px; color: var(--on-dark); font: 600 .78rem var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.foot nav a { display: block; padding: 3px 0; color: var(--on-dark-muted); text-decoration: none; font-size: .94rem; }
.foot a:hover { color: var(--amber); }
.foot-brand p { font-size: .93rem; margin: 14px 0 0; max-width: 430px; }
.foot-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-stats b, .foot-company b { color: var(--on-dark); }
.foot-company p { margin: 0 0 .8rem; font-size: .94rem; }
.foot-company > p:first-of-type { padding-top: 3px; }   /* the first line level with the link columns (their links have 3px above) */
.foot-company a { color: var(--on-dark-muted); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 32px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }

@media (max-width: 960px) {
  .nav { display: none; }
  .login { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .tiles, .prods, .aud { grid-template-columns: 1fr 1fr; }
  .steps, .faq, .ext-head, .shots, .core-head, .rx-opts, .app-panel { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta .btn { margin-left: 0; }
  .hit { grid-template-columns: 40px 1fr auto; }
  .hit .hit-link { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .search { flex-wrap: wrap; }
  .search input { flex-basis: calc(100% - 50px); }
  .search select { flex: 1; }
  .figure { width: 300px; }
  .tiles, .prods, .aud { grid-template-columns: 1fr; }
  .sec { padding: 44px 0; }
  .head { flex-direction: column; align-items: flex-start; }
  .card { padding: 18px; }
}

/* ---- phones (2026-11-13) ------------------------------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }
input, select, textarea { font-size: max(16px, 1em); }          /* iOS zooms in on a smaller field */
.on-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .on-touch { display: inline; } .on-mouse { display: none; } }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .hero-in { padding-bottom: 108px; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .2s, background .2s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .top.open .menu-btn span { background: transparent; }
  .top.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .top.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .top.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 2px; padding: 10px 16px 16px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20, 20, 20, .12); }
  .top.open .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .top-in { position: relative; }
  .app-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .app-tabs::-webkit-scrollbar { display: none; }
  .app-tabs button { flex: none; }
}
@media (max-width: 560px) {
  .wall { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shopcard { gap: 8px; padding: 10px; font-size: .9rem; }
  .shopcard img, .shopcard .noimg { width: 30px; height: 30px; }
  .rx-panel { padding: 14px; }
  .rx-bar { gap: 10px; }
  .rx-bar .drop.small { flex: 1 1 100%; justify-content: center; }
  .rx-optbtn { margin-left: 0; }
  .rx-shop > button { grid-template-columns: 1fr auto; padding: 12px; }
  .rx-shop .chev { display: none; }
  .rx-best { display: table; margin: 4px 0 0; }
  .rx-detail { padding: 0 12px 12px; }
  .rx-table thead { display: none; }
  .rx-table, .rx-table tbody { display: block; }
  .rx-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .rx-table td { padding: 0; border: 0; }
  .rx-table tr > td:first-child { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
  .rx-table tr > td:nth-child(2) { grid-column: 1 / -1; }
  .rx-table tr > td:nth-child(3) { text-align: left; color: var(--muted); }
  .rx-table .grp { padding: 14px 0 2px; border: 0; }
  .rx-table .grp td, .rx-table .miss td { grid-column: 1 / -1; }
  .ext-brand { gap: 12px; }
  .ext-ico { width: 52px; height: 52px; border-radius: 14px; }
  .ext-ico svg { width: 30px; height: 30px; }
  .app-text h3 { font-size: 1.35rem; }
  .zoom { max-width: 100vw; max-height: 100vh; border-radius: 0; }
  .statcard { padding: 18px; gap: 12px; }
  .statcard b { font-size: 1.5rem; }
}
.login { white-space: nowrap; }
@media (max-width: 560px) { .login { padding: 8px 12px; } }
.pour + .results + .core, .pour + .results[hidden] + .core { padding-top: 24px; }

/* the install steps as a timeline under the button (2026-11-13, layout B) */
.ext-head { grid-template-columns: 1fr; gap: 34px; }
.ext-head > div { max-width: 820px; }
@media (max-width: 760px) {
}

/* the extension section, calmer (2026-11-13) */
.ext h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.ext .lead { font-size: 1rem; margin: 8px 0 18px; }
.ext-head { gap: 26px; }
.ext-head > div { max-width: 680px; }
.apps { margin-top: 30px; }
.apps-q { font-size: 1.1rem; margin-bottom: 10px; }
.app-tabs { padding: 4px; gap: 4px; border-radius: 12px; }
.app-tabs button { padding: 7px 12px; font-size: .88rem; border-radius: 9px; gap: 7px; }
.app-logo { width: 18px; height: 18px; padding: 1px; border-radius: 4px; }
.soon { font-size: .66rem; padding: 1px 6px; }
.app-panel { gap: 26px; margin-top: 18px; }
.app-text h3 { font-size: 1.25rem; gap: 10px; margin-bottom: 6px; }
.app-text p { font-size: .93rem; }
.app-list { gap: 6px; font-size: .92rem; }
.app-shots img { max-height: 260px; }
.app-drop { padding: 22px 18px; gap: 4px; }
.app-drop b { font-size: 1.05rem; }
.app-drop .drop-ico { width: 30px; height: 30px; }
.ext-points { margin-top: 24px; font-size: .9rem; }
@media (max-width: 760px) {
}

/* the app tabs as screenshot cards and a gallery (2026-11-13) */
.app-panel { display: block; margin-top: 16px; }
.app-panel[hidden] { display: none; }
.app-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.shotcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: var(--on-dark); font: inherit; text-align: left; cursor: zoom-in; transition: border-color .15s, transform .15s; }
.shotcard:hover, .shotcard:focus-visible { border-color: var(--amber); transform: translateY(-2px); outline: none; }
.shotcard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; background: #fff; }
.shotcard span { padding: 9px 12px; font-size: .88rem; font-weight: 600; }
.shot-note { display: grid; gap: 4px; align-content: center; padding: 16px 18px; border: 1px dashed rgba(232, 169, 66, .45); border-radius: 12px;
  color: var(--on-dark-muted); font-size: .9rem; text-decoration: none; grid-column: span 2; }
.shot-note b { color: var(--on-dark); font: 600 1rem var(--serif); }
a.shot-note:hover { border-color: var(--amber); background: rgba(232, 169, 66, .08); }
.drop-note .drop-ico { width: 26px; height: 26px; }
.zoom-nav { position: fixed; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%;
  background: rgba(21, 23, 28, .78); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.zoom-nav.prev { left: 14px; } .zoom-nav.next { right: 14px; }
.zoom-nav[hidden] { display: none; }
@media (max-width: 560px) {
  .app-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shot-note { grid-column: 1 / -1; }
  .shotcard span { padding: 7px 9px; font-size: .8rem; }
  .zoom-nav { top: auto; bottom: 14px; margin-top: 0; }
}
.apps .shots-note { margin: 14px 0 0; font-size: .8rem; display: none; }   /* only under an open app's pictures (2026-11-15) */
.apps:has(.app-tabs [aria-selected="true"]) .shots-note { display: block; }
@media (max-width: 560px) {
  .results .card { padding: 16px 14px; }
  .hit { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "ic main main" ". price link"; gap: 8px 12px;
    align-items: start; padding: 14px 0; }
  .hit .ic { grid-area: ic; width: 36px; height: 36px; border-radius: 10px; }
  .hit .hit-thumb { grid-area: ic; width: 48px; height: 36px; border-radius: 9px; }
  .hit .hit-thumb img { max-width: 40px; max-height: 26px; }
  .hit .hit-thumb .ic.mini { grid-area: auto; width: 18px; height: 18px; right: -6px; bottom: -6px; }
  .hit > div:nth-child(2) { grid-area: main; min-width: 0; }
  .hit-name { line-height: 1.3; }
  .hit-sub { font-size: .84rem; margin-top: 2px; }
  .hit-price { grid-area: price; text-align: left; white-space: normal; font-size: 1.05rem; }
  .hit-price small { display: block; margin-top: 2px; font-size: .8rem; }
  .hit .hit-link { grid-area: link; grid-column: 3; grid-row: 2; justify-self: end; align-self: center; padding: 6px 10px; white-space: nowrap; }
}

/* the foam rises behind the hero's content (2026-11-13) */
.hero-in { z-index: 3; }   /* above .results and .core (z 2): the search's dropdowns reach over them (2026-11-20) */
.hero .drop, .hero .statcard { background-color: rgba(30, 33, 41, .45); -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); }
.hero .drop:hover, .hero .drop.over { background-color: rgba(52, 46, 36, .6); }
@media (max-width: 560px) {
  .rx-test { flex: 1 1 100%; }
  .rx-test select { width: 100%; }
  .rx-country { margin-left: 0; }
  #rx-country-l { display: none; }          /* the flag says it; still the listbox's name */
  .rx-bar .rx-optbtn { margin-left: auto; }
}

/* the hero search's country as a flag dropdown (2026-11-13) */
.search .flagdrop { flex: none; }
.search .fd-btn { height: 44px; min-width: 150px; background: #fafafb; font: .95rem var(--sans); }
.search .fd-list { min-width: 180px; max-height: min(520px, 70vh); overflow-y: auto; color: var(--ink); text-align: left; }
.fd-globe { width: 22px; height: 14px; color: var(--muted); }
@media (max-width: 560px) { .search .flagdrop { flex: 1; } .search .fd-btn { width: 100%; } }

/* the test recipes as a dropdown with beer glasses (2026-11-13) */
.rx-test .flagdrop { display: block; }
.rx-test .fd-btn { min-width: 230px; padding: 10px 12px; }
.rx-test .fd-cur { font-weight: 500; color: var(--muted); }
.rx-test .fd-list { min-width: 240px; }
.rx-test .fd-list li { gap: 10px; }
.glass { width: 16px; height: 22px; flex: none; }
.rx-test .fd-list small { margin-left: auto; padding-left: 12px; color: var(--muted); font-size: .8rem; font-weight: 400; }
@media (max-width: 560px) { .rx-test .fd-btn { width: 100%; } }

/* the search's ingredient picker and filters (2026-11-13) */
body { overflow-x: clip; }              /* the results band is 100vw wide, a scrollbar wider than the page */
.ic.mini { width: 26px; height: 26px; border-radius: 8px; }
.ic.mini::after { inset: 5px; }
.ic-all { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Crect x='4' y='4' width='6.5' height='6.5' rx='1.6'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5' rx='1.6'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5' rx='1.6'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5' rx='1.6'/%3E%3C/svg%3E"); }
.search { max-width: 720px; }
.search .kinddrop { flex: none; }
.search .kinddrop .fd-btn { min-width: 128px; gap: 8px; padding: 0 10px 0 7px; }
.search .kinddrop .fd-list { min-width: 170px; }
.kinddrop .fd-list li { gap: 10px; }
.search .kinddrop + .search-ico { margin-left: 4px; }
.card-acts { display: flex; gap: 8px; align-items: flex-start; flex: none; }
.fbtn { display: none; align-items: center; gap: 7px; }
.fbtn .tune { width: 16px; height: 16px; }
.fcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--amber);
  color: var(--amber-ink); font-size: .75rem; font-weight: 700; }
.fcount[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 22px; margin: 16px 0 6px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--page); }
.filters[hidden] { display: none; }
.fl { display: flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 100%; }
.fl.wide { flex-basis: 100%; }
.fl-l { font: 700 .72rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--amber-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px;
  background: #fff; color: var(--ink); font: inherit; font-size: .86rem; cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--amber); }
.chip:focus-visible, .fsel:focus-visible, .frange input:focus-visible, .fclear:focus-visible { outline: 2px solid var(--amber-dark); outline-offset: 2px; }
.chip small { color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 600; }
.chip[aria-pressed="true"] small { color: var(--amber-ink); opacity: .75; }
.chip.zero { opacity: .5; }
.chip .ic.mini { width: 22px; height: 22px; margin-left: -6px; border-radius: 99px; background: var(--amber-soft); }
.chip .ic.mini::after { inset: 4px; }
.chip[aria-pressed="true"] .ic.mini { background: rgba(255, 255, 255, .45); }
.chip[aria-pressed="true"] .ic.mini::after { background: var(--amber-ink); }
.fsel { height: 36px; max-width: 100%; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: .9rem var(--sans);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff no-repeat right 11px center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235b6170' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fsel:hover { border-color: var(--amber); }
.frange { display: flex; align-items: center; gap: 6px; }
.frange input { width: 74px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: .9rem var(--sans); }
.frange input:hover { border-color: var(--amber); }
.frange .dash { color: var(--muted); }
.fsws { display: flex; flex-wrap: wrap; gap: 8px 18px; min-height: 36px; align-items: center; }
.fsw { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; cursor: pointer; }
.fsw small { color: var(--muted); font-size: .76rem; }
.fclear { align-self: flex-end; height: 36px; margin-left: auto; padding: 0 4px; border: 0; background: none; color: var(--amber-dark); font: 600 .88rem var(--sans);
  text-decoration: underline; cursor: pointer; }
.hit-facts { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 5px; }
.hit-facts span { padding: 1px 8px; border-radius: 99px; background: var(--amber-soft); color: #6d4a0e; font-size: .78rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .search .kinddrop { order: 3; flex: 1 1 96px; min-width: 0; }      /* the basis puts it on the second row */
  .search .kinddrop .fd-btn { width: 100%; min-width: 0; }
  .search .flagdrop:not(.kinddrop) { order: 4; flex: 1 1 96px; min-width: 0; }
  .search .flagdrop:not(.kinddrop) .fd-btn { min-width: 0; }
  .search .btn { order: 5; padding: 0 1rem; }
  .search .fd-btn, .search .kinddrop .fd-btn { gap: 7px; padding: 0 8px 0 7px; }
  .search .fd-chev { margin-right: 0; }
  .search-ico, .search input { order: 1; }
  .search .fd-cur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .search .kinddrop .fd-list { min-width: 100%; }
  .fbtn { display: inline-flex; }
  .card-head { flex-wrap: wrap; }
  .filters { gap: 14px; padding: 14px; }
  .filters:not(.open) { display: none; }
  .fl { flex-basis: 100%; }
  .fl .fsel { width: 100%; }
  .frange input { flex: 1; width: auto; min-width: 0; }
  .fclear { margin-left: 0; align-self: flex-start; }
}

/* a search button in the phone header; the filters' selects as the nice dropdown (2026-11-13) */
.top-search { display: none; }
@media (max-width: 960px) {
  .top-search { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--ink); }
  .top-search svg { width: 20px; height: 20px; }
  .top-search + .login { margin-left: 8px; }
}
.nicesel { position: relative; min-width: 0; }
.nicesel .fd-btn { width: 100%; min-width: 150px; height: 40px; padding: 0 12px; background: #fff; font-size: .92rem; }
.nicesel .fd-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.nicesel .fd-list { max-height: 300px; overflow-y: auto; min-width: max(100%, 220px); color: var(--ink); }
.nicesel .fd-list li { justify-content: space-between; gap: 14px; }
.nicesel .fd-list small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.nicesel .fd-list li[aria-selected="true"] small { display: none; }
[hidden] { display: none !important; }      /* a component's display never beats hidden */
.nav-login { display: none; }
@media (max-width: 560px) {
  .top .login { display: none; }
  .top.open .nav .nav-login { display: block; margin-top: 6px; border-top: 1px solid var(--line); font-weight: 600; }
  .top-search { margin-left: auto; }
  .top-search + .login + .menu-btn, .menu-btn { margin-left: 8px; }
}
/* icons on the popular searches (2026-11-13) */
.pop button { display: inline-flex; align-items: center; gap: 6px; padding-left: 9px; }
.pi { width: 16px; height: 16px; flex: none; background: var(--amber); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.pop button:hover .pi { background: var(--amber); }
/* packaging made visible in the recipe answer (2026-11-13) */
.rx-over { display: inline-block; margin-left: 8px; color: var(--muted); font-size: .8rem; font-weight: 400; }
.rx-shop .sum { text-align: right; font: 400 1rem var(--sans); }     /* what the shop has in stock first, the total small (2026-11-18) */
.rx-shop .sum .rx-tag { margin: 0; font-size: .85rem; }
.rx-shop .sum small { display: block; margin-top: 3px; color: var(--muted); font: 400 .78rem var(--sans); }
@media (max-width: 560px) { .rx-over { display: block; margin: 4px 0 0; } }
/* the search's autocomplete (2026-11-13): the flag dropdown's list, hung on <body> under the field (site.js) */
.ac-list { position: absolute; z-index: 60; top: 0; left: 0; min-width: 0; max-width: calc(100vw - 32px); max-height: min(380px, 60vh); overflow-y: auto;
  color: var(--ink); text-align: left; font: .95rem var(--sans); }
.ac-list li { gap: 10px; min-width: 0; }
.ac-list li[aria-selected="true"] { font-weight: inherit; }
.ac-list li[aria-selected="true"]::after { content: none; }
.ac-list .pi { background: var(--amber-dark); }
.ac-list .ac-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ac-list .ac-w { flex: none; color: var(--muted); font-size: .82rem; }
.ac-list small { flex: none; min-width: 2.2em; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 560px) { .ac-list { max-width: none; } .ac-list li { padding: 10px 8px; } }
/* pictures on the audience cards (2026-11-13): the brewers' photo, logo mosaics for the rest of the chain */
.aud article { overflow: hidden; }
.aud .aud-art { display: block; width: calc(100% + 48px); aspect-ratio: 5 / 3; height: auto; object-fit: cover; margin: -24px -24px 18px;
  border-bottom: 1px solid var(--line); }
.aud .aud-art.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; align-content: center;
  background: linear-gradient(135deg, var(--stout) 0%, var(--stout2) 100%); }
.aud .logos .lg { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 6px; border-radius: 10px; background: #fff; }
.aud .logos .lg.dark { background: #2b2f38; }
.aud .logos img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aud article .ic { margin-top: -40px; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--surface); }
.aud .aud-art.logos { grid-auto-rows: minmax(0, 1fr); overflow: hidden; }
.aud .logos .lg { aspect-ratio: auto; min-width: 0; min-height: 0; padding: 5px 8px; }
/* square pictures on the audience cards, so the brewers photo keeps both glasses (owner, 2026-11-13) */
.aud .aud-art { aspect-ratio: 1 / 1; }

/* the language picker (2026-11-13): a dropdown of links in the header; on phones a row at the foot of the menu */
.langdrop .fd-btn { min-width: 0; height: 42px; gap: 8px; padding: 0 10px; background: #fff; font: 500 .92rem var(--sans); color: var(--ink); cursor: pointer; }
.langdrop .fd-cur { gap: 8px; font-weight: 500; }
.langdrop .fd-list { left: auto; right: 0; min-width: 170px; }
.langdrop .fd-list li { padding: 0; }
.langdrop .fd-list a, .nav-lang a { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.langdrop .fd-list a { width: 100%; padding: 8px 10px; border-radius: 8px; }
.langdrop .fd-list a:hover, .langdrop .fd-list a:focus-visible { background: var(--amber-soft); outline: none; }
.langdrop .fd-list a[aria-current] { font-weight: 600; }
.langdrop .fd-list a[aria-current]::after { content: ""; width: 10px; height: 5px; margin-left: auto; border-left: 2px solid var(--amber-dark);
  border-bottom: 2px solid var(--amber-dark); transform: rotate(-45deg) translateY(-2px); }
.nav-lang .flag, .nav-lang .fd-globe { width: 22px; height: 14px; }
.nav-lang { display: none; }
@media (max-width: 1180px) and (min-width: 961px) { .langdrop .lang-nm { display: none; } }
@media (max-width: 960px) {
  .langdrop { display: none; }
  .top.open .nav .nav-lang { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 14px 0 0; border-top: 1px solid var(--line); }
  .top.open .nav .nav-lang a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
  .top.open .nav .nav-lang a[aria-current] { border-color: var(--amber); background: var(--amber-soft); font-weight: 600; }
}
/* the hero's columns keep their shares in every language (a longer country choice or placeholder must not squeeze the
   numbers card) */
@media (min-width: 961px) { .hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }

/* the hero in line (2026-11-13): the left column's parts on the hero grid's rows; the stat card + drop zone span the
   heading .. the search bar, the example link sits on the "Populärt" line */
@media (min-width: 961px) {
  .hero-in { gap: 0 44px; align-items: start; }
  .hero-in > div:first-child { display: contents; }
  .hero-in > div:first-child > * { grid-column: 1; }
  .hero-in .figure { grid-row: 1; }
  .hero-in h1 { grid-row: 2; }
  .hero-in .lead { grid-row: 3; }
  .hero-in .search { grid-row: 4; }
  .hero-in .pop { grid-row: 5; }
  .hero-side { grid-column: 2; grid-row: 2 / 5; align-self: stretch; position: relative; display: flex; flex-direction: column; gap: 14px;
    margin-top: .35em; contain: size; }   /* the h1s cap height; size: the left column alone sets the rows */
  .hero-side .statcard { gap: 6px 18px; padding: 12px 20px; }
  .hero-side .statcard b { font-size: 1.5rem; }
  .hero-side .statcard span { font-size: .84rem; }
  .hero-side .drop { flex: 1; align-content: center; gap: 4px; padding: 10px 18px; }
  .hero-side .drop b { font-size: 1.12rem; }
  .hero-side .drop > span { font-size: .85rem; }
  .hero-side .drop-ico { width: 28px; height: 28px; }
  .hero-side .drop-example { position: absolute; top: 100%; left: 0; right: 0; margin-top: 21px; }
}
@media (min-width: 961px) {   /* the icon beside the drop's heading: the height goes to the text */
  .hero-side .drop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center;
    gap: 6px 10px; }   /* icon + heading as one centred line, the text under them */
  .hero-side .drop > span:not(.drop-ico) { flex-basis: 100%; }
  .hero-side .drop u { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1079px) { .hero-side { contain: none; } }   /* too narrow for the text: the column may grow */
@media (min-width: 961px) and (max-width: 1199px) {   /* narrow desktops: a little smaller */
  .hero-side .statcard b { font-size: 1.3rem; }
  .hero-side .drop > span:not(.drop-ico) { font-size: .8rem; }
}

/* ---- the About page (/sv/om-oss ..., 2026-11-15) */
.about-hero { padding: 72px 0 56px; background: var(--ink, #15171c); color: #fff; }
.about-hero h1 { max-width: 22ch; margin: 6px 0 16px; font: 600 clamp(2rem, 4.5vw, 3.1rem)/1.12 var(--serif); }
.about-hero .lead { max-width: 62ch; margin: 0; font-size: 1.12rem; color: var(--on-dark-muted, #c9ccd3); }
.about-story { display: grid; grid-template-columns: minmax(180px, 1fr) 2.4fr; gap: 24px 48px; align-items: start; }
.about-head { display: flex; flex-direction: column; gap: 12px; }
.about-head h2 { margin: 0; }
.about-text p { max-width: 68ch; }
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 8px; }
.about-facts div { padding: 16px; border: 1px solid var(--line, #e3e0d8); border-radius: 14px; background: #fff; }
.about-facts b { display: block; font: 600 1.6rem/1.15 var(--serif); color: var(--amber-dark, #a8641a); white-space: nowrap; }
.about-facts span { font-size: .9rem; color: var(--muted, #5f6470); }
.about .small { font-size: .85rem; }
.about-time { list-style: none; margin: 24px 0 0; padding: 0; border-left: 2px solid var(--line, #e3e0d8); }
.about-time li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 0 0 16px 20px; }
.about-time li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber, #e0a03a); }
.about-time b { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .about-hero { padding: 48px 0 40px; }
  .about-story { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the sections' headings are the logos: their own proportions, never stretched by the column */
.about-head .about-logo-h { margin: 10px 0 0; line-height: 0; align-self: flex-start; }   /* the wordmark level with the text's first line */
.about-bm-logo { width: 170px; height: 38px; }
.about-logo { display: block; width: 170px; max-width: 100%; height: auto; }
.shot-note .od-link { margin-top: 6px; font-weight: 600; color: var(--amber); }
.badge.waiting { background: rgba(127, 127, 127, .14); color: var(--muted, #5f6470); font-weight: 600; }
.shopcard.waiting img, .shopcard.waiting .noimg { opacity: .55; filter: grayscale(1); }

.about-ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* the kinds' colours, everywhere an ingredient icon shows (2026-11-15): gold malt, green hops, cream-brown yeast */
.ic.ic-malt::after, .pi.ic-malt { background: var(--k-malt) !important; }
.ic.ic-hop::after, .pi.ic-hop { background: var(--k-hop) !important; }
.ic.ic-yeast::after, .pi.ic-yeast { background: var(--k-yeast) !important; }
.ic.ic-malt { background: var(--k-malt-soft) !important; }
.ic.ic-hop { background: var(--k-hop-soft) !important; }
.ic.ic-yeast { background: var(--k-yeast-soft) !important; }

/* best-before tags on the hits (2026-11-15): past = red, soon = amber */
/* best-before (2026-11-15): the dates colour (soft red, as "Bäst före passerat" had) for every status, with a small
   "!" so it never reads as one more fact chip (owner, 2026-11-17: clearer, then toned down) */
/* on sale (2026-11-17): a square red tag on the picture (owner: in the picture, square), the price in red and the regular
   price struck through */
.sale-tag { position: absolute; left: -6px; top: -6px; z-index: 1; padding: 2px 5px; border-radius: 3px; background: var(--red);
  color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .04em; line-height: 1.25; text-transform: uppercase;
  box-shadow: 0 0 0 2px #fff; }
.hit-card .hc-price.on-sale { color: var(--red); font-weight: 600; }
.hit-card .hc-price .was { color: var(--muted); font-weight: 400; font-size: .9em; }
.hit-facts .bb { display: inline-flex; align-items: center; gap: 4px; background: #fbe4e0 !important; color: #9b2c1c !important; }
.hit-facts .bb::before { content: "!"; display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 50%;
  background: #9b2c1c; color: #fff; font-size: .62rem; font-weight: 800; line-height: 1; }

/* search hits, layout C (2026-11-15): a shop card on the right - logo, price, shop, arrow; the card is the link */
.hits .hit { grid-template-columns: 44px minmax(0, 1fr) auto; }
.hit-sub .stock { margin-left: 2px; }
.hit-card { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); text-decoration: none; width: 214px; box-sizing: border-box; }   /* one width for all (2026-11-15) */
a.hit-card:hover { border-color: var(--amber); box-shadow: 0 2px 10px rgba(185, 122, 23, .14); }
a.hit-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.hc-logo { width: 46px; height: 32px; flex: none; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
  overflow: hidden; font: 700 .95rem var(--serif); color: var(--amber-dark); }
.hc-logo.dark { background: var(--stout); border-color: var(--stout); }
.hc-logo img { max-width: 40px; max-height: 26px; object-fit: contain; }
.hc-txt { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; min-width: 0; }
.hc-txt b { font-size: .95rem; font-weight: 700; white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.hc-txt small { color: var(--muted); font-size: .8rem; white-space: nowrap; max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
.hc-go { color: var(--amber-dark); font-size: 1.4rem; line-height: 1; margin-left: 4px; }
.hit-card.off { opacity: .7; }
.hit-card.out { background: var(--page); }                      /* sold out here: the card steps back (2026-11-18) */
.hit-card.out .hc-shop { color: var(--muted); }
@media (max-width: 560px) {
  .hits .hit { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "ic main" ". card"; }
  .hits .hit > .ic { grid-area: ic; }
  .hits .hit .hit-main { grid-area: main; min-width: 0; }
  .hits .hit .hit-card { grid-area: card; justify-self: stretch; width: auto; }
}

/* grain icons on 'Hel eller krossad' (2026-11-15): whole, dotted whole (preferred), crushed, either */
.rx-seg button { display: inline-flex; align-items: center; gap: 6px; }
.gi { width: 17px; height: 17px; flex: none; background: var(--k-malt); -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
.rx-seg button.on .gi { background: var(--amber-ink); }
.gi-whole { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5c3.6 2.9 4.8 6.6 4.8 9.8 0 4.3-2.2 7.5-4.8 9.2-2.6-1.7-4.8-4.9-4.8-9.2 0-3.2 1.2-6.9 4.8-9.8Z'/%3E%3Cpath d='M12 6.5v12'/%3E%3C/svg%3E"); }
.gi-whole_preferred { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5c3.6 2.9 4.8 6.6 4.8 9.8 0 4.3-2.2 7.5-4.8 9.2-2.6-1.7-4.8-4.9-4.8-9.2 0-3.2 1.2-6.9 4.8-9.8Z' stroke-dasharray='1.4 2.2'/%3E%3Cpath d='M12 6.5v12' stroke-dasharray='1.4 2.2'/%3E%3C/svg%3E"); }
.gi-crushed { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 3.5c-2.4 2.3-3.4 5-3.5 7.6l4.2-1.1.9-5z'/%3E%3Cpath d='M14.6 6.2c1.7 2.1 2.4 4.4 2.3 6.6l-4.3.6.4-4.9z'/%3E%3Cpath d='M7 14.6c.6 2.6 2 4.6 3.6 5.8l1.3-4.5-3.8-1.9z'/%3E%3Cpath d='M14.4 16.4l2.6-1.2c-.5 2.2-1.6 4-3 5.2z'/%3E%3Ccircle cx='12.2' cy='12.6' r='.5'/%3E%3Ccircle cx='5.2' cy='18.2' r='.5'/%3E%3Ccircle cx='18.6' cy='18.8' r='.5'/%3E%3C/svg%3E"); }
.gi-any { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5c2.6 2.1 3.5 4.8 3.5 7.2 0 3.1-1.6 5.5-3.5 6.8-1.9-1.3-3.5-3.7-3.5-6.8 0-2.4.9-5.1 3.5-7.2Z'/%3E%3Cpath d='M8 6.8v8.4'/%3E%3Cpath d='M15.8 10.5l3.1-.8-.3 3.4-2.8.5z'/%3E%3Cpath d='M14.2 15.6l2.4.7-.7 3.2-2.2-1.4z'/%3E%3Cpath d='M19.4 15.2l1.6 2.3-2.2 1.4z'/%3E%3Ccircle cx='13.6' cy='12.4' r='.45'/%3E%3Ccircle cx='21' cy='12' r='.45'/%3E%3C/svg%3E"); width: 19px; }

/* the choices as two pairs to the right of the heading (2026-11-15): whole on the heading's line, crushed / either under */
.rx-opt.choice { grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; }
.rx-opt.choice > svg, .rx-opt.choice > div:not(.rx-seg) { align-self: center; }
.rx-opt.choice .rx-seg { grid-column: 3; grid-row: 1; display: grid; grid-template-columns: auto auto; gap: 5px; margin-top: 0; }
.rx-seg button { padding: 5px 9px; gap: 5px; justify-content: flex-start; }
.rx-seg .gi { width: 15px; height: 15px; }
.rx-seg .gi-any { width: 17px; }

/* the stat card: each figure centred in its own column (2026-11-15) */
.statcard > div { text-align: center; }
.statcard b { white-space: nowrap; }

/* a product picture at the hit's left (2026-11-15): where the shop allows it, or dev's ?bilder=1 preview */
.hits:has(.hit-pic) .hit { grid-template-columns: 64px minmax(0, 1fr) auto; }
.hits:has(.hit-pic) .hit > .ic { justify-self: center; }
.hit-pic { position: relative; width: 64px; height: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; }
.hit-pic img { max-width: 58px; max-height: 58px; object-fit: contain; border-radius: 6px; }
.hit-pic .ic.mini { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.hit-pic .ic.mini::after { inset: 4px; }
@media (max-width: 560px) {
  .hits:has(.hit-pic) .hit { grid-template-columns: 52px minmax(0, 1fr); }
  .hits .hit > .hit-pic { grid-area: ic; width: 52px; height: 52px; }
  .hit-pic img { max-width: 46px; max-height: 46px; }
}

/* several recipes at once (2026-11-15): a chip per recipe, a tab for all of them and one per recipe */
.rx-multi { flex-wrap: wrap; }
.rx-chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; margin-top: 6px; }
.rx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .88rem; max-width: 100%; }
.rx-chip b { color: var(--amber-dark); }
.rx-chip.bad { border-color: #e8b4ab; background: #fbeeeb; }
.rx-chip-x { border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.rx-chip-x:hover { color: var(--ink); }
.rx-add { cursor: pointer; padding-right: 12px; color: var(--amber-dark); border-style: dashed; }
.rx-add:hover { border-color: var(--amber); }
.rx-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.rx-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .9rem; cursor: pointer;
  max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-tab.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink, #2b1d05); font-weight: 600; }
.rx-tabbody > .rx-head h3 { font-size: 1.05rem; }

/* the recipe cards (2026-11-15): logo, product pictures, the match column, the total and 'Skicka till butiken' */
.rx-shop .nm { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rx-shop .nm .rx-logo { width: 46px; height: 32px; }
.rx-table.v2 td { vertical-align: middle; }
.rx-table.v2 .rx-prod-in { display: flex; align-items: center; gap: 12px; }
.rx-table.v2 .rx-prod .ic { width: 38px; height: 38px; border-radius: 10px; }
.rx-table.v2 .rx-prod .ic::after { inset: 8px; }
.rx-table.v2 .rx-prod .hit-pic { width: 44px; height: 44px; }
.rx-table.v2 .rx-prod .hit-pic img { max-width: 40px; max-height: 40px; }
.rx-table.v2 .rx-prod .hit-pic .ic.mini { width: 18px; height: 18px; right: -6px; bottom: -6px; }
.rx-table.v2 .rx-prod .hit-pic .ic.mini::after { inset: 3px; }
.rx-pname { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.rx-for { flex-basis: 100%; color: var(--muted); font-size: .8rem; }
.rx-match { white-space: nowrap; }
.mb { display: inline-flex; align-items: center; gap: 5px; margin: 2px 4px 2px 0; padding: 2px 8px 2px 6px; border-radius: 999px; font-size: .78rem;
  font-weight: 600; background: #eef0f2; color: #5c6670; cursor: default; }
.mb i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mb.ok { background: #e3f3e5; color: #2e7d32; }
.mb.mid { background: #fdf0d2; color: #9a6a00; }
.mb.bad { background: #fbe4e0; color: #b3261e; }
.mb.na { background: #f1f2f4; color: #8a939c; }
.mb.info { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.mb.info i { display: none; }
.rx-foot-sum b { font-size: 1.2rem; }
.rx-ext { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); }
@media (max-width: 640px) {
  .rx-table.v2 tr { grid-template-columns: 1fr auto; }
  .rx-table.v2 tr > td:first-child { grid-column: 1 / -1; color: inherit; font-size: inherit; }
  .rx-table.v2 .rx-match { grid-column: 1; white-space: normal; }
}

/* the recipe tag, as in the extension and the widget (2026-11-15), and each recipe's share on a row */
.rtag { display: inline-block; padding: 0 7px; border-radius: 999px; background: #e6f1fb; color: #0c447c; font-size: .74rem; font-weight: 700;
  line-height: 1.5; white-space: nowrap; vertical-align: 1px; }
.rx-chip .rtag { margin-right: 2px; }
.rx-tab.on .rtag { background: rgba(255, 255, 255, .7); }
.srcs { display: flex; flex-wrap: wrap; gap: 3px 10px; flex-basis: 100%; font-size: .82rem; color: var(--muted); }
.srcs > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* one row of recipe tabs (2026-11-15): 'Alla recept', a tab per recipe with its tag and ×, '+ Lägg till recept' */
.rx-tabs .rx-tab { display: inline-flex; align-items: center; padding: 0; max-width: 300px; }
.rx-tab-b { border: 0; background: transparent; font: inherit; color: inherit; padding: 6px 4px 6px 12px; cursor: pointer; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.rx-tab:not(:has(.rx-tab-x)) .rx-tab-b { padding-right: 12px; }
.rx-tab-x { border: 0; background: transparent; color: var(--muted); font-size: 1.05rem; line-height: 1; padding: 6px 10px 6px 4px; cursor: pointer; }
.rx-tab-x:hover { color: var(--ink); }
.rx-tab.bad { border-color: #e8b4ab; background: #fbeeeb; }
.rx-tabs .rx-add { padding: 6px 12px; border-style: dashed; color: var(--amber-dark); cursor: pointer; }
.rx-tabbody > .rx-head { margin-top: 6px; }
.srcs-name { color: var(--ink); }

/* the recipe's own line in the card (2026-11-15): grey boxes in their own column, a tag per recipe in 'Alla recept' */
.rx-table.v2 .rx-orig { min-width: 180px; }
.rx-line { display: flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; margin: 2px 0; padding: 4px 10px; border-radius: 8px;
  background: #f2f3f5; color: #3d4652; font-size: .84rem; line-height: 1.35; }
.rtag[title] { cursor: help; }
@media (max-width: 640px) {
  .rx-table.v2 .rx-orig { grid-column: 1 / -1; min-width: 0; }
}

/* the card between phone and desktop widths (2026-11-15): the match badges wrap, nothing is cut off */
.rx-detail { overflow-x: auto; }
@media (max-width: 960px) {
  .rx-table.v2 th, .rx-table.v2 td { padding: 7px 6px; }
  .rx-table.v2 .rx-match { white-space: normal; min-width: 90px; }
  .rx-table.v2 .rx-orig { min-width: 130px; }
  .rx-table.v2 .rx-prod-in { gap: 8px; }
}

/* the recipe's line first (2026-11-15): on a phone, the product below it, full width */
@media (max-width: 640px) {
  .rx-table.v2 .rx-prod { grid-column: 1 / -1; }
}

/* the card's bottom (2026-11-15): one bar - the count and total left, the actions together right, a grey line under them */
.rx-foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; margin-top: 4px; padding: 14px 10px 4px;
  border-top: 1px solid var(--line); }
.rx-foot-sum { display: flex; align-items: baseline; gap: 12px; }
.rx-foot-acts { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.rx-foot-acts .btn { padding: 9px 16px; font-size: .92rem; }
.rx-print { background: #fff; border: 1px solid var(--line); }
.rx-print:hover { border-color: var(--amber); }
.rx-foot-note { grid-column: 1 / -1; justify-self: end; font-size: .82rem; }
@media (max-width: 640px) {
  .rx-foot { grid-template-columns: 1fr; }
  .rx-foot-acts { justify-content: stretch; }
  .rx-foot-acts .btn { flex: 1; text-align: center; }
  .rx-foot-note { justify-self: start; }
}

/* the card, fifth pass (2026-11-15): bold prices; the total right under the price column, the buttons under it */
.rx-table.v2 .rx-price { font-weight: 400; color: var(--muted); }
.rx-line b { font-weight: 700; color: var(--ink); }
.rx-foot { grid-template-columns: 1fr; justify-items: end; }
.rx-foot-sum { justify-content: flex-end; padding-right: 6px; }
.rx-foot-sum b { font-size: 1.3rem; }
.rx-foot-note { grid-column: 1; }
@media (max-width: 640px) {
  .rx-foot { justify-items: stretch; }
  .rx-foot-sum { justify-content: space-between; padding-right: 0; }
}

/* the card on a phone, tidy (2026-11-15): the recipe's lines, the product, then match | amount | price on one line */
@media (max-width: 640px) {
  .rx-table.v2 tr { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 12px; padding: 12px 0; }
  .rx-table.v2 td { padding: 0; }
  .rx-table.v2 tr > td.rx-orig { grid-column: 1 / -1; min-width: 0; color: inherit; font-size: inherit; }
  .rx-table.v2 tr > td.rx-prod { grid-column: 1 / -1; }
  .rx-table.v2 tr > td.rx-match { grid-column: 1; min-width: 0; white-space: normal; }
  .rx-table.v2 tr > td.r { grid-column: auto; text-align: right; color: inherit; white-space: nowrap; }
  .rx-table.v2 .rx-line { font-size: .8rem; padding: 3px 8px; }
  .rx-table.v2 .grp td, .rx-table.v2 .miss td { grid-column: 1 / -1; }
  .rx-table.v2 .grp { padding: 14px 0 2px; }
}

/* the search settings' choice row, wrapping (2026-11-16): the label keeps room; long chips (Finnish) go below it */
.rx-opt.choice { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 8px; }
.rx-opt.choice > svg { flex: 0 0 32px; }
.rx-opt.choice > div:not(.rx-seg) { flex: 1 1 9em; min-width: 9em; }
.rx-opt.choice .rx-seg { flex: 0 1 auto; max-width: 100%; margin-left: auto; }
.rx-opt.choice .rx-seg button { white-space: normal; text-align: left; line-height: 1.25; }

/* ---- the ingredient pages (app/ingredient_pages.py, 2026-11-18): what is in stock first, the prices small ---- */
.ip-hero { padding: 30px 0 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs { margin: 0 0 16px; font-size: .86rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber-dark); text-decoration: underline; }
.ip-head { display: flex; gap: 14px; align-items: center; }
.ip-head h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; }
.ip-head .eyebrow { margin: 0 0 2px; }
.ip-lead { margin: 14px 0 0; color: var(--muted); }
.ip-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ip-facts li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--page); font-size: .88rem; }
.ip-facts b { margin-right: 4px; color: var(--muted); font-weight: 600; }
.ip-stock { margin: 18px 0 0; font-size: 1.1rem; font-weight: 700; }
.ip-stock::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 50%; background: var(--green); }
.ip-stock.none::before { background: var(--muted); }
.ip-cta { margin: 18px 0 0; }
/* a malt type's own text and profile chart (2026-11-22) */
.sec.ip-about { padding: 40px 0 0; }
.ip-about h2 { margin-bottom: 14px; }
.ip-about-g { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.ip-text { margin: 0 0 12px; font-size: 1.05rem; max-width: 68ch; }
.ip-made { margin: 0; color: var(--muted); max-width: 68ch; }
.ip-made b { color: var(--ink); }
.ip-home, .ip-mill { margin-top: 10px; }
.ip-src { font-size: .82rem; }
.ip-prof { margin: 0; }
.ip-prof figcaption { margin-top: 2px; font-size: .8rem; text-align: center; }
.ip-radar { display: block; width: 100%; height: auto; }
.ip-radar .rg, .ip-radar .sp { fill: none; stroke: var(--line); }
.ip-radar .sh { fill: var(--k-malt); fill-opacity: .28; stroke: var(--k-malt); stroke-width: 2; stroke-linejoin: round; }
.ip-radar text { font: 13px var(--sans); fill: var(--muted); }
.ip-radar.hop .sh { fill: var(--k-hop); stroke: var(--k-hop); }
.ip-radar.yeast .sh { fill: var(--k-yeast); stroke: var(--k-yeast); }
.ip-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.ip-badge { padding: 3px 12px; border-radius: 999px; background: var(--k-yeast-soft); font-size: .88rem; font-weight: 600; }
.ip-badge.warn { background: #fbe6e2; color: var(--red); }
.ip-role { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: var(--k-hop-soft);
  font-size: .88rem; font-weight: 600; }
.ip-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.ip-when .lbl { margin-right: 2px; color: var(--muted); font-size: .88rem; }
.ip-when .w { padding: 3px 11px; border: 1px solid var(--k-hop); border-radius: 999px; font-size: .86rem; }
.ip-when .w2 { background: var(--k-hop); color: #fff; font-weight: 600; }
@media (max-width: 760px) { .ip-about-g { grid-template-columns: 1fr; gap: 12px; } .ip-prof { max-width: 420px; } }
.ip-offers h2, .ip .band h2 { margin: 0 0 14px; font-size: 1.25rem; }
.ip .sec { padding: 36px 0; }
.ip-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ip-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.ip-table th { padding: 10px 12px; text-align: left; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ip-table td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.ip-table tr.first td { border-top-color: #cfd3db; }
.ip-table td.shop { min-width: 150px; font-weight: 700; }
.ip-table td.shop .flag { width: 16px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.ip-table small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.ip-table td a { color: var(--ink); text-decoration: none; }
.ip-table td a:hover { color: var(--amber-dark); text-decoration: underline; }
.ip-table .pk, .ip-table .st, .ip-table .pr { white-space: nowrap; }
.ip-table .st.in { color: var(--green); font-weight: 600; }
.ip-table tr.out td:not(.shop), .ip-table tr.out td a { color: var(--muted); }
.ip-table .pr { text-align: right; color: var(--muted); font-size: .88rem; }
.ip-table .pr .sale { color: var(--red); font-weight: 600; }
.ip-table .pr s { margin-left: 4px; }
.ip-table tr.more td { border-top: 0; padding-top: 0; color: var(--muted); font-size: .84rem; }
.ip-asof { margin: 10px 0 0; font-size: .85rem; }
.ip-also { margin: 8px 0 0; }
.ip-also .flag { width: 16px; height: 10px; margin-right: 5px; vertical-align: -1px; }
.ip-rel { display: flex; flex-wrap: wrap; gap: 8px; }
.ip-rel a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.ip-rel a:hover { border-color: var(--amber); }
.ip-rel small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.ip-all { margin: 16px 0 0; }
.ip-index h2 { margin: 26px 0 10px; font-size: 1.1rem; }
.ip-index h2:first-child { margin-top: 0; }
@media (max-width: 640px) {
  .ip-table .pk { display: none; }
  .ip-table td.shop { min-width: 110px; }
}
.ip-rel a.out { color: var(--muted); font-weight: 500; }

/* the index's link to its cheat sheet (PDF, 2026-11-22) */
.ip-pdf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; }
.ip-pdf .btn { min-height: 40px; padding: 0 1rem; }
.ip-pdf small { color: var(--muted); font-size: .86rem; }
.ip-pdf p { flex-basis: 100%; margin: 0; color: var(--muted); }

/* the index's fact box: the terms on the pages explained (2026-11-22) */
.ip .sec.ip-gloss-s { padding: 28px 0 0; }
.ip-gloss { padding: 4px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ip-gloss summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; }
.ip-gloss summary::-webkit-details-marker { display: none; }
.ip-gloss summary::after { content: "\25BE"; margin-left: auto; color: var(--muted); transition: transform .15s; }
.ip-gloss:not([open]) summary::after { transform: rotate(-90deg); }
.ip-gloss summary h2 { margin: 0; font-size: 1.1rem; }
.ip-gloss-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 30px; margin: 4px 0 20px; }
.ip-gloss-l dt { margin: 0 0 3px; font-weight: 700; }
.ip-gloss-l dd { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* the maltsters' malts on the malt index; a hit's name links its ingredient page (2026-11-18) */
.ip-index h2.ip-mk { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.ip-index h3 { margin: 18px 0 8px; font-size: .95rem; color: var(--muted); }
a.hit-name { display: block; color: var(--ink); text-decoration: none; }
a.hit-name:hover { color: var(--amber-ink, var(--ink)); text-decoration: underline; }

/* a shop's product once, its packs and forms as its variants (2026-11-18) */
.ip-table td.vr { min-width: 210px; }
.ip-var { list-style: none; margin: 0; padding: 0; }
.ip-var li { display: flex; justify-content: space-between; gap: 14px; padding: 1px 0; white-space: nowrap; }
.ip-var li.out, .ip-var li.out a { color: var(--muted); }
.ip-var li em { font-style: normal; font-size: .8rem; }
.ip-var .pr { color: var(--muted); font-size: .88rem; }
.ip-var .pr .sale { color: var(--red); font-weight: 600; }
.ip-var .pr s { margin-left: 4px; }

/* The MCP server's page (/en/mcp, app/mcp_page.py, 2026-11-21) */
.mcp-url { margin: 22px 0 8px; }
.mcp-url code { display: inline-block; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.05rem; user-select: all; overflow-wrap: anywhere; }
.mcp code, .mcp pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.mcp pre { margin: 8px 0 0; padding: 12px 14px; border-radius: 10px; background: #15171c; color: #e8e6e1; overflow-x: auto; white-space: pre; }
.mcp .about-text li { margin: 6px 0; }
.mcp .about-text, .mcp .about-head, .mcp-tool, .mcp-clients dd { min-width: 0; }   /* a <pre> must not widen the grid column */
.mcp code { overflow-wrap: anywhere; }
.mcp-ex li { font-style: italic; }
.mcp-clients dt { font-weight: 700; margin-top: 16px; }
.mcp-clients dd { margin: 4px 0 0; }
.mcp-tool { margin-top: 34px; }
.mcp-tool h3 { font-size: 1.25rem; margin-bottom: 6px; }
.mcp-table { overflow-x: auto; margin-top: 10px; }
.mcp-table table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.mcp-table th, .mcp-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line, #e3e0d8); }
.mcp-table th { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mcp-table td:first-child { white-space: nowrap; }
@media (max-width: 720px) { .mcp-table td:first-child { white-space: normal; overflow-wrap: anywhere; } }
