/* family Delivery — два мира и общий чек */

:root {
  --font: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);

  /* Оболочка family Delivery */
  --shell: #141311;
  --shell-ink: #f4f1ea;

  /* Чек корзины — термобумага */
  --paper: #fbfaf6;
  --paper-2: #f2efe8;
  --paper-ink: #1a1815;
  --paper-muted: #6d665d;
  --paper-line: rgba(26, 24, 21, 0.12);

  /* The Point */
  --pt-bg: #0d0f0d;
  --pt-bg-2: #151815;
  --pt-ink: #eceee8;
  --pt-muted: #a6ada1;
  --pt-line: rgba(236, 238, 232, 0.13);
  --pt-green: #2f9a5c;
  --pt-green-deep: #1f7a45;
  --pt-leaf: #3d7f3a;

  /* Sushi Academy */
  --sa-bg: #f4f0e9;
  --sa-bg-2: #ffffff;
  --sa-ink: #1c1814;
  --sa-muted: #6a6056;
  --sa-line: rgba(28, 24, 20, 0.12);
  --sa-salmon: #e8622c;
  --sa-salmon-deep: #c94c1a;
  --sa-laurel: #2f6d36;
  --sa-ceramic: #26467a;

  /* Alco Room */
  --ar-bg: #24150e;
  --ar-bg-2: #301c12;
  --ar-ink: #f6ebdc;
  --ar-muted: #c9b39b;
  --ar-line: rgba(246, 235, 220, 0.14);
  --ar-amber: #e3a33b;
  --ar-amber-deep: #c98a24;
  --ar-wood:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0 2px, transparent 2px 118px),
    repeating-linear-gradient(90deg, rgba(255, 220, 180, 0.035) 0 1px, transparent 1px 7px, rgba(0, 0, 0, 0.05) 7px 9px, transparent 9px 23px),
    linear-gradient(90deg, #2b1810, #3a2015 22%, #2a170f 41%, #3b1f15 63%, #27150d 81%, #341d12);

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
}

/* Активный мир задаёт рабочие токены */
body {
  --bg: var(--shell);
  --bg-2: #1d1b18;
  --ink: var(--shell-ink);
  --muted: #b3ab9f;
  --line: rgba(244, 241, 234, 0.14);
  --accent: #f4f1ea;
  --accent-ink: #141311;
  --accent-deep: #ffffff;
}
body[data-theme='delivery'] {
  --bg: var(--shell);
  --bg-2: #1d1b18;
  --ink: var(--shell-ink);
  --muted: #b3ab9f;
  --line: rgba(244, 241, 234, 0.14);
  --accent: var(--shell-ink);
  --accent-ink: var(--shell);
  --accent-deep: #ffffff;
}
body[data-theme='alco'] {
  --bg: var(--ar-bg);
  --bg-2: var(--ar-bg-2);
  --ink: var(--ar-ink);
  --muted: var(--ar-muted);
  --line: var(--ar-line);
  --accent: var(--ar-amber);
  --accent-ink: #20120a;
  --accent-deep: var(--ar-amber-deep);
}
body[data-theme='point'] {
  --bg: var(--pt-bg);
  --bg-2: var(--pt-bg-2);
  --ink: var(--pt-ink);
  --muted: var(--pt-muted);
  --line: var(--pt-line);
  --accent: var(--pt-green);
  --accent-ink: #f3fff6;
  --accent-deep: var(--pt-green-deep);
}
body[data-theme='sushi'] {
  --bg: var(--sa-bg);
  --bg-2: var(--sa-bg-2);
  --ink: var(--sa-ink);
  --muted: var(--sa-muted);
  --line: var(--sa-line);
  --accent: var(--sa-salmon);
  --accent-ink: #ffffff;
  --accent-deep: var(--sa-salmon-deep);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 64px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
body[data-theme='point'] {
  background: var(--pt-bg) url('img/brand/point-slate.webp') center top / 1800px auto repeat-y;
}
body[data-theme='sushi'] {
  background: var(--sa-bg) url('img/brand/sushi-wood.webp') center top / 1400px auto repeat;
}
body[data-theme='alco'] {
  background: var(--ar-wood);
  background-attachment: fixed;
}
body.locked {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
html {
  scrollbar-color: color-mix(in srgb, var(--ink) 30%, transparent) transparent;
}
.num,
.price {
  font-variant-numeric: tabular-nums lining-nums;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.noscript {
  padding: 24px;
  text-align: center;
}
svg {
  display: block;
}

/* ---------- Шапка ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.3s var(--ease-out), background-color 0.4s var(--ease-out);
}
body[data-theme='home'] .top {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
}
.top--scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0, 0, 0, 0.45);
}
body[data-theme='home'] .top--scrolled {
  box-shadow: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: start;
  white-space: nowrap;
}
.brand__mark {
  width: 30px;
  height: 30px;
}
.brand__word {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand__light {
  font-weight: 300;
}
body[data-theme='home'] .brand {
  color: var(--pt-ink);
}

.switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
}
.switch[hidden] {
  display: none;
}
.switch__item {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, background-color 0.3s var(--ease-out);
}
.switch__item:hover {
  color: var(--ink);
}
.switch__item[aria-current='page'] {
  background: var(--ink);
  color: var(--bg);
}

.top__tools {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  display: flex;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 3px;
}
body[data-theme='home'] .lang {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.lang button {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 9px;
  border-radius: 999px;
  color: inherit;
  opacity: 0.62;
  transition: opacity 0.2s, background-color 0.2s;
}
.lang button:hover {
  opacity: 1;
}
.lang button[aria-pressed='true'] {
  opacity: 1;
  background: color-mix(in srgb, currentColor 16%, transparent);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}
.cart-btn:hover {
  background: var(--accent-deep);
}
.cart-btn:active {
  transform: scale(0.97);
}
.cart-btn svg {
  width: 22px;
  height: 22px;
}
.cart-btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.cart-btn__count[hidden] {
  display: none;
}
.bump {
  animation: bump 0.45s var(--ease-out);
}
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ---------- Главная: диптих ---------- */

.diptych {
  position: relative;
  display: flex;
  min-height: 100svh;
  min-height: max(640px, 100svh);
}
.door {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  padding: calc(var(--header-h) + 40px) clamp(24px, 4.5vw, 72px) clamp(40px, 7vh, 80px);
  transition: flex-grow 0.9s var(--ease-out);
}
@media (hover: hover) and (min-width: 900px) {
  .diptych:hover .door {
    flex-grow: 0.86;
  }
  .diptych .door:hover {
    flex-grow: 1.14;
  }
}
.door__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.door__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 460px;
}
.door__tag {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.45;
  max-width: 34ch;
}
.door__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: gap 0.4s var(--ease-out), background-color 0.25s;
}
.door__cta svg {
  width: 20px;
  height: 20px;
}
.door:hover .door__cta {
  gap: 16px;
}
.door__addr {
  position: absolute;
  top: calc(var(--header-h) + 18px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0.78;
}
.door__addr svg {
  width: 16px;
  height: 16px;
}

/* The Point: сланец, папоротник, тонкий разреженный капслок */
.door--point {
  color: var(--pt-ink);
  background: var(--pt-bg) url('img/brand/point-slate.webp') center / cover;
}
.door--point .door__addr {
  left: clamp(24px, 4.5vw, 72px);
}
.fern {
  position: absolute;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.door--point .fern--1 {
  height: 78%;
  left: -9%;
  top: -14%;
  transform: rotate(152deg);
  opacity: 0.92;
}
.door--point .fern--2 {
  height: 70%;
  right: -12%;
  bottom: -16%;
  transform: rotate(-24deg);
  opacity: 0.9;
}
.door--point .door__plates {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.plate {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(255, 255, 255, 0.04);
  transition: transform 1.2s var(--ease-out);
}
.plate--a {
  width: clamp(220px, 23vw, 380px);
  right: 14%;
  top: 15%;
}
.plate--b {
  width: clamp(120px, 10.5vw, 180px);
  right: 6%;
  top: 46%;
}
.door--point:hover .plate--a {
  transform: rotate(-8deg) scale(1.03);
}
.door--point:hover .plate--b {
  transform: rotate(10deg) translateY(6px);
}
.point-title {
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(42px, 5.6vw, 92px);
  line-height: 0.95;
  margin: 0;
  margin-right: -0.2em;
}
.point-sub {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(11px, 0.9vw, 13px);
  margin: 0;
  opacity: 0.9;
}
.door--point .door__tag {
  color: var(--pt-muted);
}
.door--point .door__cta {
  background: var(--pt-green);
  color: #f3fff6;
}
.door--point:hover .door__cta {
  background: var(--pt-green-deep);
}

/* Sushi Academy: выбеленное дерево, эмблема, вырезанная подача */
.door--sushi {
  color: var(--sa-ink);
  background: var(--sa-bg) url('img/brand/sushi-wood.webp') center / cover;
  align-items: flex-end;
  text-align: right;
}
.door--sushi .door__body {
  align-items: flex-end;
}
.door--sushi .door__addr {
  right: clamp(24px, 4.5vw, 72px);
}
.door--sushi .door__plates {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cutout {
  position: absolute;
  width: clamp(300px, 27vw, 500px);
  left: -3%;
  top: 16%;
  filter: drop-shadow(0 34px 34px rgba(60, 40, 20, 0.28));
  transition: transform 1.2s var(--ease-out);
}
.door--sushi:hover .cutout {
  transform: rotate(-4deg) translateX(10px);
}
.sushi-emblem {
  width: clamp(92px, 8vw, 124px);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(60, 40, 20, 0.2));
}
.sushi-wordmark {
  width: clamp(200px, 19vw, 300px);
  height: auto;
  margin-top: -6px;
}
.door--sushi .door__tag {
  color: var(--sa-muted);
}
.door--sushi .door__cta {
  background: var(--sa-ink);
  color: #fff;
}
.door--sushi:hover .door__cta {
  background: var(--sa-salmon);
}

/* Печать на шве */
.seal {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  z-index: 5;
  border-radius: 50%;
  background: var(--shell);
  color: var(--shell-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: left 0.9s var(--ease-out);
}
.seal svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: spin 40s linear infinite;
}
.seal text {
  fill: currentColor;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
}
.seal__plus {
  font-weight: 200;
  font-size: 44px;
  line-height: 1;
  margin-top: -4px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Главная: условия ---------- */

.terms {
  background: var(--shell);
  color: var(--shell-ink);
  padding: clamp(64px, 10vw, 128px) var(--gutter) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 48px;
}
.terms__lead {
  grid-column: 1 / span 8;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.terms__list {
  grid-column: 1 / -1;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}
.terms__list > div {
  padding: 28px 28px 8px 0;
}
.terms__list > div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(244, 241, 234, 0.16);
}
.terms__list dt {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.terms__list dd {
  margin: 0;
  color: #b3ab9f;
  max-width: 34ch;
}
.how {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  padding-top: 8px;
}
.how__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #b3ab9f;
}
.how__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}
.how__list li {
  counter-increment: how;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.07);
  font-weight: 500;
}
.how__list li::before {
  content: counter(how);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--shell-ink);
  color: var(--shell);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Подвал ---------- */

.foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: end;
  padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--ink);
}
body[data-theme='home'] .foot {
  background: var(--shell);
  color: var(--shell-ink);
  border-color: rgba(244, 241, 234, 0.16);
}
.foot__brand {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
}
.foot__text {
  margin: 0;
  color: var(--muted);
  grid-column: 1;
  max-width: 48ch;
}
.foot__rest {
  grid-column: 1;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.foot__rest li {
  display: flex;
  flex-direction: column;
}
.foot__rest a {
  font-weight: 600;
  text-decoration: none;
}
.foot__rest a:hover {
  text-decoration: underline;
}
.foot__rest span {
  color: var(--muted);
  font-size: 14px;
}
.foot__phone {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.foot__phone svg {
  width: 22px;
  height: 22px;
}

/* ---------- Ресторан: шапка ---------- */

.rhero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  min-height: clamp(260px, 38vh, 400px);
  padding: 48px var(--gutter) 40px;
}
.rhero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.rhero--point .fern--1 {
  height: 150%;
  right: 30%;
  top: -70%;
  transform: rotate(128deg);
  opacity: 0.85;
}
.rhero--point .fern--2 {
  height: 120%;
  right: 44%;
  top: 18%;
  transform: rotate(-36deg);
  opacity: 0.8;
}
.point-title--hero {
  font-size: clamp(46px, 8vw, 112px);
}
.rhero--point .point-sub {
  margin-top: 14px;
}
.rhero__body--sushi {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.rhero--sushi .sushi-emblem {
  width: clamp(88px, 10vw, 150px);
}
.rhero--sushi .sushi-wordmark {
  width: clamp(200px, 26vw, 380px);
  margin: 0;
}
.rhero__meta {
  text-align: right;
  display: grid;
  gap: 6px;
  justify-items: end;
  max-width: 360px;
}
.rhero__tag {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  text-wrap: balance;
}
.rhero__addr {
  margin: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.rhero__addr svg {
  width: 16px;
  height: 16px;
}
.rhero__other {
  display: none;
}
@media (max-width: 760px) {
  .rhero__other {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .rhero__other svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Категории ---------- */

.cats {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-block: 1px solid var(--line);
}
.cats__track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px var(--gutter);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cats__track::-webkit-scrollbar {
  display: none;
}
.cats__item {
  flex: none;
  scroll-snap-align: start;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, background-color 0.3s var(--ease-out);
}
.cats__item:hover {
  color: var(--ink);
}
.cats__item[aria-current] {
  background: var(--accent);
  color: var(--accent-ink);
}
body[data-theme='sushi'] .cats__item[aria-current] {
  background: var(--sa-ink);
  color: #fff;
}

/* ---------- Меню ---------- */

.menu {
  padding: 8px var(--gutter) 64px;
  max-width: 1440px;
  margin: 0 auto;
}
.menu__cat {
  padding-top: clamp(40px, 6vw, 72px);
}
.menu__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.menu__head h2 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
body[data-theme='point'] .menu__head h2 {
  font-weight: 250;
  font-size: clamp(26px, 3.2vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
body[data-theme='sushi'] .menu__head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
}
.menu__note {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.dish__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.dish__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-out);
}
.dish__noimg {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 200;
  letter-spacing: 0.04em;
  opacity: 0.42;
}
.dish__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 4px 4px;
}
.dish__name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.dish__desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* The Point: тёмная подача, круглые тарелки как в меню */
body[data-theme='point'] .dish__media {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.06), transparent 75%);
}
body[data-theme='point'] .dish__media img {
  width: auto;
  height: 92%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.9), 0 0 0 5px rgba(255, 255, 255, 0.05);
}
body[data-theme='point'] .dish:hover .dish__media img {
  transform: rotate(-6deg) scale(1.03);
}
body[data-theme='point'] .dish__noimg {
  width: 92%;
  height: auto;
  aspect-ratio: 1;
  max-height: 92%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--pt-line);
}

/* Sushi Academy: вырезанная подача на светлом дереве */
body[data-theme='sushi'] .dish__media {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(28, 24, 20, 0.06);
}
body[data-theme='sushi'] .dish__media img {
  object-fit: contain;
  padding: 8% 6%;
  filter: drop-shadow(0 14px 14px rgba(60, 40, 20, 0.22));
}
body[data-theme='sushi'] .dish:hover .dish__media img {
  transform: translateY(-4px) scale(1.04);
}

.add {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}
.add:hover {
  background: var(--accent-deep);
}
.add:active {
  transform: scale(0.92);
}
.add svg {
  width: 22px;
  height: 22px;
}
.add__q {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
body[data-theme='sushi'] .add {
  background: var(--sa-ink);
  color: #fff;
}
body[data-theme='sushi'] .add:hover {
  background: var(--sa-salmon);
}

.stepper {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  animation: grow 0.35s var(--ease-out);
}
body[data-theme='sushi'] .stepper {
  background: var(--sa-ink);
  color: #fff;
}
@keyframes grow {
  from { clip-path: inset(0 0 0 calc(100% - 44px) round 999px); }
  to { clip-path: inset(0 0 0 0 round 999px); }
}
.stepper button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.stepper button:hover {
  background: rgba(255, 255, 255, 0.14);
}
.stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}
.stepper svg {
  width: 18px;
  height: 18px;
}
.stepper__q {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.crosslink {
  margin-top: clamp(56px, 8vw, 96px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.crosslink span {
  font-size: 15px;
  opacity: 0.75;
}
.crosslink strong {
  font-size: clamp(22px, 3vw, 34px);
  margin-right: auto;
}
.crosslink svg {
  width: 28px;
  height: 28px;
  transition: transform 0.4s var(--ease-out);
}
.crosslink:hover svg {
  transform: translateX(6px);
}
.crosslink--point {
  background: var(--pt-bg) url('img/brand/point-slate.webp') center / cover;
  color: var(--pt-ink);
}
.crosslink--point strong {
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.crosslink--sushi {
  background: var(--sa-bg) url('img/brand/sushi-wood.webp') center / cover;
  color: var(--sa-ink);
}
.crosslink--sushi strong {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- Корзина-чек ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 10, 9, 0.5);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.scrim.open {
  opacity: 1;
}
.cart {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  padding: 12px;
  transform: translateX(105%);
  transition: transform 0.42s var(--ease-out);
}
.cart.open {
  transform: none;
}
.cart__paper {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  --accent: var(--paper-ink);
  --accent-ink: #fff;
  --muted: var(--paper-muted);
  --line: var(--paper-line);
  scrollbar-color: rgba(26, 24, 21, 0.25) transparent;
}
.cart__paper ::selection {
  background: var(--paper-ink);
  color: #fff;
}
.cart__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 18px 14px 24px;
  background: var(--paper);
}
.cart__head h2 {
  margin: 0 auto 0 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.2s;
}
.icon-btn:hover {
  background: var(--paper-2);
}
.icon-btn svg {
  width: 22px;
  height: 22px;
}

.tickets {
  padding: 4px 16px 0;
}
.ticket {
  padding: 14px 8px 18px;
}
.ticket__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ticket__head h3 {
  margin: 0 auto 0 0;
  font-size: 17px;
  font-weight: 650;
}
.ticket--point .ticket__head h3 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 15px;
}
.mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
}
.mark--point {
  display: grid;
  place-items: center;
  background: var(--pt-bg);
  color: var(--pt-ink);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  box-shadow: inset 0 0 0 1.5px var(--pt-green);
}
.mark--sushi {
  object-fit: contain;
}
.ticket__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--paper-2);
}
.ticket__more svg {
  width: 16px;
  height: 16px;
}
.lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}
.line + .line {
  border-top: 1px solid var(--paper-line);
}
.line__img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 13px;
  color: var(--paper-muted);
}
.ticket--point .line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ticket--sushi .line__img img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.line__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.line__name {
  font-weight: 550;
  font-size: 15px;
  line-height: 1.25;
}
.line__opt {
  font-size: 13px;
  color: var(--paper-muted);
}
.line__price {
  font-size: 14px;
  color: var(--paper-muted);
  margin-top: 2px;
}
.stepper--sm {
  height: 36px;
  background: var(--paper-2) !important;
  color: var(--paper-ink) !important;
  animation: none;
}
.stepper--sm button {
  width: 36px;
  height: 36px;
}
.stepper--sm button:hover {
  background: rgba(26, 24, 21, 0.08);
}
.stepper--sm svg {
  width: 16px;
  height: 16px;
}
.ticket__sum {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 24, 21, 0.3);
  font-weight: 600;
  font-size: 15px;
}

/* Перфорация между ресторанами — чек рвётся на две части */
.perf {
  position: relative;
  height: 24px;
  margin: 0 -16px;
}
.perf::before {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  border-top: 2px dotted rgba(26, 24, 21, 0.28);
}
.perf::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 50%, var(--scrim-hole, #2b2a28) 10px, transparent 10.5px), radial-gradient(circle at 100% 50%, var(--scrim-hole, #2b2a28) 10px, transparent 10.5px);
  opacity: 0.55;
}

.sum {
  margin: 8px 16px 0;
  padding: 18px 8px 4px;
  border-top: 2px solid var(--paper-ink);
}
.sum__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-size: 15px;
}
.sum__row--total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  align-items: baseline;
}
.sum__row--total small {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper-muted);
}
.sum__hint {
  margin: 2px 0 6px;
  font-size: 13px;
  color: var(--paper-muted);
  max-width: 40ch;
}
.free {
  margin: 12px 0 4px;
}
.free__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.free__bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pt-green), var(--sa-salmon));
  transform: scaleX(var(--s));
  transform-origin: left center;
  transition: transform 0.7s var(--ease-out);
}
.free__text {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 550;
  color: var(--paper-muted);
}
.free--done .free__text {
  color: var(--pt-green-deep);
}
.cart__cta {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: 16px 24px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, var(--paper) 30%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), background-color 0.2s, opacity 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 20px;
  height: 20px;
}
.btn--block {
  width: 100%;
}
.btn--grow {
  flex: 1;
}
.btn--ink {
  background: var(--paper-ink);
  color: #fff;
}
.btn--ink:hover {
  background: #000;
}
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover {
  background: var(--accent-deep);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.is-loading svg {
  animation: nudge 0.9s var(--ease-out) infinite;
}
@keyframes nudge {
  50% { transform: translate(3px, -3px); }
}

/* Пустая корзина */
.empty {
  padding: 24px 24px 32px;
}
.empty__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.empty__text {
  margin: 8px 0 24px;
  color: var(--paper-muted);
}
.empty__links {
  display: grid;
  gap: 10px;
}
.empty__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s var(--ease-out);
}
.empty__link span {
  margin-right: auto;
}
.empty__link svg {
  width: 20px;
  height: 20px;
}
.empty__link:hover {
  transform: translateX(4px);
}
.empty__link--point {
  background: var(--pt-bg) url('img/brand/point-slate.webp') center / cover;
  color: var(--pt-ink);
}
.empty__link--point span {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.empty__link--sushi {
  background: var(--sa-bg) url('img/brand/sushi-wood.webp') center / cover;
  color: var(--sa-ink);
}

/* Форма */
.form {
  display: flex;
  flex-direction: column;
  padding: 0 24px calc(24px + env(safe-area-inset-bottom));
}
.form .sum {
  margin: 12px 0 8px;
  padding-inline: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field label {
  font-weight: 600;
  font-size: 14px;
}
.field__opt {
  font-weight: 400;
  color: var(--paper-muted);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(26, 24, 21, 0.18);
  background: #fff;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8a8279;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--paper-ink);
  box-shadow: 0 0 0 3px rgba(26, 24, 21, 0.12);
}
.field [aria-invalid='true'] {
  border-color: #b8321b;
  box-shadow: 0 0 0 3px rgba(184, 50, 27, 0.14);
}
.affix {
  position: relative;
}
.affix__pre {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper-muted);
  pointer-events: none;
}
.affix input {
  padding-left: 34px;
}
.field__hint {
  margin: 0;
  font-size: 13px;
  color: var(--paper-muted);
}
.field__err,
.form__err {
  margin: 0;
  font-size: 13px;
  font-weight: 550;
  color: #b8321b;
}
.form__err {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(184, 50, 27, 0.08);
}
.field__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}
.chip:hover {
  background: #e8e3da;
}
.chip svg {
  width: 18px;
  height: 18px;
}
.chip--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--paper-line);
}
.chip[hidden] {
  display: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Готово */
.done {
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.done__check {
  width: 64px;
  height: 64px;
  color: var(--pt-green-deep);
  margin-bottom: 20px;
}
.done__check svg {
  width: 100%;
  height: 100%;
}
.done__check .draw {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.7s 0.15s var(--ease-out) forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.done__label {
  margin: 0;
  font-size: 14px;
  color: var(--paper-muted);
}
.done__id {
  margin: 2px 0 16px;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.done__text {
  margin: 0 0 28px;
  font-size: 17px;
  max-width: 36ch;
}

/* ---------- Лист блюда ---------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 10, 9, 0);
  transition: background-color 0.3s var(--ease-out);
}
.sheet.open {
  background: rgba(10, 10, 9, 0.55);
}
.sheet__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 24px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
  --accent: var(--paper-ink);
  --accent-ink: #fff;
  --accent-deep: #000;
}
.sheet[data-theme='point'] .sheet__panel {
  --accent: var(--pt-green);
  --accent-ink: #f3fff6;
  --accent-deep: var(--pt-green-deep);
}
.sheet[data-theme='sushi'] .sheet__panel {
  --accent: var(--sa-salmon);
  --accent-ink: #fff;
  --accent-deep: var(--sa-salmon-deep);
}
.sheet.open .sheet__panel {
  opacity: 1;
  transform: none;
}
.sheet__media {
  min-height: 300px;
  display: grid;
  place-items: center;
}
.sheet[data-theme='point'] .sheet__media {
  background: var(--pt-bg) url('img/brand/point-slate.webp') center / cover;
}
.sheet[data-theme='point'] .sheet__media img {
  width: 82%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.9);
}
.sheet[data-theme='sushi'] .sheet__media {
  background: var(--sa-bg) url('img/brand/sushi-wood.webp') center / cover;
}
.sheet[data-theme='sushi'] .sheet__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  filter: drop-shadow(0 20px 18px rgba(60, 40, 20, 0.25));
}
.sheet__media--empty .dish__noimg {
  color: var(--pt-ink);
}
.sheet[data-theme='sushi'] .sheet__media--empty .dish__noimg {
  color: var(--sa-ink);
}
.sheet__body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
}
.sheet__rest {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-muted);
}
.sheet__name {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.02em;
  padding-right: 40px;
}
.sheet__desc {
  margin: 12px 0 0;
  color: var(--paper-muted);
}
.sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.3);
}
.sheet__close svg {
  width: 22px;
  height: 22px;
}
.choice {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice legend {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 0;
}
.choice__opt {
  position: relative;
}
.choice__opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.choice__opt span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(26, 24, 21, 0.2);
  font-weight: 550;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.choice__opt input:checked + span {
  background: var(--paper-ink);
  color: #fff;
  box-shadow: none;
}
.choice__opt input:focus-visible + span {
  outline: 2px solid var(--paper-ink);
  outline-offset: 2px;
}
.sheet__buy {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.stepper--lg {
  height: 54px;
  background: var(--paper-2) !important;
  color: var(--paper-ink) !important;
  animation: none;
}
.stepper--lg button {
  width: 50px;
  height: 54px;
}
.stepper--lg button:hover {
  background: rgba(26, 24, 21, 0.06);
}

/* ---------- Тост ---------- */

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--paper-ink);
  color: #fff;
  font-weight: 550;
  font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out);
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 760px) {
  .toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

.fail {
  min-height: 60svh;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  .top {
    grid-template-columns: auto 1fr auto;
  }
  .switch {
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .diptych {
    flex-direction: column;
    min-height: 0;
  }
  .door {
    min-height: 74svh;
    padding-top: calc(var(--header-h) + 56px);
  }
  .door--sushi {
    min-height: 70svh;
    padding-top: 96px;
  }
  .door--sushi .door__addr {
    top: 88px;
  }
  .seal {
    width: 112px;
    height: 112px;
  }
  .seal__plus {
    font-size: 36px;
  }
  .plate--a {
    right: -4%;
    top: 22%;
    width: 58vw;
    max-width: 340px;
  }
  .plate--b {
    right: 46%;
    top: 16%;
    width: 30vw;
    max-width: 180px;
  }
  .cutout {
    width: 92vw;
    max-width: 560px;
    left: -10%;
    top: 12%;
  }
  .terms__lead {
    grid-column: 1 / -1;
  }
  .terms__list {
    grid-template-columns: 1fr;
  }
  .terms__list > div,
  .terms__list > div + div {
    padding: 22px 0;
    border-left: 0;
  }
  .terms__list > div + div {
    border-top: 1px solid rgba(244, 241, 234, 0.16);
  }
  .rhero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 28px;
    gap: 18px;
  }
  .rhero__meta {
    text-align: left;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }
  .top {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .switch {
    position: fixed;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    display: none;
  }
  .brand__word {
    font-size: 17px;
  }
  .brand__mark {
    width: 26px;
    height: 26px;
  }
  .cart-btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .cart-btn__label {
    display: none;
  }
  .cart-btn__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    box-shadow: 0 0 0 2px var(--accent);
  }
  .lang button {
    padding: 6px 7px;
  }

  /* В меню — список: фото слева, текст справа */
  .grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .dish {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .dish__media {
    aspect-ratio: 1;
    border-radius: 16px;
  }
  .dish__body {
    padding: 2px 0 0;
  }
  .dish__name {
    font-size: 16px;
  }
  .dish__desc {
    -webkit-line-clamp: 2;
    font-size: 13.5px;
  }
  .dish__foot {
    padding-top: 10px;
  }
  .menu {
    padding-bottom: 120px;
  }
  .cats__item {
    padding: 8px 14px;
  }
  .crosslink {
    flex-wrap: wrap;
  }
  .foot {
    grid-template-columns: 1fr;
  }
  .foot__phone {
    grid-column: 1;
    grid-row: auto;
  }
  body[data-theme='point'] .foot,
  body[data-theme='sushi'] .foot {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .cart {
    top: auto;
    width: 100%;
    height: 94svh;
    padding: 0;
    transform: translateY(102%);
  }
  .cart__paper {
    border-radius: 24px 24px 0 0;
  }
  .cart__paper::before {
    content: '';
    display: block;
    flex: none;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    margin: 10px auto -4px;
    background: rgba(26, 24, 21, 0.18);
  }

  .sheet {
    padding: 0;
    align-items: end;
  }
  .sheet__panel {
    grid-template-columns: 1fr;
    border-radius: 24px 24px 0 0;
    max-height: 94svh;
    transform: translateY(40px);
  }
  .sheet__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .sheet[data-theme='point'] .sheet__media img {
    width: 62%;
  }
  .sheet__body {
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  }
  .sheet__name {
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .lang button {
    padding: 6px 5px;
    font-size: 11px;
  }
  .brand__word {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- Ссылка «Доставка» в шапке ---------- */

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}
.nav-link svg {
  width: 22px;
  height: 22px;
}
.nav-link:hover,
.nav-link[aria-current] {
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.terms__calc {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--shell-ink);
  color: var(--shell);
  font-weight: 650;
  text-decoration: none;
  transition: gap 0.4s var(--ease-out);
}
.terms__calc svg {
  width: 22px;
  height: 22px;
}
.terms__calc:hover {
  gap: 16px;
}

/* ---------- Часы работы (завтраки) ---------- */

.menu__hours {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
}
.menu__hours svg {
  width: 16px;
  height: 16px;
}
.menu__hours--open {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.dish--off .dish__media img {
  filter: grayscale(0.85) brightness(0.8);
  opacity: 0.7;
}
body[data-theme='sushi'] .dish--off .dish__media img {
  filter: grayscale(0.85) drop-shadow(0 14px 14px rgba(60, 40, 20, 0.12));
}
.closed-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
}
.closed-tag svg {
  width: 16px;
  height: 16px;
}
.btn--off {
  background: var(--paper-2);
  color: var(--paper-muted);
  cursor: not-allowed;
}
.btn--off:disabled {
  opacity: 1;
  cursor: not-allowed;
}
.line--off .line__img img {
  filter: grayscale(1);
  opacity: 0.6;
}
.line__warn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #b8321b;
}
.line__warn svg {
  width: 14px;
  height: 14px;
}
.notice {
  margin: 12px 16px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(184, 50, 27, 0.08);
  color: #8f2614;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.form .notice {
  margin: 0 0 12px;
}
.notice p {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
}
.sum__hint a {
  color: var(--paper-ink);
  font-weight: 600;
}
.sum__hint--warn {
  color: #b8321b;
  font-weight: 550;
}
.muted {
  color: var(--paper-muted);
}
.btn--ink:disabled {
  background: #8c8780;
}

/* ---------- Страница доставки ---------- */

.dl {
  display: grid;
  grid-template-columns: minmax(360px, 520px) 1fr;
  min-height: calc(100svh - var(--header-h));
}
.dl__panel {
  padding: clamp(32px, 4vw, 56px) var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.dl__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.dl__lead {
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 44ch;
}
.dl__map {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  border-left: 1px solid var(--line);
}
#map {
  width: 100%;
  height: 100%;
  background: #1b1a18;
}
.map__fail {
  padding: 24px;
  color: var(--muted);
}

.seg {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0;
}
.seg__opt {
  position: relative;
}
.seg__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.seg__opt span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 550;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.seg__opt input:checked + span {
  background: var(--shell-ink);
  color: var(--shell);
  box-shadow: none;
}
.seg__opt input:focus-visible + span {
  outline: 2px solid var(--shell-ink);
  outline-offset: 2px;
}

.calc {
  display: grid;
  gap: 10px;
}
.calc__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.calc__row {
  display: flex;
  gap: 8px;
}
.calc__row input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.2);
  background: rgba(244, 241, 234, 0.06);
  color: var(--shell-ink);
  font-size: 16px;
}
.calc__row input::placeholder {
  color: #8f877c;
}
.calc__row input:focus {
  outline: none;
  border-color: var(--shell-ink);
  box-shadow: 0 0 0 3px rgba(244, 241, 234, 0.14);
}
.btn--light {
  background: var(--shell-ink);
  color: var(--shell);
}
.btn--light:hover {
  background: #fff;
}
.calc__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.chip--dark {
  background: rgba(244, 241, 234, 0.08);
  color: var(--shell-ink);
}
.chip--dark:hover {
  background: rgba(244, 241, 234, 0.14);
}
.calc__hint {
  font-size: 14px;
  color: var(--muted);
}

.result {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--paper-ink);
  display: grid;
  gap: 4px;
  justify-items: start;
  animation: rise-in 0.45s var(--ease-out);
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.result__fee {
  margin: 0;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.result__km {
  margin: 0;
  font-size: 15px;
  color: var(--paper-muted);
}
.result__free {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 550;
  color: var(--pt-green-deep);
}
.result__use {
  margin-top: 14px;
  background: var(--paper-ink);
  color: #fff;
}
.result__use:hover {
  background: #000;
}
.result__warn {
  margin: 0;
  color: #b8321b;
  font-weight: 550;
}
.result__muted {
  margin: 0;
  color: var(--paper-muted);
}

.ladder h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.ladder ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ladder li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.ladder li span + span {
  font-weight: 650;
}
.ladder li.is-active {
  background: var(--shell-ink);
  color: var(--shell);
  border-radius: 12px;
  padding-inline: 14px;
  border-bottom-color: transparent;
}
.ladder__free {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14.5px;
}
.rules li {
  max-width: 52ch;
}

/* Метки на карте */
.pin-wrap {
  background: none;
  border: 0;
}
.pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.7);
}
.pin--point {
  background: var(--pt-bg);
  color: var(--pt-ink);
  font: 300 12px/1 var(--font);
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  box-shadow: inset 0 0 0 2px var(--pt-green), 0 8px 20px -6px rgba(0, 0, 0, 0.7);
}
.pin--sushi {
  background: #fff;
  padding: 3px;
  box-shadow: inset 0 0 0 2px var(--sa-salmon), 0 8px 20px -6px rgba(0, 0, 0, 0.7);
}
.pin--sushi img {
  width: 38px !important;
  height: 38px !important;
  max-width: none !important;
  object-fit: contain;
}
.tiles-dark {
  filter: invert(1) hue-rotate(180deg) brightness(0.88) contrast(0.9) saturate(0.6);
}
.you {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--shell-ink);
  box-shadow: 0 0 0 6px rgba(244, 241, 234, 0.25), 0 6px 16px rgba(0, 0, 0, 0.6);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(244, 241, 234, 0.45), 0 6px 16px rgba(0, 0, 0, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(244, 241, 234, 0), 0 6px 16px rgba(0, 0, 0, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(244, 241, 234, 0), 0 6px 16px rgba(0, 0, 0, 0.6); }
}
.leaflet-container {
  font-family: var(--font);
  background: #1b1a18;
}
.leaflet-control-attribution {
  background: rgba(20, 19, 17, 0.7) !important;
  color: #9d968c !important;
  font-size: 10px;
}
.leaflet-control-attribution a {
  color: #c9c2b7 !important;
}
.leaflet-bar a {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  background: var(--shell) !important;
  color: var(--shell-ink) !important;
  border-color: rgba(244, 241, 234, 0.14) !important;
}
.leaflet-bar {
  border: 0 !important;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.7) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

/* ---------- Нижняя панель (телефон) ---------- */

.tabbar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .nav-link,
  .cart-btn {
    display: none;
  }
  .tabbar {
    position: fixed;
    z-index: 35;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 -1px 0 rgba(26, 24, 21, 0.1);
    color: var(--paper-ink);
  }
  .tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 56px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    color: var(--paper-muted);
    transition: color 0.2s, background-color 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar__item[aria-current] {
    color: var(--paper-ink);
    background: rgba(26, 24, 21, 0.06);
  }
  .tabbar__ic {
    width: 28px;
    height: 28px;
  }
  .tabbar__ic--point {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pt-bg);
    color: var(--pt-ink);
    font-size: 9.5px;
    font-weight: 300;
    letter-spacing: 0.12em;
    padding-left: 0.12em;
    box-shadow: inset 0 0 0 1.5px var(--pt-green);
  }
  .tabbar__ic--sushi {
    object-fit: contain;
  }
  .tabbar__cart {
    color: var(--paper-ink);
  }
  .tabbar__icwrap {
    position: relative;
  }
  .tabbar__badge {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--sa-salmon);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    font-variant-numeric: tabular-nums;
  }
  #tabCartLabel {
    white-space: nowrap;
  }

  /* Главная на телефоне: обе двери быстрее, без бесконечной прокрутки */
  .door {
    min-height: 64svh;
  }
  .door--sushi {
    min-height: 62svh;
  }


  .foot,
  body[data-theme='point'] .foot,
  body[data-theme='sushi'] .foot {
    padding-bottom: 32px;
  }
  .menu {
    padding-bottom: 40px;
  }
  .toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  /* Доставка: карта сверху, расчёт под ней */
  .dl {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .dl__map {
    order: -1;
    position: relative;
    top: 0;
    height: 46svh;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .dl__panel {
    padding-top: 24px;
    gap: 24px;
  }
  .calc__row {
    flex-direction: column;
  }
  .calc__row .btn {
    width: 100%;
  }
  .result__fee {
    font-size: 38px;
  }
  .result__use {
    width: 100%;
  }
  .ladder li {
    font-size: 16px;
  }
  .terms__calc {
    width: 100%;
    justify-content: center;
  }
}

.map-badge {
  position: absolute;
  z-index: 500;
  left: 12px;
  bottom: 12px;
  display: none;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--paper-ink);
  text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.7);
  animation: rise-in 0.4s var(--ease-out);
}
.map-badge b {
  font-size: 18px;
  font-weight: 700;
}
.map-badge span {
  font-size: 13px;
  color: var(--paper-muted);
}
@media (max-width: 760px) {
  .map-badge:not([hidden]) {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .toast {
    top: calc(12px + env(safe-area-inset-top));
    bottom: auto;
    transform: translate(-50%, -20px);
  }
  .toast.show {
    transform: translate(-50%, 0);
  }
}

.ladder__range {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-size: 18px;
}
.ladder__range b {
  font-weight: 650;
}
.ladder__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 48ch;
}
.result__range {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 550;
}


/* ---------- Alco Room ---------- */

.door--alco {
  color: var(--ar-ink);
  background: var(--ar-wood);
}
.door--alco .door__addr {
  left: clamp(24px, 4.5vw, 72px);
}
.door--alco .door__body {
  gap: 12px;
}
.door--alco .door__tag {
  color: var(--ar-muted);
}
.door--alco .door__cta {
  background: var(--ar-amber);
  color: #20120a;
}
.door--alco:hover .door__cta {
  background: #f0b553;
}
.alco-emblem {
  display: block;
  width: clamp(190px, 17vw, 260px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.7);
  transition: transform 1s var(--ease-out);
}
.door--alco:hover .alco-emblem {
  transform: rotate(-5deg) scale(1.03);
}
.alco-emblem--hero {
  width: clamp(150px, 16vw, 230px);
}
.mark--alco,
.tabbar__ic--alco {
  display: block;
}
.mark--alco svg,
.tabbar__ic--alco svg,
.pin--alco svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Буквы как на вывеске: тёмная заливка и толстая светлая обводка */
.alco-title {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #1b0f09;
  -webkit-text-stroke: 0.09em var(--ar-ink);
  paint-order: stroke fill;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
.alco-title span {
  display: inline-block;
}

.rhero--alco .rhero__art {
  background: radial-gradient(60% 120% at 20% 50%, rgba(227, 163, 59, 0.16), transparent 70%);
}
.rhero__body--alco {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.rhero--alco .alco-title {
  font-size: clamp(44px, 7vw, 104px);
}
body[data-theme='alco'] .menu__head h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.02em;
  color: #1b0f09;
  -webkit-text-stroke: 0.08em var(--ar-ink);
  paint-order: stroke fill;
}
body[data-theme='alco'] .menu__note {
  background: transparent;
  color: var(--ar-ink);
  box-shadow: inset 0 0 0 1.5px var(--ar-ink);
}
body[data-theme='alco'] .cats__item[aria-current] {
  background: var(--ar-amber);
  color: #20120a;
}

/* Меню у крана: строка пива и три объёма */
.taps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.tap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tap__info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.tap__logo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ar-bg-2);
}
.tap__logo--empty {
  background:
    radial-gradient(circle at 50% 38%, rgba(227, 163, 59, 0.9) 0 26%, transparent 27%),
    radial-gradient(circle at 50% 50%, rgba(246, 235, 220, 0.08) 0 70%, transparent 71%);
  box-shadow: inset 0 0 0 1.5px var(--ar-line);
}
.tap__name {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.tap__meta {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tap__meta span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--ar-muted);
  box-shadow: inset 0 0 0 1px var(--ar-line);
  font-variant-numeric: tabular-nums;
}
.tap__sizes {
  display: flex;
  gap: 8px;
}
.size {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 112px;
  min-height: 58px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(246, 235, 220, 0.06);
  box-shadow: inset 0 0 0 1px var(--ar-line);
  color: var(--ar-ink);
  text-align: left;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease-out);
}
.size:hover {
  background: rgba(227, 163, 59, 0.16);
  box-shadow: inset 0 0 0 1px rgba(227, 163, 59, 0.6);
}
.size:active {
  transform: scale(0.97);
}
.size__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ar-muted);
}
.size__price {
  font-size: 16px;
  font-weight: 700;
}
.size--in {
  background: var(--ar-amber);
  color: #20120a;
  box-shadow: none;
}
.size--in .size__label {
  color: rgba(32, 18, 10, 0.72);
}
.size--in:hover {
  background: #f0b553;
}
.size__q {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ar-ink);
  color: #20120a;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.taps__note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 60ch;
}
.crosslinks {
  display: grid;
  gap: 12px;
  margin-top: clamp(56px, 8vw, 96px);
}
.crosslinks .crosslink {
  margin-top: 0;
}
.crosslink--alco {
  background: var(--ar-wood);
  color: var(--ar-ink);
}
.crosslink--alco strong {
  font-weight: 800;
  text-transform: uppercase;
  color: #1b0f09;
  -webkit-text-stroke: 0.08em var(--ar-ink);
  paint-order: stroke fill;
}
.empty__link--alco {
  background: var(--ar-wood);
  color: var(--ar-ink);
}
.rhero__others {
  display: contents;
}

.ticket--alco .ticket__head h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pin--alco {
  padding: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--ar-amber), 0 8px 20px -6px rgba(0, 0, 0, 0.7);
}

.ticket--alco .line__img {
  background: var(--ar-bg);
}

@media (max-width: 760px) {
  .tabbar {
    grid-template-columns: repeat(5, 1fr);
  }
  .tabbar__item {
    font-size: 10.5px;
  }
  .tabbar__item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tap {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tap__logo {
    width: 48px;
    height: 48px;
  }
  .tap__name {
    font-size: 17px;
  }
  .tap__sizes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .size {
    min-width: 0;
    min-height: 56px;
    padding: 8px 10px;
  }
  .size__price {
    font-size: 15px;
  }
  .rhero__others {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .door--alco {
    min-height: 60svh;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .door--alco {
    min-height: 70svh;
  }
}

/* На главной шапка лежит поверх трёх разных фонов — даём элементам свою подложку */
body[data-theme='home'] .nav-link,
body[data-theme='home'] .lang {
  background: rgba(20, 19, 17, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f4f1ea;
}
body[data-theme='home'] .nav-link:hover {
  background: rgba(20, 19, 17, 0.8);
}

/* Этикетки пива — крупнее, чтобы читались */
.tap__logo {
  width: 72px;
  height: 72px;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.8);
}
@media (max-width: 760px) {
  .tap__logo {
    width: 60px;
    height: 60px;
  }
}

.result__gmaps {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.result__gmaps svg {
  width: 16px;
  height: 16px;
}
.pin-wrap {
  cursor: pointer;
}

a.rhero__addr {
  text-decoration: none;
}
a.rhero__addr:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.foot__rest a.foot__addr {
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}
