/* =========================================================
   ESPRSO — DEMO STORE

   Same tokens as the website (demo-site/css/styles.css), so the
   two read as one brand. Product first: categories and products
   carry the page, and every screen has one primary action.
========================================================= */

:root {
  --ink: #0e0f10;
  --ink-soft: #151618;
  --char: #1c1d1f;
  --line: #2a2b2d;
  --line-soft: #202123;

  --taupe: #5a5049;
  --taupe-deep: #3b352f;
  --logo-ink: #342b24;
  --stone: #d6cdc2;
  --cream: #efe8de;
  --muted: #a39b91;
  --dim: #7a736c;

  --crema: #c9a06f;
  --crema-hi: #ddb887;

  --go: #8fb07a;
  --stop: #d9806f;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --tap: 44px;
  --radius: 8px;
  --top-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (min-width: 900px) { :root { --top-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, fieldset, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--crema); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--crema); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--crema); color: var(--ink); padding: 0.6rem 1rem; font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
#view { outline: none; min-height: 60vh; }

.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 0.88rem; }
.eyebrow {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.display {
  font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(2.2rem, 7vw, 4rem); text-wrap: balance;
}
.display em { font-style: italic; color: var(--stone); }
.display--sm { font-size: clamp(2rem, 5.5vw, 3rem); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.1; }
.sample-note { font-size: 0.78rem; color: var(--dim); margin-block: 1.5rem; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s;
}
.btn--accent { background: var(--crema); color: var(--ink); }
.btn--accent:hover { background: var(--crema-hi); }
.btn--ghost { background: none; border-color: var(--taupe); color: var(--cream); }
.btn--ghost:hover { border-color: var(--stone); }
.btn--grow { flex: 1; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.linkbtn {
  background: none; border: 0; padding: 0.4rem 0; min-height: var(--tap); cursor: pointer;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 0.85rem;
}
.linkbtn:hover { color: var(--cream); }
.more {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--crema); text-decoration: none; white-space: nowrap;
  min-height: var(--tap); display: inline-flex; align-items: center;
}
.more:hover { color: var(--crema-hi); }
.back {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
}
.back:hover { color: var(--cream); }
.iconbtn {
  display: grid; place-items: center; width: var(--tap); height: var(--tap); flex: none;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.iconbtn:hover { border-color: var(--taupe); }

/* ---------------------------------------------------------- announcement and header */
.announce {
  padding: 0.5rem var(--gutter);
  background: var(--stone); color: var(--ink);
  font-size: 0.75rem; font-weight: 500; text-align: center;
}

.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 15, 16, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.top__bar {
  display: grid; grid-template-columns: var(--tap) 1fr var(--tap);
  align-items: center; gap: 0.5rem; min-height: var(--top-h);
}
.brand { display: inline-flex; justify-self: center; border-radius: 50%; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand--lg img { width: 96px; height: 96px; }

.nav-toggle {
  display: grid; place-content: center; gap: 6px;
  width: var(--tap); height: var(--tap); padding: 0;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column;
  max-height: calc(100dvh - var(--top-h)); overflow-y: auto;
  padding: 0.25rem var(--gutter) 1.25rem;
  background: var(--ink); border-bottom: 1px solid var(--line);
}
.nav.is-open { display: flex; }
.nav a {
  display: flex; align-items: center; min-height: 48px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.nav a.nav__sub { padding-left: 1rem; letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--cream); }

@media (min-width: 900px) {
  .top__bar { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .brand { justify-self: start; }
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; justify-content: center; gap: 2.25rem;
    max-height: none; overflow: visible; padding: 0; background: none; border: 0;
  }
  .nav a { min-height: var(--tap); border: 0; font-size: 0.78rem; letter-spacing: 0.16em; }
  .nav a.nav__sub { display: none; }
  .nav a[aria-current='page'] { box-shadow: inset 0 -1px 0 var(--crema); }
}

.cart-btn {
  position: relative; display: grid; place-items: center;
  width: var(--tap); height: var(--tap); padding: 0;
  background: none; border: 0; cursor: pointer; justify-self: end;
}
.cart-btn svg { width: 30px; height: 30px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cart-btn__count {
  position: absolute; top: 2px; right: 0;
  display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px;
  background: var(--crema); color: var(--ink); border-radius: 999px;
  font-size: 0.7rem; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- home */
.hero { padding-block: 1.25rem 2.5rem; }
@media (min-width: 900px) { .hero { padding-block: 3rem 4rem; } }
.hero__head { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .hero__head { grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-bottom: 2rem; }
  .hero__head p { max-width: 36ch; text-align: right; }
}
.hero__head p { font-size: 0.95rem; }

/* Every category on the first screen of a phone (BR-02). */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem 0.6rem; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; } }
.tile { display: grid; gap: 0.45rem; text-decoration: none; }
.tile__media {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius); background: var(--taupe);
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.tile__media .icon-disc svg { width: 46%; height: 46%; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile:hover .tile__name { color: var(--crema); }
.tile__name { font-size: 0.85rem; font-weight: 500; line-height: 1.2; }
.tile__count { font-size: 0.72rem; color: var(--dim); margin-top: -0.3rem; }

.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line-soft); }
.band__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.perks { display: grid; gap: 0; border-block: 1px solid var(--line-soft); }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perks li { padding: 1.1rem var(--gutter); display: grid; gap: 0.15rem; }
@media (min-width: 760px) { .perks li + li { border-left: 1px solid var(--line-soft); } }
@media (max-width: 759px) { .perks li + li { border-top: 1px solid var(--line-soft); } }
.perks b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.perks span { font-size: 0.85rem; color: var(--muted); }

.feature { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 0.9fr 1.1fr; } }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.feature__copy { display: grid; gap: 1rem; justify-items: start; }
.feature__copy > p { color: var(--muted); max-width: 50ch; }

.notes { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.notes span {
  padding: 0.25rem 0.75rem; border: 1px solid var(--taupe); border-radius: 999px;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone);
}

.duo { display: grid; gap: 1rem; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.promo {
  position: relative; display: grid; align-content: end; gap: 0.4rem; min-height: 320px;
  padding: 1.5rem; overflow: hidden; border-radius: var(--radius); text-decoration: none;
  isolation: isolate;
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 15, 16, 0.92) 15%, rgba(14, 15, 16, 0.1) 70%); }
.promo:hover img { transform: scale(1.03); }
.promo p { color: var(--stone); max-width: 40ch; font-size: 0.92rem; }
.promo .more { min-height: 0; margin-top: 0.4rem; }

/* ---------------------------------------------------------- product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1rem; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: grid; grid-template-rows: auto 1fr; gap: 0.7rem; min-width: 0; }
.card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); background: var(--ink-soft);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card.is-soldout .card__media > :not(.badge) { opacity: 0.5; }
.card__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.card__name { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.card__name a { text-decoration: none; }
.card__name a:hover { color: var(--crema); }
.card__meta { font-size: 0.8rem; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; flex-wrap: wrap; }
.card__price { font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0.4rem 1rem;
  background: none; border: 1px solid var(--taupe); border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.card__btn:hover { border-color: var(--crema); color: var(--crema); }
.card__btn--add { background: var(--crema); border-color: var(--crema); color: var(--ink); }
.card__btn--add:hover { background: var(--crema-hi); color: var(--ink); }
.card__btn.is-off { border-color: var(--line); color: var(--dim); cursor: default; }

.badge {
  position: absolute; left: 0.5rem; top: 0.5rem;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge--off { background: var(--char); color: var(--stop); border: 1px solid var(--stop); }

.icon-disc {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--taupe);
}
.icon-disc svg { width: 40%; height: 40%; fill: none; stroke: var(--logo-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tag {
  display: inline-block; padding: 0.1rem 0.5rem; border: 1px solid var(--stop); border-radius: 999px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stop);
}

/* ---------------------------------------------------------- listing pages */
.page { padding-block: 1rem 3rem; display: grid; gap: 1.25rem; }
.page__head { display: grid; gap: 0.5rem; }
.page__head p { max-width: 60ch; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8rem; color: var(--dim); }
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.crumbs [aria-current] { color: var(--muted); }

.chips {
  display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.95rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.82rem; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.chip:hover { color: var(--cream); border-color: var(--taupe); }
.chip[aria-current='page'] { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.shelf { padding-top: 1.5rem; display: grid; gap: 1rem; }
.shelf + .shelf { border-top: 1px solid var(--line-soft); margin-top: 1rem; padding-top: 2rem; }

.empty { padding-block: 2.5rem; text-align: center; color: var(--muted); display: grid; gap: 1rem; justify-items: center; }

/* ---------------------------------------------------------- product page */
.pdp { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; } }
.pdp__gallery { display: grid; gap: 0.6rem; }
@media (min-width: 900px) { .pdp__gallery { position: sticky; top: calc(var(--top-h) + 1.5rem); } }
.pdp__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--ink-soft); }
.pdp__main.icon-disc svg { width: 30%; height: 30%; }
.thumbs { display: flex; gap: 0.5rem; }
.thumbs button {
  width: 72px; height: 72px; padding: 0; overflow: hidden; flex: none;
  background: none; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
}
.thumbs button[aria-pressed='true'] { border-color: var(--crema); box-shadow: 0 0 0 1px var(--crema); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__info { display: grid; gap: 1.1rem; align-content: start; }
.pdp__title { display: grid; gap: 0.35rem; justify-items: start; }
.pdp__title .badge { position: static; }
.pdp__price { font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp__price small { display: block; font-size: 0.75rem; font-weight: 400; color: var(--dim); }
.pdp__desc { color: var(--muted); max-width: 52ch; }

.opt { border: 0; padding: 0; min-width: 0; }
.opt legend { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; padding: 0; }
.opt legend b { color: var(--cream); font-weight: 600; }
.opt__values { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill-opt { position: relative; cursor: pointer; }
.pill-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.pill-opt span {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: var(--tap); padding: 0.5rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem;
  transition: border-color 0.2s var(--ease);
}
.pill-opt span small { color: var(--muted); font-size: 0.75rem; }
.pill-opt:hover span { border-color: var(--taupe); }
.pill-opt input:checked + span { border-color: var(--crema); box-shadow: inset 0 0 0 1px var(--crema); }
.pill-opt input:focus-visible + span { outline: 2px solid var(--crema); outline-offset: 2px; }
.pill-opt input:disabled + span { color: var(--dim); text-decoration: line-through; border-style: dashed; }
.pill-opt input:disabled + span small { text-decoration: none; }
.pill-opt:has(input:disabled) { cursor: not-allowed; }

.buy { display: flex; gap: 0.75rem; align-items: center; }

.stepper {
  display: inline-flex; align-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 999px;
}
.stepper button {
  width: var(--tap); height: var(--tap); border: 0; background: none;
  font-size: 1.2rem; cursor: pointer; border-radius: 50%;
}
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper--sm button { width: 36px; height: 36px; font-size: 1rem; }

.ticks { display: grid; gap: 0.4rem; font-size: 0.88rem; color: var(--muted); }
.ticks li { display: flex; gap: 0.6rem; }
.ticks li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 0.5rem; border-radius: 50%; background: var(--crema); }

.specs { border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.specs dt { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); padding-top: 0.15rem; }

.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  cursor: pointer; list-style: none; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.3rem; color: var(--muted); }
.acc[open] summary::after { content: '−'; }
.acc p { color: var(--muted); font-size: 0.9rem; padding-bottom: 1rem; }

/* ---------------------------------------------------------- cart drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(420px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  padding: 0; border: 0; border-left: 1px solid var(--line);
  background: var(--char); color: var(--cream);
}
.drawer::backdrop { background: rgba(0, 0, 0, 0.62); }
.drawer[open] { animation: slide 0.3s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 1.2rem; }
.drawer__foot {
  display: grid; gap: 0.75rem;
  padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.drawer .empty { padding-inline: 1.2rem; }

.freebar { display: grid; gap: 0.4rem; font-size: 0.82rem; color: var(--muted); padding-block: 1rem 0.25rem; }
.freebar__track { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.freebar__fill { height: 100%; background: var(--crema); border-radius: inherit; }

/* ---------------------------------------------------------- lines and totals */
.lines { display: grid; }
.line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 0.85rem; align-items: start;
  padding-block: 1rem; border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.thumb { position: relative; display: block; width: 64px; height: 64px; border-radius: 6px; overflow: hidden; background: var(--ink-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .icon-disc svg { width: 50%; height: 50%; }
.thumb__qty {
  position: absolute; top: 3px; right: 3px; display: grid; place-items: center;
  min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-size: 0.7rem; font-weight: 600;
}
.line__main { display: grid; gap: 0.2rem; min-width: 0; justify-items: start; }
.line__name { font-weight: 600; text-decoration: none; line-height: 1.3; }
a.line__name:hover { color: var(--crema); }
.line__opts { font-size: 0.8rem; color: var(--muted); }
.line__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.35rem; }
.line__total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.summary { display: grid; gap: 0.45rem; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.summary dt { color: var(--muted); }
.summary__total { padding-top: 0.6rem; margin-top: 0.2rem; border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 600; }
.summary__total dt { color: var(--cream); }
.summary__vat { font-size: 0.8rem; }
.summary__vat dt, .summary__vat dd { color: var(--dim); }

/* ---------------------------------------------------------- checkout */
.checkout { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.25fr 0.95fr; gap: 2.5rem; } }
.checkout__main { display: grid; gap: 1.25rem; }
.checkout__side { order: -1; }
@media (min-width: 900px) { .checkout__side { order: 0; position: sticky; top: calc(var(--top-h) + 1rem); } }

.panel {
  padding: 1.1rem; background: var(--ink-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  display: grid; gap: 0.9rem;
}
.panel__title { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }

.osum { padding: 0; gap: 0; }
.osum summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: 0.6rem 1.1rem; cursor: pointer; list-style: none;
}
.osum summary::-webkit-details-marker { display: none; }
.osum summary > span:first-child { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--crema); font-size: 0.9rem; }
.osum summary > span:first-child::after { content: '▾'; font-size: 0.8rem; transition: transform 0.2s; }
.osum[open] summary > span:first-child::after { transform: rotate(180deg); }
.osum summary > span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.osum__body { padding: 0 1.1rem 1.1rem; display: grid; gap: 0.75rem; border-top: 1px solid var(--line-soft); }

.choices { display: grid; gap: 0.5rem; border: 0; padding: 0; min-width: 0; }
.choices legend { margin-bottom: 0.4rem; }
.choices label {
  display: flex; align-items: center; gap: 0.75rem; min-height: 60px; padding: 0.6rem 0.9rem;
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.choices label:has(input:checked) { border-color: var(--crema); box-shadow: inset 0 0 0 1px var(--crema); }
.choices input { width: 20px; height: 20px; margin: 0; accent-color: var(--crema); flex: none; }
.choices label > span { flex: 1; }
.choices small { display: block; color: var(--muted); font-size: 0.78rem; }
.choices b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 560px) { .choices--2 { grid-template-columns: 1fr 1fr; } .choices--2 legend { grid-column: 1 / -1; } }

.field { display: grid; gap: 0.35rem; }
.field__label { font-size: 0.82rem; font-weight: 500; }
.field__label small { font-weight: 400; color: var(--dim); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0.6rem 0.85rem;
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
}
.field input:focus, .field select:focus { border-color: var(--crema); outline: none; box-shadow: 0 0 0 1px var(--crema); }
.field input[aria-invalid='true'] { border-color: var(--stop); }
.field__error { font-size: 0.8rem; color: var(--stop); }
.fields { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .fields--2 { grid-template-columns: 1fr 1fr; } }

.notice {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-left: 3px solid var(--crema);
  border-radius: 8px; background: var(--ink-soft); font-size: 0.92rem;
}
.notice--stop { border-left-color: var(--stop); }
.notice ul { margin-top: 0.4rem; padding-left: 1.1rem; list-style: disc; }
.secure { font-size: 0.8rem; color: var(--dim); }

/* ---------------------------------------------------------- payment dialog (Stripe stand-in) */
.sheet {
  width: min(460px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem);
  padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--char); color: var(--cream); overflow: auto;
}
@media (max-width: 559px) {
  .sheet { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; border-bottom: 0; }
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.62); }
.sheet[open] { animation: rise 0.28s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.pay { padding: 1.6rem 1.3rem calc(1.3rem + env(safe-area-inset-bottom)); display: grid; gap: 0.75rem; text-align: center; }
.pay__amount { font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; }
.pay__demo { font-size: 0.82rem; color: var(--muted); padding: 0.7rem; border: 1px dashed var(--line); border-radius: 10px; }
.pay__actions { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.pay__msg { font-size: 0.88rem; color: var(--stop); min-height: 1.3em; }

/* ---------------------------------------------------------- order confirmation */
.split { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; } }
.order__number { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crema); }
.order__status { font-family: var(--serif); font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1.1; }

.tracker { display: grid; }
.tracker__step {
  position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 0.75rem; align-items: center;
  min-height: 52px; color: var(--dim);
}
.tracker__step::before {
  content: ''; position: absolute; left: 13px; top: -26px; height: 52px; width: 2px; background: var(--line);
}
.tracker__step:first-child::before { display: none; }
.tracker__dot { width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; border: 2px solid var(--line); background: var(--ink); position: relative; z-index: 1; }
.tracker__time { font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.tracker__step.is-done { color: var(--muted); }
.tracker__step.is-done::before, .tracker__step.is-now::before { background: var(--crema); }
.tracker__step.is-done .tracker__dot { background: var(--crema); border-color: var(--crema); }
.tracker__step.is-now { color: var(--cream); font-weight: 600; }
.tracker__step.is-now .tracker__dot { border-color: var(--crema); box-shadow: 0 0 0 4px rgba(201, 160, 111, 0.25); }

.demo-box { display: grid; gap: 0.5rem; justify-items: start; padding: 0.8rem 1rem; border: 1px dashed var(--line); border-radius: 10px; font-size: 0.82rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------------------------------------------------------- content pages */
.prose { display: grid; gap: 1rem; max-width: 62ch; }
.prose p { color: var(--muted); }

.menu-sec { display: grid; gap: 1.5rem; align-items: start; padding-block: 2rem; border-top: 1px solid var(--line-soft); }
@media (min-width: 900px) { .menu-sec { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; } }
.menu-sec img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.menu-list li { padding-block: 0.95rem; border-bottom: 1px solid var(--line); }
.menu-list li:first-child { padding-top: 0; }
.menu-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.menu-list p { color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; }

.story { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.story__media { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.story__media img:last-child { margin-top: 2.5rem; }

.pillars { display: grid; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.pillars p { color: var(--muted); font-size: 0.93rem; margin-top: 0.35rem; }

.info { border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.info dt { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); padding-top: 0.2rem; }
.info dd a { color: var(--crema); }
.tbc { display: block; font-size: 0.72rem; color: var(--dim); margin-top: 0.15rem; }

.help-sec { scroll-margin-top: calc(var(--top-h) + 1rem); padding-block: 1.5rem; border-top: 1px solid var(--line-soft); display: grid; gap: 0.75rem; }

/* ---------------------------------------------------------- footer, demo, toasts */
.foot { margin-top: 2rem; padding-top: 3rem; border-top: 1px solid var(--line-soft); font-size: 0.88rem; color: var(--muted); }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot__brand { grid-column: auto; } }
.foot__brand p { margin-top: 0.9rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.foot__nav { display: flex; flex-direction: column; gap: 0.1rem; }
.foot__nav h2 { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.4rem; }
.foot__nav a { text-decoration: none; width: fit-content; min-height: 36px; display: inline-flex; align-items: center; }
.foot__nav a:hover { color: var(--cream); }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem;
  margin-top: 1.5rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line-soft);
  font-size: 0.75rem; color: var(--dim);
}

/* ---------------------------------------------------------- demo guide (all three apps) */
.demo-fab {
  position: fixed; left: calc(0.75rem + env(safe-area-inset-left)); bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.45rem 0.95rem;
  background: var(--char); color: var(--cream); border: 1px dashed var(--crema); border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.demo-fab::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--crema); }
.demo-fab:hover { background: var(--taupe-deep); }
@media (max-width: 559px) {
  .demo-fab { min-height: 34px; padding: 0.3rem 0.75rem; font-size: 0.72rem; }
  /* Room under the footer, so the button never sits on its last line. */
  .foot__base { padding-bottom: 4.5rem; }
  /* The payment page shows the test cards itself, and the button would sit on the card fields. */
  body.is-stripe .demo-fab { display: none; }
}
@media print { .demo-fab { display: none; } }

.demo-panel {
  position: fixed; inset: 0 auto 0 0; margin: 0;
  width: min(460px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  padding: 0; border: 0; border-right: 1px solid var(--line);
  background: var(--char); color: var(--cream);
}
.demo-panel::backdrop { background: rgba(0, 0, 0, 0.55); }
.demo-panel[open] { animation: slide-in 0.3s var(--ease); }
@keyframes slide-in { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.demo-panel__inner { display: flex; flex-direction: column; height: 100%; }
.demo-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--line);
}
.demo-panel__body { flex: 1; overflow-y: auto; padding: 1.1rem 1.2rem calc(2rem + env(safe-area-inset-bottom)); display: grid; gap: 1.6rem; align-content: start; }
.demo-sec { display: grid; gap: 0.6rem; }
.demo-sec code, .demo-box code, .hint code { color: var(--cream); }

.demo-apps { display: grid; gap: 0.5rem; }
.demo-apps li {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.15rem 0.75rem;
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 10px;
}
.demo-apps li.is-here { border-color: var(--crema); }
.demo-apps b small { font-weight: 400; color: var(--dim); font-size: 0.78rem; margin-left: 0.25rem; }
.demo-apps li > small { grid-column: 1; font-size: 0.8rem; color: var(--muted); }
.demo-apps__links { grid-row: span 2; grid-column: 2; display: flex; flex-wrap: wrap; justify-content: end; gap: 0.35rem; }

.demo-steps { display: grid; gap: 0.6rem; counter-reset: step; }
.demo-steps li { counter-increment: step; display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.55rem; font-size: 0.88rem; color: var(--muted); }
.demo-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-top: 0.05rem;
  border-radius: 50%; background: var(--taupe-deep); color: var(--cream); font-size: 0.72rem; font-weight: 600;
}
.demo-steps a { color: var(--crema); text-underline-offset: 3px; }
.demo-steps b { color: var(--cream); font-weight: 600; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; }
.creds { display: grid; gap: 0.4rem; }
.cred {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.75rem; background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  font-size: 0.85rem; line-height: 1.55; overflow-wrap: anywhere;
}
.cred small { color: var(--muted); }
.copy {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0.25rem 0.75rem;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.74rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.copy:hover { color: var(--cream); border-color: var(--taupe); }

/* Credentials shown right where they are needed: sign-in forms, the PIN pad, the payment page. */
.hint { display: grid; gap: 0.5rem; padding: 0.75rem 0.9rem; border: 1px dashed var(--crema); border-radius: 10px; font-size: 0.84rem; color: var(--muted); text-align: left; }
.hint__title { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crema); }
.hint__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hint__chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0.3rem 0.8rem;
  background: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--cream); cursor: pointer;
}
.hint__chip small { color: var(--muted); font-size: 0.72rem; }
.hint__chip:hover { border-color: var(--crema); }

/* ---------------------------------------------------------- receipts (order page and POS) */
.receipt {
  width: min(380px, 100%); margin-inline: auto; padding: 1.4rem 1.25rem;
  display: grid; gap: 0.85rem;
  background: #fbf8f3; color: #1d1b19; border-radius: 6px;
  font-size: 0.85rem; line-height: 1.45; font-variant-numeric: tabular-nums;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.receipt__head { display: grid; justify-items: center; gap: 0.1rem; text-align: center; }
.receipt__head img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 0.3rem; }
.receipt__head b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.1; }
.receipt__head span { font-size: 0.76rem; color: #5b5752; }
.receipt__head strong { margin-top: 0.5rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
.receipt dl { display: grid; gap: 0.2rem; padding-top: 0.7rem; border-top: 1px dashed #b9b2a8; }
.receipt dl div { display: flex; justify-content: space-between; gap: 1rem; }
.receipt dt { flex: none; color: #5b5752; }
.receipt dd { text-align: right; overflow-wrap: anywhere; }
.receipt__lines { width: 100%; border-collapse: collapse; border-top: 1px dashed #b9b2a8; }
.receipt__lines td { padding: 0.45rem 0 0; vertical-align: top; }
.receipt__lines td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.receipt__lines small { display: block; color: #6b665f; font-size: 0.75rem; }
.receipt .receipt__total { font-size: 1rem; font-weight: 700; }
.receipt .receipt__total dt { color: inherit; }
.receipt__note { font-size: 0.8rem; color: #5b5752; }
.receipt__foot { padding-top: 0.7rem; border-top: 1px dashed #b9b2a8; text-align: center; font-size: 0.74rem; color: #6b665f; }

.print-area { display: none; }
@media print {
  body.printing { background: #fff; }
  body.printing > :not(.print-area) { display: none !important; }
  body.printing .print-area { display: block; }
  body.printing .receipt { box-shadow: none; width: 80mm; padding: 0; background: #fff; }
}

/* ---------------------------------------------------------- shared bits added for the demo */
.notice--go { border-left-color: var(--go); }
.announce--stop { background: var(--stop); color: var(--ink); }
.state--stop { color: var(--stop); }
.state--stop::before { background: var(--stop); }
.menu-list h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-list h3 span { flex: none; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-list .tag { margin-top: 0.35rem; }

/* The shop's bar for an order just paid for, with its live status. */
.trackbar { background: var(--taupe-deep); border-bottom: 1px solid var(--line); }
.trackbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.9rem; min-height: 52px; padding-block: 0.25rem; font-size: 0.9rem; }
.trackbar__inner .state { color: var(--cream); font-size: 0.85rem; }
.trackbar__inner a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--crema); font-weight: 600; text-underline-offset: 3px;
}
.trackbar__inner .iconbtn { width: 36px; height: 36px; font-size: 1.2rem; margin-left: auto; }

.toasts {
  position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  transform: translateX(-50%); display: grid; gap: 0.5rem; width: max-content; max-width: calc(100% - 2rem);
  pointer-events: none;
}
.toast {
  padding: 0.65rem 1rem; background: var(--cream); color: var(--ink);
  border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: rise 0.25s var(--ease);
}

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

/* ---------------------------------------------------------- header actions (shop) */
.top__bar { grid-template-columns: 1fr auto 1fr; }
@media (min-width: 900px) { .top__bar { grid-template-columns: auto 1fr auto; } }
.nav-toggle { justify-self: start; }
.top__actions { display: flex; align-items: center; justify-self: end; }
.icon-link { display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: 50%; }
.icon-link svg { width: 28px; height: 28px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ---------------------------------------------------------- small additions */
.pdp__form { display: grid; gap: 1.1rem; }
.acc a, .notice a, .prose a, .panel p a, .demo__orders a { color: var(--crema); text-underline-offset: 3px; }
/* Buttons keep their own colours inside text blocks. */
.prose a.btn--accent, .notice a.btn--accent, .panel p a.btn--accent { color: var(--ink); }
.prose a.btn--ghost, .notice a.btn--ghost, .panel p a.btn--ghost { color: var(--cream); }
.menu-sec h2 { margin-bottom: 1rem; }
.visit__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.page--narrow { max-width: 520px; }
.stack { display: grid; gap: 1.25rem; align-content: start; }
.check { display: flex; align-items: center; gap: 0.6rem; min-height: var(--tap); font-size: 0.9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--crema); }
.field input[readonly] { color: var(--muted); border-style: dashed; }

/* ---------------------------------------------------------- accounts */
.olist { display: grid; }
.olist a {
  display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem;
  padding-block: 0.9rem; border-bottom: 1px solid var(--line); text-decoration: none;
}
.olist li:last-child a { border-bottom: 0; }
.olist a:hover b { color: var(--crema); }
.olist small { color: var(--muted); font-size: 0.8rem; }
.olist__right { text-align: right; font-variant-numeric: tabular-nums; }

.state { display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content; font-size: 0.78rem; font-weight: 500; color: var(--stone); white-space: nowrap; }
.state::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--crema); }
.state--done { color: var(--muted); }
.state--done::before { background: var(--go); }

.addr { display: grid; gap: 0.6rem; }
.addr__card { display: grid; gap: 0.25rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 10px; }
.addr__card.is-default { border-color: var(--taupe); }
.addr__card b { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.addr__actions { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }

.kv { display: grid; gap: 0.5rem; }
.kv div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; font-size: 0.9rem; }
.kv dt { color: var(--dim); }
.kv dd { overflow-wrap: anywhere; }

.foot--slim { padding-top: 2rem; }
.foot--slim p a { color: var(--cream); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: 0.5rem; }
.foot__links a { min-height: 36px; display: inline-flex; align-items: center; text-decoration: none; }
.foot__links a:hover { color: var(--cream); }
.code-input input { letter-spacing: 0.4em; font-size: 1.25rem; font-variant-numeric: tabular-nums; }

/* Two fields side by side keep their own height when only one has a hint. */
.fields--2 { align-items: start; }
