/* «Тёплый помол» — лендинг.
   Направление «Страница — это предмет»: бумажная этикетка стакана, талон, купон, слипы; один радиус на странице — ноль,
   форма края — вырезом (mask / clip-path). Без градиентов, без теней, без линий-разделителей: поверхности — шагом тона. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body {
  margin: 0;
  background: var(--topol);
  color: var(--chernila);
  font-family: var(--shrift);
  font-size: var(--t-tekst);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .005em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 600; }
time, .ceny, dt, .raspisanie, .talon li { font-variant-numeric: tabular-nums lining-nums; }

:focus-visible { outline: 3px solid var(--chernila); outline-offset: 3px; }
.ekran :focus-visible, .kak :focus-visible, .tg :focus-visible, .podval :focus-visible { outline-color: var(--urjuk); }
.etiketka :focus-visible, .talon :focus-visible, .kupon :focus-visible { outline-color: var(--chernila); }

.sr, .pole label, .vremya__ryad input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.propusk {
  position: absolute; left: var(--pole); top: -80px; z-index: 20;
  padding: 12px 20px; background: var(--urjuk); color: var(--chernila); font-weight: 600;
}
.propusk:focus { top: var(--pole); }

.setka {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  max-width: 1416px;
  margin-inline: auto;
  padding-inline: var(--pole);
}

/* Кнопка — одна на всю страницу: прямоугольник, один цвет действия */
.knopka {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 0;
  background: var(--urjuk); color: var(--chernila);
  font: 600 var(--t-tekst)/1.15 var(--shrift);
  text-decoration: none; text-align: center; cursor: pointer;
  touch-action: manipulation;
  transition: transform .1s ease-out, background-color .15s ease, color .15s ease;
}
.knopka:hover { background: var(--chernila); color: var(--bumaga); text-decoration: none; }
.shapka .knopka:hover { background: var(--bumaga); color: var(--chernila); }
.knopka:active { transform: scale(.97); }
.knopka--chernaya { background: var(--chernila); color: var(--bumaga); }
.knopka--chernaya:hover { background: var(--topol); }

/* ───────── «Шторка»: страница уезжает вверх, под ней ждёт подвал ───────── */
.stranitsa { position: relative; z-index: 1; background: var(--bumaga); }

/* ───────── 1. Первый экран ───────── */
.ekran {
  position: relative;
  height: max(100svh, 760px);
  overflow: hidden;
  background: var(--topol);
  color: var(--bumaga);
}
.shapka {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: 1416px; margin-inline: auto;
  padding: 28px var(--pole);
}
.shapka__imya { display: inline-flex; align-items: center; gap: 12px; justify-self: start; text-decoration: none; font-size: var(--t-tekst); font-weight: 600; }
.shapka__imya img { width: 40px; height: 40px; }
.shapka__ssylki { display: flex; gap: 32px; }
.shapka__ssylki a { text-decoration: none; padding-block: 8px; }
.shapka__ssylki a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.shapka__dejstvie { justify-self: end; }

.etiketka {
  --verh: 124px;
  --vyrez: 28px;
  position: absolute; z-index: 1;
  top: var(--verh); left: 0; right: 0; margin-inline: auto;
  width: min(668px, calc(100% - 2 * var(--pole)));
  height: calc(100% - var(--verh) + 22svh);
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 56px 0;
  background: var(--kraft); color: var(--chernila);
  text-align: center;
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 0 var(--vyrez), #000 calc(var(--vyrez) + .5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 0, #0000 0 var(--vyrez), #000 calc(var(--vyrez) + .5px)) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 0, #0000 0 var(--vyrez), #000 calc(var(--vyrez) + .5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 0, #0000 0 var(--vyrez), #000 calc(var(--vyrez) + .5px)) 100% 0 / 51% 100% no-repeat;
}
.etiketka__imya {
  font-size: var(--t-imya); font-style: italic; font-weight: 400;
  line-height: .95; letter-spacing: -.02em;
}
.etiketka__imya span { display: block; }
.etiketka__imya span:first-child { transform: translateX(-12%); }
.etiketka__imya span:last-child { transform: translateX(12%); }
.etiketka__adres {
  margin-top: 20px; font-size: var(--t-melko); line-height: 1.4;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
}
.romb { display: inline-block; width: 10px; height: 10px; margin-inline: 12px; background: var(--chernila); transform: rotate(45deg); }
.marker {
  margin-top: 6px;
  font-family: var(--marker); font-weight: 600; font-size: var(--t-imya);
  line-height: 1.2; letter-spacing: 0;
  min-height: 1.2em;
}
.marker__tekst { display: inline-block; }
.marker__tekst.ukhodit { opacity: 0; transition: opacity .15s linear; }
.marker__tekst.pishetsya { animation: pishu .45s var(--ease-pishet) both; }
@keyframes pishu { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.etiketka__abzac { margin-top: 10px; max-width: 34ch; }

.vremya { border: 0; margin: 24px 0 0; min-width: 0; width: 100%; }
.vremya legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: var(--t-melko); color: var(--chernila-2); text-align: center; }
.vremya__ryad { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.vremya__ryad label { position: relative; }
.vremya__ryad span {
  display: flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 48px; padding: 0 10px;
  background: var(--ton-na-krafte); color: var(--chernila);
  font-weight: 600; font-variant-numeric: tabular-nums lining-nums;
  cursor: pointer; user-select: none; touch-action: manipulation;
  transition: transform .1s ease-out, background-color .15s ease, color .15s ease;
}
.vremya__ryad label:hover span { background: rgb(31 42 36 / .22); }
.vremya__ryad input:checked + span { background: var(--chernila); color: var(--bumaga); }
.vremya__ryad input:focus-visible + span { outline: 3px solid var(--chernila); outline-offset: 2px; }
.vremya__ryad label:active span { transform: scale(.97); }

.raspisanie { margin-top: 20px; font-size: var(--t-melko); line-height: 1.5; }
.raspisanie b { font-weight: 600; }
.raspisanie li.obnovlen { animation: vyyavi .35s var(--ease-pishet) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes vyyavi { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.etiketka__ssylka { margin-top: 14px; font-size: var(--t-melko); }

/* ───────── 2. Помол под минуту ───────── */
.pomol { padding-block: clamp(96px, 12vw, 190px) clamp(72px, 9vw, 150px); }
.pomol .setka { align-items: end; }
.pomol .fakty, .pomol .pomol__niz { align-items: start; }
.pomol__zag {
  grid-column: 1 / 8;
  font-size: var(--t-zagolovok); font-weight: 300; line-height: 1; letter-spacing: -.02em;
}
.pomol__zametka { grid-column: 10 / 13; max-width: 260px; }
.fakty { margin-top: clamp(56px, 8vw, 120px); row-gap: 40px; align-items: start; }
.fakt { grid-column: span 3; }
.fakt dt { font-size: var(--t-zagolovok); font-weight: 300; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.fakt dd { margin-top: 12px; max-width: 24ch; font-size: var(--t-melko); line-height: 1.45; color: var(--chernila-2); }
.pomol__niz { margin-top: clamp(64px, 8vw, 120px); align-items: start; row-gap: 56px; }
.shkala { grid-column: 1 / 7; max-width: 520px; }
.shkala__krugi { display: block; width: 100%; height: auto; }
.shkala__podpis { display: flex; justify-content: space-between; margin-top: 8px; font-size: var(--t-melko); color: var(--chernila-2); }
.shkala__metki { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 20px; font-weight: 600; }
.shkala__tekst { margin-top: 16px; max-width: 42ch; color: var(--chernila-2); font-size: var(--t-melko); line-height: 1.5; }
.pomol__foto { grid-column: 8 / 13; }
.pomol__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; background: var(--bumaga-2); }
.pomol__foto figcaption { margin-top: 12px; font-size: var(--t-melko); color: var(--chernila-2); max-width: 44ch; }

/* ───────── 3. Меню ───────── */
.menyu { padding-block: clamp(32px, 4vw, 60px) clamp(96px, 12vw, 190px); }
.menyu__kolonka { width: min(600px, 100% - 2 * var(--pole)); margin-inline: auto; container-type: inline-size; }
.menyu__slovo { font-size: 37cqw; font-weight: 700; line-height: .95; letter-spacing: -.035em; margin-bottom: 8px; }
.menyu__legenda { margin-bottom: 28px; color: var(--chernila-2); font-size: var(--t-melko); }

.polosa { background: var(--bumaga-2); margin-top: 6px; }
.polosa::details-content { block-size: 0; overflow: clip; transition: block-size .25s ease, content-visibility .25s allow-discrete; }
.polosa[open]::details-content { block-size: auto; }
.polosa > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 0 20px;
  font-size: var(--t-tekst); font-weight: 600; cursor: pointer; list-style: none;
  touch-action: manipulation;
}
.polosa > summary::-webkit-details-marker { display: none; }
.polosa > summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.polosa[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.polosa > summary:hover { background: rgb(31 42 36 / .06); }
.polosa__spisok { padding: 4px 0 14px; }
.polosa__spisok li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 10px 20px; }
.nazv small { display: block; font-size: var(--t-melko); line-height: 1.4; color: var(--chernila-2); }
.ceny { display: flex; gap: 16px; justify-content: flex-end; white-space: nowrap; }
.ceny b { font-weight: 600; }
.polosa__foto { width: 100%; height: auto; aspect-ratio: 1400 / 624; object-fit: cover; }
.polosa__zametka { padding: 14px 20px 0; font-size: var(--t-melko); color: var(--chernila-2); }
.menyu__dobavit { margin-top: 28px; font-size: var(--t-melko); line-height: 1.5; max-width: 52ch; }
.menyu__dejstvie { margin-top: 28px; }

/* ───────── 4. Как это работает ───────── */
.kak { background: var(--topol); color: var(--bumaga); padding-block: clamp(96px, 12vw, 190px); }
.kak .setka { align-items: start; }
.kak__tekst { grid-column: 1 / 6; position: sticky; top: 48px; }
.kak__zag { font-size: var(--t-zagolovok); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.kak__abzac { margin-top: 24px; max-width: 30ch; font-size: var(--t-vedushchiy); line-height: 1.4; }
.talon {
  --zub: 14px;
  grid-column: 7 / 12; justify-self: start; width: 100%; max-width: 460px;
  padding: 12px 32px 0;
  background: var(--kraft); color: var(--chernila);
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--zub)) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0H28L14 14Z'/%3E%3C/svg%3E") 0 100% / 28px var(--zub) repeat-x;
  mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--zub)) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0H28L14 14Z'/%3E%3C/svg%3E") 0 100% / 28px var(--zub) repeat-x;
}
.talon__gruppa { margin: 22px 0 6px; font-size: var(--t-tekst); font-weight: 700; }
.talon li { display: flex; align-items: center; gap: 0; padding-block: 4px; }
.talon li span { flex: 0 1 auto; }
.talon li time { flex: none; }
.tochki {
  flex: 1 1 24px; min-width: 24px; height: 4px; margin-inline: 8px; position: relative; top: 6px;
  background: radial-gradient(circle at 2px 2px, currentColor 1.7px, #0000 2.2px) 0 0 / 8px 4px repeat-x;
  opacity: .8;
}
.talon__itog {
  margin: 28px -32px 0; min-height: calc(44px + var(--zub)); padding: 0 32px var(--zub);
  display: flex; align-items: center;
  background: var(--chernila); color: var(--bumaga); font-weight: 600;
}

/* ───────── 5. Что приходит в Telegram ───────── */
.tg { position: relative; height: 96svh; min-height: 680px; overflow: hidden; background: var(--chernila); color: var(--bumaga); }
.tg__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 70%; }
.tg__tekst {
  position: absolute; z-index: 1; top: clamp(40px, 8svh, 96px); left: 18%;
  width: min(600px, 64%); padding: 28px 32px 30px;
  background: rgb(31 42 36 / .8);
}
.tg__tekst h2 { font-size: var(--t-zagolovok); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
.tg__tekst p { margin-top: 14px; font-size: var(--t-vedushchiy); line-height: 1.4; }
.slipy {
  position: absolute; z-index: 1; left: var(--pole); right: var(--pole); bottom: 0;
  display: flex; align-items: flex-end; gap: 12px;
}
.slip {
  --vys: 30;
  flex: 1 1 0; min-width: 0; min-height: calc(var(--vys) * 1svh);
  margin-bottom: -22px; padding: 20px 18px 44px;
  background: var(--bumaga); color: var(--chernila);
  font-size: var(--t-melko); line-height: 1.5;
  transform-origin: 50% 100%;
  transition: transform .3s var(--ease-pishet);
}
.slip > span, .slip > b { display: block; }
.slip > b { font-size: var(--t-tekst); font-weight: 700; line-height: 1.25; }
.slip > b.plain { font: inherit; }
.slip__cherta { margin-block: 6px 8px; color: var(--chernila-2); letter-spacing: .08em; white-space: nowrap; overflow: hidden; }
.slip > span + span { margin-top: 4px; }
.slip__marker { font-family: var(--marker); font-weight: 600; font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; margin-top: 8px; }
.slip--1 { --vys: 44; }
.slip--2 { --vys: 34; transform: rotate(-1.4deg); }
.slip--3 { --vys: 40; }
.slip--4 { --vys: 30; }
.slip--5 { --vys: 37; transform: rotate(1.6deg); }
.slip--6 { --vys: 27; }
.slip:hover { transform: rotate(0); }

/* ───────── 6. Заказ ───────── */
.zakaz { padding-block: clamp(96px, 12vw, 180px); }
.kupon {
  --vyemka: 17px;
  grid-column: 2 / 12;
  position: relative;
  display: grid; grid-template-columns: 46% 54%;
  background: var(--urjuk); color: var(--chernila);
  -webkit-mask: radial-gradient(circle var(--vyemka) at 46% 0, #0000 97%, #000) , radial-gradient(circle var(--vyemka) at 46% 100%, #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle var(--vyemka) at 46% 0, #0000 97%, #000), radial-gradient(circle var(--vyemka) at 46% 100%, #0000 97%, #000);
  mask-composite: intersect;
}
.kupon::before {
  content: ""; position: absolute; left: 46%; top: 30px; bottom: 30px; width: 5px; margin-left: -2.5px;
  background: radial-gradient(circle at 2.5px 2.5px, var(--bumaga) 2.5px, #0000 3px) 0 0 / 5px 14px repeat-y;
  pointer-events: none;
}
.kupon__levo { padding: 56px 48px 56px 56px; }
.kupon__levo h2 { font-size: var(--t-zagolovok); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.kupon__levo p { margin-top: 20px; max-width: 34ch; }
.kupon__pravo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; padding: 56px 56px 56px 48px; }
.pole { position: relative; min-width: 0; }
.pole:nth-child(1), .pole:nth-child(4), .kupon__pravo > .knopka, .kupon__primechanie { grid-column: 1 / -1; }
.pole select, .pole input {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  border: 0; border-radius: 0; background-color: var(--bumaga-2); color: var(--chernila);
  font: 400 var(--t-tekst)/1.2 var(--shrift); appearance: none; -webkit-appearance: none;
}
.pole select {
  padding-right: 44px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%231f2a24' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.pole select:disabled { opacity: .7; }
.pole input::placeholder { color: var(--chernila-2); opacity: 1; }
.pole select:focus-visible, .pole input:focus-visible { outline: 3px solid var(--chernila); outline-offset: 2px; }
.kupon__pravo > .knopka { height: 56px; margin-top: 6px; font-size: var(--t-tekst); }
.kupon__primechanie { font-size: var(--t-melko); line-height: 1.4; }
.kupon__itog { grid-column: 2; padding: 56px 56px 56px 48px; align-self: center; }
.kupon__itog[hidden] { display: none; }
.kupon__itog-zag { font-size: var(--t-vedushchiy); font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.kupon__itog p + p { margin-top: 10px; }
.kupon__sbros { margin-left: 16px; padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.kupon.gotovo .kupon__pravo { display: none; }

/* ───────── 7. Подвал — обратная сторона этикетки ───────── */
.podval {
  position: sticky; bottom: 0; z-index: 0;
  display: flex; align-items: flex-end;
  min-height: 600px; padding-top: 170px;
  background: var(--topol); color: var(--chernila);
}
.podval__panel {
  position: relative;
  width: min(1128px, 100% - 2 * var(--pole)); margin-inline: auto;
  min-height: 420px; padding: 56px 56px 28px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; column-gap: 24px;
  background: var(--bumaga);
}
.podval__hrebet { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: clamp(56px, 10vw, 130px); }
.podval__levo { max-width: 34ch; }
.podval__zag { font-size: var(--t-zagolovok); font-weight: 300; line-height: 1; letter-spacing: -.02em; margin-bottom: 20px; }
.podval__ssylki { padding-right: 120px; font-size: 1.125rem; line-height: 1.5; }
.podval__ssylki li { padding-block: 6px; }
.podval__avtor { grid-column: 1 / -1; align-self: end; margin-top: 40px; text-align: center; font-size: var(--t-melko); color: var(--chernila-2); }
.marka { position: absolute; top: 28px; right: 28px; width: 88px; padding: 6px; background: var(--kraft); }
.marka img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

/* ───────── Входы разделов (только если есть скрипт) ───────── */
.js [data-vhod] { opacity: 0; transform: translateY(24px); }
.js [data-vhod].vidno {
  opacity: 1; transform: none;
  transition: opacity .6s ease-out, transform .6s var(--ease-pishet);
  transition-delay: calc(var(--n, 0) * 70ms);
}

/* Фото блока 5 медленно растёт по прокрутке: 1 → 1,06 (без скрипта; где браузер умеет) */
@supports (animation-timeline: view()) {
  .tg__foto { animation: rost linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes rost { from { transform: scale(1); } to { transform: scale(1.06); } }
}

/* ───────── Планшет и телефон ───────── */
@media (max-width: 1100px) {
  .fakt { grid-column: span 6; }
  .pomol__zametka { grid-column: 8 / 13; }
  .pomol__zag { grid-column: 1 / 8; }
  .kak__tekst { grid-column: 1 / 6; }
  .talon { grid-column: 6 / 13; }
  .kupon { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .shapka { display: contents; }
  .shapka__imya { position: absolute; z-index: 3; left: 16px; top: 20px; }
  .shapka__dejstvie { position: absolute; z-index: 3; right: 16px; top: 16px; max-width: 168px; min-height: 52px; padding: 6px 12px; font-size: 1rem; }
  .shapka__ssylki {
    position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
    justify-content: space-between; gap: 8px; padding: 6px 16px 10px; color: var(--chernila);
    font-size: 1rem;
  }
  .shapka__ssylki a { display: inline-flex; align-items: center; min-height: 44px; }
  .etiketka { --verh: 96px; --vyrez: 22px; top: var(--verh); width: calc(100% - 12px); padding: 28px 24px 0; }
  .etiketka__imya span:first-child { transform: none; }
  .etiketka__imya span:last-child { transform: none; }
  .etiketka__imya span:last-child { padding-left: 1.2em; }
  .etiketka__imya span:first-child { padding-right: 1.2em; }
}
@media (max-width: 700px) {
  .pomol .setka { row-gap: 24px; }
  .pomol__zag, .pomol__zametka, .kak__tekst, .shkala, .pomol__foto { grid-column: 1 / -1; }
  .pomol__zametka { max-width: 34ch; }
  .fakty { margin-top: 48px; row-gap: 28px; }
  .fakt { grid-column: span 6; }
  .fakt dt { font-size: var(--t-vedushchiy); font-weight: 600; white-space: normal; }
  .fakt dd { margin-top: 6px; }
  .pomol__niz { margin-top: 56px; row-gap: 40px; }

  .polosa > summary { min-height: 54px; padding-inline: 16px; }
  .polosa__spisok li { grid-template-columns: minmax(0, 1fr); padding: 10px 16px; }
  .polosa__spisok li:has(.ceny > span) { row-gap: 2px; }
  .ceny { justify-content: flex-start; }
  .polosa__spisok li:not(:has(.ceny > span)) { grid-template-columns: minmax(0, 1fr) auto; }
  .polosa__spisok li:not(:has(.ceny > span)) .ceny { justify-content: flex-end; }
  .polosa__zametka { padding-inline: 16px; }

  .kak__tekst { position: static; margin-bottom: 40px; }
  .kak .setka { row-gap: 0; }
  .talon { grid-column: 1 / -1; max-width: none; width: calc(100% - 0px); padding-inline: 20px; }
  .talon__itog { margin-inline: -20px; padding-inline: 20px; }
  .tochki { flex-basis: 12px; min-width: 12px; margin-inline: 6px; }

  /* № 1088: на телефоне панорама 2000×771 под 100svh растягивалась в 3 раза и мылилась — фото полосой, слипы ниже */
  .tg { height: auto; min-height: 0; }
  .tg__foto { position: relative; inset: auto; display: block; height: 430px; object-position: 44% 60%; }
  .tg__tekst { left: 0; width: calc(100% - 24px); top: 24px; padding: 22px 22px 24px; }
  .tg__tekst h2 { font-size: var(--t-vedushchiy); font-weight: 600; line-height: 1.15; }
  .tg__tekst p { font-size: var(--t-tekst); margin-top: 8px; }
  .slipy { position: relative; bottom: auto; margin-top: -160px; left: 0; right: 0; padding-inline: 12px; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; align-items: flex-end; }
  .slipy::-webkit-scrollbar { display: none; }
  .slip { flex: 0 0 30vw; min-width: 150px; scroll-snap-align: start; padding: 16px 14px 48px; }
  .slip--1 { --vys: 40; } .slip--2 { --vys: 32; } .slip--3 { --vys: 36; } .slip--4 { --vys: 30; } .slip--5 { --vys: 34; } .slip--6 { --vys: 28; }

  .zakaz .setka { padding-inline: 8px; }
  .kupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .kupon::before { display: none; }
  .kupon__levo { padding: 36px 24px 44px; position: relative; }
  .kupon__levo::after {
    content: ""; position: absolute; left: 30px; right: 30px; bottom: -2.5px; height: 5px;
    background: radial-gradient(circle at 2.5px 2.5px, var(--bumaga) 2.5px, #0000 3px) 0 0 / 14px 5px repeat-x;
  }
  .kupon__levo::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 34px; z-index: 1;
    background:
      radial-gradient(circle 17px at 0 50%, var(--bumaga) 97%, #0000),
      radial-gradient(circle 17px at 100% 50%, var(--bumaga) 97%, #0000);
  }
  .kupon__levo h2 { font-size: 2rem; }
  .kupon__pravo { padding: 40px 24px 36px; }
  .kupon__itog { grid-column: 1; padding: 40px 24px 36px; }

  .podval { min-height: 0; padding-top: 80px; }
  .podval__panel { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; padding: 36px 24px 24px; row-gap: 28px; }
  .podval__ssylki { padding-right: 0; }
  .podval__levo { padding-right: 96px; }
  .podval__zag { font-size: 2rem; }
  .marka { top: 20px; right: 20px; width: 72px; }
  .podval__avtor { margin-top: 12px; }
}
@media (max-width: 420px) {
  .vremya__ryad { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -24px; padding-inline: 24px; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .vremya__ryad::-webkit-scrollbar { display: none; }
  .vremya__ryad label { flex: none; scroll-snap-align: center; }
  .etiketka__adres { flex-direction: column; gap: 2px; }
  .romb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-vhod], .js [data-vhod].vidno { opacity: 1; transform: none; transition: none; }
  .tg__foto { animation: none; }
  .marker__tekst.pishetsya, .raspisanie li.obnovlen { animation: none; }
  .marker__tekst.ukhodit { transition: none; }
  .polosa::details-content { transition: none; }
  .slip, .knopka, .vremya__ryad span { transition: none; }
}
@media print {
  .podval { position: static; }
}
/* Для автоматических просмотрщиков (снимки, проверки): без «шторки» и без скрытых входов — страница видна целиком */
.avto .podval { position: static; }
.avto [data-vhod] { opacity: 1; transform: none; transition: none; }
