/* Шрифты: Literata и Manrope (SIL Open Font License), локальные копии */
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/literata-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/literata-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/literata-italic-latin.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;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/literata-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/literata-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/literata-normal-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-latin.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;
}
/* TableFlow design system 2.0 — токены и базовые элементы. См. docs/tableflow-design-direction.md */
:root{
  --paper:#f6f2ea;--linen:#ebe3d6;--card:#fffcf7;--ink:#25201c;--ink-2:#4a3f36;--muted:#75685b;
  --line:#e3d9ca;--line-2:#d3c6b3;
  --espresso:#1e1916;--espresso-2:#2a231e;--espresso-3:#3a3029;--on-dark:#f3ebdf;--on-dark-muted:#b5a490;
  --wine:#6e2a37;--wine-soft:#f2e5e2;--taupe:#9c8670;--champagne:#dcc29c;
  --olive:#5f7553;--olive-soft:#e7ecdf;--ochre:#b4822e;--ochre-soft:#f5e9cf;--slate:#4f6479;--slate-soft:#e4e8ee;
  --danger:#9a2b23;--danger-soft:#f6e1dc;
  --ochre-ink:#6b4a12;--danger-ink:#9a2b23;--olive-ink:#3d5a32;--slate-ink:#2f4a66;
  /* совместимость со старыми именами страниц */
  --brand:var(--wine);--dark:var(--espresso);--bg:var(--paper);--soft:var(--wine-soft);
  --serif:"Literata",ui-serif,Georgia,"Times New Roman",serif;
  --sans:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --r-s:6px;--r-m:9px;--r-l:16px;--r-xl:24px;
  --float:0 22px 48px -22px rgba(30,25,22,.5),0 2px 6px rgba(30,25,22,.08);
  --ease:cubic-bezier(.2,.7,.2,1);
  font-family:var(--sans);background:var(--paper);color:var(--ink);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
[hidden]{display:none!important}
h1,h2,h3,.serif{font-family:var(--serif);font-weight:500;letter-spacing:-.012em;line-height:1.15;font-optical-sizing:auto}
h4{font-weight:700}
p{text-wrap:pretty}
h1,h2{text-wrap:balance}
a{color:var(--brand-text,var(--brand));text-underline-offset:3px;text-decoration-thickness:1px}
small,.muted{color:var(--muted)}
.num,time,td,.price{font-variant-numeric:tabular-nums}
button{font:inherit;font-weight:650;letter-spacing:.005em;border:0;border-radius:var(--r-m);padding:11px 16px;background:var(--brand);color:#fff;cursor:pointer;
  transition:background-color .18s var(--ease),color .18s var(--ease),transform .12s var(--ease),box-shadow .18s var(--ease),opacity .18s}
button:hover{box-shadow:inset 0 0 0 100vmax rgba(255,255,255,.08)}
button:active{transform:translateY(1px)}
button.secondary{background:var(--linen);color:var(--ink)}
button.secondary:hover{box-shadow:inset 0 0 0 100vmax rgba(30,25,22,.05)}
button.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
button.danger{background:var(--danger)}
button:disabled{opacity:.42;cursor:not-allowed;transform:none}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
input,select,textarea{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line-2);border-radius:var(--r-m);padding:11px 12px;
  transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 16%,transparent)}
input::placeholder,textarea::placeholder{color:#807366}
input[type=checkbox],input[type=radio]{accent-color:var(--brand)}
input[type=color]{padding:3px;height:42px}
label{color:var(--ink-2)}
table{border-collapse:collapse;width:100%}
th{font-size:12.5px;font-weight:650;color:var(--muted);text-align:left;letter-spacing:.01em}
th,td{padding:10px 10px;border-bottom:1px solid var(--line)}
hr{border:0;border-top:1px solid var(--line);margin:18px 0}
::selection{background:color-mix(in srgb,var(--brand) 22%,transparent)}
.tf-wordmark{font-family:var(--serif);font-weight:600;letter-spacing:-.02em;font-size:20px;display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none;white-space:nowrap;flex-shrink:0}
.tf-wordmark i{flex-shrink:0;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--wine);color:#fff;font-style:normal;font-size:13px;font-family:var(--sans);font-weight:800;letter-spacing:0}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Тёмная тема: по настройке телефона или по выбору (кнопка ☾/☀ в шапке, выбор хранится в этом браузере).
   Страницы с собственной палитрой (мастер-панель, печатный счёт) помечены data-theme-fixed. */
html[data-theme="dark"]{
  --ochre-ink:#f0d49a;--danger-ink:#f2b8ad;--olive-ink:#cfe0bf;--slate-ink:#c9d8ea;
  --brand-text:color-mix(in srgb,var(--brand) 38%,#fff);--wine-text:#e3a6b1;
  --paper:#161210;--bg:#161210;--card:#211b17;--linen:#2c241f;--ink:#f3ebdf;--ink-2:#d9cbb8;--muted:#a8977f;--line:#3a3029;--line-2:#4a3e35;
  --espresso:#0f0c0a;--espresso-2:#1d1814;--espresso-3:#3a3029;
  --wine-soft:#3d2228;--olive-soft:#2f3a29;--ochre-soft:#40331b;--slate-soft:#2b3440;--danger-soft:#43211d;--soft:var(--wine-soft);
  --float:0 22px 48px -22px rgba(0,0,0,.8),0 2px 6px rgba(0,0,0,.4);color-scheme:dark}
@media (prefers-color-scheme:dark){html:not([data-theme]):not([data-theme-fixed]){
  --ochre-ink:#f0d49a;--danger-ink:#f2b8ad;--olive-ink:#cfe0bf;--slate-ink:#c9d8ea;
  --brand-text:color-mix(in srgb,var(--brand) 38%,#fff);--wine-text:#e3a6b1;
  --paper:#161210;--bg:#161210;--card:#211b17;--linen:#2c241f;--ink:#f3ebdf;--ink-2:#d9cbb8;--muted:#a8977f;--line:#3a3029;--line-2:#4a3e35;
  --espresso:#0f0c0a;--espresso-2:#1d1814;--espresso-3:#3a3029;
  --wine-soft:#3d2228;--olive-soft:#2f3a29;--ochre-soft:#40331b;--slate-soft:#2b3440;--danger-soft:#43211d;--soft:var(--wine-soft);
  --float:0 22px 48px -22px rgba(0,0,0,.8),0 2px 6px rgba(0,0,0,.4);color-scheme:dark}}

html.tf-dark input::placeholder,html.tf-dark textarea::placeholder{color:#948572}
html.tf-dark button.secondary:hover{box-shadow:inset 0 0 0 100vmax rgba(255,255,255,.06)}
html.tf-dark img{filter:brightness(.92)}
.tf-theme{appearance:none;border:0;background:transparent;color:inherit;width:30px;height:30px;padding:0;border-radius:50%;display:inline-grid;place-items:center;cursor:pointer;box-shadow:none}
.tf-theme:hover{box-shadow:inset 0 0 0 100vmax rgba(255,255,255,.12)}
.tf-theme svg{width:16px;height:16px}
.tf-theme:focus-visible{outline:2px solid currentColor;outline-offset:1px}
/* смена темы — мягкое затухание (View Transitions), без резкой вспышки */
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s}

/* Движение: одно согласованное появление первого экрана и отклик на действия гостя. Отключается при «уменьшить движение». */
@keyframes tf-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes tf-settle{from{opacity:0;transform:scale(1.035)}to{opacity:1;transform:none}}
@keyframes tf-bump{0%{transform:scale(1)}35%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes tf-toast{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.tf-intro>*{animation:tf-rise .7s var(--ease) both}
.tf-intro>*:nth-child(2){animation-delay:.08s}.tf-intro>*:nth-child(3){animation-delay:.16s}.tf-intro>*:nth-child(4){animation-delay:.24s}.tf-intro>*:nth-child(5){animation-delay:.32s}.tf-intro>*:nth-child(n+6){animation-delay:.4s}
.tf-settle{animation:tf-settle 1.1s var(--ease) both}
.tf-bump{animation:tf-bump .38s var(--ease)}
/* 3.7: «+» вместо «В корзину»; после первого нажатия — «− 2 +». Общие для меню стола, доставки и фудкорта */
.plusBtn{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;display:inline-grid;place-items:center;background:var(--brand);color:#fff;box-shadow:none;flex:0 0 auto}
.plusBtn svg,.stepper svg{width:18px;height:18px;display:block}
.stepper{display:inline-flex;align-items:center;gap:2px;background:var(--brand);color:#fff;border-radius:999px;padding:3px;flex:0 0 auto;height:40px;box-sizing:border-box}
.stepper button{width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#fff;box-shadow:none}
.stepper button:hover{box-shadow:inset 0 0 0 100vmax rgba(255,255,255,.16)}
.stepper b{min-width:24px;text-align:center;font-variant-numeric:tabular-nums;font-size:15px;font-weight:700}
.stepper.only b{padding-left:8px}
