/* Sport Caffe — публичное меню (mobile first) */

:root {
  --navy-950: #0c1c44;
  --navy-900: #122a63;
  --navy-800: #183579;
  --navy-700: #1f4292;
  --navy-600: #2b53ad;
  --navy-500: #3a66c4;
  --blue-200: #c9dbf3;
  --blue-100: #e2ecf9;
  --blue-50:  #eff5fc;
  --bg:       #f3f6fb;
  --surface:  #ffffff;
  --ink:      #14213d;
  --muted:    #67748f;
  --line:     #e3e9f4;
  --danger:   #d8434e;
  --radius:   18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(18, 42, 99, .07);
  --shadow-md: 0 8px 28px rgba(18, 42, 99, .14);
  --shadow-lg: 0 18px 50px rgba(12, 28, 68, .30);
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Oswald', 'Manrope', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --sticky-h: 118px;
  --scales: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='1.6'%3E%3Cpath d='M0 28a14 14 0 0 1 28 0'/%3E%3Cpath d='M-14 14a14 14 0 0 1 28 0'/%3E%3Cpath d='M14 14a14 14 0 0 1 28 0'/%3E%3C/g%3E%3C/svg%3E");
  --scales-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%231f4292' stroke-opacity='.10' stroke-width='1.6'%3E%3Cpath d='M0 28a14 14 0 0 1 28 0'/%3E%3Cpath d='M-14 14a14 14 0 0 1 28 0'/%3E%3Cpath d='M14 14a14 14 0 0 1 28 0'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* фоновая текстура: чешуя + мягкие синие блики по углам */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background:
    radial-gradient(620px 320px at 88% -90px, rgba(58, 102, 196, .14), transparent 70%),
    radial-gradient(520px 300px at -70px 34%, rgba(58, 102, 196, .10), transparent 70%),
    var(--scales-ink);
  opacity: .5;
  pointer-events: none;
}

body.locked { overflow: hidden; }

button { font-family: inherit; cursor: pointer; }

img { max-width: 100%; }

/* ---------- Верхняя панель ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 14px;
  min-height: 60px;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 46vw;
  pointer-events: none;
}

@media (max-width: 360px) {
  .brand-word { font-size: 16px; letter-spacing: .08em; }
}

#brandLogo {
  max-height: 42px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .12em;
  color: var(--navy-800);
  white-space: nowrap;
}

.brand-word i {
  font-style: normal;
  color: var(--navy-500);
  margin: 0 3px;
}

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 13px;
  background: var(--blue-50);
  color: var(--navy-800);
  transition: background .18s;
}

.iconbtn:active { background: var(--blue-100); }

/* ---------- Выбор языка ---------- */

.lang { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: var(--blue-50);
  color: var(--navy-800);
  border-radius: 13px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
}

.lang-btn svg { transition: transform .2s; }

.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 6px;
  z-index: 60;
  animation: pop .16s ease;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.lang-item:hover, .lang-item:focus-visible { background: var(--blue-50); }

.lang-item.active {
  background: var(--navy-800);
  color: #fff;
}

.lang-item .flag { font-size: 18px; }

/* ---------- Панель подкатегорий ---------- */

.subcatbar {
  position: sticky;
  top: var(--topbar-h, 60px);
  z-index: 35;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subcatbar-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 14px;
  max-width: 1080px;
  margin: 0 auto;
  scroll-padding: 14px;
}

.subcatbar-track::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  border: none;
  background: var(--blue-50);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .18s, color .18s, box-shadow .18s;
}

.chip.active {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 42, 99, .3);
}

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

.menu {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4px 14px 20px;
}

.menu-section { scroll-margin-top: var(--sticky-h); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 30px 2px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  border-radius: 2px;
}

.section-title::before {
  background: linear-gradient(90deg, transparent, var(--blue-200));
}

.section-title::after {
  background: linear-gradient(90deg, var(--blue-200), transparent);
}

/* Шапка категории — как обложка печатного меню */

.menu-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 14px 0 4px;
  padding: 22px 16px 20px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(24, 53, 121, .55), rgba(12, 28, 68, .85)),
    var(--navy-900) var(--scales);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.menu-hero::before,
.menu-hero::after {
  content: '⚽';
  position: absolute;
  font-size: 86px;
  line-height: 1;
  opacity: .07;
  pointer-events: none;
}

.menu-hero::before { left: -22px; top: -16px; transform: rotate(-18deg); }

.menu-hero::after { right: -20px; bottom: -22px; transform: rotate(14deg); }

.menu-hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

.menu-hero-icon svg { width: 23px; height: 23px; }

.menu-hero-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .32em;
  opacity: .72;
}

.menu-hero-name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.card:active { transform: scale(.97); }

@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
}

.card-media {
  display: block;
  position: relative;
  padding-top: 75%; /* 4:3 без aspect-ratio — работает и на старых телефонах */
  background: var(--blue-50) var(--scales-ink);
  overflow: hidden;
}

.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media .ph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  opacity: .3;
  filter: saturate(.4);
}

.card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.card-weight {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.card-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-700);
  white-space: nowrap;
}

/* Компактные строки для напитков и бара (без фото) */

.rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rowitem {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: none;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 13px 15px;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.rowitem:active { transform: scale(.985); }

@media (hover: hover) {
  .rowitem:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}

.rowitem-main {
  display: flex;
  align-items: baseline;
  min-width: 0;
  flex-shrink: 1;
}

.rowitem-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.rowitem-weight {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
}

.rowitem-dots {
  flex: 1;
  min-width: 14px;
  border-bottom: 2px dotted var(--blue-200);
  transform: translateY(-3px);
}

.rowitem-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy-700);
  white-space: nowrap;
}

@media (min-width: 700px) {
  .rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
}

/* Блок «Оставить отзыв» */

.review-block {
  margin: 36px 0 8px;
  padding: 28px 20px 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(24, 53, 121, .55), rgba(12, 28, 68, .85)),
    var(--navy-900) var(--scales);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.review-block::before,
.review-block::after {
  content: '⚽';
  position: absolute;
  font-size: 92px;
  line-height: 1;
  opacity: .07;
  pointer-events: none;
}

.review-block::before { left: -24px; top: -18px; transform: rotate(-20deg); }

.review-block::after { right: -22px; bottom: -24px; transform: rotate(16deg); }

.review-stars {
  color: #ffd166;
  font-size: 21px;
  letter-spacing: 7px;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(255, 209, 102, .5);
}

.review-top {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 0 16px;
}

.review-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--navy-900);
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: transform .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.review-btn:active { transform: scale(.96); }

@media (hover: hover) {
  .review-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .36); }
}

.review-bottom {
  font-size: 13.5px;
  opacity: .85;
  margin: 15px 0 0;
}

.review-heart {
  position: absolute;
  left: 50%;
  top: -8px;
  font-size: 19px;
  pointer-events: none;
  animation: heartUp .9s ease forwards;
}

@keyframes heartUp {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to   { opacity: 0; transform: translate(-50%, -36px) scale(1.5); }
}

/* Пустая категория */

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

.empty .ball {
  font-size: 54px;
  display: block;
  margin-bottom: 14px;
  opacity: .5;
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.empty p {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin: 0;
}

.load-error {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

.load-error button {
  margin-top: 16px;
  background: var(--navy-800);
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 14px;
}

.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  padding: 6px 20px 18px;
  margin: 0;
}

/* ---------- Скелетон ---------- */

.skel {
  position: relative;
  overflow: hidden;
  background: var(--blue-100);
  border-radius: 12px;
}

.skel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: shimmer 1.3s infinite;
  transform: translateX(-100%);
}

@keyframes shimmer { to { transform: translateX(100%); } }

.skel-card { height: 200px; border-radius: var(--radius); }
.skel-title { height: 24px; width: 46%; margin: 26px 2px 14px; }

/* ---------- Нижняя навигация ---------- */

.bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
}

.bnav-item {
  flex: 1;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 6px;
  border-radius: 14px;
  transition: color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}

.bnav-item svg { width: 23px; height: 23px; }

.bnav-item.active {
  color: var(--navy-800);
  background: var(--blue-50);
}

/* ---------- Оверлеи ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 20, 50, .48);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s;
}

.backdrop.show { opacity: 1; }

/* Сайд-меню */

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(84vw, 360px);
  background:
    linear-gradient(160deg, rgba(24, 53, 121, .55), rgba(12, 28, 68, .82)),
    var(--navy-900) var(--scales);
  color: #fff;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-lg);
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.drawer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .14em;
}

.drawer-brand i { font-style: normal; color: var(--blue-200); margin: 0 3px; }

.drawer .iconbtn {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.drawer-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-200);
  opacity: .85;
  margin: 18px 2px 8px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: none;
  color: #fff;
  font-size: 16.5px;
  font-weight: 700;
  padding: 13px 10px;
  border-radius: 13px;
  text-align: left;
  transition: background .15s;
}

.drawer-item:active, .drawer-item:hover { background: rgba(255, 255, 255, .1); }

.drawer-item svg { width: 21px; height: 21px; opacity: .9; flex: 0 0 auto; }

/* Декорации сайд-меню */

.drawer-emblem {
  display: flex;
  justify-content: center;
  margin: 8px 0 14px;
}

.emblem-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .12), 0 8px 26px rgba(0, 0, 0, .25);
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.drawer-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 4px;
  opacity: .75;
  font-size: 13px;
}

.drawer-sep i {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .28);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 26px;
  text-align: center;
}

.drawer-sign {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .26em;
  opacity: .55;
}

.drawer::after {
  content: '⚽';
  position: absolute;
  right: -34px;
  bottom: -28px;
  font-size: 170px;
  line-height: 1;
  opacity: .06;
  transform: rotate(-18deg);
  pointer-events: none;
}

/* ---------- Шторки (блюдо, страницы) ---------- */

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: translateY(105%);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
  max-height: 92vh;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.sheet.open { transform: translateY(0); }

.sheet-grab {
  flex: 0 0 auto;
  padding: 10px 0 2px;
  display: flex;
  justify-content: center;
}

.sheet-grab::before {
  content: '';
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}

.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* крестик без фото-шапки (напитки) — на белом фоне */
.sheet-close.plain { background: var(--blue-50); box-shadow: none; }

.sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 18px calc(26px + env(safe-area-inset-bottom, 0px));
}

.dish-hero {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  padding-top: 62.5%; /* 16:10 без aspect-ratio */
  background: var(--blue-50) var(--scales-ink);
  margin-bottom: 14px;
}

.dish-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-hero .ph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  opacity: .3;
}

.dish-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.25;
  padding-right: 8px;
}

/* без фото-шапки заголовок — первый элемент, отступаем от крестика */
.sheet-scroll > .dish-title:first-child {
  margin-top: 12px;
  padding-right: 48px;
}

.dish-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dish-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: #fff;
  background: var(--navy-800);
  border-radius: 999px;
  padding: 6px 18px;
}

.dish-weight {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.dish-desc {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
}

.dish-block { margin-bottom: 16px; }

.dish-block h3 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin: 0 0 6px;
}

.dish-block p { margin: 0; color: var(--muted); font-size: 14.5px; }

.alg-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.alg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
}

/* Страницы «О нас» / «Контакты» */

.page-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 8px 0 12px;
}

.page-body { white-space: pre-line; font-size: 15.5px; color: var(--ink); margin: 0 0 18px; }

.page-actions { display: flex; flex-direction: column; gap: 10px; }

.page-action {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--blue-50);
  color: var(--navy-800);
  border-radius: 14px;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

/* ---------- Планшет / компьютер ---------- */

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .menu { padding: 4px 24px 30px; }
}

@media (min-width: 900px) {
  body { padding-bottom: 120px; }

  .bottomnav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    padding: 8px 12px;
    gap: 6px;
  }

  .bnav-item { min-width: 120px; }

  .sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -46%) scale(.97);
    opacity: 0;
    width: min(560px, 92vw);
    border-radius: var(--radius-lg);
    max-height: 86vh;
    transition: transform .26s cubic-bezier(.2, .8, .2, 1), opacity .22s;
    pointer-events: none;
  }

  .sheet.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .sheet-grab { display: none; }

  .sheet-scroll { padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
