/* KARMA WEB — стили по брендбуку 2026. Один файл на весь сайт. Стекло — только шапка, меню, плашки поверх картинок. */
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/inter-cyrillic-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Четыре размера шрифта: xl — только приветствие, l — заголовки, m — набранный текст, s — заголовки карточек и технические надписи */
:root {
    --fs-xl: 56px; --fs-l: 32px; --fs-m: 17px; --fs-s: 14px;
    --inset: 28px;   /* отступ текста от края карточки; на нём же стоят приветствие, логотип и заголовки страниц */
    --cloud: #F0EFEB; --graphite: #3C3C3B;
    --ochre: #F7A600; --terracotta: #E95A0C; --primrose: #ED89AF; --magenta: #BE264C;
    --sky: #A1DAF8; --cobalt: #0063AF; --matcha: #6AAC46;
    --glass: rgba(240, 239, 235, 0.62); --glass-strong: rgba(240, 239, 235, 0.80);
    --glass-blur: blur(20px) saturate(1.6); --glass-edge: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    --r-card: 28px; --r-pill: 999px; --gutter: clamp(16px, 4vw, 48px); --max: 1180px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
@media (min-width: 900px) { :root { --fs-xl: 84px; --fs-l: 44px; } }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cloud); color: var(--graphite); font: 400 var(--fs-m)/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Типографика по брендбуку: Regular, заголовки с заглавной, по левому краю; сноски — строчные курсивом */
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -0.02em; line-height: 1.08; text-align: left; text-wrap: balance; }
h1 { font-size: var(--fs-l); }
h2 { font-size: var(--fs-l); }
h3 { font-size: var(--fs-s); line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.note { font-style: italic; font-size: var(--fs-s); line-height: 1.45; text-transform: lowercase; opacity: .85; }
.kicker { font-style: italic; font-size: var(--fs-s); margin-bottom: 14px; display: block; }
.lead { font-size: var(--fs-m); max-width: 52ch; }
.sec .lead { max-width: none; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: var(--r-pill); border: 0; background: var(--graphite); color: var(--cloud); font: inherit; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.btn:hover { background: var(--cobalt); transform: translateY(-2px); }
.btn--light { background: var(--cloud); color: var(--graphite); }
.btn--light:hover { background: #fff; color: var(--graphite); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--graphite); color: var(--cloud); }

/* Сайд-бар: стеклянная капсула, прижата к низу экрана. Ссылки прокручиваются в сторону, бургера нет */
.dock { position: fixed; z-index: 50; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(100% - 2 * var(--gutter), var(--max)); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px var(--inset); border-radius: var(--r-pill); background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), 0 8px 30px rgba(60, 60, 59, .12); }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; padding-right: 12px; font-size: var(--fs-m); letter-spacing: .02em; text-decoration: none; }
.dock__links { margin-left: auto; display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%); padding-right: 24px; }
.dock__links::-webkit-scrollbar { display: none; }
.dock__links a { flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-size: var(--fs-s); text-decoration: none; white-space: nowrap; scroll-snap-align: start; transition: background .2s; }
.dock__links a:hover, .dock__links a[aria-current] { background: rgba(60, 60, 59, .1); }

/* Блоки */
section { padding: clamp(48px, 7vw, 96px) 0; position: relative; }
.hero h1 span { color: var(--terracotta); }
@media (prefers-reduced-motion: no-preference) {
    .spin { animation: spin 60s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
    .reveal.is-in { opacity: 1; transform: none; }
}

.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 16px; min-height: 36px; }
.steps li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--graphite); color: var(--cloud); display: grid; place-items: center; font-size: 15px; line-height: 1; }
.steps b { font-weight: 400; }
.steps b::after { content: " "; }
.steps span { min-width: 0; line-height: 1.4; }


/* Подвал */
.foot { background: var(--graphite); color: var(--cloud); padding: clamp(48px, 7vw, 88px) 0 40px; }
.foot__grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__brand { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.foot__gap { display: none; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot__brand { grid-column: auto; } .foot__gap { display: block; } }
.foot__logo { margin: 0; font-size: var(--fs-m); line-height: 1; letter-spacing: -0.02em; }
.foot h4 { margin: 0 0 16px; font-weight: 400; font-size: var(--fs-s); line-height: 1.2; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li a { font-size: var(--fs-s); line-height: 1.3; opacity: .85; }
.foot a { text-decoration: none; }
.foot li a:hover { opacity: 1; text-decoration: underline; }
.foot__soc { display: grid; grid-template-columns: repeat(3, 44px); gap: 4px; margin-left: -10px; }
.foot__soc a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; opacity: .85; transition: opacity .2s, background .2s; }
.foot__soc a:hover { opacity: 1; background: rgba(240, 239, 235, .12); }
.foot__bottom { margin-top: 120px; padding-top: 20px; border-top: 1px solid rgba(240, 239, 235, .2); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--fs-s); }
.foot__sign { font-size: 10px; opacity: .22; }


/* Сетка: 4 колонки на компьютере, 2 на планшете, 1 на телефоне. Все блоки слева, одинаковые поля и углы */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
@media (max-width: 1000px) { .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid, .grid--3 { grid-template-columns: minmax(0, 1fr); } .span-2 { grid-column: auto; } }
.card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 40px; min-height: 320px; padding: var(--inset); border-radius: var(--r-card); color: var(--graphite); text-decoration: none; transition: transform .35s var(--ease); }
a.card:hover { transform: translateY(-4px); }
.card h2, .card h3 { font-size: min(var(--fs-l), 32px); line-height: 1.12; }
.card p { margin-top: 14px; max-width: 34ch; }
.card .btn { margin-top: 0; }
.card--sky { background: var(--sky); } .card--ochre { background: var(--ochre); } .card--primrose { background: var(--primrose); }
.card--matcha { background: var(--matcha); } .card--graphite { background: var(--graphite); color: var(--cloud); } .card--cobalt { background: var(--cobalt); color: #fff; }
.card--line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--graphite); }
.card--graphite .btn, .card--cobalt .btn { background: var(--cloud); color: var(--graphite); }
.card--graphite .btn:hover, .card--cobalt .btn:hover { background: #fff; }


/* Страницы */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(8px, 2vw, 24px); }
.page-head .lead { margin-top: 24px; }
.page-head + section { padding-top: clamp(24px, 4vw, 48px); }
.prose { max-width: 62ch; display: grid; gap: 18px; }
.prose h2 { font-size: var(--fs-l); margin-top: 24px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Фирменные элементы (SVG) — только на первом экране и в бегущей ленте */
.deco { position: absolute; pointer-events: none; user-select: none; height: auto; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
    .float { animation: float 9s ease-in-out infinite; }
    .float--b { animation-duration: 12s; animation-delay: -4s; }
    @keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }
    .tape__track { animation: tape 60s linear infinite; }
    @keyframes tape { to { transform: translateX(-50%); } }
}
.tape { overflow: hidden; transform: rotate(-1.6deg); margin: -14px -2vw; position: relative; z-index: 4; }
.tape__track { display: flex; width: max-content; }
.tape__track img { height: clamp(56px, 7vw, 84px); width: auto; flex: none; }
html { overflow-x: clip; }

/* Меню, КБЖУ, таплист, админка */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips button { min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 0; font: inherit; cursor: pointer; background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 1.5px var(--graphite); }
.chips button[aria-selected="true"] { background: var(--graphite); color: var(--cloud); }
.field { width: 100%; max-width: 420px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 0; font: inherit; background: #fff; color: var(--graphite); box-shadow: inset 0 0 0 1.5px rgba(60, 60, 59, .25); margin-bottom: 20px; }
.field:focus { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.cat { margin-top: 48px; }
.cat:first-child { margin-top: 0; }
.dishes { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dishes { grid-template-columns: minmax(0, 1fr); } }
.dish { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sky); }
.dish__b { padding: 18px 20px 20px; display: grid; gap: 8px; }
.dish h3 { font-size: var(--fs-s); line-height: 1.3; }
.dish p { font-size: var(--fs-m); opacity: .8; }
.dish__p { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.dish__p b { font-weight: 400; font-size: var(--fs-m); }
.tablewrap { overflow-x: auto; }
table.kbzhu { width: 100%; border-collapse: collapse; min-width: 560px; }
.kbzhu th, .kbzhu td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(60, 60, 59, .15); font-weight: 400; }
.kbzhu th { font-style: italic; font-size: var(--fs-s); }
.kbzhu td:nth-child(n+2), .kbzhu th:nth-child(n+2) { text-align: right; white-space: nowrap; }
.kbzhu tr.cat-row td { padding-top: 28px; font-size: var(--fs-m); border-bottom: 0; text-align: left; }
.tap { list-style: none; margin: 0; padding: 0; display: grid; }
.tap li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(60, 60, 59, .2); }
.tap b { font-weight: 400; font-size: var(--fs-m); display: block; }
.tap .num { font-style: italic; opacity: .6; }
.tap .price { font-size: var(--fs-m); }
.adm { display: grid; gap: 12px; max-width: 760px; }
.adm label { display: grid; gap: 6px; font-style: italic; font-size: var(--fs-s); }
.adm .field { margin: 0; max-width: none; }
.adm-row { display: grid; grid-template-columns: 70px 1.3fr 1fr 1.3fr 90px 44px; gap: 8px; }
@media (max-width: 760px) { .adm-row { grid-template-columns: 1fr 1fr; } }
.adm-list { display: grid; gap: 6px; max-height: 60vh; overflow: auto; margin-top: 16px; }
.adm-list label { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #fff; border-radius: 14px; font-style: normal; font-size: var(--fs-m); }
.adm-list input { width: 22px; height: 22px; }
.msg { min-height: 24px; font-style: italic; }

/* Первый экран: сначала телефон (на всю высоту), на компьютере — медиа ниже */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 56px 0 120px; }
.hero .wrap { position: relative; z-index: 3; }
.hero h1 { max-width: 12ch; font-size: var(--fs-xl); }
.hero .lead { margin-top: 15px; }
.hero .row { flex-wrap: nowrap; margin-top: 28px; }
.hero .row .btn { flex: 1 1 0; padding: 0 16px; }
.hero__blob { position: absolute; z-index: -1; right: -30%; bottom: -22%; width: 140%; height: auto; pointer-events: none; }
.hero__daisy { position: absolute; z-index: -1; right: 2%; top: -150px; width: 30%; height: auto; pointer-events: none; }
@media (min-width: 900px) {
    html:not(.m) .hero { align-items: center; padding: 80px 0 140px; }
    html:not(.m) .hero .lead { margin-top: 23px; }
    html:not(.m) .hero .row .btn { flex: 0 0 auto; padding: 0 36px; }
    html:not(.m) .hero__blob { right: -4%; bottom: auto; top: -30px; width: min(48vw, 640px); }
    html:not(.m) .hero__daisy { right: 30%; top: auto; bottom: -60px; width: min(14vw, 180px); }
}

/* Левый и правый отступ текста вне карточек = отступ текста внутри карточки */
.hero .wrap, .page-head, .foot .wrap { padding-inline: var(--inset); }
section:not(.hero) > .wrap > :is(.kicker, h2, .lead, .row) { padding-inline: var(--inset); }
.hero .wrap, .page-head, .foot .wrap { width: min(100% - 2 * var(--gutter), var(--max)); }

/* Разделы лендинга: цвет фона из брендбука; текст графитовый, на кобальте белый */
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec--sky { background: var(--sky); } .sec--primrose { background: var(--primrose); } .sec--ochre { background: var(--ochre); } .sec--cobalt { background: var(--cobalt); color: #fff; }
.sec--cobalt .kicker, .sec--cobalt .lead { color: #fff; }
.card--cloud { background: var(--cloud); }
.sec .steps { margin: 28px 0 0; padding-inline: var(--inset); max-width: none; }
.sec .steps li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--graphite); color: var(--cloud); display: grid; place-items: center; font-size: 15px; line-height: 1; }
a:where(.note a) { text-decoration: underline; }
.sec h2 + .lead, h2 + .lead { margin-top: 18px; }

/* Кафе: горизонтальная карусель, следующая карточка выглядывает из-за края */
.rail { --edge: max(var(--gutter), (100% - var(--max)) / 2); display: flex; gap: 16px; margin-top: 40px; padding: 0 calc(var(--edge) + var(--inset)) 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: calc(var(--edge) + var(--inset)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.place { position: relative; flex: none; width: min(78vw, 340px); aspect-ratio: 1; overflow: hidden; border-radius: var(--r-card); background: var(--graphite); scroll-snap-align: start; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.place:hover img { transform: scale(1.04); }
.place__info { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 22px; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge); }
.place__info h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.place__info p { font-size: var(--fs-s); line-height: 1.35; }
.place__links { display: flex; gap: 6px; flex: none; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--graphite); color: var(--cloud); transition: background .25s; }
.ico:hover { background: var(--cobalt); }

.sec--matcha { background: var(--matcha); }

/* Осеннее предложение: афиша на всю ширину блока (на компьютере не выше 720 px, она вертикальная) */
.autumn { padding: clamp(40px, 6vw, 80px) 0; }
.autumn img.reveal { width: 100%; max-width: 720px; height: auto; margin-inline: auto; border-radius: var(--r-card); }

/* Лента: следующий раздел заходит под неё, чтобы наклон не оставлял просвета */
.tape + .sec { margin-top: calc(14px - clamp(28px, 3.5vw, 42px)); }
.tape + .foot { margin-top: calc(14px - clamp(28px, 3.5vw, 42px)); }

/* Афиша: цветы за фото, с лёгким покачиванием */
.autumn { overflow: hidden; }
.autumn .wrap { position: relative; z-index: 1; }
.af { position: absolute; z-index: 0; height: auto; pointer-events: none; }
.af--1 { left: 3%; bottom: 6%; width: clamp(56px, 8.6vw, 120px); }
.af--2 { right: 4%; top: 8%; width: clamp(52px, 8vw, 112px); }
.af--3 { left: 15%; top: 6%; width: clamp(40px, 6vw, 80px); }
.af--4 { right: 15%; bottom: 5%; width: clamp(36px, 5.4vw, 72px); }
.af--5 { left: 4%; top: 34%; width: clamp(50px, 7.4vw, 104px); }
.af--6 { right: 3%; bottom: 30%; width: clamp(40px, 6vw, 80px); }
.af--7 { left: 17%; bottom: 3%; width: clamp(36px, 5.4vw, 72px); }
.af--8 { right: 14%; top: 4%; width: clamp(50px, 7.4vw, 104px); }

/* Сайд-бар у конца страницы: top задаёт скрипт, бар встаёт над техническими надписями */
.dock--end { position: absolute; bottom: auto; }

/* Мерч: фото едут сами, поверх стеклянная плашка */
.merch { padding: 0; height: clamp(320px, 48vw, 520px); overflow: hidden; background: var(--cobalt); display: flex; align-items: flex-end; padding-bottom: clamp(16px, 3vw, 32px); }
.merch__belt { position: absolute; inset: 0; }
.merch__track { display: flex; height: 100%; width: max-content; }
.merch__track img { height: 100%; width: auto; aspect-ratio: 1; flex: none; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
    .merch__track { animation: merch 50s linear infinite; }
    @keyframes merch { to { transform: translateX(-33.3333%); } }
}
.merch__plate { position: relative; width: fit-content; padding: 24px var(--inset); border-radius: var(--r-card); background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), 0 8px 30px rgba(60, 60, 59, .12); }
.merch__plate p { margin-top: 8px; }

/* Приложение, меню и отзывы — одной высоты */
#app, #menu, #reviews { min-height: 400px; display: flex; align-items: center; }
#app > .wrap, #menu > .wrap, #reviews > .wrap { margin-inline: auto; }

/* Презентация кейтеринга: слайды рядом, листаются в сторону */
.slides .rail { margin-top: 0; }
.slides img { flex: none; width: min(78vw, 400px); height: auto; border-radius: var(--r-card); scroll-snap-align: start; }

/* Правовые страницы: строгий документ (шрифт и фон сайта) */
.prose { max-width: 72ch; gap: 14px; padding-inline: var(--inset); font-size: 16px; line-height: 1.65; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 4; overflow-wrap: break-word; text-wrap: wrap; }
.prose p { text-wrap: wrap; }
.prose h2 { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.3; letter-spacing: 0; text-wrap: pretty; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(60, 60, 59, .28); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h2 .n { display: inline-block; min-width: 1.8em; font-variant-numeric: tabular-nums; }
.prose ul { list-style: none; padding-left: 0; gap: 6px; }
.prose li { position: relative; padding-left: 1.6em; }
.prose li::before { content: "—"; position: absolute; left: 0; }
.prose a, .prose dd { overflow-wrap: anywhere; hyphens: none; }
.prose .req { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(60, 60, 59, .28); }
.prose .req > div { display: grid; grid-template-columns: minmax(8.5em, 11em) 1fr; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid rgba(60, 60, 59, .18); }
.prose .req dt { opacity: .75; }
.prose .req dd { margin: 0; font-variant-numeric: tabular-nums; }
.prose .doc-meta { margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(60, 60, 59, .28); font-size: var(--fs-s); opacity: .8; }
@media (max-width: 520px) { .prose .req > div { grid-template-columns: 1fr; } .prose { font-size: 15.5px; } }
.prose h2 { padding-left: 1.9em; text-indent: -1.9em; }
.prose h2:first-child { padding-left: 1.9em; }
.prose .req > div:last-child { border-bottom: 0; }
.prose h2 .n { width: 1.9em; min-width: 0; text-indent: 0; }

/* КБЖУ: всё в одну линию с заголовком, поиск — стекло */
#points, #q, #menu.tablewrap { margin-inline: var(--inset); }
#q { width: calc(100% - 2 * var(--inset)); max-width: 420px; background: rgba(255, 255, 255, .28); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), 0 6px 22px rgba(60, 60, 59, .10); transition: background .25s var(--ease), box-shadow .25s var(--ease); }
#q::placeholder { color: var(--graphite); opacity: .55; }
#q:focus { background: var(--glass-strong); outline-offset: 3px; }
#menu.tablewrap .kbzhu th:first-child, #menu.tablewrap .kbzhu td:first-child { padding-left: 0; }
#menu.tablewrap .kbzhu th:last-child, #menu.tablewrap .kbzhu td:last-child { padding-right: 0; }
@media (max-width: 600px) { #q { max-width: none; } .chips button { padding: 0 16px; } }
@media (max-width: 600px) {
    #menu.tablewrap { margin-inline: 0; overflow: visible; }
    .chips { gap: 6px; }
    .chips button { min-height: 38px; padding: 0 14px; font-size: 14px; text-align: left; }
    table.kbzhu, .kbzhu tbody { display: block; min-width: 0; }
    .kbzhu thead { display: none; }
    .kbzhu tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 4px; padding: 14px 0; border-bottom: 1px solid rgba(60, 60, 59, .15); }
    .kbzhu td, .kbzhu td:nth-child(n+2) { padding: 0 !important; border: 0; text-align: left; font-size: 15px; }
    .kbzhu td:first-child { grid-column: 1 / -1; font-size: var(--fs-m); }
    .kbzhu td:first-child i { display: block; font-size: 13px; opacity: .7; }
    .kbzhu td:nth-child(n+2)::before { display: block; font-style: italic; font-size: 11px; opacity: .65; margin-bottom: 1px; }
    .kbzhu td:nth-child(2)::before { content: "Порция"; }
    .kbzhu td:nth-child(3)::before { content: "Ккал"; }
    .kbzhu td:nth-child(4)::before { content: "Белки"; }
    .kbzhu td:nth-child(5)::before { content: "Жиры"; }
    .kbzhu td:nth-child(6)::before { content: "Углев."; }
    .kbzhu tr.cat-row { display: block; padding: 26px 0 6px; border-bottom: 0; }
    .kbzhu tr.cat-row td { font-size: var(--fs-m); }
    .kbzhu tr.cat-row td::before { content: none !important; }
}
@media (max-width: 600px) { #menu.tablewrap { margin-inline: var(--inset); } .chips button { text-wrap: balance; } }

/* Плашка мерча: прозрачнее стекло, текст меньше */
.merch__plate { padding: 16px 22px; background: rgba(240, 239, 235, .38); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); }
.merch__plate h2 { font-size: clamp(22px, 3vw, 30px); }
.merch__plate p { margin-top: 4px; font-size: var(--fs-s); }

/* Популярное блюдо дня в разделе «Меню»: квадрат как карточка кафе; справа на компьютере, под кнопкой на телефоне */
.menu-grid { display: grid; gap: 28px; align-items: center; }
.menu-grid__main { padding-inline: var(--inset); }
.top-dish { position: relative; width: 100%; max-width: 720px; margin-inline: auto; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-card); background: var(--graphite); }
.top-dish[hidden] { display: none; }
.top-dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.top-dish__info { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 12px 18px; border-radius: 22px; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge); }
.top-dish__kicker { font-size: var(--fs-s); line-height: 1.35; opacity: .7; }
.top-dish__name { margin: 2px 0; font-size: var(--fs-m); line-height: 1.2; }
.top-dish__meta { font-size: var(--fs-s); opacity: .75; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1fr 340px; gap: 48px; } .top-dish { max-width: 340px; margin-inline: 0; } }
