:root {
  --o: #F26A1B;          /* фирменный оранжевый */
  --o-btn: #E2570C;      /* оранжевый для кнопок с белым текстом */
  --o-soft: #FDE3D2;
  --k: #161616;          /* фирменный чёрный */
  --k-2: #2A2A2A;
  --cream: #FFF1E4;
  --bg: #FFFAF5;
  --card: #FFFFFF;
  --line: #F0E2D5;
  --line-2: #E4D3C4;
  --text: #161616;
  --muted: #6E645C;
  --wa: #128C4A;
  --wa-h: #0E7A40;
  --danger: #C0341D;
  --r: 16px;
  --r-sm: 10px;
  --head-h: 68px;
  --shadow: 0 1px 2px rgba(22, 22, 22, .04), 0 6px 20px rgba(120, 60, 20, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 64px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font); }
img { display: block; max-width: 100%; }
[hidden]:not(.cartbar) { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

.skip { position: absolute; left: 8px; top: -60px; background: var(--k); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- иконки (маски) ---------- */
.ico { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex: none; }
.ico-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.ico-bag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.3 8h11.4a2 2 0 0 1 2 2.3l-1.3 8A3 3 0 0 1 15.4 21H8.6a3 3 0 0 1-3-2.7l-1.3-8A2 2 0 0 1 6.3 8z'/%3E%3Cpath d='M9 11V6a3 3 0 0 1 6 0v5'/%3E%3C/svg%3E"); }
.ico-x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.ico-back { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E"); }
.ico-plus { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.ico-minus { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.ico-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3C/svg%3E"); }
.ico-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.ico-route { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='5' r='2'/%3E%3Cpath d='M12 19h4.5a3.5 3.5 0 0 0 0-7h-9a3.5 3.5 0 0 1 0-7H12'/%3E%3C/svg%3E"); }
.ico-wa { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2c-1.5 0-3-.4-4.3-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E"); }
.ico-photo { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17c3-1 5-1 8 0s5 1 8 0'/%3E%3Cpath d='M6 13c2-4 10-4 12 0'/%3E%3Cpath d='M12 5v3'/%3E%3C/svg%3E"); }

.ico-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ico-flame { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2c1 3.5-1.5 5.2-3 7.3C7.6 11.2 7 12.7 7 14.5a5 5 0 0 0 10 0c0-1.6-.6-3-1.6-4.2.1 1.4-.5 2.5-1.6 2.9.6-3.6-.4-8.2-1.8-11.2z'/%3E%3C/svg%3E"); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s var(--ease), transform .1s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--k); color: #fff; }
.btn--dark:hover { background: var(--k-2); }
.btn--orange { background: var(--o-btn); color: #fff; }
.btn--orange:hover { background: #CF4D07; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-h); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { background: var(--cream); }
.btn--block { width: 100%; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.iconbtn:hover { background: var(--cream); }

/* ---------- шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--k); color: #fff; height: var(--head-h); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__txt b { font-weight: 900; font-size: 17px; letter-spacing: .04em; }
.brand__txt small { font-weight: 800; font-size: 10.5px; letter-spacing: .14em; color: var(--o); margin-top: 3px; }
.topnav { display: none; gap: 4px; }
.topnav a { text-decoration: none; color: #D9D4CF; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.phone { display: none; align-items: center; gap: 8px; text-decoration: none; color: #E9E4DF; font-weight: 500; font-size: 15px; padding: 8px 10px; }
.phone:hover { color: #fff; }
.lang { height: 40px; min-width: 44px; padding: 0 10px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.lang:hover { border-color: #fff; }
.cartbtn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 0; background: var(--o-btn); color: #fff; font-weight: 600; font-size: 15px; }
.cartbtn:hover { background: #CF4D07; }
.cartbtn__count { background: #fff; color: var(--o-btn); min-width: 22px; height: 22px; border-radius: 999px; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; font-weight: 700; }
@media (min-width: 900px) {
  .topnav { display: flex; }
  .phone { display: inline-flex; }
}
@media (max-width: 420px) {
  :root { --head-h: 60px; }
  .brand img { width: 38px; height: 38px; }
  .brand__txt b { font-size: 15px; }
}

/* ---------- первый экран ---------- */
.hero { background: var(--cream); overflow: hidden; position: relative; isolation: isolate; }
.hero__dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(226, 87, 12, .14) 1.5px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 80%); mask-image: linear-gradient(115deg, transparent 35%, #000 80%); }
.hero__in { position: relative; display: grid; gap: 28px; padding-top: 28px; padding-bottom: 8px; align-items: center; }
.stamp { display: inline-block; background: var(--o-btn); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; transform: rotate(-2deg); }
.hero__title { font-weight: 900; font-size: clamp(34px, 7.6vw, 64px); letter-spacing: -.015em; line-height: 1.05; margin: 16px 0 14px; text-wrap: balance; }
.brush { position: relative; display: inline-block; color: #fff; padding: 0 .14em; z-index: 0; }
.brush::before { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.1em; top: .12em; bottom: .02em; background: var(--o-btn); border-radius: .18em .5em .22em .6em; transform: rotate(-2.2deg) skewX(-6deg); box-shadow: .08em .08em 0 var(--k); }
.hero__sub { color: var(--muted); font-size: 16.5px; max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; box-shadow: 0 10px 24px rgba(226, 87, 12, .3); }
.btn--lg .ico { transition: transform .2s var(--ease); }
.btn--lg:hover .ico { transform: translateX(4px); }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.facts li { display: flex; flex-direction: column; line-height: 1.15; padding-left: 14px; border-left: 3px solid var(--o); }
.facts b { font-family: var(--font-head); font-weight: 900; font-size: 24px; white-space: nowrap; }
.facts span { color: var(--muted); font-size: 13.5px; }

.script { font-family: var(--font-script); font-weight: 600; font-size: 30px; color: var(--k); margin-top: 18px; transform: rotate(-3deg); transform-origin: left; display: inline-block; }
.script::after { content: " ♡"; color: var(--o); }
.script--center { display: block; text-align: center; transform-origin: center; margin-top: 28px; }

/* картинка справа */
.hero__art { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; }
.hero__disc { position: absolute; inset: 9% 4% 5% 12%; border-radius: 50%; background: var(--o); }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero__ring text { font-family: var(--font-head); font-weight: 900; font-size: 12.5px; letter-spacing: .12em; fill: var(--k); }
.hero__plate { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; background: var(--o-soft); border: 8px solid #fff; box-shadow: 0 24px 50px rgba(120, 50, 10, .28); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .8s var(--ease); }
.hero__art:hover .hero__plate img { transform: scale(1.12) rotate(-2deg); }
.hero__steam { position: absolute; left: 50%; top: 9%; width: 70px; height: 70px; transform: translateX(-50%); display: flex; justify-content: space-between; pointer-events: none; }
.hero__steam i { display: block; width: 8px; height: 46px; border-radius: 8px; background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85)); filter: blur(2px); opacity: 0; animation: steam 3.2s ease-in-out infinite; }
.hero__steam i:nth-child(2) { animation-delay: 1s; height: 56px; }
.hero__steam i:nth-child(3) { animation-delay: 2s; }
.sticker { position: absolute; top: 2%; right: 1%; width: 27%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--k); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: clamp(13px, 2.6vw, 19px); line-height: 1.05; text-transform: uppercase;
  clip-path: polygon(50% 0%, 61% 9%, 75% 4%, 80% 18%, 95% 21%, 92% 36%, 100% 50%, 92% 64%, 95% 79%, 80% 82%, 75% 96%, 61% 91%, 50% 100%, 39% 91%, 25% 96%, 20% 82%, 5% 79%, 8% 64%, 0% 50%, 8% 36%, 5% 21%, 20% 18%, 25% 4%, 39% 9%);
  animation: wobble 4s ease-in-out infinite; }
.sticker span { transform: rotate(-8deg); }
.hero__logo { position: absolute; width: 30%; left: 0; bottom: 4%; transform: rotate(-10deg); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .22)); animation: float 5s ease-in-out infinite; }
.hero__script { position: absolute; right: 0; bottom: -2%; margin: 0; font-size: clamp(22px, 3.4vw, 30px); background: #fff; padding: 2px 14px 4px; border-radius: 12px; box-shadow: 0 8px 20px rgba(120, 50, 10, .14); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(18px) scaleY(.7); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-26px) scaleY(1.1); } }
@keyframes wobble { 0%, 100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(18deg) scale(1.05); } }
@keyframes float { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-8px); } }

@media (min-width: 860px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; padding-top: 44px; gap: 40px; }
}
@media (max-width: 859px) {
  .hero__art { width: min(86%, 360px); order: -1; }
  .hero__script { display: none; }
  .facts { gap: 10px 20px; }
  .facts b { font-size: 20px; }
}

/* хиты */
.picks { position: relative; display: flex; align-items: center; gap: 16px; margin: 22px 0 30px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(120, 50, 10, .08); }
.picks__title { flex: none; display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding: 0 8px 0 6px; color: var(--o-btn); }
.picks__list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-snap-type: x mandatory; }
.picks__list::-webkit-scrollbar { display: none; }
.pick { flex: 1 0 200px; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; border-radius: 16px; background: var(--bg); border: 1px solid transparent; transition: border-color .15s var(--ease), background .15s var(--ease); }
.pick:hover { border-color: var(--line-2); background: #fff; }
.pick__img { width: 54px; height: 54px; flex: none; border-radius: 12px; overflow: hidden; background: var(--o-soft); }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__txt { flex: 1; min-width: 0; line-height: 1.2; }
.pick__txt b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick__txt span { color: var(--muted); font-size: 13px; }
.pick .add { width: 40px; height: 40px; padding: 0; justify-content: center; flex: none; }
@media (max-width: 599px) {
  .picks { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .picks__title { padding: 2px 4px; }
  .pick { flex-basis: 78%; }
}

.add.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }

/* бегущая строка */
.ticker { background: var(--k); color: #fff; overflow: hidden; border-top: 4px solid var(--o); border-bottom: 4px solid var(--o); }
/* Движение задаёт app.js (Web Animations, в пикселях) — так строка едет и в Safari на iPhone. */
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__track span { font-family: var(--font-head); font-weight: 900; font-size: clamp(16px, 2.4vw, 22px); text-transform: uppercase; letter-spacing: .05em; padding: 12px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.ticker__track span::after { content: ""; width: 10px; height: 10px; margin: 0 22px; background: var(--o); transform: rotate(45deg); flex: none; }

/* сегмент-переключатель */
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--muted); transition: background .15s var(--ease), color .15s var(--ease); }
.seg button[aria-checked="true"] { background: var(--k); color: #fff; }
.seg--full { display: flex; }
.seg--full button { flex: 1; }

/* ---------- категории ---------- */
.cats { position: sticky; top: var(--head-h); z-index: 30; background: rgba(255, 250, 245, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.cats__in { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cats__in::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; font-weight: 500; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.cats a:hover { border-color: var(--k); }
.cats a[aria-current="true"] { background: var(--k); color: #fff; border-color: var(--k); }

/* ---------- раскладка меню + корзина ---------- */
.layout { display: grid; gap: 24px; padding-top: 8px; padding-bottom: 48px; }
.side { display: none; }
@media (min-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .side { display: block; }
  .side .cart { position: sticky; top: calc(var(--head-h) + 76px); }
}

.cat { padding-top: 24px; }
.cat__title { font-weight: 900; font-size: clamp(22px, 4vw, 28px); margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.cat__title small { font-family: var(--font); font-weight: 500; font-size: 14px; color: var(--muted); }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* карточка блюда */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { box-shadow: var(--shadow); }
.card__img { position: relative; aspect-ratio: 4 / 3; background: var(--o-soft); overflow: hidden; }
.card__img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease); }
.card__img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #E8B08C; font-size: 46px; }
.badge { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--o-btn); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge--spicy { background: #B3261E; }
.badge--home { background: var(--k); }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.2; }
.card__desc { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: -4px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1.5px solid var(--line-2); background: #fff; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: background .12s var(--ease), border-color .12s var(--ease), color .12s var(--ease); }
.opt:hover { border-color: var(--k); }
.opt[aria-pressed="true"] { background: var(--o-btn); border-color: var(--o-btn); color: #fff; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 2px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 19px; white-space: nowrap; }
.price-wrap { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.price-wrap .price { color: var(--o-btn); }
.price-old { color: var(--muted); font-size: 13.5px; text-decoration-color: #D7261E; text-decoration-thickness: 2px; }
.card__foot { flex-wrap: wrap; row-gap: 6px; }
.save { order: 3; flex-basis: 100%; font-size: 13px; font-weight: 600; color: #1E7B45; background: #E6F4EA; padding: 5px 10px; border-radius: 8px; }
.badge--deal { background: #D7261E; }
.add { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: var(--o-btn); color: #fff; font-weight: 600; font-size: 14px; }
.add:hover { background: #CF4D07; }
.add:active { transform: scale(.97); }
.qty { display: inline-flex; align-items: center; height: 42px; border-radius: 999px; background: var(--k); color: #fff; }
.qty button { width: 42px; height: 42px; border: 0; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 15px; }
.qty button:hover { background: rgba(255, 255, 255, .12); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }

/* компактная сетка добавок */
.grid--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.grid--compact .card { flex-direction: row; align-items: center; }
.grid--compact .card__img { width: 64px; aspect-ratio: 1; flex: none; margin: 8px 0 8px 8px; border-radius: 10px; }
.grid--compact .card__img .ph { font-size: 26px; }
.grid--compact .card__body { padding: 8px 10px; gap: 4px; }
.grid--compact .card__name { font-size: 14px; }
.grid--compact .card__foot { flex-direction: row; }
.grid--compact .price { font-size: 15px; }
.grid--compact .add { width: 36px; height: 36px; padding: 0; justify-content: center; }
.grid--compact .add span:not(.ico) { display: none; }
.grid--compact .qty { height: 36px; }
.grid--compact .qty button { width: 32px; height: 36px; }

/* телефон: карточки строкой */
@media (max-width: 599px) {
  /* фото сверху на всю ширину карточки, под ним — название, варианты и кнопка */
  .grid:not(.grid--compact) { grid-template-columns: 1fr; gap: 14px; }
  .grid:not(.grid--compact) .card { flex-direction: column; }
  .grid:not(.grid--compact) .card__img { width: 100%; aspect-ratio: 4 / 3; }
  .grid:not(.grid--compact) .card__body { padding: 12px 14px 14px; gap: 10px; }
  .card__name { font-size: 16px; }
  .card__desc { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .opt { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
  .price { font-size: 19px; }
  .grid--compact .add { height: 40px; width: 40px; padding: 0; justify-content: center; }
  .qty { height: 40px; }
  .qty button { width: 38px; height: 40px; }
  .grid--compact { grid-template-columns: 1fr 1fr; }
}

/* ---------- корзина ---------- */
.cart { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.cart--sheet { border: 0; border-radius: 0; padding: 4px 16px 16px; }
.cart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cart__head h2 { font-weight: 900; font-size: 20px; }
.linkbtn { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.linkbtn:hover { color: var(--text); }
.linkbtn--center { display: block; margin: 10px auto 0; }
.soldout { font-size: 13px; font-weight: 600; color: var(--muted); background: #F3ECE5; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.card--off .card__img img { filter: grayscale(1); opacity: .6; }
.card--off .card__name { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done__num { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--o-btn); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.cart .seg { margin-bottom: 14px; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-height: 44vh; overflow: auto; }
.cart--sheet .lines { max-height: none; }
.line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.line__img { width: 48px; height: 48px; border-radius: 10px; background: var(--o-soft); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.line__opts { color: var(--muted); font-size: 12.5px; }
.line__price { font-size: 13px; font-weight: 600; margin-top: 2px; }
.line .qty { height: 34px; background: var(--cream); color: var(--text); }
.line .qty button { width: 32px; height: 34px; color: var(--text); font-size: 13px; }
.line .qty button:hover { background: var(--o-soft); }
.totals { border-top: 1.5px dashed var(--line-2); margin-top: 14px; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .muted { color: var(--muted); }
.totals .grand { font-family: var(--font-head); font-weight: 900; font-size: 20px; margin-top: 4px; }
.cart .btn { margin-top: 14px; }
.empty { text-align: center; padding: 18px 8px 6px; }
.empty__art { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--o); font-size: 30px; }
.empty h3 { font-size: 17px; font-weight: 800; }
.empty p { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }

/* нижняя панель на телефоне */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--o-btn); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px rgba(226, 87, 12, .35); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.cartbar[hidden] { display: flex; transform: translateY(120%); opacity: 0; pointer-events: none; }
@media (min-width: 1040px) { .cartbar { display: none !important; } }
@media (min-width: 600px) { .cartbtn { display: inline-flex; } .cartbar { display: none !important; } }

/* ---------- диалоги ---------- */
.sheet { border: 0; padding: 0; margin: 0; left: 0; right: 0; width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; top: auto; bottom: 0; border-radius: 22px 22px 0 0; background: var(--bg); color: var(--text); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(22, 22, 22, .5); }
.sheet[open] { animation: sheetUp .28s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 600px) {
  .sheet { top: 50%; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%); max-width: 480px; border-radius: 22px; max-height: 88vh; }
  .sheet[open] { animation: sheetIn .22s var(--ease); }
  @keyframes sheetIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
}
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 6px; justify-content: space-between; padding: 10px 8px 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.sheet--checkout .sheet__bar { justify-content: flex-start; padding-left: 6px; }
.sheet__bar h2 { font-weight: 900; font-size: 19px; }
.co { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.field { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 14px; padding: 0; }
.hint { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; padding: 10px 14px; font-size: 16px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field textarea { resize: vertical; min-height: 64px; }
.field input:hover, .field textarea:hover { border-color: #CDB8A6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--k); box-shadow: 0 0 0 3px rgba(242, 106, 27, .25); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; }
.branchpick { display: flex; flex-direction: column; gap: 8px; }
.branchpick label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 500; font-size: 15px; cursor: pointer; }
.branchpick label:has(input:checked) { border-color: var(--o-btn); background: #FFF6EF; }
.branchpick input { accent-color: var(--o-btn); width: 18px; height: 18px; margin: 0; }
.branchpick .ico { color: var(--o); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; }
.chip input:checked + span { background: var(--k); border-color: var(--k); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--o); outline-offset: 2px; }
.paypick { display: flex; flex-direction: column; gap: 8px; }
.paycard { position: relative; display: block; cursor: pointer; }
.paycard input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.paycard__box { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .15s var(--ease), background .15s var(--ease); }
.paycard__box b { display: block; font-weight: 600; font-size: 15px; }
.paycard__box small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.paycard__logo { width: 34px; height: 34px; flex: none; border-radius: 50%; }
.paycard input:checked + .paycard__box { border-color: #F14635; background: #FFF4F2; }
.paycard input:focus-visible + .paycard__box { outline: 3px solid var(--o); outline-offset: 2px; }
.co__sum { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.co__sum .totals { border: 0; margin: 0; padding: 0; }
.co__sum details { font-size: 14px; margin-bottom: 8px; }
.co__sum summary { cursor: pointer; color: var(--muted); }
.co__sum ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.co__note { color: var(--muted); font-size: 13px; text-align: center; }
.co--done { text-align: center; align-items: center; padding: 32px 20px 24px; }
.done__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.co--done h3 { font-size: 24px; font-weight: 900; }
.co--done p { color: var(--muted); max-width: 26em; }

/* ---------- как заказать ---------- */
.how { background: var(--k); color: #fff; padding: 48px 0; }
.sec-title { font-weight: 900; font-size: clamp(26px, 5vw, 38px); margin-bottom: 24px; }
.sec-title--brush span { display: inline-block; background: var(--o-btn); color: #fff; padding: 8px 22px 10px; border-radius: 6px 18px 8px 16px; transform: rotate(-1.5deg); text-transform: uppercase; letter-spacing: .02em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { background: var(--k-2); border-radius: var(--r); padding: 20px; }
.steps__n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--o-btn); color: #fff; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 18px; margin-bottom: 12px; }
.steps h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.steps p { color: #C9C2BB; font-size: 15px; }

/* ---------- адреса ---------- */
.addresses { padding: 56px 0 64px; background: linear-gradient(180deg, var(--bg), var(--cream)); }
.addresses .sec-title { text-align: center; }
.addr { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.addr li { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--o-soft); border-radius: 999px; padding: 10px 12px 10px 10px; }
.addr__pin { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--o-btn); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.addr__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(16px, 3.4vw, 22px); flex: 1; min-width: 0; }
.addr__acts { display: flex; gap: 6px; flex: none; }
.addr__acts a, .addr__acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; border: 1.5px solid var(--line-2); background: #fff; }
.addr__acts a:hover, .addr__acts button:hover { border-color: var(--k); }
@media (max-width: 599px) {
  .addr li { border-radius: 20px; flex-wrap: wrap; }
  .addr__acts { width: 100%; }
  .addr__acts a, .addr__acts button { flex: 1; justify-content: center; }
}

/* ---------- подвал ---------- */
.foot { background: var(--k); color: #CFC8C1; padding: 32px 0 110px; }
@media (min-width: 1040px) { .foot { padding-bottom: 32px; } }
.foot__in { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.brand--foot { color: #fff; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__links a { text-decoration: none; color: #fff; font-weight: 500; }
.foot__links a:hover { color: var(--o); }
.foot__note { width: 100%; font-size: 13px; color: #9C948C; }

/* ---------- уведомление ---------- */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--k); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 60; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1040px) { .toast { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__ring, .sticker, .hero__logo, .ticker__track, .hero__steam i { animation: none !important; }
  .hero__steam { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
