/* =====================================================================
   Restaurant website — styles (rendered by site/render.js).
   Colours come only from the theme tokens in theme.css (shared/theme.js): --brand-950…600, --accent,
   --accent-200, --accent-700, --cream, --paper, --sand, --white, --ink, --ink-soft, --on-brand, --on-accent.
   Transparency is color-mix(); the star pattern is a mask painted with a token. Logical properties
   throughout, so right-to-left and left-to-right pages share one sheet.
   ===================================================================== */

:root {
  --ok: #3fae6a;          /* open-now dot (a signal colour, not a brand colour) */
  --off: #d9774f;         /* closed-now dot (too light for text on the cream surfaces) */
  --wa: #197a42;          /* WhatsApp's green, dark enough for white text on it */
  /* text on cream, paper and white in those hues, darkened by the theme ink: at least 4.5:1 for every theme (tools/test-site.js) */
  --err: color-mix(in srgb, var(--off) 45%, var(--ink));
  --good: color-mix(in srgb, var(--wa) 75%, var(--ink));

  --f-display: "Playfair Display", "Noto Serif Georgian", "Aref Ruqaa", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", "Noto Sans Georgian", "Tajawal", "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bar: 60px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --shadow: 0 18px 40px -22px color-mix(in srgb, var(--brand-900) 45%, transparent);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --line: color-mix(in srgb, var(--accent-200) 28%, transparent);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='3' fill='%23000'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23000'/%3E%3Ccircle cx='48' cy='0' r='2' fill='%23000'/%3E%3Ccircle cx='0' cy='48' r='2' fill='%23000'/%3E%3Ccircle cx='48' cy='48' r='2' fill='%23000'/%3E%3C/svg%3E"); --ui-line: color-mix(in srgb, var(--brand-800) 13%, var(--white)); --ui-soft: color-mix(in srgb, var(--brand-800) 4%, var(--white));
}

html[lang="ar"] {
  --f-display: "Aref Ruqaa", "Playfair Display", "Traditional Arabic", serif;
  --f-body: "Tajawal", "Manrope", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
html[lang="ka"] {
  --f-display: "Noto Serif Georgian", "Playfair Display", Georgia, serif;
  --f-body: "Noto Sans Georgian", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="he"] {
  --f-display: "Frank Ruhl Libre", "Playfair Display", "Times New Roman", serif;
  --f-body: "Heebo", "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) - 1px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--white);
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  font-variant-numeric: lining-nums;       /* figures of one height in every font (Playfair's own are old-style) */
  --ink-soft: color-mix(in srgb, var(--ink) 68%, var(--white));
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
bdi { unicode-bidi: isolate; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - var(--gut) * 2, 1200px); margin-inline: auto; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; }
.patterned { position: relative; isolation: isolate; }
.patterned::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--accent); opacity: .1;
  -webkit-mask: var(--pattern) 0 0 / 96px 96px; mask: var(--pattern) 0 0 / 96px 96px;
}

/* ---------- Shared bits ---------- */
/* things side by side with a dot between them: each dot stands before its thing, and the one that would open a line falls
   outside the clip, so no line starts or ends on a dot */
.dots { display: inline-flex; flex-wrap: wrap; column-gap: .8em; max-width: 100%; overflow: clip; vertical-align: bottom; }
.dots > *::before { content: "·"; display: inline-block; width: .8em; margin-inline-start: -.8em; text-align: center; }
/* centred lines on a phone: one under the other, no dots to wrap */
@media (max-width: 640px) {
  .head__sub .dots, .foot .dots { flex-direction: column; align-items: center; }
  .head__sub .dots > *::before, .foot .dots > *::before { content: none; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--brand-600); }
.eyebrow svg { width: 18px; height: 18px; flex: none; }
.eyebrow--gold { color: var(--accent); }
html:not([lang="ar"]) .eyebrow { letter-spacing: .12em; }
html[lang="en"] .eyebrow, html[lang="ru"] .eyebrow, html[lang="tr"] .eyebrow { text-transform: uppercase; font-size: .74rem; }
html[lang="ar"] .eyebrow { font-size: .95rem; }

.head { text-align: center; max-width: 720px; margin-inline: auto; margin-block-end: clamp(26px, 4vw, 44px); }
.head__title { font-family: var(--f-display); font-weight: 700; color: var(--brand-800); font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.15; margin-block: 8px 10px; overflow-wrap: anywhere; }
html[lang="ar"] .head__title { line-height: 1.45; font-size: clamp(2.3rem, 6vw, 3.9rem); margin-block: 0 4px; }
html[lang="ka"] .head__title { font-size: clamp(1.7rem, 4.6vw, 2.9rem); line-height: 1.3; }
.head__sub { color: var(--ink-soft); font-size: clamp(.95rem, 1.6vw, 1.06rem); }
.head--light .head__title { color: var(--on-brand); }
.head--light .head__sub { color: color-mix(in srgb, var(--on-brand) 72%, transparent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; font-size: .98rem; line-height: 1.2; white-space: nowrap; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .12s, border-color .12s, opacity .12s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.04rem; }
.btn--block { display: flex; width: 100%; white-space: normal; }
.btn--gold {
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: none;
}
.btn--ghost { color: var(--on-brand); border-color: color-mix(in srgb, var(--accent-200) 42%, transparent); background: color-mix(in srgb, var(--cream) 5%, transparent); }
.btn--ghost:hover { border-color: var(--accent-200); background: color-mix(in srgb, var(--cream) 12%, transparent); }
.btn--wine { color: var(--on-brand); background: var(--brand-800); }
.btn--wine:hover { background: var(--brand-700); }
.btn--line { color: var(--brand-800); border-color: color-mix(in srgb, var(--brand-800) 35%, transparent); }
.btn--line:hover { border-color: var(--brand-800); background: color-mix(in srgb, var(--brand-800) 5%, transparent); }
.btn--wa { color: #fff; background: var(--wa); white-space: normal; }
.btn--wa:hover { background: color-mix(in srgb, var(--wa) 85%, #000); }
/* after the kinds: the gradient starts at the outer edge, so it never repeats as a dark sliver under the clear border */
.btn { background-origin: border-box; }

.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.5; color: var(--brand-700); background: color-mix(in srgb, var(--accent) 20%, transparent); border: 1px solid color-mix(in srgb, var(--accent-700) 28%, transparent); }
.tag--out { color: var(--white); background: var(--brand-700); border-color: var(--brand-700); }
html[lang="ar"] .tag { font-size: .82rem; }

.price { font-family: var(--f-body); font-weight: 700; color: var(--brand-700); font-size: 1.05rem; line-height: 1.4; white-space: nowrap; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.price--lg { font-size: 2rem; }

/* Below-the-fold content slides in once (app.js marks only what is not yet on screen). */
.reveal.pre { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60; height: var(--bar);
  color: var(--brand-900); transition: background-color .12s;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); background: var(--white); border-block-end: 1px solid var(--ui-line);
}
.bar.is-solid, .bar--solid { background: var(--white); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar__in { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; margin-inline-end: auto; }
.brand__logo { width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: 10px; transition: transform .6s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.06); }
.mono { display: grid; place-items: center; flex: none; border-radius: 50%; font-family: var(--f-display); font-weight: 700; color: var(--on-accent); background: linear-gradient(135deg, var(--accent-200), var(--accent) 60%, var(--accent-700)); line-height: 1; }
.brand .mono { width: 40px; height: 40px; font-size: 1.25rem; }
@media (min-width: 900px) { .brand__logo { width: 52px; height: 52px; } }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(.95rem, 3.9vw, 1.4rem); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .brand__name { font-size: clamp(1.25rem, 4.4vw, 1.7rem); line-height: 1.5; }
.bar__nav { display: none; gap: 24px; font-weight: 700; font-size: .95rem; }
.bar__nav a { position: relative; padding-block: 6px; white-space: nowrap; opacity: .86; transition: opacity .2s; }
.bar__nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.bar__nav a:hover { opacity: 1; }
.bar__nav a:hover::after { transform: scaleX(1); }
.bar__cart { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; color: var(--brand-800); border: 1px solid var(--ui-line); background: var(--ui-soft); }
.bar__cart svg { width: 20px; height: 20px; }
.bar__cart b { position: absolute; inset-block-start: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; font-size: .72rem; line-height: 20px; text-align: center; color: var(--on-accent); background: var(--accent); }

.lang { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--ui-soft); border: 1px solid var(--ui-line); }
.lang__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 34px; padding: 4px 7px; border-radius: 999px; font-family: "Manrope", system-ui, sans-serif; font-size: .8rem; font-weight: 700; line-height: 1.2; color: var(--brand-800); transition: background-color .25s, color .25s; }
/* a language's own name in its own letters; the short codes (AR EN KA …) stay one even row of Latin capitals */
.lang__btn[lang="ar"] .lang__long { font-family: "Tajawal", system-ui, sans-serif; font-size: .88rem; }
.lang__btn[lang="ka"] .lang__long { font-family: "Noto Sans Georgian", system-ui, sans-serif; }
.lang__btn[lang="he"] .lang__long { font-family: "Heebo", system-ui, sans-serif; font-size: .84rem; }
.lang__btn:hover { color: var(--brand-950); }
.lang__btn[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.lang__long { display: none; }
@media (max-width: 359px) { .lang__btn { min-width: 32px; padding-inline: 5px; } }
@media (max-width: 519px) { .brand__name { display: none; } .brand { min-width: 44px; } }
@media (min-width: 900px) {
  :root { --bar: 70px; }
  .bar__nav { display: inline-flex; margin-inline-end: 10px; }
  .lang__btn { padding: 6px 13px; font-size: .86rem; }
}
/* a bar short of room: its links keep one line, the restaurant's name gives up what is still missing (with an ellipsis) */
@media (min-width: 900px) and (max-width: 1279px) {
  .bar__nav { gap: 16px; margin-inline-end: 4px; }
  .lang__btn { padding-inline: 8px; }
  .brand__name { font-size: 1.2rem; }
  html[lang="ar"] .brand__name { font-size: 1.45rem; }
}
@media (min-width: 1280px) { .lang__long { display: inline; } .lang__short { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  padding-block: calc(var(--bar) + 36px) 40px;
  background: var(--white);
}
.hero.patterned::before { opacity: 0; -webkit-mask-image: var(--pattern), radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%); mask-image: var(--pattern), radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%); -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-size: 96px 96px, 100% 100%; mask-size: 96px 96px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat; }
.hero__grid { display: grid; gap: clamp(30px, 6vw, 72px); align-items: center; }
.hero__text { min-width: 0; }
.hero__eyebrow { margin-block-end: clamp(10px, 2vw, 18px); color: var(--brand-700); }
.hero__h1 { font: inherit; }
.hero__title {
  display: block; font-family: var(--f-display); font-weight: 700; line-height: 1.1;
  font-size: clamp(2.7rem, 5.6vw, 5.3rem); overflow-wrap: anywhere;
  /* gradient text paints only inside its box: room for what stands above the line and hangs below it, in every script */
  padding-block: .1em .22em;
  background: none;
  -webkit-background-clip: text; background-clip: text; color: var(--brand-900); -webkit-text-fill-color: currentColor; max-width: 13ch;
}
html[lang="ar"] .hero__title { font-size: clamp(3.1rem, 7vw, 5.7rem); line-height: 1.3; }
html[lang="ka"] .hero__title { font-size: clamp(2.3rem, 4.7vw, 4.2rem); line-height: 1.3; }
.hero__lead { margin-block-start: 12px; max-width: 48ch; color: var(--ink-soft); font-size: clamp(.98rem, 1.7vw, 1.1rem); line-height: 1.8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: clamp(20px, 3.4vw, 32px); }
.hero__cta .btn--gold { flex: 1 1 100%; }
.hero__cta .btn--ghost { flex: 1 1 0; }
/* one row where all fit. Where they do not, none is left over at the end: the row fills from its last button, so the gold
   one goes on top by itself and the others share the row below */
@media (min-width: 520px) {
  .hero__cta { flex-flow: row-reverse wrap-reverse; }
  .hero__cta .btn { flex: 1 1 auto; padding-inline: 20px; }
  .hero__cta .btn--ghost { max-width: calc(50% - 5px); white-space: normal; }
  .hero__cta .btn:only-child { flex-grow: 0; }
  .hero__cta .btn:nth-child(1) { order: 4; }
  .hero__cta .btn:nth-child(2) { order: 3; }
  .hero__cta .btn:nth-child(3) { order: 2; }
  .hero__cta .btn:nth-child(4) { order: 1; }
}

.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-block-start: 20px; padding: 7px 15px; border-radius: 999px; font-size: .9rem; line-height: 1.4; background: rgb(0 0 0 / .28); border: 1px solid color-mix(in srgb, var(--accent-200) 20%, transparent); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.2s infinite; flex: none; }
.status.is-closed .status__dot { background: var(--off); animation: none; }
.status.is-unavailable .status__dot { background: color-mix(in srgb, var(--on-brand) 60%, transparent); }
.status.is-temporary .status__dot { background: var(--accent-700); }
.status { overflow-wrap: anywhere; }
.status strong { font-weight: 800; }
.status span:last-child { color: color-mix(in srgb, var(--on-brand) 74%, transparent); unicode-bidi: plaintext; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--ok) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 0%, transparent); } }

/* The table: dish photos on plates, the house seal with the logo, a ring of the restaurant's name */
.hero__stage { min-width: 0; border-radius: 24px; background: var(--brand-950); padding: 24px; }
.stage { position: relative; width: min(100%, 520px, 78vw); aspect-ratio: 1; margin-inline: auto; }
.ring { position: absolute; inset: 4%; width: 92%; height: 92%; color: var(--accent); font-family: var(--f-display); direction: ltr; animation: spin 80s linear infinite reverse; }
.plate { position: absolute; border-radius: 50%; overflow: hidden; background: var(--brand-800); box-shadow: 0 0 0 5px color-mix(in srgb, var(--cream) 94%, transparent), 0 0 0 6.5px var(--accent), 0 34px 60px -18px rgb(0 0 0 / .8); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate--1 { inset: 16% 14% 12% 14%; }
.plate--1 img { animation: spin 150s linear infinite; }
.plate--2 { width: 31%; aspect-ratio: 1; inset-block-start: 1%; inset-inline-end: 0; animation: float 7s ease-in-out infinite alternate; }
.plate--empty { display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, var(--brand-700), var(--brand-950) 72%); }
.plate--empty.patterned::before { opacity: .22; }
.plate--empty svg { width: 34%; height: 34%; color: var(--accent); }
.seal { position: absolute; width: 31%; aspect-ratio: 1; inset-block-end: 0; inset-inline-start: 0; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--brand-800), var(--brand-950) 72%);
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px color-mix(in srgb, var(--brand-950) 92%, transparent), 0 0 0 8.5px color-mix(in srgb, var(--accent) 60%, transparent), 0 30px 54px -16px rgb(0 0 0 / .85);
  animation: float 8s ease-in-out -3s infinite alternate; overflow: hidden; }
.seal img { width: 78%; height: 78%; object-fit: contain; }
.seal .mono { width: 70%; height: 70%; font-size: clamp(1.6rem, 6vw, 3rem); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

@media (min-width: 900px) {
  .hero { display: grid; align-items: center; min-height: min(calc(100vh - 56px), 900px); min-height: min(calc(100svh - 56px), 900px); padding-block: calc(var(--bar) + clamp(10px, 3.6vh, 56px)) clamp(16px, 4.6vh, 72px); }
  /* the plate takes a fixed share, the text all the width that is free: its row of buttons fits in every language */
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 38%); column-gap: clamp(30px, 4vw, 48px); }
  .stage { width: min(100%, 540px, calc(100vh - var(--bar) - 150px)); }
  .hero__title { font-size: clamp(2.6rem, min(6vw, 13vh), 6rem); }
  html[lang="ar"] .hero__title { font-size: clamp(3rem, min(8vw, 17vh), 7rem); }
  html[lang="ka"] .hero__title { font-size: clamp(2.2rem, min(5vw, 11vh), 5rem); }
}

/* ---------- Ribbon ---------- */
.ribbon { overflow: hidden; background: var(--accent); color: var(--on-accent); border-block: 1px solid var(--accent-700); direction: ltr; }
.ribbon__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ribbon__set { display: flex; flex: none; align-items: center; }
.ribbon__set span { display: inline-flex; align-items: center; gap: 22px; padding-inline-start: 22px; padding-block: 9px; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; line-height: 1.6; white-space: nowrap; }
.ribbon__set span::after { content: "✦"; font-family: system-ui, sans-serif; font-size: .7rem; opacity: .7; }
html[lang="ar"] .ribbon__set span { font-size: 1.35rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Featured dishes ---------- */
.stars { padding-block: clamp(52px, 8vw, 100px) clamp(30px, 5vw, 60px); background: linear-gradient(var(--cream), var(--paper)); }
.stars__rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; width: min(100% - var(--gut) * 2 - 12px, 500px); margin-inline: auto; padding-block: 10px 6px; }
.star { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; text-align: center; }
.star__arch { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; outline: 1.5px solid color-mix(in srgb, var(--accent) 75%, transparent); outline-offset: 4.5px; transition: outline-offset .45s var(--ease), outline-color .45s; }
.star__clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.star__clip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.star:hover .star__arch { outline-color: var(--accent); outline-offset: 8.5px; }
.star:hover img { transform: scale(1.06); }
.star__name { display: block; flex: 1; margin-block-start: 16px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 4.4vw, 1.3rem); line-height: 1.3; color: var(--brand-800); overflow-wrap: anywhere; }
html[lang="ar"] .star__name { font-size: clamp(1.3rem, 5.6vw, 1.65rem); line-height: 1.5; margin-block-start: 12px; }
html[lang="ka"] .star__name { font-size: clamp(.9rem, 3.8vw, 1.12rem); line-height: 1.4; }
.star__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-block-start: 8px; }
@media (min-width: 720px) {
  .stars__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; width: min(100% - var(--gut) * 2 - 20px, 1100px); }
  .stars__rail--few { justify-content: center; }
  .stars__rail--n1 { grid-template-columns: minmax(0, 260px); }
  .stars__rail--n2 { grid-template-columns: repeat(2, minmax(0, 240px)); }
  .stars__rail--n3 { grid-template-columns: repeat(3, minmax(0, 240px)); }
  .star__arch { outline-offset: 7.5px; }
  .star:hover .star__arch { outline-offset: 11.5px; }
}

/* ---------- Menu ---------- */
.menu { padding-block: clamp(40px, 6vw, 80px) clamp(52px, 8vw, 100px); background: var(--paper); position: relative; }
.search { position: relative; max-width: none; margin: 24px auto; }
.search svg { position: absolute; inset-inline-start: 16px; inset-block-start: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--accent-700); pointer-events: none; }
.search input { width: 100%; min-height: 50px; padding: 10px 18px; padding-inline-start: 46px; border-radius: 11px; border: 1.5px solid var(--ui-line); background: var(--white); color: var(--ink); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.tabs { position: sticky; inset-block-start: var(--bar); z-index: 40; background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; border-block: 1px solid var(--ui-line); }
.tabs__in { position: relative; display: flex; gap: 8px; overflow: auto hidden; scrollbar-width: none; padding-block: 10px; --end: right; }
.tabs__in::-webkit-scrollbar { display: none; }
[dir="rtl"] .tabs__in { --end: left; }
.tabs__in.fade-end { -webkit-mask-image: linear-gradient(to var(--end), #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to var(--end), #000 calc(100% - 40px), transparent); }
.tabs__in.fade-start { -webkit-mask-image: linear-gradient(to var(--end), transparent, #000 40px); mask-image: linear-gradient(to var(--end), transparent, #000 40px); }
.tabs__in.fade-start.fade-end { -webkit-mask-image: linear-gradient(to var(--end), transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to var(--end), transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 9px; font-weight: 700; font-size: .95rem; line-height: 1.3; white-space: nowrap; color: var(--brand-800); background: var(--white); border: 1px solid var(--ui-line); transition: background-color .25s, color .25s, border-color .25s; }
.tab small { font-weight: 700; opacity: .6; margin-inline-start: 6px; font-size: .8em; }
.tab.is-on { background: var(--brand-800); border-color: var(--brand-800); color: var(--on-brand); }
@media (max-width: 699px) { .tabs__in { gap: 6px; } .tab { padding-inline: 14px; font-size: .9rem; } .tab small { display: none; } }
@media (min-width: 900px) { .tabs__in { flex-wrap: wrap; justify-content: center; overflow: visible; } }

.group { padding-block-start: 32px; scroll-margin-top: calc(var(--tabs-h, 64px) + 4px); }
.group__head { display: flex; align-items: center; gap: 16px; margin-block-end: 18px; }
.group__head::after { content: ""; flex: 1; height: 1px; background: var(--ui-line); }
[dir="rtl"] .group__head::after { --line-dir: left; }
.group__title { font-family: var(--f-body); font-weight: 700; font-size: 1.35rem; line-height: 1.5; color: var(--brand-800); overflow-wrap: anywhere; }
html[lang="ar"] .group__title { font-size: 1.5rem; line-height: 1.5; }
html[lang="ka"] .group__title { font-size: 1.2rem; line-height: 1.5; }

.grid { display: grid; gap: 12px; }
.dish {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; width: 100%; text-align: start;
  background: var(--white); border: 1px solid var(--ui-line); border-radius: 14px; overflow: hidden;
  transition: border-color .12s;
}
.dish:hover { transform: none; box-shadow: none; border-color: var(--brand-700); }
.dish.is-out { opacity: .72; }
.dish.is-out .dish__media img { filter: grayscale(.7); }
.dish__media { position: relative; display: block; min-height: 112px; overflow: hidden; background: var(--sand); }
.dish__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; }
.dish:hover .dish__media img { transform: none; }
.dish__media img.fit-contain, .star__clip img.fit-contain, .sheet__media img.fit-contain { object-fit: contain; background: var(--white); padding: 8px; }
.sheet__media img.fit-contain { padding: 20px; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(150deg, var(--brand-800), var(--brand-950)); color: var(--accent-200); font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; }
.ph.patterned::before { opacity: .18; }
.dish__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; min-width: 0; }
.dish__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dish__name { font-family: var(--f-body); font-weight: 700; font-size: 1.02rem; line-height: 1.5; color: var(--brand-800); min-width: 0; overflow-wrap: anywhere; }
html[lang="ar"] .dish__name { font-size: 1.15rem; line-height: 1.5; }
html[lang="ka"] .dish__name { font-size: 1rem; line-height: 1.5; }
.dish__desc { font-size: .86rem; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
html[lang="ar"] .dish__desc { font-size: .95rem; }
.dish__tagrow { margin-block-start: auto; padding-block-start: 4px; }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .dish { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .dish__media { aspect-ratio: 4 / 3; min-height: 0; }
  .dish__body { padding: 16px 18px 18px; gap: 6px; }
  .dish__name { font-size: 1.22rem; }
  html[lang="ar"] .dish__name { font-size: 1.55rem; }
  html[lang="ka"] .dish__name { font-size: 1.06rem; }
  .dish__desc { -webkit-line-clamp: 3; line-clamp: 3; font-size: .9rem; }
}
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1240px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty, .nores { padding: 40px 10px; text-align: center; color: var(--ink-soft); font-weight: 700; }
.notes { margin-block-start: clamp(30px, 5vw, 50px); padding: 18px 22px; border-radius: var(--radius); border: 1px dashed var(--accent-700); background: color-mix(in srgb, var(--cream) 70%, transparent); text-align: center; color: var(--ink-soft); font-size: .92rem; }
.notes p:first-child { color: var(--ink); font-weight: 700; margin-block-end: 4px; }

/* ---------- About ---------- */
.about { padding-block: clamp(52px, 8vw, 96px); background: var(--cream); }
.about__text { max-width: 68ch; margin-inline: auto; font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--ink); display: grid; gap: 14px; text-align: center; overflow-wrap: anywhere; }

/* ---------- Visit ---------- */
.visit { position: relative; isolation: isolate; color: var(--on-brand); padding-block: clamp(56px, 8vw, 104px); background: radial-gradient(900px 500px at 15% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), linear-gradient(200deg, var(--brand-800), var(--brand-950)); }
.visit.patterned::before { opacity: .06; }
.visit__grid { display: grid; gap: clamp(22px, 4vw, 44px); align-items: start; }
.info { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3.4vw, 34px); border-radius: 24px; background: rgb(0 0 0 / .22); border: 1px solid color-mix(in srgb, var(--accent-200) 20%, transparent); min-width: 0; }
.info__row { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.info__row > div { min-width: 0; flex: 1; }
@media (min-width: 600px) {
  .visit .info { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 24px; }
  .visit [data-contact=pin], .visit [data-contact=clock], .visit [data-contact=mail], .visit .info__actions, .visit .social { grid-column: 1 / -1; }
}
.info__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--accent-200); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent-200) 25%, transparent); }
.info__ico svg { width: 20px; height: 20px; }
.info h3 { font-size: .8rem; font-weight: 700; color: var(--accent); line-height: 1.5; }
html:not([lang="ar"]) .info h3 { letter-spacing: .06em; }
html[lang="ar"] .info h3 { font-size: .92rem; }
.info p { font-size: 1.05rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.link { display: inline-block; padding-block: 7px 5px; border-block-end: 1px solid color-mix(in srgb, var(--accent-200) 45%, transparent); transition: border-color .2s, color .2s; }
.link:hover { color: var(--accent-200); border-color: var(--accent-200); }
.hours { width: 100%; border-collapse: collapse; margin-block-start: 4px; font-size: .98rem; }
.hours th, .hours td { padding: 5px 0; text-align: start; font-weight: 500; border-block-end: 1px solid color-mix(in srgb, var(--accent-200) 12%, transparent); vertical-align: top; }
.hours th { padding-inline-end: 14px; white-space: nowrap; color: color-mix(in srgb, var(--on-brand) 78%, transparent); }
.hours td { unicode-bidi: plaintext; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-200); font-weight: 800; }
.hours__tz { margin-block-start: 6px; font-size: .82rem !important; opacity: .7; }
.info__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-block-start: 6px; }
.info__actions .btn { flex: 1 1 auto; }
.social { padding-block-start: 18px; border-block-start: 1px solid color-mix(in srgb, var(--accent-200) 20%, transparent); }
.social__list { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 10px; }
.chip { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 9px 15px; border-radius: 999px; font-size: .9rem; font-weight: 700; background: color-mix(in srgb, var(--cream) 7%, transparent); border: 1px solid var(--line); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { background: color-mix(in srgb, var(--cream) 14%, transparent); border-color: var(--accent-200); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; flex: none; color: var(--accent-200); }
.map { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.map__frame { position: relative; flex: none; aspect-ratio: 4 / 3; min-height: 260px; max-height: 460px; border-radius: 24px; overflow: hidden; background: var(--brand-800); border: 1px solid color-mix(in srgb, var(--accent-200) 35%, transparent); box-shadow: 0 30px 60px -30px #000; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--accent-200); font-weight: 700; padding: 20px; text-align: center; }
.map__fallback svg { width: 38px; height: 38px; }
.map__open { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px; font-weight: 700; font-size: .95rem; color: var(--accent-200); border-block-end: 1px solid color-mix(in srgb, var(--accent-200) 40%, transparent); }
.map__open svg { width: 18px; height: 18px; }
.map__open:hover { color: var(--white); }
@media (min-width: 900px) { .visit__grid--map { grid-template-columns: repeat(2,minmax(0,1fr)); } .visit__grid:not(.visit__grid--map) { max-width: 720px; margin-inline: auto; } .visit__grid--map .map { position: sticky; inset-block-start: calc(var(--bar) + 20px); } }

/* ---------- Forms (reservation, order) ---------- */
.reserve { padding-block: clamp(52px, 8vw, 96px); background: linear-gradient(var(--paper), var(--cream)); }
/* the tables inside the booking form (app.js): compact landscape chips, several to a line; a free one may be tapped to ask for it */
.booking-floor { display: grid; gap: 4px; min-width: 0; padding: 12px; border: 1px solid var(--sand); border-radius: 12px; background: var(--cream); }
.booking-floor[hidden] { display: none; }
.booking-floor__title { margin: 0; font-size: .86rem; font-weight: 700; color: var(--brand-800); }
.booking-floor__tables { list-style: none; padding: 0; margin: 6px 0 2px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); gap: 8px; }
.booking-floor__tables li { min-width: 0; }
.booking-floor__table { width: 100%; min-height: 50px; display: flex; flex-wrap: wrap; align-items: baseline; align-content: center; column-gap: 8px; row-gap: 2px; padding: 7px 10px; border: 1.5px solid var(--sand); border-inline-start: 4px solid var(--brand-700); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; text-align: start; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.booking-floor__table strong { flex: 1 0 100%; min-width: 0; font-size: .95rem; line-height: 1.25; overflow-wrap: anywhere; }
.booking-floor__table span { min-width: 0; font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--brand-800); }
.booking-floor__table small { margin-inline-start: auto; font-size: .74rem; line-height: 1.25; color: var(--ink-soft); white-space: nowrap; }
.booking-floor__table[data-slot="free"]:hover { border-color: var(--accent); }
.booking-floor__table:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.booking-floor__table[aria-pressed="true"] { border-color: var(--accent); border-inline-start-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--white)); }
.booking-floor__table[aria-pressed="true"] span::before { content: "\2713\00a0"; color: var(--accent-700); }
.booking-floor__table[data-slot="taken"], .booking-floor__table[data-slot=""][data-state="occupied"] { border-inline-start-color: var(--err); }
.booking-floor__table[data-slot="small"], .booking-floor__table[data-slot="closed"], .booking-floor__table[data-slot="blocked"],
.booking-floor__table[data-slot=""][data-state="blocked"], .booking-floor__table[data-slot=""][data-state="resetting"], .booking-floor__table[data-state="unknown"] { border-inline-start-color: var(--ink-soft); }
.booking-floor__table[aria-disabled="true"], .booking-floor__table:disabled { cursor: not-allowed; background: var(--cream); opacity: .62; }
.form { display: grid; gap: 14px; max-width: 640px; margin-inline: auto; padding: clamp(20px, 3.4vw, 32px); border-radius: 16px; background: var(--white); border: 1px solid var(--ui-line); box-shadow: none; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: .86rem; font-weight: 700; color: var(--brand-800); }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--sand); background: var(--cream); color: var(--ink); font-size: 1rem; }
.fld textarea { min-height: 84px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.fld input[type="tel"], .fld input[type="number"] { direction: ltr; }
[dir="rtl"] .fld input[type="tel"], [dir="rtl"] .fld input[type="number"] { text-align: right; }
/* a date in the product's own format (render.js): a box that shows it, the browser's own control unseen over all of it */
.fld > .dateinput { position: relative; display: block; font-size: 1rem; font-weight: 400; color: var(--ink); }
.dateinput__show { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--sand); background: var(--cream); font-variant-numeric: tabular-nums; }
.dateinput__show svg { flex: none; width: 18px; height: 18px; color: var(--ink-soft); }
.fld .dateinput input { position: absolute; inset: 0; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.dateinput input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.dateinput input::-webkit-inner-spin-button { display: none; }
.dateinput:focus-within .dateinput__show { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.fld--set { margin: 0; padding: 0; border: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { flex: 1 1 0; min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--sand); background: var(--cream); font-weight: 700; cursor: pointer; }
.fld .choice input { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; accent-color: var(--brand-700); }
.choice label:has(input:checked) { border-color: var(--brand-700); background: color-mix(in srgb, var(--accent) 14%, var(--white)); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { min-height: 1.4em; font-weight: 700; color: var(--brand-700); }
.form__msg.is-error { color: var(--err); }
.form__note { font-size: .88rem; color: var(--ink-soft); }
/* the order form outside opening hours: why the send button cannot be pressed */
.form__note--closed { padding: 10px 14px; border-radius: 12px; border-inline-start: 4px solid var(--brand-700); background: var(--paper); color: var(--ink); font-weight: 700; }

/* ---------- QR ---------- */
.qr { padding-block: clamp(48px, 7vw, 90px); background: var(--cream); }
.qr__card { display: grid; gap: clamp(22px, 4vw, 48px); align-items: center; justify-items: center; text-align: center; padding: clamp(22px, 4vw, 48px); border-radius: 28px; background: var(--white); border: 1px solid var(--sand); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.qr__card.patterned::before { opacity: .1; -webkit-mask-image: var(--pattern), linear-gradient(120deg, transparent 45%, #000); mask-image: var(--pattern), linear-gradient(120deg, transparent 45%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-size: 96px 96px, 100% 100%; mask-size: 96px 96px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat; }
.qr__code { position: relative; padding: 14px; border-radius: 22px; background: #fff; border: 2px solid var(--brand-800); box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px var(--accent); min-width: 120px; min-height: 120px; }
.qr__code img { width: min(58vw, 230px); height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr__text { position: relative; min-width: 0; max-width: 520px; }
.qr__text .head__title { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
html[lang="ar"] .qr__text .head__title { font-size: clamp(2rem, 5vw, 3rem); }
.qr__text > p { color: var(--ink-soft); }
.qr__url { margin-block-start: 10px; font-weight: 800; color: var(--brand-700) !important; font-size: 1.05rem; font-family: "Manrope", system-ui, sans-serif; overflow-wrap: anywhere; }
.qr__hint { margin-block-start: 8px; font-size: .86rem; }
.qr__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-block-start: 18px; }
.qr__actions .btn { white-space: normal; max-width: 100%; }
/* asking for a review: the QR code is for a guest on a computer; on a phone the button is one tap away */
.review { background: var(--paper); }
.review .qr__code:has(img[hidden]) { display: none; }
.qr__text > .review__stars { display: flex; gap: 4px; margin-block-start: 10px; color: var(--accent); justify-content: center; }
.review__stars svg { width: 24px; height: 24px; }
.review__scan { display: none; margin-block-start: 10px; font-size: .9rem; }
.track__contact { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 759px) { .review .qr__code { display: none; } }
@media (min-width: 760px) { .qr__text > .review__stars { justify-content: flex-start; } .review__scan { display: block; } }
@media (min-width: 760px) { .qr__card { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: start; } .qr__actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.foot { background: var(--brand-950); color: color-mix(in srgb, var(--on-brand) 75%, transparent); text-align: center; padding-block: clamp(40px, 6vw, 64px) calc(28px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; justify-items: center; gap: 6px; }
.foot__logo { width: 104px; height: 104px; margin-block-end: 6px; object-fit: contain; }
.foot .mono { width: 72px; height: 72px; font-size: 2rem; margin-block-end: 8px; }
.foot__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.35; color: var(--accent-200); overflow-wrap: anywhere; }
.foot__tag { font-size: .9rem; color: var(--accent); }
.foot__line { margin-block-start: 10px; max-width: 46ch; overflow-wrap: anywhere; }
.foot__legal { margin-block-start: 8px; max-width: 60ch; font-size: .82rem; overflow-wrap: anywhere; }
.foot__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block: 18px 14px; }
.foot__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--accent-200); border: 1px solid color-mix(in srgb, var(--accent-200) 30%, transparent); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.foot__social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.foot__social svg { width: 20px; height: 20px; }
.foot__copy { font-size: .82rem; opacity: .7; }
.foot__made { margin-block-start: 12px; padding: 6px 14px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; color: color-mix(in srgb, var(--on-brand) 55%, transparent); border: 1px solid color-mix(in srgb, var(--accent-200) 16%, transparent); transition: color .3s, border-color .3s; }
.foot__made:hover { color: var(--on-brand); border-color: var(--accent); }

/* ---------- Mobile dock and the order button ---------- */
.dock {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 70;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--brand-950) 95%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block-start: 1px solid color-mix(in srgb, var(--accent-200) 25%, transparent); color: var(--on-brand);
}
.dock a, .dock button { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; font-size: .72rem; font-weight: 700; line-height: 1.3; min-width: 0; }
.dock span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock > :first-child { color: var(--on-accent); background: linear-gradient(135deg, var(--accent-200), var(--accent)); }
.dock svg { width: 21px; height: 21px; }
.dock > :not(:first-child) svg { color: var(--accent-200); }
html[lang="ar"] .dock a, html[lang="ar"] .dock button { font-size: .8rem; }
.fab { position: fixed; z-index: 65; inset-inline-end: max(16px, env(safe-area-inset-right)); inset-block-end: calc(84px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 20px; border-radius: 12px; font-weight: 800; color: var(--on-brand); background: var(--brand-700); box-shadow: 0 10px 28px -16px var(--brand-950); animation: sheetUp .4s var(--ease); }
.fab svg { width: 22px; height: 22px; }
.fab b { min-width: 24px; height: 24px; padding-inline: 6px; border-radius: 999px; line-height: 24px; text-align: center; font-size: .8rem; color: var(--on-brand); background: var(--brand-900); }
@media (max-width: 819px) { .foot { padding-block-end: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 820px) { .dock { display: none; } .fab { inset-block-end: calc(24px + env(safe-area-inset-bottom)); } }

/* ---------- the table page's head (2.6.22): which table, what to do, its actions ---------- */
.table-card { margin-block: 16px 4px; }
.table-card__in { display: grid; gap: 8px; padding: 18px var(--gut); border-radius: 18px; background: var(--white); border: 1.5px solid var(--sand); box-shadow: 0 10px 30px -18px rgb(0 0 0 / .35); }
.table-card__name { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.2; color: var(--brand-800); }
.table-card__hint { margin: 0; font-size: 1.05rem; color: var(--ink-soft); }
.table-card__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 4px; }
.table-card__acts .btn { flex: 1 1 140px; justify-content: center; }

/* ---------- Dialogs: the dish sheet and the order ---------- */
/* one scrollbar at a time: the page stands still behind a dialog */
html:has(.sheet[open], .cart[open]) { overflow: hidden; }
.sheet, .cart { padding: 0; border: 0; background: transparent; color: var(--ink); width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; overflow: hidden; }
.sheet:not([open]), .cart:not([open]) { display: none; }
.sheet::backdrop, .cart::backdrop { background: color-mix(in srgb, var(--brand-950) 72%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet__in, .cart__in {
  position: absolute; inset-inline: 0; inset-block-end: 0; max-height: 94vh; max-height: 94dvh;
  display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 60px -10px rgb(0 0 0 / .6);
  animation: sheetUp .18s var(--ease);
}
.x { position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--on-brand); background: color-mix(in srgb, var(--brand-950) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, transform .25s var(--ease); }
.x:hover { background: var(--brand-700); transform: rotate(90deg); }
.x svg { width: 20px; height: 20px; }
.sheet__media { flex: none; position: relative; background: var(--brand-900); min-height: 160px; }
.sheet__media img { width: 100%; height: min(46vh, 76vw); object-fit: cover; }
.sheet__media .ph { position: relative; height: min(30vh, 50vw); font-size: 4rem; }
/* the sheet is as tall as what it holds (2.6.21): the picture on top fills its band edge to edge, the text and the
   price/quantity/add row follow it with no empty stretch; a long description scrolls inside, never the page */
.sheet__in { height: auto; overflow: hidden; }
.sheet__media { min-height: 0; overflow: hidden; }
.sheet__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 38vh; max-height: 38dvh; object-fit: cover; }
.sheet__media .ph { height: clamp(110px, 24vh, 220px); height: clamp(110px, 24dvh, 220px); }
.sheet__body { display: flex; flex-direction: column; min-height: 0; flex: 0 1 auto; }
.sheet__content { flex: 0 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 20px var(--gut); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sheet__actions { flex: none; padding: 12px var(--gut) calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-block-start: 1px solid var(--sand); display: grid; gap: 8px; }
.sheet__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1.2; color: var(--brand-800); overflow-wrap: anywhere; }
html[lang="ar"] .sheet__name { font-size: clamp(2.1rem, 8vw, 2.9rem); line-height: 1.45; }
html[lang="ka"] .sheet__name { font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.35; }
.sheet__desc { font-size: 1.05rem; color: var(--ink-soft); overflow-wrap: anywhere; white-space: pre-line; }
/* the choices of a dish */
.opts { align-self: stretch; display: grid; gap: 14px; margin-block-start: 10px; }
.opts__group { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.opts__name { padding: 0; margin-block-end: 6px; font-weight: 700; color: var(--brand-800); grid-column: 1 / -1; }
.opts__name small { margin-inline-start: 8px; font-weight: 400; opacity: .7; }
.opt { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px; line-height: 1.35; font-size: .95rem; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .12); cursor: pointer; overflow-wrap: anywhere; }
.opt input { flex: none; width: 18px; height: 18px; accent-color: var(--brand-800); }
.opt__name { flex: 1 1 auto; min-width: 0; }
.opt__price { flex: none; font-variant-numeric: tabular-nums; opacity: .8; }
.opt:has(input:checked) { border-color: var(--brand-800); }
.sheet__foot { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__nav { display: flex; gap: 8px; }
.sheet__buy { align-self: stretch; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-block-start: 6px; }
.sheet__buy .btn { flex: 1 1 180px; }
.sheet__wa { align-self: stretch; margin-block-start: 6px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--sand); }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--brand-800); }
.stepper button:hover { background: var(--paper); }
.stepper button svg { width: 18px; height: 18px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.round { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--brand-800); border: 1.5px solid var(--sand); background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.round:hover { background: var(--brand-800); color: var(--on-brand); border-color: var(--brand-800); }
.round svg { width: 20px; height: 20px; }
.round svg.flip { transform: scaleX(-1); }
[dir="rtl"] .round svg { transform: scaleX(-1); }
[dir="rtl"] .round svg.flip { transform: none; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 820px) {
  .sheet__in { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(1040px, 94vw); height: auto; max-height: 90vh; max-height: 90dvh; flex-direction: row; align-items: stretch; border-radius: 26px; overflow: hidden; animation: sheetIn .4s var(--ease); }
  /* the picture fills its column from edge to edge at any height of the text beside it (rounded by the sheet's corners) */
  .sheet__media { flex: 0 0 44%; min-width: 0; min-height: min(420px, 60vh); min-height: min(420px, 60dvh); }
  .sheet__media img, .sheet__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
  .sheet__body { flex: 1 1 56%; min-width: 0; padding: 0; overflow: hidden; justify-content: center; }
  .sheet__content { padding: 28px; padding-inline-end: 60px; }
  .sheet__actions { padding: 14px 24px; }
  .cart__in { inset: 0 0 0 auto; width: min(480px, 100vw); max-height: none; height: 100%; border-radius: 0; animation: cartIn .35s var(--ease); }
  [dir="rtl"] .cart__in { inset: 0 auto 0 0; animation-name: cartInRtl; }
  @keyframes sheetIn { from { transform: translate(-50%, -46%); opacity: 0; } }
  @keyframes cartIn { from { transform: translateX(40px); opacity: 0; } }
  @keyframes cartInRtl { from { transform: translateX(-40px); opacity: 0; } }
}
/* the header stands still across the whole drawer; only what is under it slides */
.cart__in { overflow: hidden; }
.cart__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px var(--gut) 14px; background: var(--brand-900); color: var(--on-brand); }
.cart__head h2 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.3; }
.cart__head .x { position: static; }
.cart__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 16px; padding: 18px var(--gut) calc(26px + env(safe-area-inset-bottom)); }
.cart__body:has(> .cart__empty:not([hidden])) { align-content: center; }
.cart__empty { display: grid; justify-items: center; gap: 14px; padding-block: 24px; text-align: center; color: var(--ink-soft); font-weight: 700; }
.cart__empty-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: var(--accent-700); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.cart__empty-ico svg { width: 38px; height: 38px; }
.cart__empty p { max-width: 30ch; }
.cart__lines { display: grid; gap: 10px; }
.cart__lines:empty { display: none; }
.cline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--sand); }
.cline__name { font-weight: 700; color: var(--brand-800); overflow-wrap: anywhere; }
.cline__opts { display: block; font-weight: 400; opacity: .75; font-size: .85em; }
.cline__sum { font-weight: 800; white-space: nowrap; unicode-bidi: isolate; }
.cline__tools { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cline__rm { font-size: .86rem; font-weight: 700; color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.cart__sum { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.cart__sum div { display: flex; justify-content: space-between; gap: 10px; }
.cart__sum div:last-child { font-size: 1.15rem; font-weight: 800; color: var(--brand-800); padding-block-start: 6px; border-block-start: 1px solid var(--sand); }
.cart__sum dd { margin: 0; unicode-bidi: isolate; white-space: nowrap; }
.cart__sum dt { color: var(--ink-soft); }
.cart .form { padding: 0; border: 0; box-shadow: none; background: transparent; max-width: none; }

/* ---------- Order tracking page ---------- */
.track { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--bar) + 30px) var(--gut) 40px; background: linear-gradient(160deg, var(--brand-900), var(--brand-950)); color: var(--on-brand); }
.track__card { width: min(100%, 520px); display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(24px, 5vw, 40px); border-radius: 26px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 90px -30px #000; }
.track__ref { font-family: "Manrope", system-ui, sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: .08em; color: var(--brand-800); direction: ltr; }
.track__state { font-size: 1.2rem; font-weight: 800; color: var(--brand-700); }
.track__state.is-bad { color: var(--err); }
.track__state.is-good { color: var(--good); }
.track__meta { font-size: .86rem; color: var(--ink-soft); }
.track__steps { display: flex; gap: 6px; }
.track__steps i { width: 38px; height: 6px; border-radius: 999px; background: var(--sand); }
.track__steps i.on { background: var(--accent); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px; text-align: center; background: linear-gradient(160deg, var(--brand-900), var(--brand-950)); color: var(--on-brand); }
.nf h1 { margin: 10px 0 2px; font-family: "Playfair Display", Georgia, serif; font-size: 4rem; line-height: 1.1; color: var(--accent-200); }
.nf p { margin: 4px 0; color: color-mix(in srgb, var(--on-brand) 82%, transparent); }
.nf nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-block-start: 22px; }
.nf .mono { width: 84px; height: 84px; font-size: 2.2rem; margin-inline: auto; }
.nf__logo { width: 96px; height: 96px; object-fit: contain; margin-inline: auto; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 120; inset-inline: 0; inset-block-end: calc(150px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 32px); margin-inline: auto; padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--on-brand); background: var(--brand-900); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .6); animation: sheetUp .3s var(--ease); }
@media (min-width: 820px) { .toast { inset-block-end: 100px; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal.pre { opacity: 1; transform: none; }
}

/* the installable app (docs/PWA.md) */
.pwa { position: fixed; inset-inline: 12px; inset-block-end: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 560px; margin-inline: auto; padding: 12px 14px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 10px 34px color-mix(in srgb, var(--ink) 30%, transparent); }
.pwa[hidden], .pwa-stale[hidden], .pwa [hidden] { display: none; }
.pwa p { flex: 1 1 220px; margin: 0; font-size: .95rem; }
.pwa-stale { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 61; margin: 0; padding: 8px 14px; text-align: center; font-size: .9rem; background: var(--accent); color: var(--on-accent); }
@media (max-width: 860px) { .pwa { inset-block-end: calc(88px + env(safe-area-inset-bottom)); } }
.offline { display: grid; place-items: center; min-height: 100vh; padding: 24px; text-align: center; background: var(--cream); color: var(--ink); }
.offline__in { display: grid; gap: 12px; justify-items: center; max-width: 440px; }
.offline__logo { width: 120px; height: 120px; object-fit: contain; }
.cline__note { display: block; width: 100%; margin-top: 8px; padding: 8px; font: inherit; font-size: .85em; border: 1px solid var(--line); border-radius: 8px; background: var(--paper, #fff); color: var(--ink); }

/* Local sample map uses the real map panel without contacting a map provider. */
.map__frame .demo-map{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#f5ecd8}
 .checkout-fulfillment{display:grid;gap:.75rem}.checkout-fulfillment iframe{width:100%;height:430px;border:0;border-radius:1rem}
 .checkout-fulfillment .delivery-save{display:flex;align-items:flex-start;gap:10px;min-height:44px;cursor:pointer}
 .checkout-fulfillment .form__row--2{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-fulfillment summary{padding-block:.75rem;cursor:pointer}

/* S1 layout on existing customer markup; preserve all hidden/dialog/data-action rules. */
.hero .btn--ghost { color: var(--brand-800); border-color: var(--ui-line); background: var(--white); }
.hero .status { color: var(--brand-800); background: var(--ui-soft); border-color: var(--ui-line); border-radius: 10px; padding: 12px 14px; }
.hero .status strong, .hero .status span:not(.status__dot) { color: inherit; }
.ring, .plate--1 img, .plate--2, .seal { animation: none; }
.menu .head { text-align: start; max-width: none; }
.menu .dish__body { padding: 16px; gap: 7px; }
.bar :focus-visible { outline-color: var(--brand-700); }
.visit :focus-visible { outline-color: var(--accent-200); }
@media (min-width: 520px) {
  .hero__cta { flex-flow: row wrap; justify-content: flex-start; }
  .hero__cta .btn { flex: 0 1 auto; }
  .hero__cta .btn--ghost { max-width: none; }
  .hero__cta .btn:nth-child(n) { order: 0; }
}
@media (min-width: 900px) {
  .hero { min-height: 0; padding-block: calc(var(--bar) + 48px) 48px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); gap: 44px; }
  .hero__title { font-size: clamp(2.7rem, 5.6vw, 5.3rem); }
  html[lang="ar"] .hero__title { font-size: clamp(3.1rem, 7vw, 5.7rem); }
  html[lang="ka"] .hero__title { font-size: clamp(2.3rem, 4.7vw, 4.2rem); }
  .tabs__in { justify-content: flex-start; }
}
@media (min-width: 1240px) {
  .menu .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 899px) {
  .hero__grid { gap: 28px; }
  .hero__stage { padding: 20px; }
  .hero__stage .stage { width: min(100%, 340px); }
}
@media (max-width: 420px) {
  .hero__cta .btn { flex: 1 1 100%; max-width: none; }
  .hero__stage { padding: 16px; border-radius: 16px; }
  .dish { grid-template-columns: 100px minmax(0, 1fr); }
  .menu .dish__body { padding: 12px; }
  .dish__top { flex-wrap: wrap; gap: 4px; }
  .fab { inset-inline: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* S4: actual customer cart. Existing checkout fields, amounts and hidden-state rules remain authoritative. */
#cart .cart__head { background: var(--white); color: var(--brand-900); border-block-end: 1px solid var(--ui-line); }
#cart .cart__head h2 { font-family: var(--f-body); color: var(--brand-900); overflow-wrap: anywhere; }
#cart .cart__head .x { width: 44px; height: 44px; flex: none; color: var(--brand-800); background: var(--ui-soft); border: 1px solid var(--ui-line); }
#cart .cart__head .x:hover { border-color: var(--brand-700); transform: none; }
#cart :focus-visible { outline: 3px solid var(--brand-700); outline-offset: 2px; }
#cart .cart__lines { align-content: start; gap: 12px; }
#cart .cline { border-color: var(--ui-line); }
#cart .cline__tools { flex-wrap: wrap; }
#cart .cline__tools .stepper button { width: 44px; height: 44px; }
#cart .cline__rm { min-height: 44px; }
#cart .cart__sum { border: 1px solid var(--ui-line); background: var(--ui-soft); }
#cart .cart__sum dt { min-width: 0; overflow-wrap: anywhere; }
#cart #orderForm { gap: 16px; }
#cart .checkout-step { display: grid; gap: 16px; min-width: 0; }
#cart [data-checkout-step="0"] .choice { display: grid; grid-template-columns: 1fr; }
#cart [data-checkout-step="0"] .choice label { justify-content: flex-start; min-height: 48px; }
@media(min-width:600px){#cart [data-checkout-step="0"] .choice{grid-template-columns:repeat(3,minmax(0,1fr))}}
#cart .checkout-progress { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; }
#cart .checkout-progress button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 3px; min-width: 0; border: 0; border-block-end: 3px solid var(--ui-line); background: transparent; color: var(--ink-soft); font: inherit; font-size: .75rem; line-height: 1.4; cursor: pointer; overflow-wrap: anywhere; }
#cart .checkout-progress b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ui-line); border-radius: 50%; }
#cart .checkout-progress [aria-current=step] { color: var(--brand-900); border-color: var(--accent); font-weight: 800; }
#cart .checkout-progress [aria-current=step] b { color: var(--on-brand); background: var(--brand-800); }
#cart .checkout-navigation { display: flex; gap: 10px; justify-content: space-between; }
#cart .checkout-navigation .btn { flex: 1; min-height: 48px; }
#cart #deliveryDetails, #cart #checkoutOffsite, #cart #checkoutTableDetails { display: grid; gap: 14px; min-width: 0; }
#cart .delivery-location-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#cart .delivery-location-actions .btn { flex: 1 1 180px; min-height: 48px; white-space: normal; }
#cart #deliveryLocationMessage { margin: 0; font-size: .875rem; line-height: 1.6; }
#cart #deliveryLocationMessage:empty { display: none; }
#cart #orderForm .delivery-save input[type=checkbox] { width: 20px; height: 20px; min-height: 20px; min-width: 20px; max-width: 20px; flex: 0 0 20px; margin: 3px 0 0; padding: 0; accent-color: var(--brand-700); }
#cart .delivery-save span { min-width: 0; line-height: 1.6; }
#cart .delivery-address > .fld:last-child:nth-child(odd) { grid-column: 1 / -1; }
#cart .checkout-review { margin: 0; padding: 14px; display: grid; gap: 12px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-soft); }
#cart .checkout-review div { display: grid; gap: 3px; min-width: 0; }
#cart .checkout-review dt { font-size: .8rem; color: var(--ink-soft); }
#cart .checkout-review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
#cart .checkout-pickup { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--ui-line); border-radius: 12px; }
#cart .checkout-pickup p { margin: 0; }
#cart #orderForm .choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
#cart #orderForm .choice label { min-height: 48px; min-width: 0; overflow-wrap: anywhere; }
#cart #orderForm .fld > span { overflow-wrap: anywhere; }
#cart #orderForm .checkout-fulfillment { padding: 14px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-soft); }
#cart #orderForm .checkout-fulfillment iframe { width: 100%; max-width: 100%; height: min(430px, 60dvh); }
#cart #orderSend, #cart #orderWa { min-height: 54px; }
@media (min-width: 1000px) {
  #cart .cart__in { width: min(950px, calc(100vw - 32px)); }
  #cart .cart__body:has(> #orderForm:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); grid-template-rows: auto 1fr; gap: 18px; padding-inline: 24px; }
  #cart .cart__body:has(> #orderForm:not([hidden])) > #cartLines { grid-column: 1; grid-row: 1 / span 2; }
  #cart .cart__body:has(> #orderForm:not([hidden])) > #cartSum { grid-column: 2; grid-row: 1; align-self: start; }
  #cart .cart__body:has(> #orderForm:not([hidden])) > #orderForm { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; padding: 16px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--white); }
}
@media (max-width: 420px) {
  #cart #orderForm .form__row--2 { grid-template-columns: minmax(0, 1fr); }
  #cart #orderForm .checkout-fulfillment { padding: 12px; }
}

/* Shared restaurant home polish: the showcase, hosted sites and exported sites use these same theme-aware rules. */
/* Only the standalone restaurant showcase loads this sheet. */
body.restaurant-home { background:var(--cream); }
.restaurant-home .bar { position:sticky; margin-block-start:0; background:var(--white); height:auto; min-height:var(--bar); }
.restaurant-home .bar.is-solid { background:var(--white); box-shadow:0 5px 25px color-mix(in srgb,var(--brand-950) 3%,transparent); }
.restaurant-home .bar__in { min-height:var(--bar); }
.restaurant-home .brand__logo { border:1px solid var(--sand); border-radius:12px; }
.restaurant-home .brand__name { color:var(--brand-800); }
.restaurant-home .lang { background:var(--cream); }
.restaurant-home .lang__btn { min-height:38px; }
.restaurant-home .bar__cart { width:44px; height:44px; }
.restaurant-home .hero { padding-block:clamp(32px,5vw,72px) clamp(40px,6vw,80px); background:radial-gradient(ellipse at 0 20%,color-mix(in srgb,var(--accent-200) 44%,transparent),transparent 60%),var(--cream); }
.restaurant-home .hero.patterned::before { opacity:.045; }
.restaurant-home .hero__grid { gap:clamp(28px,5vw,72px); }
.restaurant-home .hero__title { color:var(--brand-800); max-width:16ch; }
.restaurant-home .hero__eyebrow { letter-spacing:.02em; }
.restaurant-home .hero__lead { color:var(--ink-soft); font-size:1.08rem; max-width:42ch; }
.restaurant-home .hero__stage { padding:clamp(14px,3vw,30px); border-radius:42% 42% 22px 22px; background:radial-gradient(circle at 50% 35%,var(--brand-700),var(--brand-950)); box-shadow:0 24px 65px -32px color-mix(in srgb,var(--brand-900) 44%,transparent); border:1px solid color-mix(in srgb,var(--accent) 38%,transparent); }
.restaurant-home .stage { width:min(100%,460px); }
.restaurant-home .ring,.restaurant-home .plate,.restaurant-home .plate img { animation:none; }
.restaurant-home .plate { box-shadow:0 0 0 5px var(--cream),0 0 0 7px var(--accent),0 22px 38px -18px color-mix(in srgb,var(--brand-950) 60%,transparent); }
.restaurant-home .plate img { background:var(--cream); }
.restaurant-home .hero__cta .btn { min-height:48px; border-radius:12px; }
.restaurant-home .hero__cta .btn--ghost { color:var(--brand-800); background:var(--cream); border-color:var(--accent-700); }
.restaurant-home .hero__cta .btn--ghost:hover { background:var(--sand); }
.restaurant-home .status { background:var(--white); border-color:var(--sand); color:var(--ink); }
.restaurant-home .status span:last-child { color:var(--ink-soft); }
.restaurant-home .status__dot { animation:none; }
.restaurant-home .ribbon { background:var(--brand-800); color:var(--accent-200); border-color:var(--accent-700); }
.restaurant-home .ribbon__track { animation-duration:80s; }
.restaurant-home .stars { background:var(--cream); padding-block:64px 56px; }
.restaurant-home .star__arch { aspect-ratio:1; border-radius:24px; outline:1px solid var(--sand); outline-offset:5px; }
.restaurant-home .star__clip { box-shadow:0 8px 25px color-mix(in srgb,var(--brand-900) 6%,transparent); }
.restaurant-home .star__name { font-family:var(--f-body); }
.restaurant-home .head__title { line-height:1.5; }
.restaurant-home .menu { background:var(--paper); border-block:1px solid var(--sand); }
.restaurant-home .search { max-width:720px; margin-block:24px 30px; }
.restaurant-home .search input { border-color:var(--sand); border-radius:14px; min-height:54px; }
.restaurant-home .tabs { background:var(--white); box-shadow:0 5px 18px color-mix(in srgb,var(--brand-900) 3%,transparent); }
.restaurant-home .tab { border-radius:24px; background:transparent; border-color:var(--sand); }
.restaurant-home .tab.is-on { background:var(--brand-800); }
.restaurant-home .group { padding-block-start:38px; }
.restaurant-home .grid { gap:20px; }
.restaurant-home .dish { border-color:var(--sand); border-radius:18px; box-shadow:0 4px 14px color-mix(in srgb,var(--brand-900) 2%,transparent); transition:border-color .2s,box-shadow .2s; }
.restaurant-home .dish:hover { border-color:var(--brand-600); box-shadow:0 10px 28px color-mix(in srgb,var(--brand-900) 7%,transparent); }
.restaurant-home .dish__media { background:var(--cream); }
.restaurant-home .dish__body { padding:16px; }
.restaurant-home .dish__desc { color:var(--ink-soft); }
.restaurant-home .dish__top { flex-wrap:wrap; }
.restaurant-home .price { color:var(--brand-700); }
.restaurant-home .visit { background:radial-gradient(ellipse at 10% 0,color-mix(in srgb,var(--accent) 31%,transparent),transparent 65%),var(--brand-950); }
.restaurant-home .reserve { background:var(--cream); }
.restaurant-home .qr { background:var(--paper); }
.restaurant-home .qr__card { box-shadow:none; border-color:var(--sand); }
.restaurant-home .foot { background:var(--brand-950); }
@media(min-width:900px) { .restaurant-home .hero__grid { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); } .restaurant-home .hero__stage { max-width:500px; width:100%; justify-self:end; } }
@media(max-width:899px) { .restaurant-home .hero__text { text-align:center; } .restaurant-home .hero__title,.restaurant-home .hero__lead { margin-inline:auto; } .restaurant-home .hero__eyebrow,.restaurant-home .hero__cta { justify-content:center; } .restaurant-home .hero__stage { max-width:420px; width:100%; margin-inline:auto; } }
@media(max-width:519px) { .restaurant-home .bar__in { flex-wrap:wrap; gap:6px; padding-block:8px; } .restaurant-home .lang { max-width:calc(100% - 105px); padding:2px; } .restaurant-home .lang__btn { min-width:28px; padding-inline:5px; font-size:.72rem; } .restaurant-home .hero { padding-block:32px 40px; } .restaurant-home .hero__stage { max-width:320px; } .restaurant-home .hero__lead { font-size:1rem; } .restaurant-home .stars { padding-block:44px; } .restaurant-home .stars__rail { gap:26px 20px; } .restaurant-home .star__arch { border-radius:18px; } .restaurant-home .dish__body { padding:12px; } .restaurant-home .dish__top { gap:4px 8px; } }
@media(prefers-reduced-motion:reduce) { .restaurant-home *,.restaurant-home *::before,.restaurant-home *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }

@media(min-width:520px) { .restaurant-home .hero__cta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:480px; } .restaurant-home .hero__cta .btn { order:initial !important; max-width:none; width:100%; padding-inline:14px; } }


/* Compact menu entry: dishes follow the title/search and a single category rail. */
.restaurant-home .menu { padding-block-start: 28px; }
.menu__intro { display: grid; gap: 14px; padding-block: 14px 22px; align-items: center; }
.restaurant-home .menu__intro .head { margin: 0; text-align: start; }
.restaurant-home .menu__intro .head__title { font-size: clamp(1.8rem, 3.3vw, 2.8rem); margin-block: 0 6px; }
.restaurant-home .menu__intro .head__sub { margin: 0; font-size: .9rem; line-height: 1.6; }
.restaurant-home .menu__intro .search { margin: 0; max-width: none; }
.restaurant-home .tabs__in { flex-wrap: nowrap; justify-content: flex-start; overflow: auto hidden; gap: 6px; padding-block: 8px; }
.restaurant-home .tab { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
@media (min-width: 768px) { .menu__intro { grid-template-columns: minmax(0, 1fr) minmax(260px, 460px); gap: 28px; } }

/* ---------- Pages of the printed cards (thanks/, loyalty/): the QR code on a card opens one of them ---------- */
.cardpage-body { background: var(--brand-950); }
.cardpage-body .bar { position: sticky; height: auto; min-height: var(--bar); }
.cardpage-body .bar__in { min-height: var(--bar); }
.cardpage { min-height: calc(100vh - var(--bar)); min-height: calc(100svh - var(--bar)); display: grid; grid-template-columns: minmax(0, 1fr); place-items: start center; padding: 30px var(--gut) 48px; background: linear-gradient(160deg, var(--brand-900), var(--brand-950)); color: var(--on-brand); }
.cardpage__card > * { min-width: 0; max-width: 100%; }
.cardpage__actions .btn { max-width: 100%; white-space: normal; }
.cardpage__card { width: min(100%, 620px); min-width: 0; display: grid; gap: 16px; justify-items: center; text-align: center; padding: clamp(24px, 5vw, 44px); border-radius: 26px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 90px -30px #000; }
.cardpage__logo { width: 96px; height: 96px; object-fit: contain; border-radius: 18px; }
.cardpage .mono { width: 84px; height: 84px; font-size: 2.2rem; }
.cardpage__branch { font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.cardpage__title { margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--brand-800); font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.2; overflow-wrap: anywhere; }
.cardpage__text, .cardpage__lead { max-width: 46ch; margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.cardpage__card p { margin: 0; }
.cardpage__text p + p, .cardpage__terms p + p { margin-block-start: 8px; }
.cardpage__lead { font-size: 1.12rem; font-weight: 700; color: var(--brand-700); }
.cardpage__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cardpage__block { width: 100%; display: grid; gap: 10px; justify-items: center; padding-block-start: 16px; border-block-start: 1px solid var(--sand); }
.cardpage__block h2 { margin: 0; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.3; color: var(--brand-800); }
.cardpage__note { font-size: .92rem; color: var(--ink-soft); }
.cardpage__steps { display: grid; gap: 8px; max-width: 46ch; margin: 0; padding-inline-start: 1.4em; text-align: start; line-height: 1.7; list-style: decimal; }
.cardpage__terms { font-size: .86rem; line-height: 1.7; color: var(--ink-soft); }
.cardpage__terms p { max-width: 52ch; }
.cardpage__social { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cardpage__social a { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 9px 15px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--brand-800); background: var(--white); border: 1px solid var(--sand); }
.cardpage__social a:hover { border-color: var(--brand-800); }
.cardpage__social svg { width: 18px; height: 18px; flex: none; color: var(--brand-600); }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: min(100%, 380px); margin: 4px 0; padding: 0; list-style: none; }
.stamps li { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--brand-800) 40%, transparent); font-weight: 800; color: var(--brand-700); background: var(--white); }
.stamps .stamps__gift { align-content: center; gap: 2px; border: 0; overflow: hidden; font-size: .62rem; line-height: 1.1; color: var(--on-accent); background: linear-gradient(135deg, var(--accent-200), var(--accent) 60%, var(--accent-700)); }
.stamps__gift svg { width: 22px; height: 22px; }


/* ---------- 3D hero (every restaurant): the dish stands out of its plate, the logo is a gold coin ---------- */
.stage { perspective: 1200px; transform-style: preserve-3d; }
.plate--1, .restaurant-home .plate--1 { transform-style: preserve-3d; transform: rotateX(9deg) rotateY(-6deg) translateZ(24px);
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--accent), 0 2px 0 8px color-mix(in srgb, var(--accent) 70%, #000), 0 6px 0 8px color-mix(in srgb, var(--accent) 40%, #000),
    0 46px 70px -22px rgb(0 0 0 / .75), 0 18px 30px -18px rgb(0 0 0 / .6);
  animation: tilt3d 9s ease-in-out infinite alternate; }
.plate--1 img, .restaurant-home .plate--1 img { animation: none; transform: scale(1.12); filter: saturate(1.12) contrast(1.06); }
.plate--1::after, .plate--2::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 22%, rgb(255 255 255 / .28), transparent 42%), radial-gradient(circle at 70% 85%, rgb(0 0 0 / .32), transparent 55%); }
.plate--2, .restaurant-home .plate--2 { transform-style: preserve-3d; transform: rotateX(8deg) rotateY(14deg) translateZ(70px);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--accent), 0 4px 0 6px color-mix(in srgb, var(--accent) 55%, #000), 0 30px 46px -16px rgb(0 0 0 / .7);
  animation: hover3d 6s ease-in-out -2s infinite alternate; }
.plate--2 img { transform: scale(1.1); }
.seal, .restaurant-home .seal { transform-style: preserve-3d; transform: rotateX(10deg) translateZ(90px);
  box-shadow: 0 0 0 2px var(--accent), 0 3px 0 2px color-mix(in srgb, var(--accent) 75%, #000), 0 6px 0 2px color-mix(in srgb, var(--accent) 55%, #000),
    0 9px 0 2px color-mix(in srgb, var(--accent) 35%, #000), 0 0 0 8px color-mix(in srgb, var(--brand-950) 92%, transparent), 0 40px 60px -14px rgb(0 0 0 / .85);
  animation: coin3d 7s ease-in-out -1s infinite alternate; }
.seal img { filter: drop-shadow(0 3px 0 rgb(0 0 0 / .35)) drop-shadow(0 8px 12px rgb(0 0 0 / .45)); }
.seal::after { content: ''; position: absolute; inset: -40%; pointer-events: none; transform: translateX(-120%) rotate(18deg);
  background: linear-gradient(90deg, transparent 40%, rgb(255 236 180 / .38) 50%, transparent 60%); animation: sheen 5.5s ease-in-out infinite; }
.foot__logo { border-radius: 22px; box-shadow: 0 0 0 2px var(--accent), 0 3px 0 2px color-mix(in srgb, var(--accent) 70%, #000), 0 6px 0 2px color-mix(in srgb, var(--accent) 45%, #000), 0 22px 34px -12px rgb(0 0 0 / .8);
  transform: perspective(700px) rotateX(10deg); animation: coin3d 7s ease-in-out infinite alternate; }
@keyframes tilt3d { from { transform: rotateX(10deg) rotateY(-8deg) translateZ(24px); } to { transform: rotateX(5deg) rotateY(6deg) translateZ(34px); } }
@keyframes hover3d { from { transform: rotateX(8deg) rotateY(16deg) translateZ(70px) translateY(-4px); } to { transform: rotateX(4deg) rotateY(4deg) translateZ(84px) translateY(8px); } }
@keyframes coin3d { from { transform: rotateX(10deg) rotateY(-14deg) translateZ(90px); } to { transform: rotateX(4deg) rotateY(14deg) translateZ(100px); } }
@keyframes sheen { 0%, 55% { transform: translateX(-120%) rotate(18deg); } 85%, 100% { transform: translateX(120%) rotate(18deg); } }
@media (prefers-reduced-motion: reduce) {
  .plate--1, .plate--2, .seal, .seal::after, .foot__logo, .restaurant-home .plate--1, .restaurant-home .plate--2, .restaurant-home .seal { animation: none; }
}

/* the footer's «track your order or booking» lookup */
.foot__lookup { width: 100%; max-width: 440px; min-width: 0; box-sizing: border-box; margin: 18px auto 6px; display: grid; gap: 8px; text-align: start; }
.foot__lookup-label { font-weight: 700; color: var(--accent-200); }
.foot__lookup-row { display: flex; gap: 8px; min-width: 0; }
.foot__lookup-row input { flex: 1 1 0; width: 0; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: rgb(255 255 255 / .06); color: inherit; padding-inline: 14px; font: 600 1.05rem/1 ui-monospace, monospace; letter-spacing: .06em; text-align: center; }
.foot__lookup-row .btn { min-height: 48px; flex: none; padding-inline: 16px; }
.foot__lookup-hint { font-size: .86rem; opacity: .8; }
.foot__lookup-hint.is-bad { color: #ffb4a8; opacity: 1; }

