:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sunk: #f3f3f3;
  --line: #dedede;
  --field: #bdbdbd;
  --text: #0b0b0b;
  --muted: #5a5a5a;
  --ink: #0b0b0b;
  --paper: #ffffff;
  --radius: 4px;
  --warn-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Photos can be any colour, so their focus ring is black + white (visible on both). */
.photo:focus-visible { outline: none; }
.photo:focus-visible::after { content: ""; position: absolute; inset: 0; z-index: 1; border: 3px solid var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  /* Inter/Fraunces have no Hebrew glyphs; Heebo/Frank Ruhl Libre fill in via unicode-range. */
  font: 16px/1.55 Inter, Heebo, system-ui, sans-serif;
  padding-bottom: calc(var(--warn-h) + 16px); /* room for the fixed warning bar */
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* The header's heavy bottom rule is the same shelf as in the logo. */
.top { border-bottom: 3px solid var(--ink); padding: 36px 0 24px; margin-bottom: 28px; }
h1 {
  font-family: Fraunces, 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--ink);
}
.brand { margin: 0 0 16px; line-height: 0; }
.brand a { display: inline-block; }
.brand img { display: block; height: 44px; width: auto; max-width: 100%; }
.brand-link { display: inline-block; margin: 0 0 28px; line-height: 0; }
.brand-link img { display: block; height: 30px; width: auto; }
.lede { margin: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* ---------- search + autocomplete ---------- */
.search { position: relative; max-width: 720px; }
.search-icon { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
#q {
  width: 100%; min-height: 52px; padding: 12px 14px 12px 44px;
  font: inherit; font-size: 1.05rem; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: var(--radius);
}
#q::placeholder { color: #767676; }
#q[aria-expanded=true] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 8; margin: 0; padding: 4px 0; list-style: none;
  background: var(--paper); border: 1.5px solid var(--ink); border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.16);
  max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain;
}
.sg { display: flex; align-items: center; gap: 12px; padding: 8px 12px; cursor: pointer; min-height: 44px; }
.sg[aria-selected=true], .sg:hover { background: var(--sunk); }
.sg img { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 3px; background: var(--sunk); }
.sg-body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.sg-title { font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-title mark { background: none; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.sg-meta { display: flex; gap: 10px; align-items: baseline; font-size: .86rem; color: var(--muted); min-width: 0; }
.sg-meta strong { color: var(--ink); white-space: nowrap; }
.sg-loc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-all { justify-content: center; font-weight: 600; font-size: .92rem; border-top: 1px solid var(--line); margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.sg-none { padding: 14px 12px; color: var(--muted); }

/* ---------- shop layout: filters + results ---------- */
.shop { display: grid; gap: 32px; grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
.filters {
  position: sticky; top: 16px;
  max-height: calc(100vh - var(--warn-h) - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding-right: 6px;
}
.filters-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.filters-head h2 { margin: 0 auto 0 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.filters-head .linklike { font-size: .9rem; min-height: 32px; }
.drawer-close, .filters-foot { display: none; }

.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary {
  display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; list-style: none;
  font-weight: 600; user-select: none;
}
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px; flex: none;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg);
  transition: transform .15s;
}
.fgroup[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.fbadge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }
.fbody { padding: 0 0 14px; }
.fsearch {
  width: 100%; min-height: 40px; margin: 0 0 6px; padding: 8px 10px;
  font: inherit; font-size: .92rem; color: var(--text); background: var(--paper);
  border: 1px solid var(--field); border-radius: var(--radius);
}
.fsearch:hover, .fsearch:focus { border-color: var(--ink); }
.opts { list-style: none; margin: 0; padding: 0; }
.opts label {
  display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 2px 0; cursor: pointer;
  font-size: .94rem;
}
.opts input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.olabel { min-width: 0; overflow-wrap: anywhere; }
.ocount { margin-left: auto; padding-left: 8px; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.opts label:hover .olabel { text-decoration: underline; text-underline-offset: 3px; }
.opts .pinned { border-bottom: 1px dashed var(--line); padding-bottom: 4px; margin-bottom: 4px; }
.opts .zero label { color: #9a9a9a; cursor: default; }
.opts .zero label:hover .olabel { text-decoration: none; }
.fmore { margin-top: 6px; font-size: .9rem; font-weight: 600; min-height: 32px; }
.fnone { margin: 6px 0; color: var(--muted); font-size: .9rem; }

/* ---------- results toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.count { margin: 0; color: var(--muted); font-size: .95rem; }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; white-space: nowrap; }
.sort select {
  font: inherit; font-size: .95rem; color: var(--text); background: var(--paper);
  border: 1px solid var(--field); border-radius: var(--radius); padding: 8px 10px; min-height: 44px; cursor: pointer;
}
.sort select:hover { border-color: var(--ink); }
.filters-btn { display: none; align-items: center; gap: 8px; }
.filters-btn svg { width: 18px; height: 18px; }
.filters-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; max-width: 100%; padding: 4px 8px 4px 12px;
  font: inherit; font-size: .88rem; color: var(--text); background: var(--sunk);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip:hover { border-color: var(--ink); }
.chips-clear { font-size: .88rem; font-weight: 600; min-height: 34px; padding: 0 4px; }

/* ---------- seller view ---------- */
.seller-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between;
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px;
}
.eyebrow { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.seller-who h3 { margin: 2px 0; font-family: Fraunces, 'Frank Ruhl Libre', Georgia, serif; font-size: 1.5rem; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.seller-meta { margin: 0; color: var(--muted); font-size: .92rem; }
.seller-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.seller-actions .contact { padding: 0 18px; }

/* ---------- bottles / sellers / real estate / other items tabs ---------- */
.views { display: flex; gap: 28px; margin: 0 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.view-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: -1px; white-space: nowrap; flex: none;
  color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent;
}
.view-tab:hover { color: var(--ink); }
.view-tab[aria-current=page] { color: var(--ink); border-bottom-color: var(--ink); }
.view-n { font-weight: 500; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Sellers directory: which tab's sellers to list. */
.seller-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.seller-cat {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text);
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.seller-cat:hover { border-color: var(--ink); }
.seller-cat[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.seller-cat .view-n { color: inherit; opacity: .75; }
.view-sellers .filters { display: none; }
.view-sellers .shop { grid-template-columns: minmax(0, 1fr); }

/* ---------- sellers directory ---------- */
.seller-find {
  flex: 0 1 320px; min-width: 0; min-height: 44px; padding: 8px 12px;
  font: inherit; font-size: .95rem; color: var(--text); background: var(--paper);
  border: 1px solid var(--field); border-radius: var(--radius);
}
.seller-find:hover, .seller-find:focus { border-color: var(--ink); }
.seller-card { position: relative; }
.seller-card:has(.seller-open:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.seller-thumbs {
  display: grid; gap: 2px; aspect-ratio: 1; background: var(--sunk);
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
}
.seller-thumbs[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.seller-thumbs[data-n="2"] { grid-template-rows: 1fr; }
.seller-thumbs[data-n="3"] .thumb:first-child { grid-row: span 2; }
.seller-thumbs.nophoto { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; }
.thumb { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); color: #fff; font-weight: 700; font-size: 1.25rem;
}
/* The name link covers the whole card; the Message button sits above it. */
.seller-open { color: inherit; text-decoration: none; }
.seller-open::after { content: ""; position: absolute; inset: 0; }
.seller-open:focus-visible { outline: none; }
.seller-card:hover .seller-open { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.seller-count { margin: 0; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.seller-count strong { color: var(--ink); }
.seller-card .contact { position: relative; z-index: 1; margin-top: auto; }

/* ---------- cards ---------- */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .3s;
}
.card:hover { border-color: var(--ink); }
.card.flash { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink); }

.photo {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: zoom-in;
  background: var(--sunk); overflow: hidden;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.photo.nophoto {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  cursor: default; color: var(--muted); font: inherit; font-size: .9rem;
}
button.photo.nophoto { cursor: pointer; }
.nophoto-link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.badge {
  position: absolute; top: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px;
}
.badge.more { right: 10px; background: rgba(0,0,0,.72); color: #fff; }

.body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.body h3 {
  font-family: Fraunces, 'Frank Ruhl Libre', Georgia, serif; font-weight: 500;
  font-size: 1.2rem; line-height: 1.25; margin: 0;
  overflow-wrap: anywhere;
}
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.price { color: var(--ink); font-weight: 700; font-size: 1.1rem; white-space: nowrap; margin-inline-end: 2px; }
.facts { margin: 0; color: var(--text); font-size: .9rem; font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  padding: 3px 11px 3px 8px; border-radius: 999px;
  font-size: .82rem; font-weight: 500; line-height: 1.45;
  background: var(--sunk); color: var(--text); border: 1px solid var(--line);
}
.pill svg { width: 14px; height: 14px; flex: none; color: var(--ink); }
.pill .loc-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.usual { border-style: dashed; border-color: #9a9a9a; }
.pill.unknown, .pill.ship { background: transparent; color: var(--muted); border-color: var(--line); }
.pill.unknown svg, .pill.ship svg { color: var(--muted); }
.text {
  margin: 0; color: var(--muted); font-size: .94rem;
  white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.text.open { -webkit-line-clamp: unset; }
.text a { color: var(--ink); }
.expand {
  align-self: flex-start; background: none; border: 0; padding: 8px 0; margin: -8px 0;
  color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.meta { margin: auto 0 0; font-size: .85rem; color: var(--muted); }
.seller-link {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: #9a9a9a;
  text-underline-offset: 3px; overflow-wrap: anywhere;
  /* Taller hit area without changing the line. */
  display: inline-block; padding: 6px 0; margin: -6px 0;
}
.seller-link:hover { text-decoration-color: var(--ink); }

.contact {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-weight: 600; text-decoration: none;
}
.contact:hover { background: #333; }
.contact svg { width: 18px; height: 18px; }

/* ---------- pagination ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 36px 0 0; }
.pg-nums { display: flex; align-items: center; gap: 6px; }
.pg {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--field); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums;
}
a.pg:hover { border-color: var(--ink); }
.pg[aria-current=page] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pg[aria-disabled=true] { color: #9a9a9a; border-color: var(--line); }
.pg-gap { min-width: 20px; text-align: center; color: var(--muted); }
.pg-status { display: none; color: var(--muted); font-size: .92rem; }

.empty { color: var(--muted); text-align: center; padding: 60px 0; }
.empty p { margin: 0 0 16px; }
.foot { border-top: 1px solid var(--ink); margin-top: 56px; padding-top: 20px; padding-bottom: 24px; color: var(--muted); font-size: .85rem; }

/* ---------- phones and tablets: filters become a drawer ---------- */
@media (max-width: 959.98px) {
  .shop { display: block; }
  .filters {
    position: fixed; z-index: 5; top: 0; left: 0; bottom: var(--warn-h); /* the warning bar stays visible */
    width: min(88vw, 380px); max-height: none; padding: 0;
    display: flex; flex-direction: column;
    background: var(--paper); border-right: 2px solid var(--ink);
    transform: translateX(-102%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .drawer-open .filters { transform: none; visibility: visible; transition: transform .25s ease; }
  .drawer-open { overflow: hidden; }
  .filters-head { padding: 8px 8px 8px 16px; flex: none; }
  .drawer-close {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius);
  }
  .drawer-close svg { width: 24px; height: 24px; }
  .groups { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px; }
  .opts label { min-height: 44px; }
  .filters-foot { display: block; flex: none; padding: 12px 16px; border-top: 1px solid var(--line); }
  .filters-foot .btn { width: 100%; }
  .scrim { position: fixed; inset: 0; z-index: 4; background: rgba(0,0,0,.45); }

  /* The filter + sort bar stays at hand while scrolling. */
  .toolbar {
    position: sticky; top: 0; z-index: 3; margin: 0 -16px 12px; padding: 10px 16px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .filters-btn { display: inline-flex; flex: none; padding: 0 18px; }
  .sort { flex: 1 1 0; min-width: 0; }
  .sort select { width: 100%; }
  .count { order: 3; width: 100%; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .filters, .drawer-open .filters, .card, .fgroup summary::after { transition: none; }
}

@media (max-width: 600px) {
  .top { padding: 22px 0 18px; margin-bottom: 0; border-bottom-width: 2px; }
  .brand img { height: 30px; }
  .brand { margin-bottom: 10px; }
  .lede { font-size: .92rem; margin-bottom: 14px; }
  #q { min-height: 48px; font-size: 1rem; } /* 16px+ stops iOS zooming into the field */
  .sg img { width: 44px; height: 44px; }
  .sort span { display: none; }
  .photo { aspect-ratio: 1; }
  .grid { gap: 16px; }
  .seller-box { padding: 14px 16px; margin-top: 16px; }
  .seller-actions, .seller-actions > * { flex: 1 1 auto; }
  .views { margin-top: 8px; margin-bottom: 0; gap: 20px; }
  .seller-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 14px 0 4px; }
  .seller-cat { flex: none; min-height: 38px; padding: 0 12px; font-size: .86rem; }
  .seller-cat .view-n { display: none; } /* the Sellers tab shows the count; three pills then fit a phone */
  .seller-find { flex: 1 1 0; }
  /* Phones: the collection preview is one row of small squares. */
  .seller-thumbs[data-n] { aspect-ratio: auto; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
  .seller-thumbs[data-n] .thumb:nth-child(n) { aspect-ratio: 1; grid-row: auto; }
  .seller-thumbs.nophoto { aspect-ratio: auto; min-height: 72px; }
  .pg-nums { display: none; }
  .pg-status { display: inline; padding: 0 6px; }
  .pager { justify-content: space-between; }
}
@media (max-width: 380px) {
  .pg-word { display: none; }
}

dialog#viewer {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; color: #fff;
}
dialog#viewer::backdrop { background: rgba(0,0,0,.94); }
dialog#viewer[open] { display: flex; align-items: center; justify-content: center; }
#viewer img { max-width: calc(100vw - 32px); max-height: calc(100vh - 90px); object-fit: contain; }
#viewer button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
#viewer button:hover { background: rgba(255,255,255,.24); }
#viewer button:focus-visible { outline-color: #fff; }
#viewer .close { top: 16px; right: 16px; }
#viewer .prev { left: 16px; }
#viewer .next { right: 16px; }
#viewer .pos { position: absolute; bottom: 12px; margin: 0; font-size: .9rem; color: #ddd; }
@media (max-width: 600px) {
  #viewer .prev, #viewer .next { top: auto; bottom: 8px; }
  #viewer img { max-height: calc(100vh - 140px); }
}

/* Mandatory alcohol warning, kept as small as the warning-label regulations allow:
   bold, contrasting colours, black frame, 18px text. Always visible at the bottom of the page. */
.warn-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0; padding: 3px 8px;
  background: #fff; color: #000; border: 2px solid #000;
  font-family: Heebo, Inter, system-ui, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3;
  text-align: center;
}

.btn {
  min-height: 44px; padding: 0 22px; border-radius: var(--radius); cursor: pointer;
  font: inherit; font-weight: 600; background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
}
.btn:hover { background: #333; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--field); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a, .foot-links .linklike { display: inline-block; padding: 8px 0; }
.foot a { color: var(--muted); }
.foot a:hover, .foot .linklike:hover { color: var(--ink); }

.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.consent {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--warn-h) + 12px); z-index: 7; max-width: 640px; margin: 0 auto;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.18);
  max-height: calc(100vh - var(--warn-h) - 24px); overflow-y: auto;
}
.consent h2 { font-size: 1.05rem; margin: 0 0 6px; }
.consent p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.consent a { color: var(--ink); }
@media (max-width: 600px) {
  .consent { left: 8px; right: 8px; padding: 14px 16px; }
  .consent-actions .btn { flex: 1 1 auto; }
}

/* Info pages (accessibility statement, cookie policy) */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-family: Fraunces, 'Frank Ruhl Libre', Georgia, serif; color: var(--text); margin: 32px 0 8px; font-size: 1.3rem; }
.doc p, .doc li { color: var(--muted); }
.doc a { color: var(--ink); }
