/* Сытый Япончик, Семибратово. Демо. Палитра КП: рис, лосось, персик, васаби, нори. */
:root {
  --rice: #fbf6ef;
  --rice-2: #f3ebe0;
  --paper: #fffdf9;
  --salmon: #ee8a6c;
  --salmon-d: #b2442b;
  --peach: #fde6dc;
  --peach-2: #fbd5c6;
  --wasabi: #e2f1dc;
  --wasabi-d: #5f8a4f;
  --nori: #24332c;
  --nori-2: #33463c;
  --ink: #24332c;
  --muted: #6b766f;
  --line: rgba(36, 51, 44, .1);
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(36, 51, 44, .05), 0 12px 32px -12px rgba(36, 51, 44, .18);
  --shadow-hi: 0 2px 4px rgba(36, 51, 44, .06), 0 24px 48px -16px rgba(178, 68, 43, .32);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 3vw, 56px);
  --tabbar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font: 500 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--nori); color: #fff; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 3px; border-radius: 8px; }
svg path, svg circle { vector-effect: non-scaling-stroke; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 239, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(36, 51, 44, .5); }
.top__in { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 4px 12px -4px rgba(36,51,44,.4); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt b { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; }
.brand__txt small { font-size: 12px; color: var(--muted); font-weight: 600; }
.top__nav { display: none; margin-left: auto; align-items: center; gap: 6px; }
.top__nav a { padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: 15px; transition: background .2s; white-space: nowrap; }
.top__nav a:hover, .top__nav a.is-on { background: var(--rice-2); }
.top__phone { color: var(--salmon-d); }
.cartbtn { margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 99px; background: var(--nori); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .2s var(--ease), background .2s; }
.cartbtn:hover { background: var(--salmon-d); transform: translateY(-1px); }
.cartbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cartbtn .badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--salmon); color: #fff; font-size: 11px; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--rice); }
.cartbtn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
@media (max-width: 767px) { .cartbtn__sum { display: none; } .cartbtn { padding: 0; width: 44px; justify-content: center; } }
@media (min-width: 768px) { .top__in { height: 76px; } .top__nav { display: flex; } .cartbtn { margin-left: 8px; } .brand img { width: 44px; height: 44px; } .brand__txt b { font-size: 16px; } }

/* ---------- Tabbar (mobile) ---------- */
.tabbar { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1fr 1.45fr; gap: 4px; padding: 6px; border-radius: 24px; background: rgba(36, 51, 44, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(36, 51, 44, .6); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; border-radius: 18px; color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 700; transition: background .2s, color .2s; }
.tabbar a.is-on { color: #fff; }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar__cart { position: relative; background: var(--salmon); color: #fff !important; flex-direction: row !important; gap: 8px !important; font-size: 13px !important; white-space: nowrap; }
.tabbar__count { position: absolute; top: 4px; left: 8px; min-width: 18px; height: 18px; border-radius: 99px; background: #fff; color: var(--salmon-d); font-size: 10px; line-height: 18px; text-align: center; padding: 0 4px; }
@media (max-width: 767px) { :root { --tabbar: 86px; } body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); } }
@media (max-width: 359px) { .tabbar { left: 6px; right: 6px; grid-template-columns: 1fr 1fr 1fr 1.3fr; } .tabbar a { font-size: 10px; } .tabbar__cart { font-size: 12px !important; gap: 4px !important; } }
@media (min-width: 768px) { .tabbar { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 99px; font-weight: 800; font-size: 16px; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn--main { background: var(--salmon-d); color: #fff; box-shadow: 0 10px 24px -10px rgba(178, 68, 43, .7); }
.btn--main:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); background: #9d3a24; }
.btn--main:hover svg { transform: translateX(3px); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--salmon); color: var(--salmon-d); }
.btn--light { background: var(--rice); color: var(--nori); }
.btn--light:hover { background: var(--peach); transform: translateY(-2px); }
.btn--xl { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--salmon-d); margin-bottom: 12px; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: var(--peach-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--salmon); box-shadow: 0 0 0 4px rgba(238, 138, 108, .25); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(238, 138, 108, 0); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--salmon-d); white-space: nowrap; }
.link-arrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: width .25s var(--ease); }
.link-arrow:hover::after { width: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 48px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.blob--a { width: 420px; height: 420px; background: var(--peach); right: -120px; top: -60px; }
.blob--b { width: 320px; height: 320px; background: var(--wasabi); left: -140px; bottom: -80px; }
.blob--c { width: 220px; height: 220px; background: var(--peach-2); right: 30%; bottom: 10%; opacity: .45; }
.hero__grid { position: relative; display: grid; gap: 28px; }
.hero__title { font-size: clamp(28px, 8.6vw, 74px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em { font-style: normal; color: var(--salmon-d); background: linear-gradient(var(--peach-2), var(--peach-2)) 0 88% / 100% .18em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: under 1s .7s var(--ease) both; }
@keyframes under { from { background-size: 0 .18em; } }
.hero__lead { margin-top: 18px; font-size: 17px; line-height: 1.55; color: #43524a; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__cta .btn { flex: 1 1 auto; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.facts li { background: var(--paper); border-radius: var(--r-sm); padding: 12px 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.facts b { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.1; color: var(--salmon-d); white-space: nowrap; }
.facts span { font-size: 12px; line-height: 1.3; color: var(--muted); font-weight: 600; }
.hero__art { position: relative; aspect-ratio: 1 / .9; max-width: 600px; width: 100%; margin: 0 auto; }
.plate { position: absolute; overflow: hidden; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .55), 0 30px 60px -30px rgba(36, 51, 44, .35); }
.plate img { mix-blend-mode: multiply; width: 92%; }
.plate--big { width: 74%; aspect-ratio: 1; left: 4%; top: 6%; background: var(--peach); animation: float 7s ease-in-out infinite; }
.plate--pizza { width: 40%; aspect-ratio: 1; right: 0; top: 0; background: #fff; animation: float 6s ease-in-out -2s infinite; }
.plate--pizza img { mix-blend-mode: normal; width: 98%; border-radius: 50%; }
.plate--roll { width: 42%; aspect-ratio: 1; right: 4%; bottom: 0; background: var(--wasabi); animation: float 8s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }
.stamp { position: absolute; left: 0; bottom: 2%; width: 30%; animation: spin 22s linear infinite; }
.stamp text { font: 800 12.5px var(--text); letter-spacing: .1em; fill: var(--nori); }
.stamp__core { position: absolute; left: 0; bottom: 2%; width: 30%; aspect-ratio: 1; display: grid; place-items: center; font: 800 clamp(16px, 4.6vw, 28px)/1 var(--display); color: #fff; pointer-events: none; }
.stamp__core::before { content: ""; position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--salmon-d); z-index: -1; box-shadow: 0 10px 24px -8px rgba(178, 68, 43, .6); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__lead { font-size: 19px; }
  .facts { max-width: 560px; gap: 12px; }
  .facts li { padding: 16px 16px; }
  .facts b { font-size: 22px; }
  .facts span { font-size: 13px; }
}

@media (max-width: 519px) {
  .facts { grid-template-columns: 1fr; gap: 6px; }
  .facts li { flex-direction: row; align-items: baseline; gap: 10px; padding: 10px 14px; }
  .facts b { font-size: 16px; min-width: 6.4em; }
  .facts span { font-size: 13px; }
  .hero__art { max-width: 400px; }
}
/* ---------- Ribbon ---------- */
.ribbon-box { overflow: hidden; padding: 12px 0; }
.ribbon { background: var(--nori); color: var(--rice); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); width: calc(100% + 40px); margin-left: -20px; }
.ribbon__track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon span { font: 700 18px/1 var(--display); white-space: nowrap; }
.ribbon i { color: var(--salmon); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 48px 0; }
.sec--tight { padding: 12px 0 40px; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 22px; }
.sec__head > div { min-width: 0; }
.sec__head h2 { font-size: clamp(24px, 6.4vw, 44px); }
.sec__head--sm { margin-top: 48px; }
.sec__head--sm h2 { font-size: 22px; }
.sec__sub { margin-top: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
@media (min-width: 900px) { .sec { padding: 80px 0; } .sec--tight { padding: 16px 0 56px; } .sec__head { margin-bottom: 32px; } }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } .grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); }
.card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(.94); transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.02) rotate(-1deg); }
.plate-0 { background: radial-gradient(circle at 50% 60%, #fff 0 34%, var(--peach) 75%); }
.plate-1 { background: radial-gradient(circle at 50% 60%, #fff 0 34%, var(--wasabi) 75%); }
.plate-2 { background: radial-gradient(circle at 50% 60%, #fff 0 34%, var(--rice-2) 75%); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 12px; gap: 6px; }
.card__name { font: 700 14px/1.3 var(--text); letter-spacing: -.005em; }
.card__name a::after { content: ""; position: absolute; inset: 0; }
.card__desc { display: none; font-size: 13px; line-height: 1.45; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price s { font-size: 12px; color: var(--muted); font-weight: 600; }
.price b { font: 800 16px/1.15 var(--text); white-space: nowrap; }
.price--big b { font: 700 30px/1.1 var(--display); }
.price--big s { font-size: 15px; }
.add { position: relative; z-index: 2; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--rice-2); color: var(--nori); cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease); }
.add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.add:hover, .card:hover .add { background: var(--salmon-d); color: #fff; }
.add:active { transform: scale(.9); }
.add.is-done { background: var(--wasabi-d); color: #fff; }
.tag { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tag--sale { background: var(--salmon-d); color: #fff; }
.tag--big { font-size: 15px; padding: 7px 12px; top: 16px; left: 16px; }
@media (min-width: 600px) {
  .card__body { padding: 16px 18px 18px; }
  .card__name { font-size: 16px; }
  .card__desc { display: block; }
  .price b { font-size: 18px; }
  .add { width: 46px; height: 46px; }
}

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
.cat { position: relative; overflow: hidden; border-radius: var(--r); min-height: 150px; padding: 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cat:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-hi); }
.cat__name { position: relative; z-index: 1; font: 700 14px/1.15 var(--display); letter-spacing: -.01em; }
.cat__count { position: relative; z-index: 1; font-size: 12px; font-weight: 700; color: var(--muted); }
.cat img { position: absolute; right: -14%; bottom: -14%; width: 92%; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.08) rotate(-4deg); }
@media (min-width: 600px) { .cat { min-height: 190px; padding: 18px; } .cat__name { font-size: 17px; } }

/* ---------- Delivery band ---------- */
.delivery-band { background: var(--nori); color: var(--rice); border-radius: var(--r-lg); margin: 24px 10px; position: relative; overflow: hidden; }
.delivery-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(238, 138, 108, .35), transparent 65%); }
.delivery-band__grid { position: relative; display: grid; gap: 32px; }
.delivery-band h2 { font-size: clamp(26px, 6.6vw, 48px); color: #fff; }
.lead-light { margin: 16px 0 24px; color: rgba(251, 246, 239, .78); font-size: 17px; max-width: 30em; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.terms li { background: var(--nori-2); border-radius: var(--r); padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; border: 1px solid rgba(255, 255, 255, .06); }
.terms__k { font: 700 clamp(24px, 7vw, 40px)/1 var(--display); color: var(--salmon); white-space: nowrap; }
.terms li span:last-child { font-size: 14px; line-height: 1.35; color: rgba(251, 246, 239, .8); font-weight: 600; }
@media (min-width: 900px) { .delivery-band { margin: 40px auto; max-width: calc(1280px - 2 * var(--gut) + 80px); } .delivery-band__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } .terms li { padding: 24px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border-radius: var(--r); padding: 22px 20px 22px 84px; box-shadow: var(--shadow); min-height: 104px; }
.steps__n { position: absolute; left: 18px; top: 20px; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font: 800 22px var(--display); color: var(--salmon-d); background: var(--peach); transform: rotate(-6deg); transition: transform .3s var(--ease); }
.steps li:nth-child(2) .steps__n { background: var(--wasabi); color: var(--wasabi-d); transform: rotate(5deg); }
.steps li:nth-child(3) .steps__n { background: var(--nori); color: var(--rice); }
.steps li:hover .steps__n { transform: rotate(0) scale(1.06); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .steps li { padding: 96px 28px 30px; } .steps__n { left: 28px; top: 28px; } }

/* ---------- Call card ---------- */
.sec--call { padding-top: 0; }
.callcard { display: grid; gap: 20px; align-items: center; padding: 28px 22px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--peach) 0%, var(--peach-2) 100%); position: relative; overflow: hidden; }
.callcard::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.callcard > * { position: relative; z-index: 1; }
.callcard h2 { font-size: clamp(22px, 6vw, 40px); }
.callcard p { margin-top: 10px; color: #5b4a43; font-weight: 600; }
@media (min-width: 900px) { .callcard { grid-template-columns: 1fr auto; padding: 48px 56px; } }
@media (max-width: 599px) { .callcard .btn { width: 100%; } }

/* ---------- Page head / crumbs / catnav ---------- */
.pagehead { padding-top: 18px; padding-bottom: 16px; }
.pagehead__title { font-size: clamp(28px, 8vw, 60px); font-weight: 800; letter-spacing: -.03em; margin-top: 10px; }
.pagehead__lead { margin-top: 12px; color: var(--muted); font-size: 17px; font-weight: 600; max-width: 40em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .45; }
.crumbs a:hover { color: var(--salmon-d); }
.catnav { position: sticky; top: 64px; z-index: 30; background: rgba(251, 246, 239, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.catnav__in { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav a { flex: none; scroll-snap-align: start; padding: 9px 16px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.catnav a:hover { box-shadow: inset 0 0 0 1.5px var(--salmon); }
.catnav a.is-on { background: var(--nori); color: #fff; box-shadow: none; }
@media (min-width: 768px) { .catnav { top: 76px; } }

/* ---------- Product page ---------- */
.pagehead--product { padding-bottom: 4px; }
.product { display: grid; gap: 24px; }
.product__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.product__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s; }
.product__title { font-size: clamp(24px, 6.4vw, 44px); font-weight: 800; letter-spacing: -.025em; }
.product__desc { margin-top: 14px; font-size: 17px; line-height: 1.6; color: #43524a; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 12px; border-radius: 99px; background: var(--wasabi); color: #3f5d34; font-size: 13px; font-weight: 700; }
.buy { margin-top: 24px; padding: 18px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); display: grid; gap: 16px; }
.buy__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.variants { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.variants legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: var(--r-sm); background: var(--rice); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .2s; }
.variant small { font-size: 12px; color: var(--muted); font-weight: 700; }
.variant b { font-size: 15px; white-space: nowrap; }
.variant input:checked + span { background: var(--peach); box-shadow: inset 0 0 0 2px var(--salmon-d); }
.variant input:focus-visible + span { outline: 3px solid var(--salmon); outline-offset: 2px; }
.variants__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-weight: 600; }
.qty { display: inline-flex; align-items: center; background: var(--rice); border-radius: 99px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 3px rgba(36, 51, 44, .12); transition: background .2s, color .2s; }
.qty button:hover { background: var(--salmon-d); color: #fff; }
.qty input { width: 44px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; height: 34px; font-size: 18px; }
.qty--sm input { width: 34px; font-size: 15px; }
.mini-terms { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.mini-terms b { color: var(--salmon-d); font-weight: 800; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } .product__media { position: sticky; top: 100px; } .buy { padding: 24px; } }

/* ---------- Cart / checkout ---------- */
.checkout-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1fr 380px; gap: 32px; } .summary { position: sticky; top: 100px; } }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img body body" "img qty sum"; gap: 6px 12px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); transition: opacity .3s, transform .3s; }
.line.is-gone { opacity: 0; transform: translateX(-20px); }
.line__img { grid-area: img; width: 72px; height: 72px; border-radius: 16px; overflow: hidden; align-self: start; }
.line__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.line__body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line__name { font-weight: 800; font-size: 15px; line-height: 1.3; }
.line__name:hover { color: var(--salmon-d); }
.line__meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.line .qty { grid-area: qty; justify-self: start; }
.line__sum { grid-area: sum; font-size: 16px; white-space: nowrap; text-align: right; }
@media (min-width: 600px) { .line { grid-template-columns: 88px minmax(0, 1fr) auto 100px; grid-template-areas: "img body qty sum"; padding: 12px 18px 12px 12px; } .line__img { width: 88px; height: 88px; align-self: center; } }
.summary { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.summary h2 { font-size: 22px; margin-bottom: 14px; }
.summary dl { margin: 0 0 18px; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; white-space: nowrap; font-weight: 800; }
.summary .ok { color: var(--wasabi-d); }
.summary__total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 19px; }
.summary__total dt { color: var(--ink) !important; font-weight: 800; }
.link-back { display: block; text-align: center; margin-top: 14px; font-weight: 700; color: var(--muted); }
.link-back:hover { color: var(--salmon-d); }
.mini-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mini-lines small { color: var(--muted); font-weight: 700; white-space: nowrap; }
.mini-lines b { white-space: nowrap; }
.grid--small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--small .card__body { padding: 10px; }
.grid--small .card__name { font-size: 13px; }
@media (max-width: 420px) { .grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.empty { text-align: center; max-width: 440px; margin: 0 auto; padding: 24px 0 40px; }
.empty img { width: 240px; margin: 0 auto 8px; mix-blend-mode: multiply; }
.empty h2 { font-size: 28px; margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 20px; font-weight: 600; }

.demo-note { display: table; margin-top: 14px; padding: 8px 14px 8px 8px; border-radius: 18px; background: var(--peach); color: #6a3423; font-size: 13px; font-weight: 700; line-height: 1.35; }
.demo-note > span:first-child { display: inline-block; margin-right: 8px; padding: 3px 9px; border-radius: 99px; background: var(--salmon-d); color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.form { background: var(--paper); border-radius: var(--r); padding: 22px 18px; box-shadow: var(--shadow); display: grid; gap: 16px; }
@media (min-width: 600px) { .form { padding: 32px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 14px; }
.field label small { color: var(--muted); font-weight: 600; margin-left: 6px; }
.field input, .field textarea { width: 100%; border: 0; border-radius: var(--r-sm); background: var(--rice); padding: 15px 16px; font-size: 16px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--salmon); }
.field input::placeholder, .field textarea::placeholder { color: #9aa39d; font-weight: 500; }
.has-err input { box-shadow: inset 0 0 0 2px #c0392b; background: #fff6f4; }
.err { color: #b0301f; font-size: 13px; font-weight: 700; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 600; color: #43524a; cursor: pointer; }
.agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--salmon-d); }
.form__hint { text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Delivery page ---------- */
.zone { display: grid; gap: 20px; }
.zone__map { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.zone__map svg { width: 100%; height: 100%; }
.z-ring--out { fill: var(--rice); stroke: var(--rice-2); stroke-width: 2; stroke-dasharray: 6 8; }
.z-ring--in { fill: var(--peach); stroke: var(--salmon); stroke-width: 2; }
.z-pin { fill: var(--salmon-d); }
.z-pulse { fill: none; stroke: var(--salmon-d); stroke-width: 2; transform-origin: 200px 200px; animation: zp 2.4s var(--ease) infinite; }
@keyframes zp { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.z-dot { fill: var(--nori); }
.zone__lbl { position: absolute; transform: translate(-50%, 0); font-weight: 800; font-size: clamp(11px, 3.2vw, 14px); white-space: nowrap; background: var(--paper); padding: 3px 8px; border-radius: 8px; box-shadow: 0 2px 8px rgba(36, 51, 44, .12); }
.zone__lbl--c { left: 50%; top: 56%; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: clamp(12px, 3.6vw, 17px); background: transparent; box-shadow: none; }
.zone__lbl--c small { font-family: var(--text); font-size: 12px; color: var(--salmon-d); }
.zone__lbl--a { left: 22%; top: 27%; }
.zone__lbl--b { left: 72%; top: 35%; }
.zone__lbl--d { left: 66%; top: 82%; }
.zone__cap { position: absolute; left: 14px; bottom: 10px; font-size: 11px; color: var(--muted); font-weight: 700; }
.zone__info { display: grid; gap: 14px; align-content: start; }
.zcard { position: relative; background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.zcard h2 { font-size: 20px; margin-bottom: 12px; }
.zcard p { color: #43524a; margin-bottom: 16px; }
.zcard--main { background: var(--nori); color: var(--rice); }
.zcard--main h2 { color: #fff; padding-right: 80px; }
.zcard__badge { position: absolute; top: 18px; right: 18px; font: 800 22px var(--display); color: var(--nori); background: var(--salmon); border-radius: 14px; padding: 8px 12px; transform: rotate(4deg); white-space: nowrap; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--salmon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (min-width: 900px) { .zone { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }
.infogrid { display: grid; gap: 12px; }
@media (min-width: 768px) { .infogrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.info { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.info h3 { font-size: 16px; margin-bottom: 8px; }
.info p { color: #43524a; font-weight: 600; }
.info a { color: var(--salmon-d); }
.center { text-align: center; margin-top: 32px; }

/* ---------- Thanks ---------- */
.thanks { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--wasabi); display: grid; place-items: center; margin-bottom: 18px; }
.thanks__icon svg { width: 44px; height: 44px; fill: none; stroke: var(--wasabi-d); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks .demo-note { text-align: left; padding: 12px 16px; }
.thanks__lines { width: 100%; margin: 24px 0; text-align: left; background: var(--paper); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.foot { background: var(--nori); color: rgba(251, 246, 239, .82); padding: 48px 0 24px; margin-top: 24px; font-size: 15px; }
.foot__grid { display: grid; gap: 28px; }
.foot h3 { font: 700 14px var(--display); color: #fff; margin-bottom: 10px; }
.foot p + p { margin-top: 8px; }
.foot a:hover { color: var(--salmon); }
.brand--foot .brand__txt b { color: #fff; }
.brand--foot .brand__txt small { color: rgba(251, 246, 239, .6); }
.brand--foot img { box-shadow: none; }
.foot__note { margin-top: 14px; max-width: 22em; }
.foot__tel { font: 700 18px var(--display); color: #fff; white-space: nowrap; }
.foot__cats { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.foot__cats li { margin-bottom: 6px; break-inside: avoid; }
.foot__demo { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(251, 246, 239, .55); }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tabbar) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: var(--nori); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 16px 32px -12px rgba(36, 51, 44, .6); transition: opacity .3s, transform .35s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--salmon); }

/* ---------- Motion ---------- */
.rise { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero__art .plate { animation-name: float; }
.hero__art { animation: pop 1s .2s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.js .cat.reveal.in:hover { transform: translateY(-4px) rotate(-.5deg); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* =====================================================================
   v2: на всю ширину экрана, крупный шрифт, крупные фото
   ===================================================================== */
body { font-size: 17px; }
@media (min-width: 900px) { body { font-size: 18px; } }
@media (min-width: 1600px) { body { font-size: 20px; } }

/* Шапка */
@media (min-width: 768px) {
  .top__in { height: 84px; }
  .brand img { width: 52px; height: 52px; }
  .brand__txt b { font-size: 19px; }
  .brand__txt small { font-size: 14px; }
  .top__nav a { font-size: 17px; padding: 10px 18px; }
  .cartbtn { height: 52px; font-size: 17px; padding: 0 20px 0 16px; }
  .catnav { top: 84px; }
}
@media (min-width: 1600px) { .top__nav a { font-size: 19px; } }

/* Кнопки */
.btn { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 66px; padding: 0 34px; font-size: 19px; }
@media (min-width: 900px) { .btn { min-height: 64px; padding: 0 34px; font-size: 19px; } .btn--xl { min-height: 74px; padding: 0 42px; font-size: 21px; } .btn svg { width: 22px; height: 22px; } }

.eyebrow { font-size: 14px; }
@media (min-width: 900px) { .eyebrow { font-size: 16px; } }
.link-arrow { font-size: 17px; }
@media (min-width: 900px) { .link-arrow { font-size: 19px; } }

/* Первый экран на всю высоту */
.hero { min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 24px 0 40px; }
.hero > .wrap { width: 100%; }
.hero__title { font-size: clamp(34px, 10.4vw, 140px); }
.hero__lead { font-size: 18px; }
.hero__art { max-width: 520px; }
@media (max-width: 899px) {
  .hero { padding-top: 8px; }
  .hero__art { order: -1; aspect-ratio: 1 / .8; max-width: 460px; margin-bottom: -8px; }
  .hero__grid { gap: 12px; }
}
@media (min-width: 900px) {
  .hero { min-height: calc(100svh - 84px); padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3vw, 64px); }
  .hero__title { font-size: clamp(46px, 4.8vw, 120px); }
  .hero__lead { font-size: clamp(19px, 1.45vw, 28px); max-width: 30em; }
  .hero__art { max-width: none; width: 100%; aspect-ratio: 1 / .92; max-height: calc(100svh - 150px); }
  .facts { max-width: min(920px, 100%); }
  .facts b { font-size: clamp(22px, 1.55vw, 30px); }
  .facts span { font-size: clamp(14px, 1vw, 18px); }
  .facts li { padding: 20px 20px; }
}
.plate--big { width: 78%; left: 0; top: 4%; }
.plate--big img { width: 96%; }
.plate--pizza { width: 38%; }
.plate--roll { width: 44%; right: 0; }
.stamp, .stamp__core { width: 28%; }
.stamp__core { font-size: clamp(18px, 2.4vw, 44px); }

.ribbon span { font-size: clamp(18px, 1.8vw, 30px); }
.ribbon { padding: 20px 0; }

/* Секции */
.sec__head h2 { font-size: clamp(30px, 6.6vw, 88px); }
.sec__sub { font-size: clamp(16px, 1.2vw, 21px); }
.sec__head--sm h2 { font-size: clamp(24px, 3vw, 44px); }
@media (min-width: 900px) { .sec { padding: clamp(80px, 7vw, 140px) 0; } .sec__head { margin-bottom: clamp(32px, 3vw, 56px); } }

/* Сетки карточек: 1 / 2 / 3 / 4 колонки */
.grid, .grid--wide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .grid, .grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid, .grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2vw, 40px); } }
@media (min-width: 1700px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid--hits .card:nth-child(n+7) { display: none; } }
.card { border-radius: 28px; }
.card__img { aspect-ratio: 5 / 4; }
.card__img img { transform: scale(.98); }
.card__body { padding: 18px 20px 20px; gap: 8px; }
.card__name { font-size: 20px; line-height: 1.25; }
.card__desc { display: block; font-size: 15px; }
.price b { font-size: 24px; }
.price s { font-size: 15px; }
.add { width: 54px; height: 54px; }
.add svg { width: 24px; height: 24px; }
.tag { font-size: 14px; padding: 6px 12px; top: 14px; left: 14px; }
@media (min-width: 900px) {
  .card__body { padding: 22px 26px 26px; }
  .card__name { font-size: clamp(20px, 1.5vw, 26px); }
  .card__desc { font-size: clamp(15px, 1vw, 18px); }
  .price b { font-size: clamp(24px, 1.8vw, 32px); }
  .add { width: 60px; height: 60px; }
}
.grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid--small { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid--small .card__name { font-size: 17px; }
.grid--small .card__desc { display: none; }
.grid--small .price b { font-size: 20px; }
.grid--small .add { width: 46px; height: 46px; }

/* Категории */
.cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1300px) { .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 32px); } }
.cat { min-height: 170px; }
.cat__name { font-size: 15px; }
.cat__count { font-size: 13px; }
@media (min-width: 600px) { .cat { min-height: 230px; padding: 22px; } .cat__name { font-size: clamp(18px, 1.5vw, 28px); } .cat__count { font-size: 15px; } }
@media (min-width: 1300px) { .cat { min-height: clamp(260px, 17vw, 380px); } }
@media (max-width: 359px) { .cat__name { font-size: 14px; } }

/* Блок доставки */
.delivery-band { margin: 24px var(--gut); }
@media (min-width: 900px) { .delivery-band { margin: 40px var(--gut); max-width: none; padding: clamp(64px, 6vw, 120px) 0; } }
.delivery-band h2 { font-size: clamp(30px, 5.6vw, 84px); }
.lead-light { font-size: clamp(17px, 1.4vw, 24px); }
.terms__k { font-size: clamp(30px, 3.6vw, 64px); }
.terms li span:last-child { font-size: clamp(15px, 1.1vw, 19px); }

/* Шаги, звонок */
.steps h3 { font-size: clamp(20px, 1.7vw, 30px); }
.steps p { font-size: clamp(16px, 1.1vw, 19px); }
.steps__n { width: 56px; height: 56px; font-size: 24px; }
.steps li { padding-left: 92px; }
@media (min-width: 900px) { .steps li { padding: 110px 32px 36px; } }
.callcard h2 { font-size: clamp(28px, 4.6vw, 72px); }
.callcard p { font-size: clamp(16px, 1.3vw, 22px); }
@media (min-width: 900px) { .callcard { padding: clamp(48px, 5vw, 96px) clamp(40px, 5vw, 96px); } }

/* Заголовки страниц и крошки */
.pagehead__title { font-size: clamp(34px, 8.6vw, 104px); }
.pagehead__lead { font-size: clamp(17px, 1.4vw, 24px); }
.crumbs ol { font-size: 15px; }
.catnav a { font-size: 16px; padding: 11px 20px; }
@media (min-width: 900px) { .catnav a { font-size: 18px; padding: 12px 24px; } }

/* Карточка товара: фото на половину экрана и больше */
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 4vw, 88px); }
  .product__media { top: 110px; aspect-ratio: auto; height: min(calc(100svh - 140px), 58vw * .8); min-height: 520px; }
}
.product__media { border-radius: 32px; }
.product__title { font-size: clamp(30px, 4.4vw, 76px); }
.product__desc { font-size: clamp(17px, 1.3vw, 23px); }
.chips li { font-size: 15px; padding: 7px 14px; }
.buy { padding: 22px; gap: 20px; }
@media (min-width: 900px) { .buy { padding: 30px; } }
.variants legend { font-size: 16px; }
.variant small { font-size: 14px; }
.variant b { font-size: 19px; }
.variant span { padding: 14px 6px; }
.variants__note { font-size: 14px; }
.price--big b { font-size: clamp(34px, 3vw, 54px); }
.qty button { width: 48px; height: 48px; font-size: 22px; }
.qty input { width: 52px; font-size: 20px; }
.qty--sm button { width: 40px; height: 40px; font-size: 20px; }
.qty--sm input { width: 40px; font-size: 18px; }
.mini-terms { font-size: 16px; }

/* Корзина и оформление */
@media (min-width: 900px) { .checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 32%); gap: clamp(32px, 3vw, 64px); } .summary { top: 110px; } }
.line { grid-template-columns: 88px minmax(0, 1fr) auto; }
.line__img { width: 88px; height: 88px; }
.line__name { font-size: 18px; }
.line__meta { font-size: 15px; }
.line__sum { font-size: 19px; }
@media (min-width: 600px) { .line { grid-template-columns: 140px minmax(0, 1fr) auto 130px; padding: 14px 24px 14px 14px; } .line__img { width: 140px; height: 140px; } .line__name { font-size: clamp(19px, 1.4vw, 24px); } }
.summary { padding: 26px; }
.summary h2 { font-size: clamp(24px, 2vw, 34px); }
.summary dl div { font-size: 17px; }
.summary__total { font-size: clamp(21px, 1.6vw, 28px) !important; }
.mini-lines li { font-size: 16px; }
.field label { font-size: 16px; }
.field input, .field textarea { font-size: 18px; padding: 18px 20px; }
.agree { font-size: 16px; }
.demo-note { font-size: 15px; }
.form__hint { font-size: 15px; }
@media (min-width: 1100px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 24px; padding: 40px; }
  .form > * { grid-column: 1 / -1; }
  .form > .field:nth-of-type(1), .form > .field:nth-of-type(2) { grid-column: auto; }
}

/* Доставка */
.zcard h2 { font-size: clamp(22px, 2vw, 34px); }
.zcard p, .checks li { font-size: clamp(16px, 1.2vw, 20px); }
.zcard__badge { font-size: clamp(22px, 2vw, 32px); }
.info h3 { font-size: clamp(18px, 1.4vw, 24px); }
.info p { font-size: clamp(16px, 1.2vw, 20px); }
@media (min-width: 900px) { .zone__map { max-width: 720px; } .zcard, .info { padding: clamp(24px, 2.4vw, 44px); } }
.zone__lbl { font-size: clamp(12px, 3.4vw, 18px); }
.zone__lbl--c { font-size: clamp(13px, 3.8vw, 24px); }

/* Спасибо, пусто */
.thanks { max-width: 860px; }
.empty { max-width: 640px; }
.empty h2 { font-size: clamp(28px, 3vw, 48px); }

/* Подвал */
.foot { font-size: clamp(16px, 1.1vw, 19px); padding: clamp(48px, 5vw, 96px) 0 28px; }
.foot h3 { font-size: clamp(15px, 1.1vw, 19px); }
.foot__tel { font-size: clamp(20px, 1.6vw, 28px); }

/* Ровные ряды: лишние карточки прячем под число колонок */
@media (max-width: 599px) { .grid--fit8 > .card:nth-child(n+5), .grid--fit4 > .card:nth-child(n+4) { display: none; } }
@media (min-width: 600px) and (max-width: 1099px) { .grid--fit8 > .card:nth-child(n+7), .grid--fit4 > .card:nth-child(n+5) { display: none; } }
@media (min-width: 1100px) and (max-width: 1699px) { .grid--fit8 > .card:nth-child(n+7), .grid--fit4 > .card:nth-child(n+4) { display: none; } }
.sec--call { padding-top: 0; }
.sec--tight { padding: 12px 0 48px; }
@media (min-width: 900px) { .sec--tight { padding: 16px 0 clamp(56px, 5vw, 96px); } }
.zone { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .zone { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 599px) {
  .zcard--main h2 { padding-right: 0; }
  .zcard__badge { position: static; display: inline-block; margin-bottom: 12px; }
}
.pagehead__title { font-size: clamp(26px, 8.2vw, 104px); }
@media (max-width: 479px) {
  .terms { grid-template-columns: minmax(0, 1fr); }
  .terms li { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
  .terms__k { font-size: 26px; min-width: 4.4em; }
}
@media (max-width: 374px) { .facts b { font-size: 14px; min-width: 7.4em; } .facts li { padding: 10px 12px; } }

/* Отклик кнопки «+»: галочка */
.add.is-done svg { display: none; }
.add.is-done::after { content: ""; width: 12px; height: 20px; border: solid #fff; border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); animation: tick .3s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(-2px) rotate(45deg) scale(.4); } }
.line.is-new { animation: linein .5s var(--ease); }
@keyframes linein { from { opacity: 0; transform: translateY(-8px); background: var(--peach); } }

/* v2.1: страница блюда на телефоне: фото крупнее, цена и кнопка выше */
@media (max-width: 899px) {
  .product { gap: 16px; }
  .product__media { aspect-ratio: 1 / 1; margin-inline: calc(-1 * clamp(16px, 3vw, 56px) + 8px); border-radius: 28px; }
  .product__media img { transform: scale(1.22); }
  .product__info { display: flex; flex-direction: column; }
  .product__info > .eyebrow { order: 1; }
  .product__info > .product__title { order: 2; margin-bottom: 12px; }
  .product__info > .buy { order: 3; }
  .product__info > .product__desc { order: 4; margin-top: 18px; }
  .product__info > .chips { order: 5; }
  .product__info > .mini-terms { order: 6; }
}
@media (max-width: 899px) {
  .product .buy > .btn--main { position: fixed; left: 12px; right: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 14px 30px -10px rgba(178, 68, 43, .55); }
  main:has(.product) { padding-bottom: 76px; }
}
@media (max-width: 899px) {
  .product__info.rise, .product__info.rise.is-in { animation: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}
@media (max-width: 899px) {
  .product .buy > .btn--main { transition: opacity .25s, transform .25s; }
  body.past-product .product .buy > .btn--main { opacity: 0; transform: translateY(20px); pointer-events: none; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .product .buy > .btn--main { bottom: calc(16px + env(safe-area-inset-bottom)); left: auto; right: 24px; width: 380px; }
}
@media (max-width: 899px) { body:has(.product) .toast { bottom: calc(var(--tabbar, 0px) + 84px + env(safe-area-inset-bottom)); } }
