/* base.css — shared layer of the 023 Frutoss demo (build P6, 01.10.2026).
   Tokens: the client's yellow-white palette (../DESIGN.md) · type: Balsamiq Sans (accent, R35 character) + Geologica (text, prices).
   Shapes: one rounding rule (card 24 · plate 18 · pill) and one seam — the half-oval of R35 P2.
   Motion: only transform and opacity (transitions, keyframes, GSAP). Fluid sizes by clamp() — playbook/build/screen_fit (page). */

:root {
  --sun: #ffdd2d;          /* action: buttons, chosen weight, promo — client yellow */
  --sun-2: #ffe97a;
  --butter: #fff3b8;       /* soft yellow surfaces */
  --cream: #fbf7f0;        /* page — client beige of blog-article.css */
  --sand: #f4eadc;         /* second surface — client beige */
  --white: #ffffff;
  --ink: #2d2926;          /* text — client dark brown */
  --ink-2: #6b625b;        /* secondary text */
  --ink-3: #9a8f86;
  --clay: #a43116;         /* accent — client red-brown («Акции» of the old header) */
  --line: #eadfce;         /* hairline — client border beige */
  --ok: #3d7a3a;
  --r-card: 24px; --r-plate: 18px; --r-pill: 999px;
  --gut: clamp(16px, 3.2vw, 64px);
  --wrap: min(calc(100vw - 2 * var(--gut)), clamp(1180px, 84vw, 2160px));
  --fs-body: clamp(17px, 0.45vw + 11px, 21px);
  --fs-small: clamp(14px, 0.3vw + 10px, 17px);
  --fs-h1: clamp(40px, 3.3vw + 4px, 92px);
  --fs-h2: clamp(30px, 2.1vw + 6px, 62px);
  --fs-h3: clamp(19px, 0.55vw + 11px, 26px);
  --fs-price: clamp(24px, 0.9vw + 12px, 36px);
  --sec: clamp(72px, 7vw, 160px);
  --f-acc: "Balsamiq Sans", "Geologica", system-ui, sans-serif;
  --f-txt: "Geologica", system-ui, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hdr-h: 72px;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 160px; overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--f-txt);
  font-feature-settings: "tnum" 1, "lnum" 1; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; }
h1, h2 { font-family: var(--f-acc); letter-spacing: -.01em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: var(--wrap); margin-inline: auto; }
.dots { background-image: radial-gradient(rgba(45, 41, 38, .07) 1px, transparent 1.2px); background-size: 22px 22px; }
.h2 { font-size: var(--fs-h2); }
.h2 em { font-style: normal; color: var(--clay); }
.lead { font-size: calc(var(--fs-body) * 1.12); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.sec { padding-block: var(--sec); position: relative; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 2.6vw, 56px); }
.sec__head .h2 { max-width: 20ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 0 1.6em;
  border-radius: var(--r-pill); font-weight: 600; font-size: calc(var(--fs-body) * .98); line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(45, 41, 38, .12); }
.btn--sun:hover { background: #ffd400; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #1c1917; }
.btn--line { background: var(--white); border: 1.5px solid var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 1.15em; font-size: var(--fs-small); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }
.ico { width: 24px; height: 24px; flex: none; }
.circle-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white);
  border: 1.5px solid var(--line); transition: transform .25s var(--ease); }
.circle-btn:hover { border-color: var(--ink); }
.circle-btn:active { transform: scale(.94); }

/* ---------- header ---------- */
.strip { background: var(--sun); font-size: var(--fs-small); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.strip b { font-weight: 600; }
.strip__right { display: flex; gap: 22px; color: rgba(45, 41, 38, .85); }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.hdr__row { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 32px); min-height: var(--hdr-h); }
.logo { display: block; width: clamp(132px, 9.4vw, 220px); flex: none; }
.logo img, .logo svg { width: 100%; height: auto; }
.catbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px 0 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white); font-weight: 600; flex: none; }
.catbtn:hover { background: #1c1917; }
.search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 8px 0 18px; border-radius: var(--r-pill);
  background: var(--cream); border: 1.5px solid var(--line); min-width: 180px; }
.search:focus-within { border-color: var(--ink); background: var(--white); }
.search input { flex: 1; border: 0; background: none; outline: 0; min-width: 0; font-size: var(--fs-small); padding: 12px 0; }
.search button { min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--sun); font-weight: 600; font-size: var(--fs-small); }
.phone { display: flex; flex-direction: column; line-height: 1.2; flex: none; }
.phone a:first-child { font-weight: 700; font-size: calc(var(--fs-body) * 1.02); }
.phone small { font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; }
.phone small a { color: var(--ok); font-weight: 600; }
.acts { display: flex; gap: 4px; flex: none; }
.act { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 6px; border-radius: 14px;
  font-size: 13px; color: var(--ink-2); }
.act:hover { background: var(--cream); color: var(--ink); }
.act svg { width: 24px; height: 24px; color: var(--ink); }
.act__sum { position: absolute; top: 0; right: 2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sun);
  font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; color: var(--ink); }
.act__sum[hidden] { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav .wrap { display: flex; gap: clamp(18px, 2.2vw, 44px); min-height: 46px; align-items: center; font-weight: 500; }
.nav a { position: relative; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 2px; background: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__note { margin-left: auto; color: var(--ink-2); font-size: var(--fs-small); }

/* mega menu of the 16 sections (client menu order) */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(45, 41, 38, .25); opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease); }
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 28px; padding-block: 28px 34px; }
.mega__grid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; font-weight: 500; }
.mega__grid a:hover { background: var(--cream); }
.mega__grid sup { color: var(--ink-3); font-size: 13px; }
.mega__all { grid-column: 1 / -1; }

/* ---------- product card: R35 P5 white card + tone plate · R42 price in the cut corner · R05 weights as buttons ---------- */
.pc { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-card);
  border: 1px solid #efe5d6; padding: 10px 10px 14px; min-width: 0; }
.pc__plate { position: relative; display: block; aspect-ratio: 1 / 0.86; border-radius: var(--r-plate); background: var(--tone, var(--sand));
  overflow: hidden; }
.pc__plate img { position: absolute; inset: 9% 9% 7%; width: 82%; height: 84%; object-fit: contain; transition: transform .5s var(--ease); }
.pc__plate img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc--jar .pc__plate { background: linear-gradient(180deg, var(--tone, var(--sand)) 0 60%, transparent 60%),
  linear-gradient(90deg, #f6d77c 0 25%, #f4eadc 25% 50%, #e8c3a4 50% 75%, #fff3b8 75%); }   /* R51 «игра с банками и с цветами» */
.pc--jar .pc__plate img { inset: 10% 18% 8%; width: 64%; height: 82%; filter: drop-shadow(0 10px 12px rgba(45, 41, 38, .18)); }
.pc:hover .pc__plate img { transform: scale(1.035); }
.pc__tag { position: absolute; top: 0; right: 0; background: var(--white); padding: 6px 4px 10px 14px; border-bottom-left-radius: 18px;
  text-align: right; line-height: 1.05; z-index: 2; }
.pc__tag::before, .pc__tag::after { content: ""; position: absolute; width: 18px; height: 18px;
  background: radial-gradient(circle at 0 100%, transparent 17.5px, var(--white) 18px); }
.pc__tag::before { top: 0; left: -18px; }
.pc__tag::after { bottom: -18px; right: 0; }
.pc__price { font-weight: 700; font-size: var(--fs-price); letter-spacing: -.02em; display: block; }
.pc__per { font-size: 13px; color: var(--ink-2); font-weight: 500; display: block; margin-top: 3px; }
.pc__save { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 5px 10px; border-radius: var(--r-pill); }
.pc__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 6px 0; flex: 1; }
.pc__name { font-weight: 600; font-size: calc(var(--fs-body) * .98); line-height: 1.28; min-height: 2.56em; }
.pc__name:hover { color: var(--clay); }
.pc__kg { font-size: var(--fs-small); color: var(--clay); font-weight: 600; margin-top: -4px; }
.pc__kg span { color: var(--ink-2); font-weight: 400; }
.pc__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.wt { display: flex; gap: 6px; flex-wrap: wrap; }
.wt button { position: relative; min-height: 40px; min-width: 58px; padding: 0 12px; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--white); font-size: var(--fs-small); font-weight: 600; transition: transform .2s var(--ease); }
.wt button:hover { border-color: var(--ink); }
.wt button[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); }
.wt button:active { transform: scale(.95); }
.wt button[disabled] { color: var(--ink-3); border-style: dashed; cursor: not-allowed; }
.wt sup { position: absolute; top: -9px; right: -6px; background: var(--clay); color: var(--white); font-size: 11px; line-height: 1; padding: 3px 5px;
  border-radius: 8px; font-weight: 700; }
.add { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 6px; border-radius: var(--r-pill); background: var(--sun);
  font-weight: 600; font-size: var(--fs-small); transition: transform .2s var(--ease); margin-left: auto; }
.add i { width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-style: normal; font-size: 22px; line-height: 1; }
.add:hover { background: #ffd400; }
.add:active { transform: scale(.96); }
.step { display: inline-flex; align-items: center; gap: 2px; min-height: 48px; padding: 4px; border-radius: var(--r-pill); background: var(--sun); margin-left: auto; }
.step button { width: 40px; height: 40px; border-radius: 50%; background: var(--white); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.step b { min-width: 34px; text-align: center; font-size: var(--fs-small); }
.pc.is-off .pc__plate img { opacity: .45; }
.pc__off { font-size: var(--fs-small); color: var(--ink-2); }

/* the same card as a row (mobile lists, R61 K7–K8) */
.pr { display: grid; grid-template-columns: 96px 1fr; gap: 12px; background: var(--white); border-radius: 18px; padding: 10px; border: 1px solid #efe5d6; }
.pr__plate { position: relative; border-radius: 14px; background: var(--tone, var(--sand)); aspect-ratio: 1; overflow: hidden; }
.pr__plate img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.pr__plate img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr__name { font-weight: 600; font-size: 16px; line-height: 1.25; }
.pr__kg { font-size: 13px; color: var(--clay); font-weight: 600; margin-top: 2px; }
.pr__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.pr__price { font-weight: 700; font-size: 20px; }
.pr .wt button { min-height: 34px; min-width: 48px; padding: 0 9px; font-size: 13px; }
.pr .step, .pr .add { min-height: 40px; }
.pr .step button { width: 32px; height: 32px; }
.pr .add i { width: 30px; height: 30px; }

/* ---------- seams: the half-oval of R35 P2 (one form of seam on the whole site) ---------- */
.dome { position: relative; overflow-x: clip; }
.dome::before { content: ""; position: absolute; left: -12vw; right: -12vw; top: 0; height: clamp(120px, 12vw, 260px);
  background: inherit; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(-99%); pointer-events: none; }
.bowl-bottom { border-bottom-left-radius: 50% clamp(60px, 7vw, 150px); border-bottom-right-radius: 50% clamp(60px, 7vw, 150px); }

/* the product copy that drops into the bag (js/app.js fly) */
.fly { position: fixed; z-index: 400; pointer-events: none; object-fit: cover; border-radius: 50%; will-change: transform, opacity;
  box-shadow: 0 12px 26px -10px rgba(45, 41, 38, .5); }
.fly.is-cut { object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 14px rgba(45, 41, 38, .3)); }

/* ---------- category tile: R35 P3 (photo cut by the corner) · R38 G1 (count over the word) ---------- */
.ct { position: relative; display: block; overflow: hidden; border-radius: 30px; background: var(--c, var(--sun)); color: var(--cink, var(--ink));
  aspect-ratio: 0.88; padding: clamp(18px, 1.5vw, 30px); isolation: isolate; transition: transform .35s var(--ease); }
.ct:hover { transform: translateY(-4px); }
.ct__t { font-family: var(--f-acc); font-weight: 700; font-size: clamp(22px, 1.35vw + 4px, 38px); line-height: 1.02; display: block; max-width: 9ch; }
.ct__t sup { font-family: var(--f-txt); font-size: .42em; font-weight: 600; margin-left: 4px; opacity: .8; vertical-align: super; }
.ct__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: var(--fs-small); font-weight: 600; opacity: .85; }
.ct img { position: absolute; right: -14%; bottom: -12%; width: 92%; height: 70%; object-fit: contain; object-position: right bottom; z-index: -1;
  transition: transform .5s var(--ease); }
.ct:hover img { transform: translate(-2%, -2%) scale(1.03); }

/* ---------- drawn icon (pencil, R08 · R33): graphite on light, white on dark ---------- */
.dr { display: block; width: 100%; height: auto; }
.on-dark .dr { filter: invert(1) brightness(1.6); }

/* ---------- reveal (GSAP drives; without JS everything is visible) ---------- */
.js [data-rv] { opacity: 0; }
.shot [data-rv], .rm [data-rv] { opacity: 1 !important; transform: none !important; }

/* ---------- footer: R38 G13 halves + G14 stamp + R35 P14 columns ---------- */
.foot { background: var(--sand); padding-top: 0; margin-top: 0; }
.foot__duo { display: grid; grid-template-columns: 1fr 1fr; }
.foot__half { padding: clamp(44px, 4.6vw, 96px) clamp(24px, 4vw, 90px); }
.foot__half--sun { background: var(--sun); }
.foot__half--ink { background: var(--ink); color: var(--white); }
.foot__half h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.foot__half p { max-width: 40ch; }
.foot__half .btn { margin-top: 26px; }
.foot__phones { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 18px; font-weight: 700; font-size: calc(var(--fs-body) * 1.1); }
.foot__main { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr; gap: 36px; padding-block: clamp(48px, 4.5vw, 90px); align-items: start; }
.foot__logo { width: clamp(160px, 11vw, 260px); }
.foot__about { margin-top: 18px; font-size: var(--fs-small); color: var(--ink-2); max-width: 36ch; }
.foot h4 { font-family: var(--f-txt); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .08em; color: var(--clay); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--clay); }
.foot__legal { border-top: 1px solid rgba(45, 41, 38, .12); padding-block: 22px 30px; font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 20px; }

/* ---------- side cart: nuts.com П3 — panel with the free-delivery bar, two exits, «С этим товаром покупают» ---------- */
.scrim { position: fixed; inset: 0; background: rgba(45, 41, 38, .38); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.side-port { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 91; }
.side { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform .45s var(--ease); box-shadow: -30px 0 60px -30px rgba(45, 41, 38, .35); pointer-events: none; }
.side.is-on { transform: none; pointer-events: auto; }
.side__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--white); }
.side__head h3 { font-family: var(--f-acc); font-size: 26px; }
.side__body { flex: 1; overflow: auto; padding: 18px 22px; display: grid; gap: 12px; align-content: start; }
.side__foot { padding: 18px 22px 22px; background: var(--white); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.free { background: var(--white); border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); }
.free p { font-size: var(--fs-small); }
.free__bar { height: 10px; border-radius: 6px; background: var(--sand); overflow: hidden; margin-top: 10px; }
.free__bar i { display: block; height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(var(--k, 0)); transition: transform .5s var(--ease); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--white); border-radius: 16px; padding: 8px 12px 8px 8px; }
.line__plate { border-radius: 12px; background: var(--tone, var(--sand)); aspect-ratio: 1; position: relative; overflow: hidden; }
.line__plate img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.line__plate img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.line__meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.line__sum { font-weight: 700; text-align: right; }
.line .step { min-height: 38px; margin-top: 6px; }
.line .step button { width: 30px; height: 30px; font-size: 18px; }
.side__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; }
.side__total small { font-weight: 400; color: var(--ink-2); font-size: 14px; display: block; }
.side__rec h4 { font-size: var(--fs-small); margin: 8px 0 2px; color: var(--ink-2); font-weight: 600; }

/* ---------- promo window: R69 nuts.com П1 — after 5 s on the first visit; × and a click outside close it; «−5%» tab stays ---------- */
.promo { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.promo__scrim { position: absolute; inset: 0; background: rgba(45, 41, 38, .45); opacity: 0; transition: opacity .35s var(--ease); }
.promo__box { position: relative; width: min(780px, 100%); display: grid; grid-template-columns: 1.05fr .95fr; background: var(--white);
  border-radius: 30px; overflow: hidden; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.promo.is-on { pointer-events: auto; }
.promo.is-on .promo__scrim { opacity: 1; }
.promo.is-on .promo__box { opacity: 1; transform: none; }
.promo__txt { padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.promo__txt h3 { font-family: var(--f-acc); font-size: clamp(26px, 2vw, 36px); line-height: 1.12; }
.promo__code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo__code b { font-family: var(--f-acc); font-size: 30px; letter-spacing: .06em; padding: 8px 18px; border-radius: 14px; border: 2px dashed var(--ink); background: var(--butter); }
.promo__pic { background: var(--sun); position: relative; min-height: 320px; }
.promo__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.promo-tab { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 68px; height: 68px; border-radius: 50%; background: var(--clay); color: var(--white);
  font-weight: 700; font-size: 18px; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(164, 49, 22, .6);
  opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .4s var(--ease); pointer-events: none; }
.promo-tab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 99; background: var(--ink); color: var(--white); padding: 14px 22px; border-radius: var(--r-pill);
  font-size: var(--fs-small); opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s var(--ease), transform .35s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- breadcrumbs (R05 pill) ---------- */
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--white);
  border: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

/* ---------- page head of inner pages ---------- */
.phead { padding-block: clamp(28px, 3vw, 56px) clamp(24px, 2.4vw, 44px); }
.phead h1 { font-size: var(--fs-h1); margin-top: 18px; max-width: 18ch; }
.phead p { margin-top: 14px; }

/* ---------- mobile: R61 — own design, not a shrunk desktop ---------- */
.mbar, .mtop, .msearch { display: none; }
@media (max-width: 1100px) {
  .phone small { display: none; }
  .act span { display: none; }
  .act { min-width: 48px; }
  .nav__note { display: none; }
}
@media (max-width: 960px) and (min-width: 768px) {
  /* tablet: the header row had logo + catalog + search + phone + four actions = 908 px in a 768 window (ag_about, ag_recipes);
     the phone stays in the top strip and the footer */
  .phone { display: none; }
  .nav .wrap { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 767px) {
  :root { --gut: 16px; --wrap: calc(100vw - 32px); --fs-body: 16px; --fs-small: 14px; --fs-h1: 34px; --fs-h2: 28px; --fs-price: 22px; --sec: 56px; }
  body { padding-bottom: 76px; }
  .strip, .hdr, .nav { display: none; }
  .mtop { display: flex; position: sticky; top: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 10px; height: 58px;
    padding: 0 12px; background: var(--white); border-bottom: 1px solid var(--line); }
  .mtop .logo { width: 116px; }
  .mtop__b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; }
  .mtop__b .act__sum { top: 2px; right: 0; min-width: 20px; height: 20px; line-height: 20px; font-size: 11px; background: #6aa84f; color: var(--white); }
  .msearch { display: block; padding: 10px 16px 6px; background: var(--white); }
  .msearch label { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: var(--r-pill); background: #f2efe9; color: var(--ink-2); font-size: 15px; }
  .msearch input { border: 0; background: none; outline: 0; flex: 1; min-width: 0; font-size: 15px; }
  .msearch svg { color: var(--clay); }
  .mbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 70px;
    background: var(--white); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--ink-2); }
  .mbar svg { width: 24px; height: 24px; color: var(--ink); }
  .mbar a.is-home { color: var(--ink); font-weight: 700; }
  .mbar a.is-home i { width: 48px; height: 48px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; margin-top: -24px;
    box-shadow: 0 8px 20px -6px rgba(45, 41, 38, .35); }
  .btn { min-height: 50px; }
  .sec__head { align-items: start; flex-direction: column; gap: 10px; }
  .foot__duo { grid-template-columns: 1fr; }
  .foot__main { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot__main > :first-child { grid-column: 1 / -1; }
  .foot__legal { flex-direction: column; }
  .promo { align-items: end; padding: 0; }
  .promo__box { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 62vh; transform: translateY(100%); }
  .promo__pic { display: none; }
  .promo-tab { bottom: 86px; left: 12px; width: 56px; height: 56px; font-size: 15px; }
  .side { width: 100vw; }
  .pc { padding: 8px 8px 12px; border-radius: 20px; }
  .pc__name { font-size: 15px; }
  .phead h1 { font-size: 30px; }
  .crumbs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
