/* «Половина седьмого» — пекарня и кондитерская.
   ПК: стол свёрстан в кадре 1440×900 и масштабируется целиком (--z из masshtab.js).
   Режимы: html.sceny — горизонтальный стол (камера едет от часа к часу), html.prokrutka — станции столбиком, html.tel — телефон. */

/* ---------- шрифты (локально; Jost и Literata переменные, ₽ — из latin-ext) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/jost-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/jost-latin-wght-normal.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: 'Jost'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/jost-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+20BD; }
@font-face { font-family: 'Literata'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/literata-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Literata'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/literata-latin-wght-normal.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: 'Literata'; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url(../fonts/literata-cyrillic-wght-italic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Literata'; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url(../fonts/literata-latin-wght-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: 'Literata'; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url(../fonts/literata-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+20BD; }

/* ---------- цвета и общие ---------- */
:root {
  --muka: #F5F3EC; --pergament: #EAE5D7; --rozh: #22201B; --vtor: #6B6A63;
  --el: #1E4034; --el-svet: #DCE6DF; --kraft: #C8A877; --kraft-t: #a98a5a; --glazur: #EBD55A; --ugol: #D2551F;
  --linia: rgba(34, 32, 27, .14);
  --f: 'Jost', 'Segoe UI', system-ui, sans-serif; --f2: 'Literata', Georgia, 'Times New Roman', serif;
  --z: 1; --sw: 1440px; --sh: 900px; --vw: 100vw;
  --ten-x: 6px; --ten-y: 9px; --ten-r: 12px; --ten-x2: 14px; --ten-y2: 26px; --ten-r2: 30px;
  --svet: #F7F5EF; --svet-x: 30%;
  --shum: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .17 0 0 0 0 .12 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  --volokna: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .5' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  --pyatna: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.1 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--muka); color: var(--rozh); font-family: var(--f); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, h1, h2, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.cifry { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.kursiv { font-family: var(--f2); font-style: italic; font-weight: 380; }
.ugol { color: var(--ugol); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--el); outline-offset: 3px; }

/* свет в углу стола — оттенок по часу */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(70% 90% at var(--svet-x) -10%, var(--svet), rgba(245, 243, 236, 0) 70%);
  transition: background .8s;
}

/* ---------- материалы: крафт, пергамент ---------- */
.kraft {
  position: relative; background-color: var(--kraft); color: var(--rozh);
  background-image: var(--volokna), var(--shum);
  border-radius: 6px 6px 8px 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 -1px 0 rgba(0, 0, 0, .06) inset,
              var(--ten-x) var(--ten-y) var(--ten-r) rgba(80, 58, 26, .22);
}
.kraft-dyrka {
  position: absolute; left: 50%; top: 10px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--muka); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .22);
}
.pergament {
  background-color: var(--pergament); background-image: var(--shum);
  box-shadow: 0 1px 1px rgba(60, 45, 20, .06), 0 22px 50px -24px rgba(70, 50, 20, .28);
}

/* ---------- кнопки, чипы, счётчики ---------- */
.kn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; white-space: nowrap;
  font-family: var(--f); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .25s, background-color .25s, color .25s, box-shadow .25s;
}
.kn-el { background: var(--el); color: #F5F3EC; box-shadow: 0 10px 22px -12px rgba(30, 64, 52, .7); }
.kn-el:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -14px rgba(30, 64, 52, .75); }
.kn-el:disabled { background: #9aa79f; box-shadow: none; transform: none; cursor: default; }
.kn-kontur { border-color: var(--el); color: var(--el); background: rgba(245, 243, 236, .6); }
.kn-kontur:hover { background: var(--el-svet); }
.kn-tekst { background: none; color: var(--el); padding: 0 12px; }
.kn-tekst:hover { text-decoration: underline; text-underline-offset: 4px; }
.kn-mal { height: 38px; padding: 0 18px; font-size: 11.5px; }
.kn-shir { width: 100%; }
.chip {
  height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linia); background: rgba(245, 243, 236, .75);
  font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--rozh);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--el); }
.chip[aria-pressed="true"] { background: var(--el); color: var(--muka); border-color: var(--el); }
.schetchik { display: inline-flex; align-items: center; gap: 2px; height: 34px; border-radius: 999px; background: rgba(245, 243, 236, .9); border: 1px solid var(--linia); }
.schetchik output { min-width: 22px; text-align: center; font-weight: 500; }
.schetchik-kn { width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--el); }
.schetchik-kn:hover { background: var(--el-svet); }

/* ---------- шапка ---------- */
.shapka { position: fixed; left: 0; top: 0; right: 0; z-index: 40; pointer-events: none; }
.shapka-in, .lineyka, .chipy-chasov { pointer-events: auto; }
.shapka-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 66px; padding: 0 30px;
  background: rgba(245, 243, 236, .84); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
}
.pk .shapka-in, .pk .lineyka { width: var(--sw); transform: scale(var(--z)); transform-origin: 0 0; }
.pk .lineyka { margin-top: calc((var(--z) - 1) * 66px); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--el); min-width: 0; }
.logo-znak { width: 38px; height: 38px; flex: none; }
.logo-tekst { display: flex; flex-direction: column; line-height: 1.1; }
.logo-imya { font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.logo-tekst small { font-size: 12.5px; color: var(--vtor); margin-top: 4px; letter-spacing: .01em; }
.shapka-centr { display: flex; align-items: center; gap: 18px; }
.srok { font-size: 13px; color: var(--vtor); white-space: nowrap; }
.sposob { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--el-svet); }
.sposob-kn {
  position: relative; z-index: 1; height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none;
  font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--el); transition: color .3s;
}
.sposob-kn[aria-pressed="true"] { color: var(--muka); }
.sposob-polz { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--el); transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.sposob.dostavka .sposob-polz { transform: translateX(100%); }
.sposob-kn { flex: 1 1 0; min-width: 116px; }
.shapka-pravo { display: flex; align-items: center; gap: 16px; }
.rezhim {
  position: relative; display: inline-flex; width: 228px; height: 34px; padding: 3px; border: 1px solid var(--linia); border-radius: 999px; background: none;
  font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
/* Юра 21.10: плашка не совпадала с надписью (ширина числами под другой шрифт) — половины равные, плашка ровно в половину */
.rezhim > span:not(.rezhim-polz) { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; padding: 0 12px; line-height: 26px; text-align: center; white-space: nowrap; transition: color .3s; }
.rezhim-polz { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--rozh); transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.rezhim-a { color: var(--muka); }
.prokrutka .rezhim-a { color: var(--rozh); }
.prokrutka .rezhim-b { color: var(--muka); }
.prokrutka .rezhim-polz { transform: translateX(100%); }
.mob .rezhim { display: none; }
.paket-kn { position: relative; width: 50px; height: 50px; border: 0; background: none; padding: 0; }
.paket-svg { width: 40px; height: 44px; overflow: visible; }
.paket-telo { fill: var(--kraft); }
.paket-sgib { stroke: rgba(80, 58, 26, .28); stroke-width: 1; fill: none; }
.paket-verh { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.paket-verh path:first-child { fill: #b7955f; }
.paket-skladka { stroke: rgba(70, 50, 20, .35); stroke-width: 1; fill: none; }
.paket-schet {
  position: absolute; right: 0; top: 2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--el); color: var(--muka); font-size: 12px; font-weight: 600; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums;
}

/* линейка часов 04–21 */
.lineyka {
  position: relative; height: 32px; padding: 0 30px 0 132px;
  background: rgba(245, 243, 236, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linia); border-bottom: 1px solid var(--linia);
}
.lineyka-shkala { position: relative; height: 100%; cursor: pointer; }
.lineyka-chas { position: absolute; bottom: 0; width: 1px; height: 6px; background: rgba(34, 32, 27, .28); pointer-events: none; }
.lineyka-chas.polchasa { height: 3px; }
.lineyka-cifra { position: absolute; bottom: 7px; transform: translateX(-50%); font-size: 10px; color: var(--vtor); font-variant-numeric: tabular-nums; pointer-events: none; }
.lineyka-st {
  position: absolute; top: 3px; transform: translateX(-50%); height: 18px; padding: 0 6px; border: 0; border-radius: 4px; background: none;
  font-weight: 500; font-size: 10.5px; letter-spacing: .06em; color: var(--rozh); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.lineyka-st:hover { background: var(--el-svet); }
.lineyka-st.aktiv { color: var(--el); }
.lineyka-st-0 {
  position: absolute; left: -102px; top: 5px; height: 20px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--linia); background: none;
  font-weight: 500; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
}
.lineyka-st-0.aktiv { background: var(--el); color: var(--muka); border-color: var(--el); }
.lineyka-seychas { position: absolute; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--ugol); box-shadow: 0 0 0 3px rgba(210, 85, 31, .18); pointer-events: none; z-index: 2; }
.lineyka-begunok { position: absolute; bottom: 0; height: 3px; width: 34px; margin-left: -17px; border-radius: 2px; background: var(--el); cursor: grab; z-index: 1; }
.lineyka-otrezok { position: absolute; bottom: 0; height: 3px; background: rgba(30, 64, 52, .22); border-radius: 2px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.lineyka-otrezok.b { left: 0; }
.chipy-chasov { display: none; }

/* ---------- мир: стол со станциями ---------- */
.mir { position: relative; z-index: 1; }
.lenta {
  background-color: var(--muka);
  background-image: var(--pyatna), var(--shum);
  background-size: 900px 700px, 240px 240px;
}
.pk .st { position: relative; }
.pk .st-kadr { position: absolute; left: 50%; top: 50%; width: 1440px; height: 900px; margin: -450px 0 0 -720px; transform: scale(var(--z)); }
.sceny, .sceny body { overflow: hidden; height: 100%; }
.sceny .mir { position: fixed; inset: 0; overflow: hidden; }
.sceny .kamera { position: absolute; inset: 0; transform-origin: 50% 56%; }
.sceny .lenta { position: absolute; left: 0; top: 0; height: 100%; display: flex; width: calc(var(--vw) * 10); will-change: transform; }
.sceny .st { flex: 0 0 var(--vw); width: var(--vw); height: 100%; }
.prokrutka .st { height: calc(900px * var(--z)); overflow: hidden; }
.prokrutka .st + .st { border-top: 1px dashed rgba(34, 32, 27, .08); }

/* заголовки станций */
.pk .st-golova { position: absolute; left: 110px; top: 116px; }
.st-chas {
  display: inline-block; font-weight: 300; font-size: 22px; letter-spacing: .02em; color: var(--el);
  padding: 4px 12px; border-radius: 999px; background: var(--el-svet); transform-origin: 0 50%;
}
.st-zag { font-weight: 300; font-size: 64px; line-height: 1.02; letter-spacing: -.02em; margin-top: 14px; }
.st-podpis { font-size: 17px; color: var(--vtor); }
.pk .st-podpis { position: absolute; left: 112px; top: 268px; }

/* ---------- фото изделий: тень по часу ---------- */
.foto { width: 100%; height: auto; filter: drop-shadow(var(--ten-x) var(--ten-y) var(--ten-r) rgba(72, 52, 26, .3)); user-select: none; -webkit-user-drag: none; }
.lite .foto { filter: drop-shadow(4px 6px 6px rgba(72, 52, 26, .24)); }
.izd-foto { position: relative; transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.izd-foto .foto { transition: filter .35s; }
.pk .izd-foto:hover { transform: translateY(-6px) scale(1.035); }
.pk .izd-foto:hover .foto { filter: drop-shadow(var(--ten-x2) var(--ten-y2) var(--ten-r2) rgba(72, 52, 26, .26)); }

/* ---------- 0 · Сейчас ---------- */
.pk .geroy-pergament { position: absolute; left: 64px; top: 112px; width: 1312px; height: 752px; transform: rotate(-.5deg); border-radius: 2px; }
.geroy-zag { position: relative; z-index: 1; font-weight: 300; letter-spacing: -.025em; line-height: .96; color: var(--rozh); }
.geroy-zag .stroka { display: block; white-space: nowrap; }
.pk .geroy-zag { position: absolute; left: 118px; top: 158px; font-size: 124px; }
.geroy-pod { font-family: var(--f2); font-style: italic; font-weight: 360; font-size: 21px; line-height: 1.5; color: #3d3a33; }
.pk .geroy-pod { position: absolute; left: 122px; top: 556px; width: 500px; }
.pk .geroy-knopki { position: absolute; left: 122px; top: 690px; display: flex; gap: 12px; }
.geroy-izd { z-index: 2; }
.pk .geroy-izd { position: absolute; inset: 0; pointer-events: none; }
.g-slot { position: absolute; pointer-events: auto; }
.pk .g-slot-0 { left: 735px; top: 120px; width: 360px; }
.pk .g-slot-1 { left: 1030px; top: 300px; width: 330px; }
.pk .g-slot-2 { left: 742px; top: 440px; width: 300px; }
.pk .g-slot-3 { left: 1105px; top: 590px; width: 255px; }
.g-izd { position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; }
.g-izd .foto { transform: rotate(var(--r, 0deg)); }
.g-cena {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, 6px); opacity: 0; transition: opacity .25s, transform .25s;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(245, 243, 236, .94);
  box-shadow: 0 10px 24px -12px rgba(40, 30, 10, .5); white-space: nowrap; pointer-events: none;
}
.g-cena b { font-weight: 400; font-size: 17px; }
.g-cena span { font-size: 12px; color: var(--vtor); }
.g-cena .kn { height: 32px; padding: 0 14px; font-size: 10.5px; pointer-events: auto; }
.g-slot:hover .g-cena, .g-slot:focus-within .g-cena { opacity: 1; transform: translate(-50%, 0); }
.g-kroshki .foto { opacity: .9; }
.g-podpis-razobrali { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg); font-family: var(--f2); font-style: italic; font-size: 15px; color: var(--vtor); white-space: nowrap; background: rgba(234, 229, 215, .85); padding: 4px 10px; border-radius: 4px; }

.tablo { width: 430px; padding: 34px 26px 20px; transform: rotate(-1.6deg); z-index: 3; }
.pk .tablo { position: absolute; left: 640px; top: 640px; }
.tablo-vremya { display: flex; align-items: baseline; gap: 10px; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tablo-vremya b { font-weight: 300; font-size: 40px; letter-spacing: 0; line-height: 1; color: var(--rozh); }
.tablo-stroka { font-size: 14.5px; line-height: 1.45; margin-top: 6px; color: #2c2820; }
.tablo-stroka b { font-weight: 500; }
.peremotka { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(34, 32, 27, .3); flex-wrap: wrap; }
.peremotka-podpis { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.peremotka-shkala { position: relative; flex: 1 1 140px; height: 26px; cursor: pointer; }
.peremotka-shkala::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 1px; background: rgba(34, 32, 27, .35); }
.peremotka-metka { position: absolute; top: 15px; transform: translateX(-50%); font-size: 9.5px; color: rgba(34, 32, 27, .7); font-variant-numeric: tabular-nums; pointer-events: none; }
.peremotka-ruchka {
  position: absolute; top: 2px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--muka);
  background: var(--el); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); padding: 0; cursor: grab; touch-action: none;
}
.peremotka-ruchka.tyanut { cursor: grabbing; transform: scale(1.15); }
.peremotka-prizrak { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.peremotka-nazad { border: 0; background: none; padding: 0; font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--el); text-decoration: underline; text-underline-offset: 3px; }

.noch-vual {
  position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center;
  background: rgba(234, 229, 215, .55); -webkit-backdrop-filter: blur(1.2px) sepia(.15); backdrop-filter: blur(1.2px) sepia(.15);
  background-image: var(--shum);
}
.pk .noch-vual { left: 748px; top: 120px; width: 628px; height: 520px; transform: rotate(-.5deg); border-radius: 2px; }
.noch-tablichka { padding: 36px 34px 24px; text-align: center; transform: rotate(2deg); }
.noch-zag { font-weight: 300; font-size: 34px; letter-spacing: -.01em; }
.noch-tekst { font-family: var(--f2); font-style: italic; font-size: 17px; margin: 2px 0 14px; }

.geroy-dalshe { position: absolute; right: 0; top: 50%; transform-origin: 100% 50%; transform: translateY(-50%) scale(var(--z)); pointer-events: none; }
.geroy-dalshe-izd { width: 230px; margin-right: -96px; opacity: .95; }
.geroy-dalshe-podpis { position: absolute; right: 26px; bottom: -40px; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--el); text-decoration: none; white-space: nowrap; pointer-events: auto; }
.mob .geroy-dalshe, .prokrutka .geroy-dalshe { display: none; }

/* ---------- 1 · Тесто ---------- */
.pk .testo-shagi { position: absolute; left: 112px; top: 330px; width: 470px; }
.testo-shagi li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--linia); }
.testo-shagi b { font-weight: 300; font-size: 24px; color: var(--el); line-height: 1.1; }
.testo-shagi span { font-size: 17px; line-height: 1.45; }
.testo-kursiv { font-size: 30px; color: var(--el); }
.pk .testo-kursiv { position: absolute; left: 112px; top: 584px; }
.testo-kadry { position: relative; }
.pk .testo-kadry { position: absolute; left: 640px; top: 150px; width: 470px; height: 560px; }
.testo-kadr { position: absolute; left: 0; top: 0; width: 470px; opacity: 0; transition: opacity .6s; }
.testo-kadr.aktiv { opacity: 1; }
.testo-tochki { position: absolute; left: 0; right: 0; bottom: -70px; display: flex; justify-content: center; gap: 8px; }
.testo-tochki button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linia); background: rgba(245, 243, 236, .7); font-size: 12.5px; color: var(--vtor); }
.testo-tochki button b { font-weight: 500; color: var(--rozh); margin-right: 4px; }
.testo-tochki button.aktiv { background: var(--el); border-color: var(--el); color: var(--el-svet); }
.testo-tochki button.aktiv b { color: var(--muka); }
.zakvaska { position: relative; }
.pk .zakvaska { position: absolute; left: 1150px; top: 210px; width: 230px; }
.zakvaska-banka { position: relative; }
.zakvaska-puzyri { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.zakvaska-yarlyk { display: flex; flex-direction: column; gap: 2px; width: 220px; margin: 18px 0 0 6px; padding: 30px 18px 16px; transform: rotate(3deg); font-size: 13.5px; line-height: 1.35; }
.zakvaska-yarlyk > b { font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- витрины: хлеб, выпечка, десерты ---------- */
.pk .hleb-panel { position: absolute; right: 110px; top: 134px; display: flex; align-items: center; gap: 18px; }
.filtry { display: flex; gap: 8px; flex-wrap: wrap; }
.hrust { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px dashed rgba(34, 32, 27, .35); background: none; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vtor); }
.hrust .hrust-volna { opacity: .25; }
.hrust[aria-pressed="true"] { color: var(--el); border-style: solid; border-color: var(--el); }
.hrust[aria-pressed="true"] .hrust-volna { opacity: 1; }
.nozh-podskazka { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f2); font-style: italic; font-size: 15px; color: var(--vtor); }
.pk .nozh-podskazka { position: absolute; left: 112px; top: 268px; }
.mob .nozh-podskazka { display: none; }

.vitrina { position: relative; }
.pk .vitrina-hleb { position: absolute; left: 90px; top: 300px; width: 1260px; height: 580px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.pk .vitrina-vypechka { position: absolute; left: 90px; top: 290px; width: 1260px; height: 590px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); }
.pk .vitrina-vypechka .izd { grid-column: span 2; }
.pk .vitrina-vypechka .izd:nth-child(4) { grid-column: 2 / span 2; }
.pk .vitrina-deserty { position: absolute; left: 90px; top: 320px; width: 1260px; height: 560px; display: grid; grid-template-columns: repeat(4, 1fr); }

.izd { position: relative; transition: opacity .4s, filter .4s; }
.izd.mimo-filtra { opacity: .28; filter: grayscale(.8); }
.pk .izd .izd-foto { position: absolute; left: 0; top: 4px; width: 232px; }
.pk .izd .izd-foto .foto { transform: rotate(var(--r, 0deg)); }
.pk .vitrina-deserty .izd .izd-foto { left: 20px; top: 0; width: 250px; cursor: pointer; }
.izd-ssylka { display: block; }

/* ярлык на бечёвке, переворачивается на нитке */
.yarlyk-mesto { position: absolute; z-index: 3; perspective: 900px; }
.pk .yarlyk-mesto { left: 206px; top: 58px; width: 186px; }
.pk .vitrina-deserty .yarlyk-mesto { left: 46px; top: 272px; width: 200px; }
.bechevka { position: absolute; left: -48px; top: -34px; width: 150px; height: 60px; overflow: visible; pointer-events: none; }
.bechevka path { fill: none; stroke: #a7865a; stroke-width: 1.4; stroke-linecap: round; }
.pk .vitrina-deserty .bechevka { left: 30px; top: -46px; transform: rotate(-70deg); }
.yarlyk { position: relative; width: 100%; height: 168px; transform-style: preserve-3d; transform-origin: 50% 12px; cursor: pointer; border: 0; padding: 0; background: none; text-align: left; }
.pk .vitrina-deserty .yarlyk { height: 186px; }
.yarlyk-storona {
  position: absolute; inset: 0; padding: 30px 16px 14px; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; gap: 4px; overflow: hidden;
}
.yarlyk-oborot { transform: rotateY(180deg); padding-top: 28px; gap: 6px; }
.y-imya { font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.y-ves { font-size: 13px; color: #4a3f2c; }
.y-cena { font-weight: 400; font-size: 26px; line-height: 1; margin-top: auto; }
.y-ostatok { font-size: 12.5px; color: var(--ugol); font-weight: 500; }
.y-ostatok.budet { color: #4a3f2c; }
.y-povernut { position: absolute; right: 10px; bottom: 10px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(34, 32, 27, .55); }
.y-sostav { font-family: var(--f2); font-size: 11.5px; line-height: 1.35; color: #2c2820; }
.y-hranenie { font-family: var(--f2); font-style: italic; font-size: 11px; line-height: 1.35; color: #3b3326; margin-top: auto; }
.allergeny { display: flex; gap: 4px; flex-wrap: wrap; }
.allergeny span { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; border-radius: 50%; border: 1.2px solid var(--rozh); font-size: 10.5px; font-weight: 600; }
.allergeny-podpis { font-size: 10px; color: #4a3f2c; letter-spacing: .02em; }
.naklejka {
  position: absolute; right: -14px; top: -16px; z-index: 4; width: 62px; height: 62px; border-radius: 50%; background: var(--glazur);
  display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg);
  font-weight: 600; font-size: 9.5px; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; color: var(--rozh);
  box-shadow: 0 6px 12px -6px rgba(60, 50, 0, .5); background-image: var(--shum);
}
.naklejka-k { background: var(--el-svet); width: 54px; height: 54px; }
.izd-v-paket { position: absolute; display: flex; align-items: center; gap: 8px; }
.pk .izd-v-paket { left: 212px; top: 240px; }
.pk .vitrina-deserty .izd-v-paket { left: 46px; top: 470px; }
.vkus { font-family: var(--f2); font-style: italic; font-size: 14px; line-height: 1.4; color: #3d3a33; }
.pk .vitrina-deserty .vkus { position: absolute; left: 22px; top: 512px; width: 250px; }

/* разобрали: крошки на пергаменте */
.izd.razobrali .izd-foto .foto:not(.kroshki-foto) { opacity: 0; }
.kroshki-mesto { position: absolute; inset: 6% 2%; display: none; align-items: center; justify-content: center; }
.izd.razobrali .kroshki-mesto { display: flex; }
.kroshki-mesto::before { content: ''; position: absolute; inset: 8% 4%; background: var(--pergament); background-image: var(--shum); transform: rotate(-4deg); box-shadow: 0 10px 20px -14px rgba(60, 40, 10, .4); }
.kroshki-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none !important; opacity: .75; }
.kroshki-tekst { position: relative; z-index: 1; text-align: center; padding: 12px 14px 14px; margin: 0 6%; border-radius: 6px; background: rgba(245, 243, 236, .9); box-shadow: 0 8px 18px -12px rgba(60, 40, 10, .45); font-family: var(--f2); font-style: italic; font-size: 13.5px; line-height: 1.35; color: #3d3a33; }
.kroshki-k { font-family: var(--f); font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ugol); }
.kroshki-tekst .kn { margin-top: 8px; font-style: normal; }
.izd.razobrali .izd-v-paket { visibility: hidden; }

/* нож: две половины целого фото расходятся по линии разреза, под ними — мякиш */
.nozh { position: absolute; inset: 0; cursor: crosshair; touch-action: none; }
.nozh .razrez-foto, .nozh .polovina { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.nozh .polovina .foto, .nozh .razrez-foto .foto { transform: rotate(var(--r, 0deg)); }
.nozh-liniya { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.nozh-liniya line { stroke: rgba(34, 32, 27, .75); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3 3; }
.razrezano .izd-foto > .foto { opacity: 0; }
.razrezano .razrez-foto { opacity: 1; }
.razrez-podpis { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font-family: var(--f2); font-style: italic; font-size: 13px; color: var(--vtor); white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none; }
.razrezano .razrez-podpis { opacity: 1; }

/* ---------- 13:00 Коробка ---------- */
.pk .korobka-upr { position: absolute; right: 110px; top: 132px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.povody, .razmery { display: flex; gap: 8px; flex-wrap: wrap; }
.razmery .chip { min-width: 56px; }
.pk .korobka-mesto { position: absolute; left: 150px; top: 268px; width: 520px; }
.korobka { position: relative; perspective: 1400px; }
.korobka-foto { filter: drop-shadow(var(--ten-x) var(--ten-y) var(--ten-r) rgba(72, 52, 26, .3)); }
.korobka-yachejki { position: absolute; left: 9.5%; top: 11%; width: 81%; height: 77%; display: grid; gap: 6px; }
.yachejka {
  position: relative; border-radius: 6px; background: rgba(234, 229, 215, .55);
  box-shadow: inset 0 2px 6px rgba(90, 66, 30, .28), inset 0 0 0 1px rgba(120, 92, 50, .2);
  display: flex; align-items: center; justify-content: center; transition: background-color .25s, box-shadow .25s;
}
.yachejka.pustaya { background: rgba(220, 230, 223, .55); box-shadow: inset 0 2px 6px rgba(90, 66, 30, .2), inset 0 0 0 1.5px rgba(30, 64, 52, .35); }
.yachejka.pustaya.ryadom { background: rgba(220, 230, 223, .95); box-shadow: inset 0 0 0 2px var(--el); }
.yachejka img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(2px 4px 4px rgba(60, 40, 10, .3)); cursor: pointer; }
.korobka-kryshka { position: absolute; inset: 1.5% 2.5%; transform-origin: 50% 0; transform: rotateX(-92deg); opacity: 0; pointer-events: none; }
.kryshka-lico { position: absolute; inset: 0; border-radius: 6px; background-color: #c9a774; background-image: var(--volokna), var(--shum); box-shadow: inset 0 0 0 1px rgba(110, 80, 40, .35), inset 0 18px 30px -20px rgba(255, 255, 255, .35), 0 20px 40px -20px rgba(60, 40, 10, .5); }
.kryshka-lico::after { content: ''; position: absolute; left: 6%; right: 6%; top: 10%; bottom: 10%; border: 1px dashed rgba(90, 64, 30, .25); border-radius: 4px; }
.korobka-naklejka {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  background: var(--glazur); background-image: var(--shum); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; opacity: 0; pointer-events: none;
  box-shadow: 0 8px 18px -8px rgba(60, 50, 0, .55);
}
.korobka-naklejka span { display: block; font-weight: 400; font-size: 26px; letter-spacing: 0; }
.korobka-itog { margin-top: 14px; font-size: 18px; }
.korobka-itog b { font-weight: 500; }
.korobka-itog .skidka { color: var(--el); font-weight: 500; }
.korobka-knopki { display: flex; gap: 8px; margin-top: 14px; }
.protiven {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 10px; padding: 26px 22px; border-radius: 10px;
  background: linear-gradient(145deg, #3a3833, #24231f); box-shadow: inset 0 0 0 4px #4a4741, inset 0 0 0 5px #1b1a17, 0 24px 40px -22px rgba(0, 0, 0, .55);
}
.pk .protiven { position: absolute; left: 790px; top: 300px; width: 560px; }
.protiven-izd { position: relative; border: 0; padding: 4px; background: none; border-radius: 8px; cursor: grab; touch-action: none; }
.protiven-izd img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, .45)); pointer-events: none; }
.protiven-izd span { display: block; text-align: center; font-size: 10.5px; color: #d9d4c7; line-height: 1.2; margin-top: 2px; }
.protiven-izd:hover { background: rgba(255, 255, 255, .06); }
.protiven-izd.tyanut { z-index: 20; cursor: grabbing; }
.protiven-podpis { font-size: 15px; color: var(--vtor); }
.pk .protiven-podpis { position: absolute; left: 794px; top: 636px; }
.nabory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pk .nabory { position: absolute; left: 790px; top: 672px; width: 560px; }
.nabor { position: relative; padding: 10px 12px 12px; border-radius: 8px; background: rgba(234, 229, 215, .8); background-image: var(--shum); box-shadow: 0 10px 20px -16px rgba(60, 40, 10, .5); }
.nabor-raskladka { position: relative; height: 92px; }
.nabor-raskladka img { position: absolute; width: 46%; filter: drop-shadow(2px 4px 4px rgba(60, 40, 10, .32)); }
.nabor-imya { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; margin-top: 4px; }
.nabor-cena { font-size: 17px; margin-top: 2px; }
.nabor-cena s { font-size: 13px; color: var(--vtor); margin-left: 6px; }
.nabor .kn { margin-top: 8px; height: 30px; font-size: 10.5px; padding: 0 12px; }

/* ---------- 15:00 Торт ---------- */
.tort-zag { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.plashka-daty {
  position: relative; display: inline-block; height: 74px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--el-svet); color: var(--el);
  font-weight: 300; font-size: 54px; letter-spacing: -.02em; line-height: 74px; vertical-align: baseline; overflow: hidden; white-space: nowrap;
  transition: background-color .25s;
}
.plashka-daty:hover { background: #cfdcd3; }
.plashka-daty::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-12px) rotate(45deg); }
.plashka-vnutri { display: inline-block; }
.kalendar {
  position: absolute; z-index: 30; width: 420px; padding: 20px; border-radius: 14px; background: var(--muka); background-image: var(--shum);
  box-shadow: 0 30px 60px -24px rgba(40, 30, 10, .45), 0 0 0 1px var(--linia);
}
.pk .kalendar { left: 470px; top: 200px; }
.kal-mesyac { font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; }
.kal-setka { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kal-dn { font-size: 10.5px; color: var(--vtor); text-align: center; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 4px; }
.kal-den { height: 44px; border: 0; border-radius: 8px; background: rgba(234, 229, 215, .7); font-size: 15px; font-variant-numeric: tabular-nums; position: relative; }
.kal-den:hover:not(:disabled) { background: var(--el-svet); }
.kal-den[aria-pressed="true"] { background: var(--el); color: var(--muka); }
.kal-den:disabled { background: none; color: rgba(34, 32, 27, .28); cursor: help; }
.kal-den.zakryt { text-decoration: line-through; }
.kal-podskazka { margin-top: 12px; font-family: var(--f2); font-style: italic; font-size: 13.5px; color: var(--vtor); min-height: 38px; }
.shag-nomer { font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--el); margin-bottom: 12px; }
.pk .tort-shag-1 { position: absolute; left: 112px; top: 300px; width: 380px; }
.pk .tort-shag-2 { position: absolute; left: 1010px; top: 290px; width: 340px; }
.pk .tort-shag-3 { position: absolute; left: 112px; top: 560px; width: 400px; }
.gosti { display: flex; align-items: center; gap: 16px; }
.gosti input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: rgba(34, 32, 27, .18); }
.gosti input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--el); border: 3px solid var(--muka); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); cursor: grab; }
.gosti input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--el); border: 3px solid var(--muka); cursor: grab; }
.gosti-chislo { font-weight: 300; font-size: 44px; width: 64px; text-align: right; line-height: 1; }
.tort-raschet { font-size: 18px; margin-top: 10px; }
.nadpis-pole { display: block; margin-top: 18px; }
.nadpis-pole span { display: block; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vtor); margin-bottom: 6px; }
.nadpis-pole input, .chek-stroka input, .chek-stroka select {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--linia); background: rgba(255, 255, 255, .55); font-size: 15px;
}
.nadpis-pole input:focus, .chek-stroka input:focus, .chek-stroka select:focus { outline: none; border-color: var(--el); box-shadow: 0 0 0 3px rgba(30, 64, 52, .15); }
.tort-vid { position: relative; }
.pk .tort-vid { position: absolute; left: 530px; top: 250px; width: 440px; }
.tort-krug { position: relative; width: 440px; height: 440px; transition: transform .7s cubic-bezier(.3, .8, .2, 1); }
.tort-foto { position: absolute; inset: 0; }
.tort-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.porciya { stroke: rgba(150, 120, 90, .55); stroke-width: 1.2; stroke-linecap: round; fill: none; }
.nadpis-krem { font-family: var(--f2); font-style: italic; font-weight: 500; font-size: 26px; fill: rgba(255, 252, 245, 0); stroke: #eadfcd; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; paint-order: stroke; filter: drop-shadow(0 1.5px 1px rgba(120, 90, 60, .45)); }
.nadpis-krem.gotovo { fill: #fbf7ee; transition: fill .6s .1s; }
.tort-diametr { text-align: center; margin-top: 12px; font-size: 15px; color: var(--vtor); }
.nachinki { display: flex; flex-direction: column; gap: 10px; }
.nachinka { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--linia); background: rgba(245, 243, 236, .7); text-align: left; transition: border-color .2s, background-color .2s; }
.nachinka img { width: 118px; height: 80px; object-fit: contain; border-radius: 8px; background: #ece9df; }
.nachinka b { display: block; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.nachinka .vkus { font-size: 13px; display: block; margin-top: 3px; }
.nachinka .allergeny { margin-top: 5px; }
.nachinka .allergeny span { width: 18px; height: 18px; font-size: 9px; }
.nachinka[aria-checked="true"] { border-color: var(--el); background: var(--el-svet); box-shadow: inset 0 0 0 1px var(--el); }
.sloty { display: flex; gap: 6px; flex-wrap: wrap; }
.slot { height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--linia); background: rgba(245, 243, 236, .7); font-size: 14px; font-variant-numeric: tabular-nums; }
.slot[aria-checked="true"] { background: var(--el); color: var(--muka); border-color: var(--el); }
.tort-itog { margin-top: 14px; font-size: 15.5px; line-height: 1.45; }
.tort-itog b { font-weight: 500; }
.tort-knopki { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- 18:00 Вечер и отзывы ---------- */
.vecher-plashka { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--el-svet); color: var(--el); font-size: 16px; }
.vecher-plashka .cifry { font-weight: 500; }
.pk .vecher-plashka { position: absolute; left: 112px; top: 276px; }
.vecher-polka { display: flex; gap: 6px; align-items: flex-end; }
.pk .vecher-polka { position: absolute; left: 640px; top: 132px; width: 700px; justify-content: flex-end; }
.v-ostatok { position: relative; width: 100px; text-align: center; }
.v-ostatok img { width: 100%; }
.v-ostatok small { display: block; font-size: 11.5px; color: var(--ugol); font-weight: 500; margin-top: -4px; }
.v-ostatok .v-cena { display: block; font-size: 12px; color: var(--vtor); }
.v-pusto { font-family: var(--f2); font-style: italic; color: var(--vtor); font-size: 15px; }
.reyting { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pk .reyting { position: absolute; left: 112px; top: 326px; }
.reyting-chislo { font-weight: 300; font-size: 54px; line-height: 1; }
.reyting-podpis { font-size: 15px; }
.zvezdy { color: var(--el); letter-spacing: .1em; margin-right: 6px; }
.reyting-ssylki { font-size: 13.5px; color: var(--vtor); width: 100%; }
.pakety { position: relative; }
.pk .pakety { position: absolute; left: 70px; top: 404px; width: 1300px; height: 470px; }
.otzyv { position: absolute; width: 246px; transform: rotate(var(--r, 0deg)); transition: transform .5s cubic-bezier(.3, .8, .2, 1); }
.pk .otzyv:hover { transform: rotate(0deg) translateY(-6px); z-index: 5; }
.otzyv-paket { position: relative; }
.otzyv-paket .foto { width: 100%; }
.otzyv-tekst { position: absolute; left: 15%; right: 15%; top: 23%; bottom: 16%; display: flex; flex-direction: column; mix-blend-mode: multiply; color: #3a2c17; }
.otzyv-ocenka { font-size: 12px; letter-spacing: .14em; color: #3a2c17; }
.otzyv-citata { font-family: var(--f2); font-style: italic; font-size: 13.5px; line-height: 1.42; margin-top: 6px; }
.otzyv-kto { font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: auto; padding-top: 6px; }
.otzyv-niz { position: absolute; left: 16%; right: 10%; bottom: 3.5%; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.otzyv-niz img { width: 52px; filter: drop-shadow(2px 3px 3px rgba(60, 40, 10, .35)); }
.otzyv-niz .kn { height: 30px; font-size: 10px; padding: 0 12px; }

/* ---------- 20:00 Предзаказ и доставка ---------- */
.predzakaz { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; padding: 26px; border-radius: 14px; background: rgba(234, 229, 215, .8); background-image: var(--shum); box-shadow: 0 24px 40px -28px rgba(60, 40, 10, .45); }
.pk .predzakaz { position: absolute; left: 100px; top: 290px; width: 640px; }
.predzakaz-zag { font-weight: 400; font-size: 23px; line-height: 1.25; }
.predzakaz-pod { font-size: 14.5px; color: var(--vtor); margin-top: 4px; }
.otschet { display: flex; gap: 10px; margin-top: 14px; }
.otschet-blok { text-align: center; }
.otschet-cifry { display: flex; gap: 2px; }
.otschet-cifra { position: relative; width: 26px; height: 42px; overflow: hidden; border-radius: 6px; background: var(--muka); box-shadow: inset 0 0 0 1px var(--linia); }
.otschet-cifra span { position: absolute; left: 0; right: 0; top: 0; height: 42px; line-height: 42px; text-align: center; font-weight: 400; font-size: 26px; color: var(--ugol); }
.otschet-podpis { font-size: 10px; color: var(--vtor); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.otschet-zakryt { font-family: var(--f2); font-style: italic; font-size: 16px; color: var(--vtor); }
.polosa { height: 6px; border-radius: 3px; background: rgba(34, 32, 27, .1); margin-top: 16px; overflow: hidden; }
.polosa-zap { display: block; height: 100%; width: 32%; background: var(--ugol); border-radius: 3px; transition: width .8s; }
.predzakaz-ostatok { font-size: 13.5px; margin-top: 6px; color: var(--vtor); }
.predzakaz-pokupka { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.predzakaz-pokupka .cena { font-size: 24px; }
.predzakaz.zakryt .predzakaz-pokupka, .predzakaz.zakryt .polosa, .predzakaz.zakryt .predzakaz-ostatok { display: none; }
.dostavka-karta { position: relative; }
.pk .dostavka-karta { position: absolute; left: 790px; top: 120px; width: 560px; }
.karta { width: 470px; height: 470px; display: block; margin-left: 40px; }
.karta .ulica { stroke: rgba(34, 32, 27, .22); stroke-width: 1; fill: none; }
.karta .ulica-gl { stroke: rgba(34, 32, 27, .38); stroke-width: 1.6; fill: none; }
.karta .reka { stroke: #b9cdd0; stroke-width: 14; fill: none; stroke-linecap: round; opacity: .8; }
.karta .park { fill: rgba(30, 64, 52, .08); }
.karta .zona { fill: rgba(30, 64, 52, .045); stroke: var(--el); stroke-width: 1.2; stroke-dasharray: 4 5; cursor: pointer; transition: fill .3s; }
.karta .zona:hover, .karta .zona.aktiv { fill: rgba(30, 64, 52, .12); stroke-dasharray: none; }
.karta .zona-podpis { font-family: var(--f); font-size: 12px; font-weight: 500; fill: var(--el); letter-spacing: .04em; pointer-events: none; }
.karta .pekarnya { fill: var(--ugol); }
.karta .pekarnya-kolco { fill: none; stroke: var(--ugol); stroke-width: 1.5; opacity: .5; }
.karta .pekarnya-podpis { font-family: var(--f); font-size: 12px; font-weight: 600; fill: var(--rozh); letter-spacing: .06em; }
.zony { display: flex; gap: 8px; margin: 4px 0 0; }
.zony button { flex: 1; padding: 10px 8px; border-radius: 10px; border: 1px solid var(--linia); background: rgba(245, 243, 236, .7); font-size: 13px; text-align: left; line-height: 1.3; }
.zony button b { display: block; font-weight: 400; font-size: 20px; }
.zony button[aria-pressed="true"] { border-color: var(--el); background: var(--el-svet); }
.dostavka-pravila { font-size: 14.5px; line-height: 1.5; margin-top: 12px; }
.dostavka-ssylki { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- 21:00 Закрыто — контакты ---------- */
.tablichka-zakryto { position: absolute; }
.pk .tablichka-zakryto { left: 1010px; top: 112px; width: 300px; }
.tablichka-nit { width: 300px; height: 90px; display: block; }
.tablichka { margin: -6px auto 0; width: 230px; padding: 34px 20px 20px; text-align: center; transform-origin: 50% -80px; animation: kachnut 6s ease-in-out infinite; }
.tablichka b { display: block; font-weight: 300; font-size: 40px; letter-spacing: -.01em; line-height: 1.1; }
.tablichka span { font-size: 15px; }
@keyframes kachnut { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.mob .tablichka-zakryto { display: none; }
.kontakty { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
.pk .kontakty { position: absolute; left: 112px; top: 300px; width: 640px; }
.kontakty-metka { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vtor); }
.kontakty-tekst { font-size: 22px; font-weight: 300; line-height: 1.35; margin-top: 4px; }
.kontakty-tekst a { text-decoration: none; border-bottom: 1px solid var(--linia); }
.kontakty-melko { font-size: 14px; color: var(--vtor); }
.ofis { padding-top: 22px; border-top: 1px solid var(--linia); }
.pk .ofis { position: absolute; left: 112px; top: 560px; width: 640px; }
.ofis-zag { font-weight: 400; font-size: 24px; }
.ofis-tekst { font-size: 18px; margin-top: 4px; }
.podarok { width: 260px; padding: 34px 22px 20px; transform: rotate(-3deg); }
.pk .podarok { position: absolute; left: 1030px; top: 470px; }
.podarok-zag { font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.podarok-nominaly { display: flex; gap: 6px; margin: 12px 0 14px; }
.nominal { flex: 1; height: 34px; border-radius: 8px; border: 1px solid rgba(34, 32, 27, .3); background: rgba(255, 255, 255, .18); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 4px; }
.nominal[aria-pressed="true"] { background: var(--rozh); color: var(--kraft); border-color: var(--rozh); }
.podval { font-size: 13px; color: var(--vtor); display: flex; gap: 20px; flex-wrap: wrap; }
.pk .podval { position: absolute; left: 112px; bottom: 44px; right: 110px; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--linia); }

/* связки на стыке станций: скалка, бечёвка, крошки */
.styk { position: absolute; z-index: 0; pointer-events: none; }
.styk img { width: 100%; }
.mob .styk { display: none; }

/* ---------- пакет-панель (чек) ---------- */
.paket-fon { position: fixed; inset: 0; z-index: 60; background: rgba(34, 32, 27, .28); opacity: 0; transition: opacity .3s; }
.paket-otkryt .paket-fon { opacity: 1; }
.paket-panel {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 61; width: 440px; max-width: 100%; visibility: hidden;
  transform: translateX(105%); transition: transform .45s cubic-bezier(.3, .8, .2, 1), visibility 0s .45s; pointer-events: none;
}
.paket-otkryt .paket-panel { transform: none; pointer-events: auto; visibility: visible; transition: transform .45s cubic-bezier(.3, .8, .2, 1), visibility 0s 0s; }
.chek {
  position: absolute; inset: 0; padding: 26px 26px 22px 40px; overflow-y: auto; overscroll-behavior: contain;
  background-color: #fbfaf6; background-image: var(--shum);
  -webkit-mask: linear-gradient(#000 0 0) right / calc(100% - 12px) 100% no-repeat, conic-gradient(from -135deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 12px 18px repeat-y;
  mask: linear-gradient(#000 0 0) right / calc(100% - 12px) 100% no-repeat, conic-gradient(from -135deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 12px 18px repeat-y;
  filter: drop-shadow(-10px 0 24px rgba(40, 30, 10, .18));
}
.chek-golova { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px dashed rgba(34, 32, 27, .3); }
.chek-zag { font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.chek-zakryt { width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; }
.chek-zakryt:hover { background: var(--el-svet); }
.chek-pusto { padding: 26px 0; font-size: 17px; }
.chek-pusto .kursiv { font-size: 15px; color: var(--vtor); margin-top: 6px; }
.chek-spisok { margin: 6px 0 0; }
.chek-poz { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px dotted rgba(34, 32, 27, .22); }
.chek-poz-imya span { display: block; font-size: 15px; line-height: 1.3; }
.chek-poz-imya small { display: block; font-size: 12.5px; color: var(--vtor); line-height: 1.35; margin-top: 2px; }
.chek-poz-cena { font-size: 15px; white-space: nowrap; min-width: 66px; text-align: right; }
.schetchik-mal { height: 30px; }
.schetchik-mal .schetchik-kn { width: 28px; height: 28px; }
.chek-ubrat { border: 0; background: none; font-size: 12px; color: var(--vtor); text-decoration: underline; text-underline-offset: 3px; }
.chek-nastrojki { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.sposob-chek { width: 100%; }
.chek-stroka { display: flex; align-items: center; gap: 8px; }
.chek-stroka label { flex: 0 0 72px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--vtor); }
.chek-stroka select, .chek-stroka input { height: 40px; font-size: 14px; flex: 1 1 0; min-width: 0; width: auto; }
.chek-promo { font-size: 13px; color: var(--el); min-height: 18px; }
.chek-itogi { margin-top: 10px; padding-top: 12px; border-top: 1px dashed rgba(34, 32, 27, .3); }
.chek-itogi p { display: flex; justify-content: space-between; font-size: 15px; padding: 3px 0; }
.chek-itogi .minus { color: var(--el); }
.chek-itogi .melko { font-size: 13px; color: var(--vtor); }
.chek-itogi .itog { font-size: 22px; font-weight: 400; padding-top: 8px; }
.chek-preduprezhdenie { font-size: 14px; color: var(--ugol); min-height: 22px; margin: 6px 0 10px; }
.chek-melko { font-size: 12px; color: var(--vtor); text-align: center; margin-top: 10px; }
.paket-krug { display: none; }

/* тост */
.tost {
  position: fixed; left: 50%; bottom: 34px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 14px 22px; border-radius: 999px; background: var(--el); color: var(--muka); font-size: 15px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  transition: opacity .35s, transform .35s; max-width: calc(100vw - 32px); text-align: center;
}
.tost.viden { opacity: 1; transform: translate(-50%, 0); }

/* ======================================================================
   ТЕЛЕФОН: обычная прокрутка, без мира, без перетаскивания и звука
   ====================================================================== */
.mob body { padding-top: 106px; }
.mob .shapka { pointer-events: auto; }
.mob .shapka-in { height: 58px; padding: 0 16px; gap: 10px; }
.mob .logo-znak { width: 30px; height: 30px; }
.mob .logo-imya { font-size: 12px; letter-spacing: .1em; }
.mob .logo-tekst small { display: none; }
.mob .shapka-centr { gap: 0; }
.mob .srok, .mob .shapka-pravo { display: none; }
.mob .sposob-kn { min-width: 0; padding: 0 9px; height: 30px; font-size: 10px; letter-spacing: .05em; }
.mob .lineyka { display: none; }
.mob .chipy-chasov {
  display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: rgba(245, 243, 236, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linia);
}
.mob .chipy-chasov::-webkit-scrollbar { display: none; }
.chip-chas { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--linia); background: none; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--rozh); }
.chip-chas b { font-weight: 500; margin-right: 4px; }
.chip-chas.aktiv { background: var(--el); border-color: var(--el); color: var(--muka); }
.chip-chas.seychas-chas { box-shadow: inset 0 0 0 1.5px var(--ugol); }
.mob .st { position: relative; scroll-margin-top: 106px; }
.mob .st-kadr { position: relative; padding: 34px 16px 42px; }
.mob .st + .st .st-kadr { border-top: 1px solid var(--linia); }
.mob .st-zag { font-size: 38px; margin-top: 10px; }
.mob .st-chas { font-size: 16px; }
.mob .st-podpis { margin-top: 10px; font-size: 15px; }

.mob .geroy-pergament { position: absolute; left: 10px; right: 10px; top: 16px; bottom: 16px; transform: rotate(-.6deg); }
.mob .geroy-zag { font-size: 52px; position: relative; padding: 10px 6px 0; }
.mob .geroy-zag .stroka { white-space: normal; }
.mob .geroy-pod { position: relative; font-size: 17px; margin: 16px 6px 0; }
.mob .geroy-knopki { position: relative; display: flex; gap: 8px; margin: 20px 6px 0; flex-wrap: wrap; }
.mob .geroy-knopki .kn { flex: 1 1 auto; height: 46px; padding: 0 16px; font-size: 12px; }
.mob .tablo { position: relative; width: auto; margin: 26px 4px 0; transform: rotate(-1deg); }
.mob .geroy-izd { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; margin: 20px 0 0; }
.mob .g-slot { position: relative; }
.mob .g-slot-0 { grid-column: 1 / span 2; width: 74%; margin: 0 auto -20px; }
.mob .g-slot-3 { display: none; }
.mob .g-cena { opacity: 1; transform: translate(-50%, 0); top: auto; bottom: 8%; padding: 5px 5px 5px 12px; }
.mob .g-cena span { display: none; }
.mob .g-cena b { font-size: 15px; }
.mob .noch-vual { position: absolute; left: 6px; right: 6px; bottom: 30px; height: auto; top: auto; }
.mob .noch-tablichka { padding: 30px 20px 18px; margin: 20px 0; }

.mob .testo-shagi { margin-top: 20px; }
.mob .testo-shagi li { grid-template-columns: 70px 1fr; }
.mob .testo-shagi span { font-size: 15.5px; }
.mob .testo-kursiv { margin-top: 14px; font-size: 24px; }
.mob .testo-kadry { height: 0; padding-bottom: calc(100% + 60px); margin-top: 18px; }
.mob .testo-kadr { width: 100%; }
.mob .testo-tochki { bottom: 0; flex-wrap: wrap; }
.mob .testo-tochki button { height: 30px; padding: 0 10px; font-size: 11.5px; }
.mob .zakvaska { display: grid; grid-template-columns: 44% 1fr; gap: 12px; align-items: center; margin-top: 18px; }
.mob .zakvaska-puzyri { display: none; }
.mob .zakvaska-yarlyk { width: auto; margin: 0; font-size: 12.5px; padding: 28px 12px 12px; }

.mob .hleb-panel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mob .hrust { display: none; }
.mob .vitrina { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; margin-top: 22px; }
.mob .izd { display: flex; flex-direction: column; }
.mob .izd-foto { width: 92%; margin: 0 auto; }
.mob .yarlyk-mesto { position: relative; margin-top: 4px; perspective: 700px; }
.mob .bechevka { display: none; }
.mob .yarlyk { height: 176px; }
.mob .yarlyk-storona { padding: 26px 12px 10px; }
.mob .y-imya { font-size: 10.5px; letter-spacing: .06em; }
.mob .y-cena { font-size: 22px; }
.mob .y-sostav { font-size: 10.5px; }
.mob .y-hranenie { font-size: 10px; }
.mob .izd-v-paket { position: relative; margin-top: 8px; }
.mob .izd-v-paket .kn { height: 34px; padding: 0 14px; font-size: 10.5px; }
.mob .vkus { font-size: 13px; margin-top: 6px; }
.mob .naklejka { width: 50px; height: 50px; font-size: 8px; right: -6px; top: -10px; }
.mob .nozh { display: none; }
.mob .izd-foto .razrez-mob { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.mob .izd-foto.pokazan-razrez .razrez-mob { opacity: 1; }
.mob .izd-foto.pokazan-razrez > .foto { opacity: 0; transition: opacity .5s; }
.mob .izd-foto > .foto { transition: opacity .5s; }

.mob .korobka-upr { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mob .povody .chip, .mob .razmery .chip { height: 32px; font-size: 10.5px; padding: 0 12px; }
.mob .korobka-mesto { margin-top: 18px; }
.mob .korobka-itog { font-size: 16px; }
.mob .protiven { margin-top: 18px; grid-template-columns: repeat(5, 1fr); padding: 14px 10px; gap: 4px; }
.mob .protiven-izd span { font-size: 9px; }
.mob .protiven-podpis { margin-top: 8px; font-size: 13px; }
.mob .nabory { margin-top: 18px; grid-template-columns: 1fr; }
.mob .nabor { display: grid; grid-template-columns: 120px 1fr; gap: 0 12px; align-items: center; }
.mob .nabor-raskladka { grid-row: span 3; height: 86px; }

.mob .tort-zag { font-size: 36px; gap: 10px; }
.mob .plashka-daty { font-size: 26px; height: 46px; line-height: 46px; padding: 0 16px; }
.mob .plashka-daty::after { width: 8px; height: 8px; margin-left: 8px; transform: translateY(-6px) rotate(45deg); }
.mob .kalendar { position: relative; width: auto; margin-top: 14px; padding: 14px; }
.mob .kal-den { height: 40px; }
.mob .tort-shag { margin-top: 26px; }
.mob .tort-vid { margin-top: 22px; }
.mob .tort-krug { width: min(88vw, 360px); height: min(88vw, 360px); margin: 0 auto; }
.mob .tort-itog { position: -webkit-sticky; position: sticky; bottom: 0; z-index: 3; margin: 16px -16px 0; padding: 12px 16px; background: rgba(245, 243, 236, .96); box-shadow: 0 -10px 20px -14px rgba(0, 0, 0, .3); }

.mob .vecher-plashka { margin-top: 16px; font-size: 14px; border-radius: 14px; }
.mob .vecher-polka { overflow-x: auto; margin-top: 16px; padding-bottom: 6px; }
.mob .v-ostatok { flex: none; width: 92px; }
.mob .reyting { margin-top: 18px; }
.mob .pakety { display: flex; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; margin: 20px -16px 0; padding: 10px 16px 18px; scrollbar-width: none; }
.mob .pakety::-webkit-scrollbar { display: none; }
.mob .otzyv { position: relative; flex: none; width: 74vw; max-width: 300px; scroll-snap-align: center; left: auto !important; top: auto !important; }
.mob .otzyv-citata { font-size: 14.5px; }

.mob .predzakaz { margin-top: 20px; grid-template-columns: 1fr; padding: 18px; }
.mob .predzakaz-foto { width: 64%; margin: 0 auto; }
.mob .dostavka-karta { margin-top: 26px; }
.mob .karta { width: 100%; height: auto; margin: 0; }
.mob .zony { flex-wrap: wrap; }
.mob .zony button { flex: 1 1 30%; font-size: 12px; }

.mob .kontakty { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 20px; }
.mob .kontakty-tekst { font-size: 18px; }
.mob .ofis { margin-top: 26px; }
.mob .podarok { margin: 30px auto 0; }
.mob .podval { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--linia); flex-direction: column; gap: 6px; }

.mob .paket-krug {
  display: flex; align-items: center; justify-content: center; position: fixed; right: 16px; bottom: 18px; z-index: 50;
  width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--el); box-shadow: 0 14px 30px -12px rgba(30, 64, 52, .8);
}
.mob .paket-krug svg { width: 30px; height: 32px; }
.mob .paket-krug .paket-schet { right: -2px; top: -2px; background: var(--ugol); }
.mob .paket-panel { left: 0; top: auto; width: 100%; height: 88vh; transform: translateY(105%); }
.mob.paket-otkryt .paket-panel { transform: none; }
.mob .chek {
  padding: 30px 18px 24px; border-radius: 0;
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 12px) no-repeat, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 12px repeat-x;
  mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 12px) no-repeat, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 12px repeat-x;
}
.mob .tost { bottom: 96px; }

/* появление на прокрутке: только transform и opacity */
.mob .poyav { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.3, .8, .2, 1); }
.mob .poyav.vidno { opacity: 1; transform: none; }

/* страница изделия использует общие токены; переход фото — через View Transitions */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.3, .8, .2, 1); }

/* ---------- дополнения: линейка, стыки, календарь, торт, вечер, карта ---------- */
.lineyka-otrezok.vtoroj { left: auto; }
.kamera-edet .st { pointer-events: none; }
.styk { transform: rotate(var(--rs, 0deg)); }
.styk img { filter: drop-shadow(var(--ten-x) var(--ten-y) var(--ten-r) rgba(72, 52, 26, .26)); }
.styk-kroshki img { filter: none; opacity: .9; }
.styk-bechevka svg { width: 100%; height: auto; overflow: visible; display: block; }
.styk-bechevka path { fill: none; stroke: #a7865a; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(2px 3px 2px rgba(72, 52, 26, .28)); }
.prokrutka .styk { display: none; }

.kal-mesyac { align-items: center; }
.kal-str { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; font-size: 20px; line-height: 1; color: var(--el); }
.kal-str:hover:not(:disabled) { background: var(--el-svet); }
.kal-str:disabled { opacity: .25; cursor: default; }
.kal-den.rano, .kal-den.zakryt { background: none; color: rgba(34, 32, 27, .3); cursor: help; }
.kal-den.zakryt { text-decoration: line-through; }

.porciya-kromka { stroke: rgba(255, 255, 255, .85); stroke-width: 1.1; stroke-linecap: round; fill: none; }
.porciya { stroke: rgba(122, 92, 62, .5); }
.nadpis-krem { fill: rgba(92, 56, 36, 0); stroke: #6a4129; stroke-width: 1.3; stroke-dasharray: 420; stroke-dashoffset: 0; filter: drop-shadow(0 1.2px .6px rgba(60, 35, 20, .35)); }
.nadpis-krem.gotovo { fill: #6a4129; }

.v-zag { width: 100%; text-align: right; font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--vtor); margin-bottom: 4px; }
.vecher-polka { flex-wrap: wrap; }
.v-ryad { display: flex; gap: 6px; align-items: flex-end; justify-content: flex-end; width: 100%; }
.v-ostatok { border: 0; background: none; padding: 0; cursor: pointer; transition: transform .3s; }
.v-ostatok:hover { transform: translateY(-4px); }
.v-ostatok img { filter: drop-shadow(var(--ten-x) var(--ten-y) var(--ten-r) rgba(72, 52, 26, .28)); }
.v-imya { display: block; font-size: 11.5px; line-height: 1.2; color: var(--rozh); }
.v-cena s { color: var(--vtor); font-size: 11px; }
.protiven-izd span b { display: block; font-weight: 400; color: #b8b2a3; font-size: 10px; }
.korobka-itog .do-skidki { color: var(--vtor); font-size: 14px; }

.karta .rajon { font-family: var(--f); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; fill: rgba(34, 32, 27, .42); }
.karta .most { stroke: rgba(34, 32, 27, .45); stroke-width: 3; fill: none; stroke-linecap: round; }
.karta .zona-metka rect { fill: rgba(245, 243, 236, .92); stroke: rgba(30, 64, 52, .25); }
.karta .pekarnya-kolco { transform-origin: 280px 280px; animation: puls 2.6s ease-out infinite; }
@keyframes puls { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.lite .karta .pekarnya-kolco { animation: none; }
.otschet-cifra span { will-change: transform; }
.podval-izd { display: none; }

/* ---------- страница изделия ---------- */
.izd-str { min-height: 100vh; }
.stranica body, .izd-str { overflow: auto; height: auto; }
.shapka-izd .shapka-in { justify-content: flex-start; }
.shapka-izd .shapka-pravo { margin-left: auto; }
.nazad { display: inline-flex; align-items: center; gap: 10px; margin-left: 40px; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--el); text-decoration: none; }
.nazad:hover span { text-decoration: underline; text-underline-offset: 4px; }
.izdelie { position: relative; z-index: 1; }
.pk .izdelie { zoom: var(--z); display: grid; grid-template-columns: 560px 1fr; gap: 30px 70px; width: 1240px; margin: 0 auto; padding: 118px 40px 40px; }
.izd-geroy { position: relative; }
.izd-foto-bol { position: relative; aspect-ratio: 1 / 1; }
.izd-foto-bol .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s, transform .5s; }
.izd-celoe { view-transition-name: izd-foto; }
.izd-razrez { opacity: 0; transform: scale(.98); }
.izd-razrez.sboku { inset: 12% 0; height: 76%; }
.pokazan-razrez .izd-razrez { opacity: 1; transform: none; }
.pokazan-razrez .izd-celoe { opacity: 0; }
.izd-vid { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.izd-info { padding-top: 40px; }
.izd-kat { font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--el); }
.izd-zag { font-weight: 300; font-size: 58px; line-height: 1.02; letter-spacing: -.02em; margin-top: 14px; }
.izd-vkus { font-size: 22px; color: #3d3a33; margin-top: 14px; }
.izd-ves { font-size: 18px; margin-top: 22px; color: var(--vtor); }
.izd-ves b { font-weight: 400; font-size: 34px; color: var(--rozh); margin-right: 6px; }
.izd-ostatok { font-size: 14.5px; color: var(--vtor); margin-top: 6px; }
.izd-knopka { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.schetchik-bol { height: 48px; }
.schetchik-bol .schetchik-kn { width: 44px; height: 44px; font-size: 22px; }
.schetchik-bol output { min-width: 30px; font-size: 18px; }
.izd-v-pakete { font-size: 14px; color: var(--vtor); }
.izd-svedeniya { display: grid; grid-template-columns: 120px 1fr; gap: 14px 20px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--linia); }
.izd-svedeniya dt { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vtor); padding-top: 3px; }
.izd-svedeniya dd { margin: 0; font-size: 15.5px; line-height: 1.5; }
.izd-svedeniya .allergeny { margin-bottom: 4px; }
.izd-svedeniya .allergeny-podpis { font-size: 13px; }
.izd-pary { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--linia); }
.izd-pary-zag { font-weight: 300; font-size: 34px; letter-spacing: -.01em; }
.izd-pary-ryad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 18px; }
.para { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto auto 1fr; gap: 4px 18px; align-items: start; }
.para-ssylka { display: contents; text-decoration: none; }
.para-ssylka .foto { grid-row: 1 / span 3; width: 150px; transition: transform .35s; }
.para-ssylka:hover .foto { transform: translateY(-5px) scale(1.03); }
.para-imya { font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding-top: 34px; }
.para-cena { font-size: 18px; }
.para .kn { justify-self: start; }
.izd-net { grid-column: 1 / -1; text-align: center; padding: 80px 0; }
.izd-net .kn { margin-top: 26px; }
.pk .podval-izd, .mob .podval-izd { position: static; display: flex; justify-content: space-between; width: 1160px; margin: 30px auto 50px; padding-top: 16px; border-top: 1px solid var(--linia); zoom: var(--z); }
.mob .izdelie { padding: 76px 16px 20px; }
.mob .shapka-izd .shapka-in { padding: 0 12px; }
.mob .shapka-izd .logo-tekst small { display: none; }
.mob .nazad { margin-left: 14px; font-size: 10.5px; letter-spacing: .05em; }
.mob .nazad span { max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mob .shapka-izd .shapka-pravo { display: none; }
.mob .izd-foto-bol { width: 88%; margin: 0 auto; }
.mob .izd-info { padding-top: 18px; }
.mob .izd-zag { font-size: 38px; }
.mob .izd-vkus { font-size: 18px; }
.mob .izd-svedeniya { grid-template-columns: 1fr; gap: 4px; }
.mob .izd-svedeniya dd { margin-bottom: 12px; }
.mob .izd-pary { margin-top: 30px; }
.mob .izd-pary-ryad { grid-template-columns: 1fr; gap: 18px; }
.mob .para { grid-template-columns: 110px 1fr; }
.mob .para-ssylka .foto { width: 110px; }
.mob .para-imya { padding-top: 16px; }
.mob .podval-izd { width: auto; margin: 30px 16px 110px; flex-direction: column; gap: 6px; zoom: 1; font-size: 13px; color: var(--vtor); }
@media (max-width: 900px) { @view-transition { navigation: none; } }

/* телефон: порядок первого экрана — заголовок, табло, изделия, текст, кнопки */
.mob .st-seychas .st-kadr { display: flex; flex-direction: column; }
.mob .geroy-zag { order: 1; }
.mob .tablo { order: 2; }
.mob .geroy-izd { order: 3; }
.mob .geroy-pod { order: 4; }
.mob .geroy-knopki { order: 5; margin-bottom: 10px; }
.mob .noch-vual { order: 6; }
.mob .kroshki-tekst { margin: 0 2px; padding: 8px 6px 10px; font-size: 12px; }
.mob .kroshki-dop { display: none; }
.mob .kroshki-tekst .kn { height: 30px; padding: 0 10px; font-size: 9.5px; letter-spacing: .04em; }
.mob .mir { overflow-x: clip; }
/* итог торта прилипает снизу по всей станции, а не только внутри шага 3 */
.mob .tort-shag-3 { display: contents; }
.mob .tort-shag-3 .shag-nomer { margin-top: 26px; }

.mob .tort-itog { padding-right: 92px; }
.mob .sposob-kn { font-size: 9.5px; letter-spacing: .03em; padding: 0 8px; }
/* старые iPhone (iOS ≤ 14): без aspect-ratio блок с абсолютными детьми схлопывается */
@supports not (aspect-ratio: 1 / 1) { .izd-foto-bol::before { content: ''; display: block; padding-top: 100%; } }
.mob .vecher-polka { overflow: visible; }
.mob .v-ryad { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
.mob .v-ryad::-webkit-scrollbar { display: none; }
.mob .v-zag { text-align: left; }
