/* NAMI Kitchen — brand tokens carried over from the Flutter app's theme.dart. */

/* Outfit, the geometric companion to the owner's lettering. Self-hosted rather
   than pulled from Google's CDN: a visitor in Prague should not have their IP
   handed to a third party just to render the navigation. One variable file per
   subset covers every weight we use; latin-ext carries the Czech diacritics.
   SIL Open Font License — see static/fonts/OFL.txt. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.e2b64ddcb351.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.98ccc2b7f189.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --forest: #17382d;
  --forest-deep: #0e2b23;
  --forest-soft: #24493c;
  --ink: #17211d;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --sand: #e9dfcf;
  --saffron: #d7a541;
  --saffron-light: #f1d48a;
  --pomegranate: #8f2e3b;
  --muted: #6e756f;
  --line: rgba(23, 33, 29, 0.13);
  --hairline: rgba(25, 40, 33, 0.08);

  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  /* Deliberately not redefined under :lang(fa) — see .lang-switch. */
  --sans-latin: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --sans-arabic: "Vazirmatn", "IRANSans", "SF Arabic", "Noto Sans Arabic",
    "Tahoma", "Segoe UI", sans-serif;
  /* Display face: the navigation, the hero headline and a couple of short
     landing headings. Outfit has no Arabic, so the Persian page falls through
     to --sans-arabic. */
  --accent: "Outfit", var(--sans-arabic);

  --page-max: 1240px;
  --gutter: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.shell {
  max-width: var(--page-max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin: 0;
}

.eyebrow--dark {
  color: #887248;
}

/* ------------------------------------------------------------ announcement */

.announcement {
  background: var(--forest-deep);
  color: #eee8dc;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 20px;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  background: rgba(247, 241, 230, 0.96);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* The brand lockup: the owner's NAMI lettering with the subtitle set below it
   as real text. Used in the header and, in cream, in the footer. */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Everything in the lockup is sized off the width of the lettering. */
  --brand-w: 125px;
  gap: calc(var(--brand-w) * 0.045);
  flex: none;
  color: var(--forest);
}

/* The lettering is an alpha mask filled with currentColor rather than an <img>,
   so the one file renders forest on cream up here and cream on forest in the
   footer. It carries no text — the link's name comes from its .sr-only sibling.
   The PNG is cropped to the ink, so `contain` needs no padding compensation. */
.brand-wordmark {
  display: block;
  width: var(--brand-w);
  aspect-ratio: 854 / 229;
  background: currentColor;
  -webkit-mask: url("../img/nami-wordmark.2949f81bf8e6.png") no-repeat center / contain;
  mask: url("../img/nami-wordmark.2949f81bf8e6.png") no-repeat center / contain;
}

/* The header's mark: the restaurant's original fork-on-a-plate logo, as an
   image — see site_header.html. */
.brand-symbol {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transition: opacity 0.15s;
}

.brand--symbol:hover .brand-symbol {
  opacity: 0.85;
}

/* Set as on the owner's printed menu: mixed case in a humanist sans, one flex
   item per letter (see brand_sub.html) so the line runs exactly from the left
   edge of the N to the right edge of the I. The menu's face looks like Myriad,
   which is not ours to ship; the stack names it and its nearest system
   relatives. */
.brand-sub {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: "Myriad Pro", "Myriad", "Segoe UI", "Lucida Grande", "Open Sans",
    "Noto Sans", sans-serif;
  font-size: calc(var(--brand-w) * 0.088);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

/* Persian descenders drop below a line-height of 1 and get clipped by the
   flex row; the script also carries its own weight, so it needs no tracking
   (reset above) and no uppercasing, which does nothing here anyway. */
:lang(fa) .brand-sub {
  justify-content: center;
  font-family: var(--sans-arabic);
  font-size: 11px;
  line-height: 1.5;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-inline-start: 12px;
}

.site-nav a {
  font-family: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--saffron);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.lang-switch {
  display: flex;
  direction: ltr;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.lang-switch button {
  min-width: 32px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  /* Pinned rather than inherited: the switcher shows the same three labels on
     every page, so it must not change typeface when :lang(fa) swaps --sans
     and re-renders CZ and EN in an Arabic-script face. */
  font-family: var(--sans-latin);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  /* Latin labels stay left-to-right inside the RTL page, so the row of
     buttons keeps the same order in all three languages. */
  direction: ltr;
}

/* The one Persian label needs an Arabic face on every page, not just on the
   Persian one — and a little more size, since these glyphs read smaller than
   Latin capitals at the same px. */
.lang-switch button[lang="fa"] {
  font-family: var(--sans-arabic);
  font-size: 12px;
  font-weight: 600;
}

.lang-switch button:hover {
  background: rgba(23, 56, 45, 0.08);
}

.lang-switch button.is-active {
  background: var(--forest);
  color: #fff;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(23, 56, 45, 0.07);
}

.basket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 99px;
  background: var(--forest);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.basket:hover {
  background: var(--forest-soft);
}

.basket-count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--saffron-light);
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px var(--gutter);
  background-image: url("../img/nami-table-hero.503be70a9cff.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  isolation: isolate;
}

/* The lettering sits in the middle, so the scrim darkens the centre and lets
   the table show through towards the edges. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 62% 78% at center,
    rgba(9, 28, 22, 0.9) 0%,
    rgba(10, 30, 24, 0.74) 55%,
    rgba(12, 34, 27, 0.4) 100%
  );
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}

/* The owner's lockup at full size, white on the photograph as on the printed
   menu. Everything in it scales off --brand-w — see .brand. */
.hero-logo {
  --brand-w: min(504px, 67vw);
  color: #fff;
}

:lang(fa) .hero-logo .brand-sub {
  font-size: calc(var(--brand-w) * 0.075);
}

/* The logo is the headline to the eye; the h1 steps back to a tagline. */
.hero h1 {
  margin: 40px 0 0;
  font-family: var(--accent);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: #fff;
}

/* Outfit has no italic, and a synthesised slant on a geometric face looks
   like a mistake, so the second half stays upright and the saffron carries
   the emphasis on its own. */
.hero h1 em {
  font-style: normal;
  color: var(--saffron-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn--primary {
  background: var(--saffron-light);
  color: #16271f;
}

.btn--primary:hover {
  background: #f7e2ad;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--forest {
  background: var(--forest);
  color: #fff;
}

.btn--forest:hover {
  background: var(--forest-soft);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.66);
}

.hero-note span {
  color: var(--saffron-light);
  font-size: 12px;
}

/* ----------------------------------------------------------- menu invite */

.invite {
  padding: 70px var(--gutter) 90px;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mode-card {
  display: block;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  transition: border-color 0.15s, transform 0.15s;
}

.mode-card:hover {
  border-color: var(--saffron);
  transform: translateY(-2px);
}

.mode-card header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mode-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mode-card h3 {
  margin: 0 0 3px;
  font-family: var(--accent);
  font-size: 19px;
  font-weight: 400;
}

.mode-card .sub {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.mode-card .body {
  margin: 16px 0 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.mode-card .cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
}

.info-bits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 28px;
}

.info-bit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-bit .glyph {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--saffron);
}

.info-bit dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.info-bit dd {
  margin: 4px 0 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.5;
}

/* --------------------------------------------------------------- footer */

.site-footer {
  background: #102a22;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px var(--gutter) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.brand--footer {
  align-items: flex-start;
  color: var(--cream);
  --brand-w: 110px;
}

.footer-tagline {
  font-size: 11px;
}

/* The column gap already spaces the row off the tagline. */
.footer-brand .social {
  margin-top: 0;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--saffron-light);
}

.site-footer address,
.site-footer p {
  margin: 0;
  font-style: normal;
  font-size: 11px;
  line-height: 1.7;
}

.site-footer a:hover {
  color: var(--saffron-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: var(--saffron-light);
  text-decoration: underline;
  text-decoration-color: rgba(241, 212, 138, 0.4);
}

/* ------------------------------------------------------------ menu page */

.page-head {
  padding: 32px var(--gutter) 0;
}

.page-head h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -1.3px;
}

.page-note {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.filters a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.filters a.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* Not a filter but a way to the printed menu, so it sits apart at the end of
   the row and wears saffron rather than the filters' outline. */
.filters a.filters-printed {
  margin-inline-start: auto;
  background: var(--saffron-light);
  border-color: var(--saffron-light);
  color: #16271f;
}

.filters a.filters-printed:hover {
  background: #f7e2ad;
}

/* On a phone it wraps to a line of its own, where being pushed to the far
   edge just looks stray. */
@media (max-width: 560px) {
  .filters a.filters-printed {
    margin-inline-start: 0;
  }
}

/* ------------------------------------------------------- printed menu */

.printed-menu {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.printed-menu img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: var(--forest-deep);
  box-shadow: 0 10px 30px rgba(14, 43, 35, 0.14);
}

.menu-body {
  padding: 40px var(--gutter) 80px;
}

.menu-category + .menu-category {
  margin-top: 48px;
}

/* The category heading is the fold toggle: the whole summary is clickable,
   and a chevron beside the name says so. */
.menu-category > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
  margin-bottom: 20px;
  list-style: none;
  cursor: pointer;
}

.menu-category > summary::-webkit-details-marker {
  display: none;
}

.menu-category > summary::after {
  content: "";
  align-self: center;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  /* Points down when open, sideways when folded. */
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.menu-category:not([open]) > summary::after {
  transform: rotate(-45deg);
}

[dir="rtl"] .menu-category:not([open]) > summary::after {
  transform: rotate(135deg);
}

.menu-category > summary:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 4px;
  border-radius: 6px;
}

.menu-category:not([open]) > summary {
  margin-bottom: 0;
}

.menu-category h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

/* Sits on the name's line: "Polo  Persian rice dishes". */
.menu-category .cat-desc {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.item-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  /* The page's cream, a few tones down: enough to outline the card without
     drawing a line around it. */
  border: 2px solid #e8dfd0;
  border-radius: 18px;
  /* Not `overflow: hidden`: an allergen tooltip has to be able to leave the
     card. The photo rounds its own top corners instead. */
}

.item-card img,
.item-photo-placeholder {
  /* The border's width inside the card's own radius, to sit on the border
     rather than across it. */
  border-radius: 16px 16px 0 0;
}

.item-card img {
  width: 100%;
  height: 160px;
  /* Centre-cropped to the band, so a photo wants its subject in the middle. */
  object-fit: cover;
  /* The card no longer clips, so the image has to not overlap its corners. */
  display: block;
}

/* Stands in for a photo that has not been taken yet, in a category where
   some dishes do have one. Quiet on purpose: it is holding a space, not
   competing with the food next to it. */
.item-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(23, 33, 29, 0.035) 0 10px,
      rgba(23, 33, 29, 0.015) 10px 20px
    );
}

.item-photo-placeholder span {
  font-family: var(--serif);
  font-size: 26px;
  color: rgba(23, 33, 29, 0.17);
}

.item-card .item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.item-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.item-card p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Everything about a dish below its title. A card holds one of these per
   choice, so it has to carry the column layout the foot's `margin-top: auto`
   relies on. */
.item-variant {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* One dish, a choice inside: Adas Polo with beef or with lamb. Radios, so it
   works from the keyboard and without a script; the card then shows only the
   photo, description, price and button of the choice that is picked. Where
   `:has()` is missing the rule is dropped whole and every choice shows, each
   with its own button — longer, never wrong. */
.item-card:has(.variant-input--1:checked) .variant:not(.variant--1),
.item-card:has(.variant-input--2:checked) .variant:not(.variant--2),
.item-card:has(.variant-input--3:checked) .variant:not(.variant--3),
.item-card:has(.variant-input--4:checked) .variant:not(.variant--4),
.item-card:has(.variant-input--5:checked) .variant:not(.variant--5),
.item-card:has(.variant-input--6:checked) .variant:not(.variant--6) {
  display: none;
}

.variant-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.variant-option {
  position: relative;
  cursor: pointer;
}

/* Hidden from the eye, not from the keyboard or a screen reader. */
.variant-input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
}

.variant-option:hover .variant-chip {
  border-color: var(--forest);
}

.variant-input:checked + .variant-chip {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.variant-input:focus-visible + .variant-chip {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

.variant-chip .portion {
  margin: 0;
  color: inherit;
  opacity: 0.75;
}

/* A price, so it reads left-to-right in Persian too. */
.surcharge {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 500;
  opacity: 0.75;
  white-space: nowrap;
}

.item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--forest);
}

/* A tag that does not fit moves to the next row whole; it never breaks
   inside its own pill, and the others keep their own height. */
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tag--fresh {
  background: rgba(23, 56, 45, 0.1);
  color: var(--forest);
}

.tag--frozen {
  background: rgba(93, 138, 168, 0.16);
  color: #3d6480;
}

.tag--signature {
  background: rgba(215, 165, 65, 0.18);
  color: #8a6516;
}

.portion {
  margin-inline-start: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

.btn--sm {
  height: 38px;
  padding: 0 14px;
  font-size: 11px;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--forest);
}

.btn--outline:hover {
  border-color: var(--forest);
  background: rgba(23, 56, 45, 0.05);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.add-form {
  display: flex;
  gap: 8px;
}

/* Stands where the add-to-cart button would, saying why there is none. */
.stock-note {
  padding: 8px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
}

/* Restaurant only is a standing fact about the dish, not a problem, so it
   keeps the card in full colour and reads as an invitation. */
.stock-note--dine-in {
  background: rgba(215, 165, 65, 0.18);
  color: #8a6516;
}

.stock-note--sold-out {
  background: rgba(23, 33, 29, 0.07);
  color: var(--muted);
}

/* Sold out for now: still on the menu so it is not mistaken for gone, but
   greyed so it does not compete with what can be ordered. The label stays
   at full strength — it is the one thing on the card that must be read. */
.item-card.is-sold-out img,
.item-card.is-sold-out .item-photo-placeholder,
.item-card.is-sold-out h3,
.item-card.is-sold-out p,
.item-card.is-sold-out .tags,
.item-card.is-sold-out .price,
/* One choice of several sold out: only its own part of the card greys. */
.item-card img.is-sold-out,
.item-variant.is-sold-out p,
.item-variant.is-sold-out .tags,
.item-variant.is-sold-out .price {
  filter: grayscale(1);
  opacity: 0.5;
}

.item-card.is-sold-out {
  border-color: #eee8de;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- cart */

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 16px 12px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cart-table thead th {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
  border-bottom-color: var(--forest);
}

.cart-table .num {
  text-align: end;
}

.cart-dish {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
}

.cart-unit {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.cart-table .tag {
  display: inline-block;
  margin-top: 6px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.qty button:hover {
  background: rgba(23, 56, 45, 0.09);
}

.qty output {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.subtotal {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
}

.cart-table tfoot th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: end;
}

.cart-table tfoot td,
.cart-table tfoot th {
  border-bottom: 0;
}

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--pomegranate);
}

.cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.cart-note {
  margin: 0;
  max-width: 520px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.cart-empty {
  padding: 60px 0;
  text-align: center;
}

.cart-empty p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* Slides in on a cart action, then fades out on its own. */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 11px 20px;
  border-radius: 99px;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(14, 43, 35, 0.3);
  opacity: 0;
  pointer-events: none;
}

.toast:not(:empty) {
  animation: toast-life 2.6s ease forwards;
}

@keyframes toast-life {
  0% { opacity: 0; transform: translate(-50%, 10px); }
  10% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 6px); }
}

@media (prefers-reduced-motion: reduce) {
  .toast:not(:empty) {
    animation: none;
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ auth */

.auth {
  display: flex;
  justify-content: center;
  padding: 56px var(--gutter) 90px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 38px 36px 32px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(36, 37, 31, 0.07);
}

.auth-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
}

.auth-sub {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.auth-form {
  margin-top: 26px;
}

.field + .field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

/* Covers our own fields and the bare inputs allauth renders on the pages we
   have not given bespoke templates. */
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="tel"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.auth-card input:focus-visible {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 56, 45, 0.12);
}

.field--error input {
  border-color: var(--pomegranate);
}

.field-help {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.field-error,
.form-errors p {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--pomegranate);
}

.form-errors {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(143, 46, 59, 0.07);
  border: 1px solid rgba(143, 46, 59, 0.2);
}

.form-errors p {
  margin: 0;
}

.btn--block {
  width: 100%;
  margin-top: 22px;
}

.auth-links {
  margin-top: 16px;
  text-align: center;
}

.auth-links a,
.auth-alt a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(23, 56, 45, 0.3);
}

.auth-links a {
  font-size: 12px;
}

.auth-alt {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

/* allauth's remaining pages render plain lists, buttons and checkboxes. */
.auth-card ul {
  margin: 18px 0 0;
  padding-inline-start: 18px;
  font-size: 13px;
  line-height: 1.8;
}

.auth-card button:not(.btn):not(.link-btn) {
  height: 46px;
  padding: 0 22px;
  margin-top: 18px;
  border: 0;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.auth-card h1:not(.auth-title) {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.8px;
}

/* -------------------------------------------------------------- messages */

.messages {
  max-width: var(--page-max);
  margin: 20px auto 0;
  padding: 0 var(--gutter);
}

.auth-card .messages {
  margin: 0 0 18px;
  padding: 0;
}

.message {
  margin: 0 0 8px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  background: rgba(23, 56, 45, 0.07);
  border: 1px solid rgba(23, 56, 45, 0.15);
}

.message--error {
  background: rgba(143, 46, 59, 0.07);
  border-color: rgba(143, 46, 59, 0.2);
  color: var(--pomegranate);
}

.message--success {
  background: rgba(23, 56, 45, 0.08);
  border-color: rgba(23, 56, 45, 0.2);
  color: var(--forest);
}

/* ------------------------------------------------------- account dropdown */

.account-menu {
  position: relative;
}

.account-menu summary {
  list-style: none;
  cursor: pointer;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 210px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(36, 37, 31, 0.16);
}

.account-email {
  margin: 4px 10px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
}

.account-dropdown a,
.account-dropdown .link-btn {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: start;
  text-decoration: none;
  color: var(--ink);
}

.account-dropdown a:hover,
.account-dropdown .link-btn:hover {
  background: rgba(23, 56, 45, 0.07);
  color: var(--ink);
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  /* The nav drops to a second row of its own rather than disappearing, so the
     menu is one tap away on a phone instead of behind the landing page. */
  .site-header {
    flex-wrap: wrap;
    height: auto;
    gap: 0 12px;
    padding-top: 10px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0 0;
    padding: 2px 0;
    border-top: 1px solid var(--hairline);
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .basket-label {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 44px var(--gutter);
    background-image: url("../img/nami-table-hero-900.1f914afb2563.jpg");
  }

  .hero::before {
    background: rgba(9, 28, 22, 0.78);
  }

  .hero h1 {
    margin-top: 30px;
    font-size: 22px;
  }

  /* Two short lines rather than one that wraps wherever it runs out. */
  .hero h1 em {
    display: block;
  }

  .invite {
    padding: 44px var(--gutter) 56px;
  }

  .mode-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-head {
    padding-top: 24px;
  }

  .auth {
    padding: 28px var(--gutter) 56px;
  }

  .auth-card {
    padding: 28px 22px 24px;
  }

  .auth-title {
    font-size: 28px;
  }

  .page-head h1 {
    font-size: 32px;
  }

  /* The cart table becomes a stack of cards; a 4-column table cannot hold
     its shape at 375px. */
  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tfoot,
  .cart-table tr,
  .cart-table td,
  .cart-table th {
    display: block;
  }

  .cart-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .cart-table td {
    padding: 4px 0;
    border-bottom: 0;
  }

  .cart-table .num,
  .cart-table tfoot th {
    text-align: start;
  }

  .cart-table tfoot tr {
    border-bottom: 0;
  }

  .cart-foot {
    display: block;
  }

  .cart-foot .btn {
    width: 100%;
    margin-top: 18px;
  }
}

/* On a phone the language switcher, the account icon and the cart already want
   236px of the header, so the lettering shrinks to what is left and the
   subtitle is set small beneath it. `min-width: 0` lets it scale down rather
   than push the cart off the screen on the narrowest handsets. */
@media (max-width: 560px) {
  .site-header {
    column-gap: 10px;
    padding-inline: 14px;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-wordmark {
    max-width: 100%;
  }

  /* The owner's phone layout: a slightly smaller lockup, and the two
     buttons stacked at one width rather than side by side. */
  .hero-logo {
    --brand-w: 56vw;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(260px, 100%);
  }
}

/* ------------------------------------------------------- Persian / RTL */

/*
   Most of the layout already uses logical properties (padding-inline-start,
   inset-inline-end, text-align: start), so it mirrors on its own under
   dir="rtl". What cannot mirror itself is anything tied to the photograph:
   the hero's dark corner is on the left of the image no matter which way the
   text runs, so in RTL the copy is kept over that same corner and the scrim
   is flipped to match.
*/

[dir="rtl"] .hero {
  background-position: center left;
}

[dir="rtl"] .hero::before {
  background: linear-gradient(
    to left,
    rgba(9, 28, 22, 0.93) 0%,
    rgba(12, 34, 27, 0.78) 34%,
    rgba(12, 34, 27, 0.18) 68%,
    rgba(12, 34, 27, 0.04) 100%
  );
}

@media (max-width: 900px) {
  [dir="rtl"] .hero {
    background-position: center;
  }

  /* The narrow scrim runs top to bottom, so it needs no flipping. */
  [dir="rtl"] .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(9, 28, 22, 0.85) 0%,
      rgba(12, 34, 27, 0.69) 55%,
      rgba(12, 34, 27, 0.85) 100%
    );
  }
}

/* Georgia carries no Persian glyphs, so both faces need an Arabic-script
   stack. Named system faces first, then the generic families each platform
   falls back to; no webfont, to keep the no-build-step rule. */
:lang(fa) {
  --serif: "Vazirmatn", "Iran Nastaliq", "Noto Naskh Arabic", "Geeza Pro",
    "Scheherazade New", "Times New Roman", serif;
  --sans: var(--sans-arabic);
}

/* Persian sits lower and needs more line height than Latin at the same size,
   and the tight display tracking works against joined script. */
:lang(fa) .hero h1,
:lang(fa) .page-head h1,
:lang(fa) .auth-title {
  letter-spacing: 0;
  line-height: 1.35;
}

:lang(fa) .hero h1 {
  line-height: 1.5;
}

:lang(fa) .eyebrow,
:lang(fa) .brand-sub,
:lang(fa) .info-bit dt,
:lang(fa) .site-footer h4,
:lang(fa) .tag,
:lang(fa) .portion,
:lang(fa) .mode-card .sub {
  letter-spacing: 0;
}

/* Prices and phone numbers read left-to-right even in Persian. The brand
   lockup used to be on this list and deliberately is not any more: the
   lettering is a mask, which has no direction to mirror, and the subtitle
   under it is translated, so it should read the way the rest of the page
   does. */
[dir="rtl"] .price,
[dir="rtl"] .subtotal,
[dir="rtl"] .cart-table .num {
  direction: ltr;
  text-align: end;
}

/* ------------------------------------------------------------- social */

.social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  color: var(--forest);
  border-color: transparent;
}

.social-link--whatsapp:hover { background: #25d366; color: #fff; }
.social-link--instagram:hover { background: #d6336c; color: #fff; }
.social-link--facebook:hover { background: #1877f2; color: #fff; }

/* On a light ground (the contact page) the outline has to invert. */
.contact-aside .social-link {
  border-color: var(--line);
  color: var(--forest);
}

.contact-aside .social-link:hover {
  color: #fff;
}

/* ------------------------------------------------------------- contact */

.contact-body {
  padding: 32px var(--gutter) 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-form {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-row + .field,
.field-row + .field-row,
.contact-form .field + .field {
  margin-top: 16px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 56, 45, 0.12);
}

.contact-form .btn {
  margin-top: 22px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* The honeypot: out of sight and out of the tab order, but not
   display:none — some bots skip anything explicitly hidden. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-aside h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.contact-aside > p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.contact-details {
  margin: 26px 0 0;
}

.contact-details > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.contact-details dd {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.contact-details a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field-row + .field-row {
    margin-top: 16px;
  }
}

/* ------------------------------------------------------- checkout panel */

.checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 28px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

.checkout-main h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.checkout-main > p {
  margin: 10px 0 20px;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.btn--lg {
  height: 52px;
  padding: 0 30px;
  font-size: 13px;
}

.checkout-alt {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.checkout-account {
  padding-inline-start: 32px;
  border-inline-start: 1px solid var(--line);
}

.checkout-account-label {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.checkout-account-email {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  word-break: break-all;
}

.checkout-account-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.checkout-account-note--quiet {
  font-size: 11px;
  opacity: 0.8;
}

.checkout-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .checkout-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .checkout-account {
    padding-inline-start: 0;
    padding-top: 22px;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .checkout-main .btn--lg {
    width: 100%;
  }
}

/* ------------------------------------------------------------- checkout */

.checkout-grid,
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.checkout-step {
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--paper);
}

.checkout-step legend {
  padding: 0 8px;
  margin-inline-start: -8px;
  font-family: var(--serif);
  font-size: 19px;
}

.step-note {
  margin: 4px 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.checkout-step .field + .field,
.checkout-step .field-row + .field,
.checkout-step .field + .field-row,
.checkout-step .field-row + .field-row {
  margin-top: 16px;
}

.checkout-step input[type="text"],
.checkout-step input[type="email"],
.checkout-step input[type="tel"],
.checkout-step select,
.checkout-step textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.checkout-step textarea {
  resize: vertical;
  line-height: 1.6;
}

.checkout-step input:focus-visible,
.checkout-step select:focus-visible,
.checkout-step textarea:focus-visible {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 56, 45, 0.12);
}

.choice-row {
  display: grid;
  gap: 10px;
}

.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--forest);
}

.choice:has(input:checked) {
  border-color: var(--forest);
  background: rgba(23, 56, 45, 0.04);
}

.choice input {
  margin-top: 3px;
  accent-color: var(--forest);
}

.choice-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.choice-note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.checkbox input {
  accent-color: var(--forest);
}

/* --------------------------------------------------- summary and order */

.checkout-summary,
.order-aside {
  position: sticky;
  top: 94px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

.checkout-summary h2,
.order-block h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.summary-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-lines li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.summary-qty {
  font-weight: 700;
  color: var(--forest);
}

.summary-name .tag {
  margin-inline-start: 6px;
}

.summary-total {
  white-space: nowrap;
}

.summary-totals {
  margin: 16px 0 0;
}

.summary-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
}

.summary-totals dt,
.summary-totals dd {
  margin: 0;
}

.summary-grand {
  margin-top: 6px;
  padding-top: 12px !important;
  border-top: 1px solid var(--forest);
  color: var(--ink) !important;
}

.summary-grand dd {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  text-align: end;
}

.summary-plus {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
}

.order-main {
  display: grid;
  gap: 24px;
}

.order-block {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

/* ------------------------------------------------------- status track */

.status-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 24px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  counter-reset: step;
}

.status-track li {
  position: relative;
  padding-top: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.status-track .dot {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
}

/* The connecting rail, drawn from each step to the next. */
.status-track li::after {
  content: "";
  position: absolute;
  top: 6px;
  inset-inline-start: 13px;
  inset-inline-end: 0;
  height: 2px;
  background: var(--line);
}

.status-track li:last-child::after {
  display: none;
}

.status-track li.is-done {
  color: var(--forest);
}

.status-track li.is-done .dot {
  border-color: var(--forest);
  background: var(--forest);
}

.status-track li.is-done::after {
  background: var(--forest);
}

.status-cancelled {
  margin: 0;
  padding: 20px 24px;
  background: rgba(143, 46, 59, 0.07);
  border: 1px solid rgba(143, 46, 59, 0.2);
  border-radius: 18px;
  color: var(--pomegranate);
  font-weight: 700;
}

/* -------------------------------------------------------- payment panel */

.payment-panel {
  padding: 24px;
  background: rgba(215, 165, 65, 0.09);
  border: 1px solid rgba(215, 165, 65, 0.4);
  border-radius: 18px;
}

.payment-panel--failed {
  background: rgba(143, 46, 59, 0.06);
  border-color: rgba(143, 46, 59, 0.25);
}

.payment-panel h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.payment-panel p {
  margin: 0 0 16px;
  font-size: 14px;
}

.payment-panel .payment-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.paid-mark {
  color: var(--forest);
}

.order-cancel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.order-signup {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.order-signup p {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------------------------------------------------- my orders */

.order-row {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 10px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  font-size: 13px;
}

.order-row:hover {
  border-color: var(--saffron);
}

.order-row-ref strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}

.order-row-ref span,
.order-row-what {
  font-size: 11.5px;
  color: var(--muted);
}

.order-row-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--forest);
}

.order-row-total {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--forest);
}

@media (max-width: 900px) {
  .checkout-grid,
  .order-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkout-summary,
  .order-aside {
    position: static;
  }

  .status-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .status-track li {
    padding-top: 0;
    padding-inline-start: 24px;
  }

  .status-track .dot {
    top: 2px;
  }

  .status-track li::after {
    display: none;
  }

  .order-row {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }
}

/* A fulfilment option the customer cannot pick yet — shown rather than
   hidden, so its absence is never unexplained. */
.choice--locked {
  cursor: default;
  border-style: dashed;
  background: rgba(23, 33, 29, 0.02);
}

.choice--locked:hover {
  border-color: var(--line);
}

.choice-lock {
  margin-top: 1px;
  font-size: 13px;
  opacity: 0.5;
}

.choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* Shown when a customer has no way to pay yet — see CARD_PAYMENT_ENABLED. */
.checkout-blocked {
  margin-bottom: 20px;
  padding: 24px;
  background: rgba(215, 165, 65, 0.09);
  border: 1px solid rgba(215, 165, 65, 0.4);
  border-radius: 16px;
}

.checkout-blocked h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.checkout-blocked p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.checkout-blocked .choice-actions {
  margin-top: 16px;
}

.checkout-blocked-note {
  margin-top: 12px !important;
  font-size: 11.5px;
}

/* ------------------------------------------------------------- cookies */

.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(24, 32, 28, 0.22);
}

.cookie-banner-body {
  flex: 1 1 380px;
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.cookie-banner p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--forest);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Both buttons the same size and weight: refusing must not be the harder
   path, or the consent is not freely given. */
.cookie-banner-actions .btn {
  min-width: 132px;
}

.cookie-banner-settings {
  font-size: 12px;
  color: var(--muted) !important;
}

.cookie-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.cookie-table th,
.cookie-table td {
  padding: 10px 12px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cookie-table thead th {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.cookie-table code {
  font-size: 11.5px;
  word-break: break-all;
}

.consent-group {
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.consent-group h3 {
  margin: 0;
  font-size: 14px;
}

.consent-group p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.consent-group--fixed {
  background: rgba(23, 56, 45, 0.04);
}

@media (max-width: 700px) {
  .cookie-banner {
    inset-inline: 10px;
    bottom: 10px;
    padding: 18px;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 auto;
  }
}

/* --------------------------------------------------------- legal pages */

.legal-body {
  padding: 24px var(--gutter) 80px;
}

.legal-shell {
  max-width: 780px;
}

.legal-shell h2 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.legal-shell h2:first-of-type {
  margin-top: 8px;
}

.legal-shell p,
.legal-shell li {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.legal-shell p strong {
  color: var(--ink);
}

.legal-shell ul {
  padding-inline-start: 20px;
}

.legal-shell a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: rgba(23, 56, 45, 0.3);
}

.legal-meta {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
}

/* A loud, deliberate admission that the text is unreviewed. */
.legal-draft {
  padding: 18px 20px;
  margin-bottom: 24px;
  background: rgba(143, 46, 59, 0.06);
  border: 1px solid rgba(143, 46, 59, 0.3);
  border-radius: 12px;
}

.legal-draft strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--pomegranate);
}

.legal-draft p {
  margin: 0;
  font-size: 12.5px;
}

.legal-todo {
  padding: 12px 14px;
  border-inline-start: 3px solid var(--saffron);
  background: rgba(215, 165, 65, 0.07);
  font-size: 12.5px !important;
}

/* Inside the processor table it is one cell's note, not a paragraph of the
   page, so it needs less room around it. */
.cookie-table .legal-todo {
  margin: 6px 0 0;
  padding: 8px 10px;
}

.table-scroll {
  overflow-x: auto;
}

.consent-form {
  margin-top: 14px;
}

.consent-group .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.consent-group .checkbox input {
  margin-top: 3px;
}

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

.danger-zone {
  padding: 22px 24px;
  border: 1px solid rgba(143, 46, 59, 0.3);
  border-radius: 14px;
  background: rgba(143, 46, 59, 0.03);
}

.danger-zone p {
  margin: 0 0 10px;
}

.danger-form {
  margin-top: 16px;
  max-width: 320px;
}

.danger-form input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.btn--danger {
  margin-top: 14px;
  background: var(--pomegranate);
  color: #fff;
}

.btn--danger:hover {
  background: #74242f;
}

/* ------------------------------------------------- allergens and diet */

.diet-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.diet {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.diet--vegan {
  background: rgba(45, 122, 74, 0.14);
  color: #2d7a4a;
}

.diet--veg {
  background: rgba(106, 145, 60, 0.15);
  color: #55742f;
}

.diet--kcal {
  background: rgba(23, 33, 29, 0.07);
  color: var(--muted);
}

.allergen-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.allergen-label {
  letter-spacing: 0.2px;
}

/* The number as it appears against a dish and in the key: the same chip in
   both places, so the eye matches them without having to read. */
.allergen-num {
  display: inline-block;
  min-width: 18px;
  padding: 1px 5px;
  border: 0;
  border-radius: 5px;
  background: rgba(23, 33, 29, 0.07);
  color: var(--ink);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

/* Against a dish it is a button, because it does something: it tells you what
   the number means. A plain `title` did that on desktop hover only — never on
   a tap, which is how most of this menu is read. */
.allergen-chip {
  position: relative;
  display: inline-block;
}

button.allergen-num {
  cursor: pointer;
  /* Says "this responds" without shouting, at a size where an underline or a
     border would just look like noise. */
  box-shadow: inset 0 -1px 0 rgba(23, 33, 29, 0.18);
}

button.allergen-num:hover,
button.allergen-num:focus-visible {
  background: rgba(23, 33, 29, 0.13);
}

button.allergen-num:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

.allergen-tip {
  position: absolute;
  bottom: calc(100% + 7px);
  /* Logical, not `left`: in Persian the tooltip has to hang from the chip's
     right edge, the way the text runs. */
  inset-inline-start: 0;
  z-index: 3;
  width: max-content;
  max-width: 190px;
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-align: start;
  /* Hidden in a way that also takes it out of the accessibility tree and stops
     it swallowing the pointer on the way to the button. */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s;
}

/* The little arrow. */
.allergen-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline-start: 10px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}

/* Hover for a mouse; :focus for a tap, because tapping a button focuses it and
   tapping anywhere else takes that focus away — which is exactly the dismiss
   behaviour a tooltip wants, with no JavaScript to do it. */
.allergen-chip:hover .allergen-tip,
button.allergen-num:focus .allergen-tip,
button.allergen-num:focus + .allergen-tip {
  visibility: visible;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .allergen-tip {
    transition: none;
  }
}

/* Only ever switched on by hand, for a dish someone wants to look at again. */
.allergen-pending {
  color: #8a6516;
}

/* ------------------------------------------------------- the allergen key */

.allergen-legend {
  margin: 52px 0 0;
  padding: 24px 26px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(23, 33, 29, 0.015);
}

.allergen-legend h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}

.allergen-legend-note {
  max-width: 62ch;
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Fourteen rows read as a list, not a grid, so they are laid out in columns
   that fill top to bottom — 1–5 under each other, not 1–2–3 across. Reading
   a key means hunting for one number, and a column is where the eye expects
   to find it. */
.allergen-legend-scroll {
  columns: 3;
  column-gap: 34px;
  margin-top: 18px;
}

.allergen-legend table {
  width: 100%;
  border-collapse: collapse;
}

/* Rows must not be split down the middle by a column break. */
.allergen-legend tr {
  break-inside: avoid;
}

.allergen-legend th,
.allergen-legend td {
  padding: 5px 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  text-align: start;
  vertical-align: baseline;
}

.allergen-legend th {
  width: 1%;
  padding-inline-end: 10px;
  white-space: nowrap;
}

.allergen-legend td {
  color: var(--ink);
}

@media (max-width: 900px) {
  .allergen-legend-scroll {
    columns: 2;
    column-gap: 26px;
  }
}

@media (max-width: 560px) {
  .allergen-legend {
    padding: 20px 18px 6px;
  }

  .allergen-legend-scroll {
    columns: 1;
  }
}

.footer-sep {
  opacity: 0.4;
}

.legal-lang-notice {
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Fields that follow one another vertically get `.field + .field` spacing.
   Inside a `.field-row` they are columns, not stacked — but they are still
   adjacent siblings, so that rule matched the second one and pushed the whole
   right-hand column 16px down. In a row the grid's own gap does the spacing,
   in both the two-column and the stacked-on-mobile case.

   Placed last so it beats the equally-specific `.contact-form .field + .field`
   and `.checkout-step .field + .field`. */
.field-row > .field + .field {
  margin-top: 0;
}

/* ------------------------------------------------- signup consent block */

.consent-block {
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.consent-block legend {
  padding: 0 8px;
  margin-inline-start: -8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.consent-check + .consent-check {
  margin-top: 12px;
}

.consent-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  /* Deliberately not the uppercase 9px treatment `.field label` gets: this is
     a sentence to read, and it has links in it. */
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0;
}

.consent-check input[type="checkbox"] {
  margin-top: 2px;
  flex: none;
  accent-color: var(--forest);
}

/* The whole point: these have to look clickable. */
.consent-check a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(23, 56, 45, 0.45);
}

.consent-check a:hover {
  text-decoration-color: var(--forest);
}

.consent-check--error label {
  color: var(--pomegranate);
}

/* ------------------------------------------------------- lunch buffet */

/* The week is a board, not a shop: four cards in weekday order, with today's
   pulled forward by border and shadow rather than by being moved. From
   Friday to Sunday nothing is highlighted and `.buffet-note` says so. */

.buffet-note {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-inline-start: 3px solid var(--saffron);
  background: rgba(215, 165, 65, 0.09);
  border-radius: 0 12px 12px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
}

.buffet-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  align-items: start;
}

.buffet-day {
  padding: 20px 22px 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

.buffet-day.is-today {
  background: #fff;
  border-color: var(--forest);
  box-shadow: 0 14px 34px rgba(23, 56, 45, 0.13);
}

.buffet-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.buffet-day-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  /* Czech writes weekdays lowercase in a sentence; as a heading it wants a
     capital, and Django's own translated names are what we have. */
  text-transform: capitalize;
}

.buffet-day.is-today .buffet-day-head h2 {
  color: var(--forest);
}

.today-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--forest);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.buffet-soup {
  margin: 14px 0 0;
  font-size: 13px;
}

.buffet-soup .label,
.lunch-soup .label {
  display: block;
  margin-bottom: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.buffet-dishes {
  margin: 16px 0 0;
  padding-inline-start: 20px;
}

.buffet-dishes li + li {
  margin-top: 16px;
}

.buffet-dishes li::marker {
  font-family: var(--serif);
  color: var(--saffron);
}

.buffet-dishes h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 400;
}

.buffet-dishes p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.buffet-blank {
  font-size: 12.5px;
  color: var(--muted);
}

.buffet-sides {
  margin-top: 44px;
}

.buffet-sides h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.side-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.side-list li + li::before {
  content: "•";
  padding: 0 10px;
  color: var(--saffron);
}

/* Sides carry allergen chips of their own now, which an inline bulleted row
   cannot hold. A grid instead, and the bullet separators go with it. */
.side-list--allergens {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px 24px;
}

.side-list--allergens li + li::before {
  content: none;
  padding: 0;
}

.side-list--allergens .side-name {
  display: block;
}

.side-list--allergens .allergen-line {
  margin: 4px 0 0;
}

.buffet-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 36px 0 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--forest);
  color: #ece5d7;
  font-size: 13px;
}

.buffet-price strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  color: var(--saffron-light);
}

.page-note-link {
  display: inline-block;
  margin-inline-start: 6px;
  font-weight: 700;
  color: var(--forest);
  border-bottom: 1px solid rgba(23, 56, 45, 0.35);
}

/* ------------------------------------------- lunch panel on the landing */

.lunch-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 20px;
}

.lunch-panel h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.lunch-soup {
  margin: 14px 0 0;
  font-size: 13px;
}

.lunch-dishes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lunch-dishes li {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(23, 56, 45, 0.06);
  font-size: 12px;
}

.lunch-closed {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.lunch-panel .cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
}

.lunch-price {
  margin: 0;
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--hairline);
  text-align: center;
}

.lunch-price strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  color: var(--forest);
}

.lunch-price span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .lunch-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lunch-price {
    padding-inline-start: 0;
    padding-top: 18px;
    border-inline-start: none;
    border-top: 1px solid var(--hairline);
    text-align: start;
  }

  .buffet-price {
    font-size: 12.5px;
  }
}

/* ===========================================================================
   Kitchen screen
   ---------------------------------------------------------------------------
   A wall-mounted tablet in a working kitchen, not a page on the website. It
   is dark because the room is bright and the screen is looked at sideways
   from two metres away, and the two things sized for that distance are the
   order reference and the time it is wanted for. Everything else is for
   somebody who has walked over to it.
   =========================================================================== */

.kitchen-body {
  margin: 0;
  min-height: 100vh;
  background: var(--forest-deep);
  color: #ece5d7;
  font-family: var(--sans);
}

.kitchen-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(14, 43, 35, 0.96);
  border-bottom: 1px solid rgba(236, 229, 215, 0.16);
}

.kitchen-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kitchen-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--saffron);
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 17px;
}

.kitchen-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kitchen-bar-right form {
  margin: 0;
}

.kitchen-toggle {
  padding: 9px 14px;
  border: 1px solid rgba(236, 229, 215, 0.3);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* The Administration link wears the same pill as the buttons beside it. */
a.kitchen-toggle {
  text-decoration: none;
}

.kitchen-toggle:hover {
  border-color: rgba(236, 229, 215, 0.6);
}

.kitchen-toggle.is-on {
  border-color: var(--saffron);
  background: rgba(215, 165, 65, 0.18);
  color: var(--saffron-light);
}

.kitchen-clock {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.kitchen-main {
  padding: 18px 20px 48px;
}

.kitchen-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(236, 229, 215, 0.65);
}

.kitchen-count {
  font-size: 15px;
  font-weight: 600;
  color: #ece5d7;
}

.kitchen-waiting {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--forest-deep);
  font-weight: 700;
}

.kitchen-hours::before {
  content: "●";
  margin-inline-end: 6px;
  color: rgba(236, 229, 215, 0.4);
}

.kitchen-hours.is-open::before {
  color: #6fbf8b;
}

.kitchen-hours.is-busy::before {
  color: var(--saffron);
}

.kitchen-empty {
  margin: 60px 0;
  text-align: center;
  font-size: 17px;
  color: rgba(236, 229, 215, 0.5);
}

.kitchen-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kitchen-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(236, 229, 215, 0.16);
  border-radius: 14px;
  background: rgba(36, 73, 60, 0.55);
}

/* An order nobody has picked up yet is the only thing on this screen that
   needs to catch an eye from across the room. */
.kitchen-card--pending,
.kitchen-card--paid {
  border-color: var(--saffron);
  box-shadow: inset 0 0 0 1px var(--saffron);
}

.kitchen-card--ready,
.kitchen-card--out_for_delivery {
  border-color: rgba(111, 191, 139, 0.6);
}

.kitchen-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.kitchen-ref {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.kitchen-when {
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--saffron-light);
}

.kitchen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kitchen-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(236, 229, 215, 0.12);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kitchen-tag--delivery {
  background: var(--pomegranate);
  color: #fff;
}

.kitchen-tag--pickup {
  background: rgba(111, 191, 139, 0.85);
  color: var(--forest-deep);
}

.kitchen-tag--cash {
  background: rgba(215, 165, 65, 0.25);
  color: var(--saffron-light);
}

.kitchen-tag--paid {
  background: rgba(120, 190, 150, 0.22);
  color: #bfe3cc;
}

.kitchen-items {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.kitchen-items li {
  display: flex;
  gap: 10px;
  padding: 3px 0;
}

.kitchen-qty {
  min-width: 30px;
  font-weight: 700;
  color: var(--saffron);
}

.kitchen-portion,
.kitchen-frozen {
  font-size: 12px;
  color: rgba(236, 229, 215, 0.6);
}

.kitchen-frozen {
  margin-inline-start: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(150, 190, 220, 0.2);
  color: #cfe3f0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* The customer wrote this by hand and it is the thing most likely to be
   missed, so it does not get to look like the rest of the card. */
.kitchen-note {
  margin: 0;
  padding: 10px 12px;
  border-inline-start: 3px solid var(--saffron);
  border-radius: 6px;
  background: rgba(215, 165, 65, 0.14);
  font-size: 14px;
}

.kitchen-who {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(236, 229, 215, 0.7);
}

.kitchen-who a {
  color: inherit;
}

.kitchen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.kitchen-actions form {
  margin: 0;
  flex: 1 1 auto;
}

/* Sized for a thumb on a tablet with wet hands, not a mouse. */
.kitchen-btn {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.kitchen-btn--go {
  background: var(--saffron);
  color: var(--forest-deep);
}

.kitchen-btn--go:hover {
  background: var(--saffron-light);
}

/* Rejecting an order is the one irreversible thing on this screen, so it is
   never the button the hand lands on by default. */
.kitchen-btn--stop {
  background: transparent;
  border: 1px solid rgba(143, 46, 59, 0.9);
  color: #e9a3ad;
}

.kitchen-btn--stop:hover {
  background: rgba(143, 46, 59, 0.3);
}

@media (max-width: 600px) {
  .kitchen-main {
    padding: 14px 12px 40px;
  }

  .kitchen-cards {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- hours note */

.hours-note {
  color: var(--muted);
  font-size: 0.92em;
}

.site-footer .hours-note {
  color: inherit;
  opacity: 0.7;
}

/* ------------------------------------------------------------------- news */

/* The latest three posts on the landing page and the archive at /news/: a
   plain list, each row with a small photo only when the post has one. The
   signup lives in the site footer. */

.news-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}

.news-block-head h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.news-block-head p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.news-block-head .cta,
.news-article-more .cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
}

.news-rows {
  display: flex;
  flex-direction: column;
  padding: 4px 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.news-row:last-child {
  border-bottom: 0;
}

.news-row-photo {
  flex: none;
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.news-row-text {
  flex: 1;
  min-width: 0;
}

.news-row time {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #887248;
}

.news-row h4 {
  margin: 5px 0 0;
  font-family: var(--accent);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.news-row p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.news-row-arrow {
  flex: none;
  color: var(--forest);
  transition: transform 0.15s;
}

.news-row:hover h4 {
  color: var(--forest);
}

.news-row:hover .news-row-arrow {
  transform: translateX(3px);
}

/* Persian reads right to left, so the arrow points the other way. */
[dir="rtl"] .news-row-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .news-row:hover .news-row-arrow {
  transform: scaleX(-1) translateX(3px);
}

/* In the dark footer, between the columns and the legal line. */
.news-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-subscribe-copy {
  flex: 1 1 280px;
}

.news-subscribe-copy p {
  margin: 0;
}

.news-subscribe-fields {
  display: flex;
  flex: 0 1 380px;
  gap: 8px;
}

.news-subscribe input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-family: inherit;
  font-size: 13px;
}

.news-subscribe input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.news-subscribe input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--saffron-light);
}

.news-subscribe button {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--saffron-light);
  border-radius: 7px;
  background: transparent;
  color: var(--saffron-light);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.news-subscribe button:hover {
  background: rgba(241, 212, 138, 0.12);
}

.news-page {
  padding: 24px var(--gutter) 80px;
}

/* Lined up under the page heading, at a width that still reads as a list. */
.news-page .news-rows,
.news-pages {
  max-width: 820px;
}

.news-pages {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
}

.news-article {
  padding: 32px var(--gutter) 80px;
}

.news-article-shell {
  max-width: 760px;
}

.news-article .eyebrow a {
  border-bottom: 1px solid currentColor;
}

.news-article h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1px;
}

.news-article-photo {
  display: block;
  width: 100%;
  margin-top: 24px;
  border-radius: 18px;
}

.news-article-body {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.75;
}

.news-article-body p {
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .news-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-article h1 {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .news-rows {
    padding: 0 18px;
  }

  .news-row {
    gap: 14px;
    padding: 16px 0;
  }

  /* Room on a phone goes to the headline. The article page keeps its photo. */
  .news-row-photo {
    display: none;
  }

  .news-subscribe-fields {
    flex-basis: 100%;
  }
}

/* ---------------------------------------------------------------- find us */

/* Directions on the landing page. The map side starts as a button and a
   line about Google's cookies; map.js swaps in the iframe on the click. */

.find-us {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 26px;
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 20px;
}

.find-us h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.find-us-city {
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.find-us-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 20px;
  background: var(--cream);
  border-radius: 14px;
  text-align: center;
}

.find-us-map.is-loaded {
  padding: 0;
  overflow: hidden;
}

.find-us-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.find-us-note {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .find-us {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
