/* Fish Fried — визуальный язык печатного меню:
   вода на фоне, белые панели поверх, вертикальные казахские заголовки. */

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

:root {
  --ink: #0a2430;
  --ink-2: #476874;
  --ink-3: #7e9aa5;
  --paper: #ffffff;
  --panel: #ffffff;
  --surface-2: #f1f8fb;

  --sea-deep: #0b4a5e;
  --sea: #12708c;
  --sea-mid: #3f9db6;
  --sea-light: #9ddcec;
  --foam: #e6f5fa;

  --line: #dceaf0;
  --line-2: #c2dde6;

  --accent: #12708c;
  --hot: #d33f2c;
  --hot-soft: #fdeae6;
  --wa: #1fa855;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 38px;

  --shadow-sm: 0 2px 8px -3px rgba(8, 45, 60, .22);
  --shadow: 0 20px 40px -26px rgba(8, 45, 60, .5);
  --shadow-lg: 0 40px 80px -44px rgba(8, 45, 60, .62);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --topbar-h: 120px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 14px); }

body {
  margin: 0;
  background: var(--sea-deep);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

/* морская подложка */
.seabed {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 52, 68, .55) 0%, rgba(10, 60, 78, .25) 30%, rgba(11, 74, 94, .7) 100%),
    url('img/wave.jpg') center / cover no-repeat;
  background-attachment: scroll;
}

.seabed::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(157, 220, 236, .35), transparent 60%);
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }

/* .gate/.cartfab задают display, а он перебивает атрибут hidden —
   без этого закрытая модалка остаётся невидимым оверлеем и глотает клики */
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--sea-light); outline-offset: 3px; border-radius: 5px; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 90;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 700;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.is-hidden { display: none !important; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: .2rem 0 0;
}

.eyebrow {
  display: flex; align-items: center; gap: .5rem;
  margin: 0;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sea-mid);
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 157, 182, .55); }
  70% { box-shadow: 0 0 0 9px rgba(63, 157, 182, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 157, 182, 0); }
}

.price {
  font-family: var(--font-display);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  white-space: nowrap;
  margin: 0;
}

/* ─────────── шапка ─────────── */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
  transition: padding .35s var(--ease);
}
.topbar.is-compact .topbar__row { padding-block: .5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }

/* официальный знак сети — тот же, что на обложке печатного меню */
.brand__logo {
  width: auto; height: 44px;
  transition: transform .5s var(--ease);
}
.brand:hover .brand__logo { transform: translateY(-2px); }
.topbar.is-compact .brand__logo { height: 38px; }

.brand__type { display: flex; flex-direction: column; line-height: 1.1; }
.brand__city { font-size: .65rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); max-width: 11ch; }

.topbar__tools { display: flex; align-items: center; gap: .6rem; flex: 0 1 560px; justify-content: flex-end; }

/* ─────────── переключатель языка ─────────── */

.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line); border-radius: 100px;
  background: var(--paper); flex-shrink: 0;
}
.lang__btn {
  border: 0; border-radius: 100px; cursor: pointer;
  padding: .32rem .62rem; background: transparent;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; color: var(--ink-3);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { background: var(--sea); color: #fff; }

.branchbtn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem .95rem;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: var(--paper);
  font-size: .87rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: all .25s var(--ease);
}
.branchbtn svg { width: 16px; height: 16px; fill: none; stroke: var(--sea); stroke-width: 2; }
.branchbtn:hover { border-color: var(--sea-mid); }
.branchbtn:active { transform: scale(.97); }
.branchbtn.is-set { background: var(--foam); border-color: var(--sea-light); }

.search { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 260px; }
.search__icon { position: absolute; left: .8rem; width: 17px; height: 17px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; pointer-events: none; }

.search input {
  width: 100%; font: inherit; font-size: .9rem; color: var(--ink);
  background: var(--surface-2);
  border: 1px solid transparent; border-radius: 100px;
  padding: .6rem 2.2rem .6rem 2.35rem;
  transition: all .25s var(--ease);
}
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; background: var(--paper); border-color: var(--sea-light); box-shadow: 0 0 0 4px var(--foam); }

.search__clear {
  position: absolute; right: .45rem;
  display: grid; place-items: center;
  width: 25px; height: 25px; border: 0; border-radius: 50%;
  background: var(--line); cursor: pointer;
}
.search__clear svg { width: 12px; height: 12px; fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }
.search__clear:active { transform: scale(.9); }

/* ─────────── кнопки ─────────── */

.btn {
  --tx: 0px; --ty: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.2rem;
  border: 1px solid transparent; border-radius: 100px;
  font-weight: 700; font-size: .9rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transform: translate(var(--tx), var(--ty));
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.btn--lg { padding: .9rem 1.5rem; font-size: .97rem; }

.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sea); }
.btn--primary:active { transform: translate(var(--tx), var(--ty)) scale(.97); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface-2); }
.btn--ghost:active { transform: scale(.97); }

.btn--full { width: 100%; }

.btn--wa { background: var(--wa); color: #fff; width: 100%; box-shadow: var(--shadow-sm); }
.btn--wa:hover { background: #178c46; }
.btn--wa:active { transform: scale(.985); }
.btn--wa.is-disabled { background: var(--line-2); color: var(--ink-3); cursor: not-allowed; box-shadow: none; }

/* ─────────── навигация по разделам ─────────── */

.bleed {
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --bleed: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
}

.catnav {
  position: relative; display: flex; gap: .3rem;
  padding: 0 var(--bleed) .65rem;
  scroll-padding-inline: var(--bleed);
  overflow-x: auto; scrollbar-width: none;
}
.catnav::-webkit-scrollbar { display: none; }

.catnav__link {
  flex: 0 0 auto;
  display: flex; flex-direction: column; gap: .05rem;
  padding: .35rem .75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.catnav__link b { font-size: .84rem; font-weight: 700; letter-spacing: -.01em; }
.catnav__link i { font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.catnav__link:hover { background: var(--surface-2); color: var(--ink); }
.catnav__link.is-active { background: var(--sea); color: #fff; }
.catnav__link.is-active i { color: rgba(255, 255, 255, .72); }

/* ─────────── герой ─────────── */

.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 3.5rem); }

.hero__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }

.hero__copy {
  background: var(--panel);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  box-shadow: var(--shadow-lg);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: .98; letter-spacing: -.05em;
  margin: 1rem 0 0;
}
.hero__title em { font-style: normal; color: var(--sea); }

.hero__lede { margin: 1.2rem 0 0; max-width: 46ch; font-size: 1rem; color: var(--ink-2); line-height: 1.62; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }

.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.fact { flex: 1 1 100px; padding: .9rem 1rem 0 0; }
.fact dt { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fact dd { margin: .1rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }

.hero__art { position: relative; }
.hero__plate { border-radius: var(--r-xl); overflow: hidden; }
.hero__plate img { width: 100%; height: auto; }

.hero__tag {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  margin: 0; padding: .5rem 1rem;
  background: var(--panel); border-radius: 100px;
  box-shadow: var(--shadow);
  font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap;
}

/* ─────────── панель меню ─────────── */

#menu { padding-top: clamp(1rem, 3vw, 2rem); scroll-margin-top: var(--topbar-h); }

.menubar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.2rem 2rem; flex-wrap: wrap;
  background: var(--panel);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: clamp(1.3rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.2rem) 1.1rem;
}

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }

.chip {
  padding: .45rem .9rem;
  border: 1px solid var(--line-2); border-radius: 100px;
  background: transparent; font-size: .84rem; font-weight: 700;
  color: var(--ink-2); cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--sea-mid); color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--sea); border-color: var(--sea); color: #fff; }

.results {
  margin: 0; padding: 0 clamp(1.2rem, 3vw, 2.2rem) .4rem;
  background: var(--panel);
  font-size: .84rem; color: var(--ink-3); min-height: 1.2em;
}

#sections { background: var(--panel); }

.sec {
  position: relative;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.2rem) 0;
  scroll-margin-top: var(--topbar-h);
}

.sec__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.2rem; }
.sec__titles { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }

.sec__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -.04em; margin: 0;
}
.sec__kicker { margin: 0; font-size: .85rem; color: var(--ink-3); }
.sec__count { margin-left: auto; font-family: var(--font-display); font-size: .76rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* вертикальный казахский заголовок, как на печатных страницах */
.sec__kk {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  left: -.2rem; top: clamp(1.8rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sea-light);
  pointer-events: none;
}
@media (max-width: 1100px) { .sec__kk { display: none; } }

.sec__note {
  margin: -.5rem 0 1.3rem;
  padding: .55rem .85rem;
  border-radius: var(--r-sm);
  background: var(--foam);
  font-size: .8rem; color: var(--ink-2);
}

/* ─────────── фото ─────────── */

.thumb { position: relative; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }

.thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .6) 50%, transparent 80%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}
.thumb.is-loaded::after, .thumb.is-empty::after { display: none; }

.thumb > img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.thumb.is-loaded > img { opacity: 1; }

@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -60% 0; } }

/* без фото плитка должна читаться как фирменная, а не как битая картинка */
.thumb.is-empty {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(155deg, #d8eef6 0%, #a9d9e8 100%);
}
.thumb__none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sea); }
.thumb__none svg {
  width: 52%; max-width: 74px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .42;
}
.thumb__none img { width: 54%; max-width: 82px; opacity: .34; }

/* ─────────── бейджи ─────────── */

.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .5rem; border-radius: 100px;
  font-size: .64rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.badge--hit { background: var(--hot-soft); color: var(--hot); }
.badge--new { background: var(--hot); color: #fff; }
.badge--persons { background: var(--foam); color: var(--sea); }

/* ─────────── кнопка «в заказ» ─────────── */

.add {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--paper); cursor: pointer;
  transition: all .25s var(--ease);
}
.add svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; }
.add:hover { border-color: var(--sea); background: var(--sea); }
.add:hover svg { stroke: #fff; }
.add:active { transform: scale(.88); }
.add--sm { width: 32px; height: 32px; }
.add--sm svg { width: 15px; height: 15px; }

.add { position: relative; }

/* счётчик прямо в карточке меню, когда позиция уже в заказе */
.qty { display: inline-flex; align-items: center; flex-shrink: 0; }
.stepper--card { padding: .1rem; border-color: var(--sea); background: var(--paper); box-shadow: var(--shadow-sm); }
.stepper--card button { width: 30px; height: 30px; color: var(--sea); font-size: 1.05rem; }
.stepper--card span { min-width: 18px; font-size: .82rem; }
.qty--sm .stepper--card button { width: 26px; height: 26px; font-size: .95rem; }
.qty--sm .stepper--card span { min-width: 16px; font-size: .78rem; }

/* ─────────── сеты ─────────── */

.sets { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.set {
  grid-column: span 12;
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
@media (min-width: 640px) { .set { grid-column: span 6; } }
@media (min-width: 1024px) { .set { grid-column: span 4; } }
.set:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.set:hover .thumb > img { transform: scale(1.035); }

.set__media { aspect-ratio: 16 / 10; }
.set__flags { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .35rem; z-index: 2; }
.set__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.set__kk { margin: 0 0 .15rem; font-size: .72rem; font-weight: 600; color: var(--sea-mid); }
.set__name { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: -.035em; line-height: 1.2; }
.set__persons { margin: .5rem 0 0; }
.set__desc { margin: .65rem 0 1.1rem; font-size: .85rem; line-height: 1.55; color: var(--ink-2); }
.set__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.set__price { font-size: 1.2rem; }

/* ─────────── рыба ─────────── */

.fishgroup + .fishgroup { margin-top: 2.4rem; }
.fishgroup__head { display: flex; align-items: baseline; gap: .7rem; border-top: 1px solid var(--line); padding: .85rem 0 1rem; }
.fishgroup__label { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fishgroup__hint { font-size: .78rem; color: var(--ink-3); }

.fishgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .7rem; }
@media (min-width: 700px) { .fishgrid { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 1rem; } }

.fish { position: relative; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.fish:hover { transform: translateY(-4px); }
.fish:hover .thumb > img { transform: scale(1.05); }
.fish__media { aspect-ratio: 1; border-radius: var(--r); border: 1px solid var(--line); }
.fish__flags { position: absolute; top: .55rem; left: .55rem; z-index: 2; display: flex; gap: .3rem; }
.fish__kk { margin: .7rem 0 0; font-size: .68rem; font-weight: 600; color: var(--sea-mid); }
.fish__name { margin: .1rem 0 0; font-size: .93rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.28; }
.fish__desc { margin: .2rem 0 0; font-size: .74rem; color: var(--ink-3); line-height: 1.4; }
.fish__foot { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: .4rem; }
.fish__w { font-size: .76rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fish__price { font-size: .98rem; }
.fish > .qty { position: absolute; right: .5rem; top: .5rem; }
.fish > .qty .add { box-shadow: var(--shadow-sm); }

/* ─────────── строки ─────────── */

/* minmax(0,…) — иначе трек растягивается по min-content строки и вылезает за панель */
.rows { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rows { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.6rem; } }

.row { display: flex; align-items: center; gap: .9rem; min-width: 0; padding: .9rem 0; border-top: 1px solid var(--line); }
.row:hover .thumb > img { transform: scale(1.05); }
.row__media { width: 78px; height: 78px; border-radius: var(--r-sm); }
.row__body { flex: 1; min-width: 0; }
.row__kk { margin: 0; font-size: .68rem; font-weight: 600; color: var(--sea-mid); }
.row__name { margin: .05rem 0 0; font-size: .95rem; font-weight: 700; letter-spacing: -.015em; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.row__w { font-size: .76rem; font-weight: 600; color: var(--ink-3); }
.row__desc { margin: .2rem 0 0; font-size: .8rem; line-height: 1.45; color: var(--ink-2); max-width: 44ch; }
.row__end { display: flex; align-items: center; gap: .7rem; }
.row__price { font-size: 1rem; }

/* ─────────── компактные списки ─────────── */

.cluster { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem); }
@media (min-width: 820px) { .cluster { grid-template-columns: 1fr 1fr; align-items: start; } }
.cluster .sec { padding-top: clamp(1.6rem, 3vw, 2.4rem); }
.cluster .sec__title { font-size: 1.2rem; }

.lrow { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.lrow__name { font-size: .91rem; font-weight: 600; letter-spacing: -.01em; }
.lrow__w { font-size: .78rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lrow__dots { flex: 1 1 auto; min-width: 1.2rem; border-bottom: 1px dotted var(--line-2); transform: translateY(-.2em); }
.lrow__price { font-size: .93rem; }
.lrow__desc { flex-basis: 100%; margin: 0; font-size: .76rem; color: var(--ink-3); order: 9; }

/* ─────────── пусто ─────────── */

.empty {
  display: grid; justify-items: center; text-align: center; gap: .5rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1rem;
  background: var(--panel);
}
.empty__fish { width: 70px; height: 35px; fill: none; stroke: var(--line-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: var(--line-2); }
.empty h3 { margin: .3rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.04em; }
.empty p { margin: 0 0 .8rem; max-width: 42ch; color: var(--ink-2); font-size: .9rem; }

/* ─────────── обслуживание 10% (только в зале) ─────────── */

.feenote {
  background: var(--panel);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.2rem);
}
.feenote__title {
  margin: 0 0 .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sea-mid);
}
.feenote__line {
  position: relative;
  margin: 0; padding-left: 1.1rem;
  font-size: .85rem; line-height: 1.6; color: var(--ink-2);
  max-width: 64ch;
}
.feenote__line::before {
  content: ''; position: absolute; left: .2rem; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sea-light);
}

/* в режиме брони меню только для просмотра — заказ оформляется в чате */
body.is-reserve .qty { display: none; }

/* ─────────── филиалы ─────────── */

.places {
  background: var(--panel);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: clamp(2rem, 5vw, 3.2rem) 0 clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.places .wrap { padding-inline: clamp(1.2rem, 3vw, 2.2rem); }
.places__list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 820px) { .places__list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }

.place { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .85rem 0; border-top: 1px solid var(--line); }
.place__main { display: flex; flex-direction: column; }
.place__city { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-mid); }
.place__street { font-weight: 700; font-size: .95rem; letter-spacing: -.015em; }
.place__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; }
.place__hours { font-size: .76rem; font-weight: 600; color: var(--sea-mid); }
.place__tel { font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.place__tel i { font-style: normal; font-weight: 700; color: var(--ink-3); }
.place__tel:hover { color: var(--sea); }
.place__wa { font-size: .74rem; color: var(--wa); font-weight: 700; }
.place__soon { font-size: .74rem; color: var(--ink-3); font-weight: 600; }


/* ─────────── подвал ─────────── */

.foot { padding: 0 0 6rem; color: #dceef4; }
.foot__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__logo { width: auto; height: 84px; }
.foot__tagline { margin: .7rem 0 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -.035em; max-width: 22ch; line-height: 1.3; }
.foot__links { display: grid; gap: .5rem; justify-items: start; }
.foot__links a { font-size: .9rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; }
.foot__links a:hover { border-bottom-color: currentColor; }
.foot__note { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .76rem; line-height: 1.6; color: rgba(255, 255, 255, .66); max-width: 70ch; }

/* ─────────── выбор филиала ─────────── */

.gate {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  padding: 1rem;
  background: rgba(6, 38, 50, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .26s var(--ease);
}
.gate.is-open { opacity: 1; }

.gate__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 88dvh; overflow-y: auto;
  background: var(--panel);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98);
  transition: transform .32s var(--ease);
}
.gate.is-open .gate__panel { transform: none; }

.gate__close {
  position: absolute; top: 1rem; right: 1rem;
  display: grid; place-items: center;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--surface-2); cursor: pointer;
}
.gate__close svg { width: 15px; height: 15px; fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }

.gate__back {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .38rem .8rem .38rem .55rem;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface-2); cursor: pointer;
  font-size: .76rem; font-weight: 700; color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.gate__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gate__back:hover { border-color: var(--sea); color: var(--ink); }
.gate__back:active { transform: scale(.97); }

.gate__logo { width: auto; height: 76px; margin-top: .4rem; }
.gate__back:not(.is-hidden) ~ .gate__logo { margin-top: 2.4rem; }
.gate__kk { margin: .8rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-mid); }
.gate__title { margin: .3rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.04em; line-height: 1.15; }
.gate__lede { margin: .6rem 0 1.3rem; font-size: .9rem; color: var(--ink-2); }

.gate__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }

.pick {
  width: 100%; text-align: left;
  display: grid; gap: .1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); cursor: pointer;
  transition: all .25s var(--ease);
}
.pick:hover:not(:disabled) { border-color: var(--sea); background: var(--foam); transform: translateY(-2px); }
.pick:active:not(:disabled) { transform: scale(.99); }
.pick:disabled { opacity: .55; cursor: not-allowed; }
.pick__city { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-mid); }
.pick__name { font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -.03em; }
.pick__addr { font-size: .82rem; color: var(--ink-2); }
.pick__hours { font-size: .74rem; font-weight: 600; color: var(--sea); }
.pick__soon { font-size: .72rem; font-weight: 700; color: var(--hot); }

/* ─────────── формы: бронь и данные гостя ─────────── */

.gate__form { display: grid; gap: .7rem; text-align: left; }

.fieldrow { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }

.field { display: grid; gap: .28rem; }
.field__label { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.field input {
  width: 100%;
  padding: .72rem .9rem;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: .92rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus {
  outline: none; border-color: var(--sea-light);
  box-shadow: 0 0 0 4px var(--foam);
}

.formerr {
  margin: 0; padding: .5rem .8rem;
  border-radius: var(--r-sm); background: var(--hot-soft);
  font-size: .8rem; font-weight: 600; color: var(--hot);
}

.checkout { display: grid; gap: .7rem; margin-bottom: .2rem; text-align: left; }
.checkout__title { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ─────────── корзина ─────────── */

.cartfab {
  position: fixed; left: 50%; bottom: 1.1rem; z-index: 45;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.1rem .8rem .95rem;
  border: 0; border-radius: 100px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform .3s var(--ease), background .25s var(--ease);
}
.cartfab svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cartfab:hover { background: var(--sea); }
.cartfab:active { transform: translateX(-50%) scale(.96); }
.cartfab.is-bump { animation: bump .45s var(--ease); }
@keyframes bump {
  0% { transform: translateX(-50%) scale(1); }
  40% { transform: translateX(-50%) scale(1.09); }
  100% { transform: translateX(-50%) scale(1); }
}
.cartfab__count {
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 100px; background: var(--hot);
  font-size: .72rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.cartfab__total { font-variant-numeric: tabular-nums; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 38, 50, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .28s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(430px, 100%);
  display: flex; flex-direction: column;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .34s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }

@media (max-width: 620px) {
  .drawer__panel {
    right: 0; left: 0; top: auto; width: auto; max-width: 100%;
    max-height: 92dvh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(100%);
  }
}

.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.3rem .8rem; }
.drawer__title { margin: .2rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.04em; }
.drawer__close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; flex-shrink: 0; }
.drawer__close svg { width: 15px; height: 15px; fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }

.drawer__branch { margin: 0 1.3rem .6rem; padding: .65rem .85rem; border-radius: var(--r-sm); background: var(--foam); display: grid; gap: .1rem; }
.drawer__branch b { font-size: .88rem; }
.drawer__branch span { font-size: .78rem; color: var(--ink-2); }

/* самовывоз ↔ доставка прямо в корзине */
.modeswitch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  margin: 0 1.3rem .7rem;
  padding: 3px; border: 1px solid var(--line); border-radius: 100px;
  background: var(--paper);
}
.modeswitch__btn {
  border: 0; border-radius: 100px; cursor: pointer;
  padding: .5rem .7rem; background: transparent;
  font-size: .8rem; font-weight: 700; color: var(--ink-3);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.modeswitch__btn:hover { color: var(--ink); }
.modeswitch__btn.is-active { background: var(--sea); color: #fff; }

/* доставку гость заказывает сам — предупреждаем до оформления */
.drawer__notice {
  margin: 0 0 .7rem;
  padding: .7rem .9rem;
  border-radius: var(--r-sm);
  background: var(--hot-soft);
  border-left: 3px solid var(--hot);
}
.drawer__notice-title {
  margin: 0 0 .2rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hot);
}
.drawer__notice-text { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }

/* flex-basis: auto — иначе длинное предупреждение о доставке съедает
   всю высоту и список заказа схлопывается в ноль */
.drawer__body { flex: 1 1 auto; min-height: 5rem; overflow-y: auto; padding: 0 1.3rem; }

/* ─────────── спасибо за заказ ─────────── */

.drawer__done { display: none; }
.drawer.is-done .drawer__done {
  flex: 1;
  display: grid; align-content: center; justify-items: center; gap: .55rem;
  padding: 2rem 1.6rem; text-align: center;
}
.drawer.is-done .drawer__branch,
.drawer.is-done .modeswitch,
.drawer.is-done .drawer__body,
.drawer.is-done .drawer__empty,
.drawer.is-done .drawer__foot { display: none; }

.drawer__done-mark {
  width: 62px; height: 62px;
  fill: none; stroke: var(--wa); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.drawer__done-title { margin: .4rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.04em; }
.drawer__done-text { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.drawer__done-branch { margin: .2rem 0 .9rem; font-size: .82rem; font-weight: 700; color: var(--sea); }
.drawer__done .btn--full + .btn--full { margin-top: .5rem; }

.line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .7rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.line__body { min-width: 0; }
.line__name { margin: 0; font-size: .89rem; font-weight: 700; line-height: 1.3; }
.line__name span { font-weight: 600; color: var(--ink-3); }
.line__price { margin: .1rem 0 0; font-size: .76rem; color: var(--ink-3); }
.line__sum { margin: 0; font-family: var(--font-display); font-size: .88rem; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }

.stepper { display: inline-flex; align-items: center; gap: .1rem; border: 1px solid var(--line-2); border-radius: 100px; padding: .12rem; }
.stepper button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; font-size: 1rem; font-weight: 700; line-height: 1; cursor: pointer; }
.stepper button:hover { background: var(--surface-2); }
.stepper button:active { transform: scale(.9); }
.stepper span { min-width: 20px; text-align: center; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 2rem 2.2rem; text-align: center; }
.drawer__empty svg { width: 66px; height: 33px; fill: none; stroke: var(--line-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: var(--line-2); }
.drawer__empty p { margin: 0; font-size: .88rem; color: var(--ink-2); max-width: 30ch; }

.drawer__foot { padding: 1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.sum { margin: 0 0 .9rem; display: grid; gap: .3rem; }
.sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sum__row dt { font-size: .84rem; color: var(--ink-2); }
.sum__row dd { margin: 0; font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum__row--total dt { font-weight: 700; color: var(--ink); }
.sum__row--total dd { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.035em; }
.drawer__note { margin: .7rem 0 0; font-size: .74rem; color: var(--ink-3); text-align: center; }

/* ─────────── тост ─────────── */

.toast {
  position: fixed; left: 50%; bottom: 5.2rem; z-index: 80;
  transform: translate(-50%, 12px);
  padding: .6rem 1.1rem; border-radius: 100px;
  background: var(--ink); color: #fff;
  font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ─────────── появление ─────────── */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}

@media (max-width: 719px) {
  :root { --topbar-h: 180px; }
  .topbar__row { flex-wrap: wrap; row-gap: .5rem; }
  .topbar__tools { display: contents; }
  /* шапка держится в две строки: знак + филиал + язык, затем поиск */
  .branchbtn { order: 1; min-width: 0; max-width: 42vw; }
  .branchbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lang { order: 2; padding: 2px; }
  .lang__btn { padding: .3rem .5rem; font-size: .64rem; }
  .search { order: 3; flex: 1 1 100%; max-width: none; }
  .brand__logo { height: 38px; }
  .brand__type { display: none; }
  .fieldrow { grid-template-columns: 1fr; }
  .hero__copy { padding: 1.4rem 1.2rem 1.6rem; }
  .fact dd { font-size: 1.2rem; }
  .cartfab { bottom: .9rem; }
}

/* ─────────── казахская типографика ───────────
   Қ, ғ, ң, ү, ұ, ә, ө несут хвосты и лишние штрихи: при плотном
   трекинге и line-height ниже единицы строки слипаются. Гарнитура
   та же (Unbounded), меняются только интерлиньяж и трекинг. */

html[lang="kk"] .hero__title {
  /* кегль тот же, что в русской версии — меняются только просветы */
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

html[lang="kk"] .h2 {
  line-height: 1.14;
  letter-spacing: -.02em;
  text-wrap: balance;
}

html[lang="kk"] .sec__title { line-height: 1.1; letter-spacing: -.025em; }
html[lang="kk"] .gate__title { line-height: 1.22; letter-spacing: -.025em; }
html[lang="kk"] .drawer__title { line-height: 1.2; letter-spacing: -.025em; }
html[lang="kk"] .set__name { line-height: 1.3; letter-spacing: -.02em; }
html[lang="kk"] .foot__tagline { line-height: 1.4; letter-spacing: -.02em; }
html[lang="kk"] .fact dd { letter-spacing: -.03em; }
html[lang="kk"] .empty h3 { letter-spacing: -.025em; }

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