/* ═══════════════════════════════════════════════
   Уют на Балтике — цветочная ферма
   Палитра: телесный / пудровый + шалфейно-зелёный
   ═══════════════════════════════════════════════ */

:root {
  --bg: #f7efe6;
  --bg-2: #efe2d4;
  --bg-3: #f3e7db;
  --card: #fffaf4;
  --ink: #2f3b33;
  --ink-2: #56645a;
  --muted: #7c867e;
  --line: #e6d8c9;
  --sage: #8fae8f;
  --sage-2: #a9c2a6;
  --sage-d: #4f6b55;
  --sage-l: #e3ebdf;
  --peach: #e7a58b;
  --peach-d: #c97c62;
  --peach-l: #f7ddd0;
  --rose: #e9b9c4;
  --sea: #a9c3cc;
  --sun: #f0c063;
  --ok: #5f8f63;
  --warn: #c98a3c;
  --err: #b85b4b;

  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-hand: 'Caveat', 'Segoe Print', cursive;

  --r-s: 12px;
  --r: 20px;
  --r-l: 32px;
  --shadow-s: 0 2px 8px rgba(84, 66, 48, .06);
  --shadow: 0 10px 30px -12px rgba(84, 66, 48, .22);
  --shadow-l: 0 24px 60px -24px rgba(84, 66, 48, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 74px;
  --container: 1240px;
}

/* ── База ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh;
  font: 400 16px/1.6 var(--f-body);
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* лёгкая бумажная фактура */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(233, 185, 196, .22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(169, 194, 166, .18), transparent 60%),
    radial-gradient(800px 500px at 80% 90%, rgba(231, 165, 139, .14), transparent 60%);
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--sage-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--peach-d); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage-d); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--peach-l); }
.i { width: 22px; height: 22px; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }
.trap-link { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.h1, .h2, .h3, h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .4em; color: var(--ink); }
.h1 { font-size: clamp(36px, 5.2vw, 64px); }
.h1 em, .h2 em { font-style: italic; font-weight: 500; color: var(--peach-d); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); }
.h3 { font-size: 26px; }
.eyebrow { display: inline-block; font: 500 22px/1.1 var(--f-hand); color: var(--sage-d); margin: 0 0 6px; text-decoration: none; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }

/* ── Кнопки ─────────────────────────────────── */
.btn {
  --b: var(--card); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--b); color: var(--c); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--spring), background .25s, box-shadow .25s, color .2s;
}
.btn .i { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); color: var(--c); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--primary { --b: var(--sage-d); --c: #fffaf4; box-shadow: 0 8px 20px -10px rgba(79, 107, 85, .8); }
.btn--primary:hover { --b: #445e4a; box-shadow: 0 12px 26px -10px rgba(79, 107, 85, .9); }
.btn--soft { --b: var(--sage-l); --c: var(--sage-d); }
.btn--soft:hover { --b: #d6e3d1; }
.btn--ghost { --b: transparent; border-color: var(--line); }
.btn--ghost:hover { --b: var(--card); }
.btn--glass { --b: rgba(255, 250, 244, .7); backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, .7); }
.btn--lg { min-height: 54px; padding: 12px 28px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .i { width: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }
.dot-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--peach); color: #fff; font: 700 11px/18px var(--f-body); text-align: center; font-style: normal;
}
.dot-count.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(-8deg); } 100% { transform: scale(1); } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px;
  transition: background .2s, border-color .2s, transform .2s;
}
.chip small { color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--sage); color: var(--ink); transform: translateY(-1px); }
.chip.is-on { background: var(--sage-d); border-color: var(--sage-d); color: #fffaf4; }
.chip.is-on small { color: #dfe8dc; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--peach-l); color: var(--peach-d); font-size: 12px; font-weight: 700; letter-spacing: .02em; }

/* ── Заставка (росток → цветок) ─────────────── */
.intro {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #fbf5ee, var(--bg) 60%, var(--bg-2));
  animation: intro-out .6s var(--ease) 2s forwards;
}
.intro-seen .intro, html:not(.js) .intro { display: none; }
.intro.is-done { animation: intro-out .45s var(--ease) forwards; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
.intro__stage { text-align: center; }
.intro__plant { width: 170px; height: 204px; margin: 0 auto; overflow: visible; }
.intro__ground { fill: none; stroke: #d7c3ad; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .5s ease forwards; }
.intro__stem { fill: none; stroke: var(--sage-d); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 150; stroke-dashoffset: 150; animation: draw .75s var(--ease) .2s forwards; }
.intro__leaf { fill: var(--sage); transform-box: fill-box; transform: scale(0); animation: pop .45s var(--spring) forwards; }
.intro__leaf--l { transform-origin: 100% 100%; animation-delay: .55s; }
.intro__leaf--r { transform-origin: 0 100%; animation-delay: .7s; fill: var(--sage-2); }
.intro__flower { }
.intro__petals { transform: scale(0) rotate(-60deg); transform-box: view-box; transform-origin: 0 0; animation: bloom .8s var(--spring) .85s forwards; }
.intro__petals .p { fill: var(--peach); }
.intro__petals .p:nth-child(even) { fill: #eeb39c; }
.intro__core { fill: var(--sun); transform: scale(0); transform-box: fill-box; transform-origin: center; animation: pop .4s var(--spring) 1.2s forwards; }
.intro__title { margin-top: 14px; font: 600 34px/1 var(--f-display); color: var(--ink); opacity: 0; animation: rise .6s var(--ease) 1.25s forwards; }
.intro__sub { font: 500 24px/1.2 var(--f-hand); color: var(--sage-d); opacity: 0; animation: rise .6s var(--ease) 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes bloom { to { transform: scale(1) rotate(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Шапка ──────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(247, 239, 230, .78); 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, height .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(84, 66, 48, .5); }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__burger { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 46px; height: 46px; transition: transform .6s var(--spring); }
.logo:hover .logo__mark { transform: rotate(72deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 600 25px/1 var(--f-display); letter-spacing: -.01em; }
.logo__tag { font: 500 18px/1 var(--f-hand); color: var(--sage-d); margin-top: 2px; }
.logo__img { max-height: 48px; width: auto; }
.logo__custom svg { height: 48px; width: auto; }
.logo--sm .logo__mark { width: 38px; height: 38px; }
.logo--sm .logo__name { font-size: 21px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav__link { position: relative; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--ink); background: rgba(255, 250, 244, .7); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--peach); }

/* хлебные крошки */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sage-d); }

.notice { padding: 14px 18px; border-radius: var(--r-s); background: var(--sage-l); color: var(--sage-d); margin: 14px 0; display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.notice p { margin: 0; width: 100%; }
.notice--error { background: #f6dcd5; color: #8d4334; }
.notice--success { background: var(--sage-l); }

/* ── Баннер (hero) ──────────────────────────── */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 40px) 0 120px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: 62% 50%; transform: scale(1.06); animation: hero-in 2.4s var(--ease) forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 239, 230, .96) 0%, rgba(247, 239, 230, .82) 38%, rgba(247, 239, 230, .2) 70%, rgba(247, 239, 230, 0) 100%), linear-gradient(180deg, rgba(247, 239, 230, .7), transparent 30%); }
@keyframes hero-in { from { transform: scale(1.14); filter: blur(4px); } to { transform: scale(1.04); filter: none; } }
.hero__in { position: relative; z-index: 2; }
.hero__title { margin: 0 0 22px; font-weight: 600; line-height: .9; display: flex; flex-direction: column; align-items: flex-start; }
.hero__big { position: relative; display: inline-flex; font: 600 clamp(96px, 16vw, 210px)/.82 var(--f-display); letter-spacing: -.035em; color: var(--ink); }
.hero__big .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(6deg); animation: letter 1s var(--spring) forwards; animation-delay: calc(.15s + var(--i) * .12s); }
.intro-seen .hero__big .ch { animation-delay: calc(var(--i) * .1s); }
.hero__big .ch:nth-child(2) { color: var(--peach-d); font-style: italic; font-weight: 500; }
@keyframes letter { to { opacity: 1; transform: none; } }
.hero__vine { position: absolute; left: 62%; top: -10%; width: 62%; min-width: 150px; overflow: visible; pointer-events: none; }
.hero__vine .vine { fill: none; stroke: var(--sage-d); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.6s var(--ease) .9s forwards; }
.hero__vine .leaf { fill: var(--sage); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s var(--spring) forwards; animation-delay: calc(1.3s + var(--l) * .25s); }
.hero__vine .bloom circle { fill: var(--peach); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .6s var(--spring) 2.2s forwards; }
.hero__vine .bloom .bloom__c { fill: var(--sun); }
.hero__rest { font: italic 500 clamp(40px, 6vw, 82px)/1 var(--f-display); color: var(--ink); margin: 6px 0 0 .1em; opacity: 0; animation: rise .9s var(--ease) .75s forwards; }
.hero__sub { position: relative; font: 600 clamp(28px, 3.4vw, 44px)/1.1 var(--f-hand); color: var(--sage-d); margin: 10px 0 0 .2em; opacity: 0; animation: rise .9s var(--ease) 1s forwards; }
.hero__sub svg { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 18px; overflow: visible; }
.hero__sub path { fill: none; stroke: var(--peach); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 1.1s var(--ease) 1.5s forwards; }
.hero__text { max-width: 470px; font-size: 18px; color: var(--ink-2); margin: 0 0 28px; opacity: 0; animation: rise .8s var(--ease) 1.25s forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: rise .8s var(--ease) 1.4s forwards; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 500; opacity: 0; animation: rise .8s var(--ease) 1.6s forwards; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .i { color: var(--sage-d); width: 20px; }
.intro-seen .hero__rest, .intro-seen .hero__sub, .intro-seen .hero__text, .intro-seen .hero__cta, .intro-seen .hero__facts { animation-delay: .3s; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 1; }
.hero__waves .w { animation: wave 9s ease-in-out infinite alternate; }
.hero__waves .w1 { fill: rgba(169, 195, 204, .45); }
.hero__waves .w2 { fill: rgba(227, 235, 223, .8); animation-duration: 7s; animation-direction: alternate-reverse; }
.hero__waves .w3 { fill: var(--bg); animation-duration: 11s; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-180px); } }
.hero__petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__petals i {
  position: absolute; top: -40px; left: var(--x); width: 14px; height: 18px; border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, #f6cdbd, var(--peach)); opacity: .75;
  animation: petal var(--d) linear var(--delay) infinite; transform: scale(var(--s));
}
.hero__petals i:nth-child(3n) { background: linear-gradient(135deg, #fbe3e8, var(--rose)); }
.hero__petals i:nth-child(4n) { background: linear-gradient(135deg, #e7efe3, var(--sage-2)); border-radius: 0 80% 0 80%; }
@keyframes petal {
  0% { transform: translate(0, -5vh) rotate(var(--r)) scale(var(--s)); }
  50% { transform: translate(-6vw, 45vh) rotate(calc(var(--r) + 180deg)) scale(var(--s)); }
  100% { transform: translate(4vw, 100vh) rotate(calc(var(--r) + 360deg)) scale(var(--s)); }
}

/* ── «Истории» категорий ─────────────────────── */
.stories { margin-top: -50px; position: relative; z-index: 3; }
.stories__row { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 14px; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories__row::-webkit-scrollbar { display: none; }
.story { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.story__ring { width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--peach), var(--rose), var(--sun), var(--sage), var(--peach)); transition: transform .35s var(--spring); }
.story:hover .story__ring { transform: scale(1.07) rotate(-4deg); }
.story__img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--card); border: 3px solid var(--bg); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img em { font-size: 32px; font-style: normal; }
.story__img--all { color: var(--sage-d); }
.story__name { font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }

/* ── Магазин: лента + боковая колонка ────────── */
.section { padding-block: 56px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-block: 40px 60px; align-items: start; }
.shop__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.feed-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; gap: 16px; }
.view-toggle { display: inline-flex; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.view-toggle button { width: 40px; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--muted); display: grid; place-items: center; transition: background .2s, color .2s; }
.view-toggle button.is-on { background: var(--sage-l); color: var(--sage-d); }
.view-toggle .i { width: 20px; }

.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-s); }
.side-card p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.side-card__title { display: flex; align-items: center; gap: 8px; font: 600 22px/1.1 var(--f-display) !important; color: var(--ink) !important; }
.side-card__title .i { color: var(--peach-d); }
.side-card--bloom { background: linear-gradient(160deg, #fff6ee, var(--card)); }
.side-card--sea { background: linear-gradient(160deg, #eef4f3, var(--card)); }
.bloom-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bloom-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(247, 221, 208, .35); font-size: 14px; font-weight: 600; }
.bloom-list small { color: var(--muted); font-weight: 500; }

/* Пост-карточка */
.feed { display: grid; gap: 28px; max-width: 600px; margin-inline: auto; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-s); transition: box-shadow .35s, transform .35s var(--ease); }
.post:hover { box-shadow: var(--shadow); }
.post__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.post__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); padding: 3px; border: 1.5px solid var(--peach-l); }
.post__who { display: flex; flex-direction: column; line-height: 1.2; font-size: 14px; }
.post__who a { font-size: 12px; color: var(--muted); text-decoration: none; }
.post__head .badge { margin-left: auto; }
.post__media { position: relative; aspect-ratio: 1; background: var(--bg-2); overflow: hidden; }
.post__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.post__track::-webkit-scrollbar { display: none; }
.post__slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.post__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__slide img { transform: scale(1.035); }
.post__noimg { display: grid; place-items: center; height: 100%; color: var(--sage); }
.post__noimg .i { width: 64px; height: 64px; }
.post__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.post__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: background .2s, transform .2s; }
.post__dots i.on { background: #fff; transform: scale(1.25); }
.post__soon { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 250, 244, .9); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.post__burst { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; color: #fff; filter: drop-shadow(0 6px 20px rgba(201, 124, 98, .5)); opacity: 0; transform: scale(0); pointer-events: none; }
.post__burst .i { width: 100%; height: 100%; }
.post__burst.go { animation: burst .9s var(--spring); }
@keyframes burst { 0% { opacity: 0; transform: scale(0); } 15% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(.95); } 45%, 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1) translateY(-30px); } }
.post__price-tag { display: none; }
.post__actions { display: flex; align-items: center; gap: 4px; padding: 10px 10px 0; }
.act { display: inline-flex; align-items: center; gap: 4px; height: 42px; min-width: 42px; padding: 0 9px; border: 0; border-radius: 999px; background: none; color: var(--ink); font-weight: 600; font-size: 14px; transition: background .2s; }
.act:hover { background: var(--bg-2); }
.act .i { width: 25px; height: 25px; }
.act__ico { position: relative; display: grid; width: 25px; height: 25px; }
.act__ico .i { grid-area: 1 / 1; transition: transform .35s var(--spring), opacity .2s; }
.act__ico .i--fill { color: #e0786a; opacity: 0; transform: scale(.3); }
.act--like.is-on .i--fill { opacity: 1; transform: scale(1); }
.act--like.is-on .act__ico .i:first-child { opacity: 0; }
.act--like.pop .act__ico { animation: like-pop .5s var(--spring); }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.act--big { height: 54px; width: 54px; justify-content: center; border: 1px solid var(--line); background: var(--card); }
.act--big [data-like-count] { display: none; }
.post__price { margin-left: auto; padding-right: 8px; text-align: right; line-height: 1.1; }
.post__price b { font: 700 22px/1 var(--f-body); letter-spacing: -.02em; }
.post__price s { display: block; font-size: 13px; color: var(--muted); }
.post__body { padding: 6px 18px 0; }
.post__title { font: 600 26px/1.15 var(--f-display); margin: 4px 0 6px; }
.post__title a { color: var(--ink); text-decoration: none; }
.post__title a:hover { color: var(--sage-d); }
.post__text { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.post__text.is-open { -webkit-line-clamp: unset; }
.stock { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ok); }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); flex: none; }
.stock--low { color: var(--warn); }
.stock--low i { animation: pulse 1.6s ease-in-out infinite; }
.stock--out { color: var(--muted); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.post__buy { display: flex; gap: 10px; padding: 14px 16px 16px; }
.qty { display: inline-flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); flex: none; }
.qty button { width: 38px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; }
.qty button:hover { color: var(--ink); background: var(--bg-2); }
.qty .i { width: 16px; }
.qty input { width: 34px; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--lg { height: 54px; }

/* режим «плитка» */
.feed.is-grid { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feed.is-grid .post { border-radius: var(--r); }
.feed.is-grid .post__head { display: none; }
.feed.is-grid .post__price { display: none; }
.feed.is-grid .post__price-tag { display: block; position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 250, 244, .92); font-weight: 700; font-size: 15px; backdrop-filter: blur(6px); }
.feed.is-grid .post__actions { position: absolute; padding: 0; margin: 8px; z-index: 2; flex-direction: column; }
.feed.is-grid .post { position: relative; }
.feed.is-grid .post__actions .act { background: rgba(255, 250, 244, .85); backdrop-filter: blur(6px); margin-bottom: 6px; }
.feed.is-grid .post__actions [data-like-count] { display: none; }
.feed.is-grid .post__actions { top: 0; right: 0; }
.feed.is-grid .post__title { font-size: 22px; }
.feed.is-grid .post__text { -webkit-line-clamp: 2; font-size: 14px; }
.feed.is-grid .post__buy { padding: 12px 14px 14px; }
.feed.is-grid .qty { display: none; }
.feed.is-grid .post__buy .btn { min-height: 42px; }
.feed.is-grid .post__dots { bottom: auto; top: 12px; }
.feed--row.is-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feed-more { display: flex; justify-content: center; padding: 30px 0 0; }
.feed-more.is-loading .btn::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); }
.empty .i { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--sage); }
.empty--big .empty__heart { display: inline-grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; background: var(--peach-l); color: var(--peach-d); margin-bottom: 16px; animation: beat 1.8s ease-in-out infinite; }
.empty--big .empty__heart .i { width: 50px; height: 50px; margin: 0; color: inherit; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

/* обещания */
.promise { background: linear-gradient(180deg, transparent, var(--bg-3) 20%, var(--bg-3) 80%, transparent); padding: 50px 0; }
.promise__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise__item { text-align: center; padding: 24px; }
.promise__item h3 { font-size: 28px; }
.promise__item p { color: var(--ink-2); margin: 0; }
.promise__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50% 50% 50% 14px; background: var(--card); color: var(--sage-d); box-shadow: var(--shadow-s); margin-bottom: 14px; transition: transform .5s var(--spring); }
.promise__item:hover .promise__ico { transform: rotate(-10deg) scale(1.08); }
.promise__ico .i { width: 32px; height: 32px; }

/* блог-карточки */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); display: block; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__body { padding: 18px 20px 22px; }
.bcard__meta { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.bcard__title { font-size: 25px; margin: 0 0 8px; }
.bcard__title a { color: var(--ink); text-decoration: none; }
.bcard__title a::after { content: ""; position: absolute; inset: 0; }
.bcard { position: relative; }
.bcard__text { margin: 0; color: var(--ink-2); font-size: 15px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 34px 0 0; }
.pager a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); }
.pager a.is-on { background: var(--sage-d); color: #fff; border-color: var(--sage-d); }

/* ── Каталог ────────────────────────────────── */
.page-head { padding: 30px 20px 18px; }
.page-head .h1 { margin-bottom: 8px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.subcats { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 6px 4px 4px; }
.sub { position: relative; color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 4px 0; }
.sub.is-on { color: var(--ink); }
.sub.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--peach); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0 8px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.toolbar__search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.toolbar__search input { border: 0; background: none; outline: 0; width: 100%; color: var(--ink); }
.select select { height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2356645a' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; padding: 0 38px 0 16px; appearance: none; font-weight: 500; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch i { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); transition: transform .3s var(--spring); }
.switch input:checked + i { background: var(--sage); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--sage-d); outline-offset: 2px; }
.toolbar .view-toggle { margin-left: auto; }
.found { margin: 6px 4px 16px; font-size: 14px; }

/* ── Товар ──────────────────────────────────── */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; padding-block: 24px 40px; align-items: start; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.product__main { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); aspect-ratio: 1; box-shadow: var(--shadow); }
.product__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.product__main img.is-swap { opacity: 0; }
.badge--float { position: absolute; top: 16px; left: 16px; background: rgba(255, 250, 244, .92); }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product__thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.product__thumbs button.is-on, .product__thumbs button:hover { opacity: 1; border-color: var(--sage); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__video { width: 100%; border-radius: var(--r); margin-top: 12px; }
.product__title { font-size: clamp(36px, 4vw, 54px); margin: 4px 0 12px; }
.product__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.product__price b { font-size: 32px; letter-spacing: -.02em; }
.product__price s { color: var(--muted); font-size: 18px; }
.product__info .lead { margin: 18px 0; }
.product__buy { display: flex; gap: 12px; align-items: center; margin: 22px 0; }
.perks { list-style: none; padding: 18px; margin: 0 0 22px; display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.perks .i { color: var(--sage-d); }
.perks b { color: var(--ink); }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs__nav button { border: 0; background: none; padding: 10px 14px; font-weight: 600; color: var(--muted); position: relative; }
.tabs__nav button.is-on { color: var(--ink); }
.tabs__nav button.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--peach); border-radius: 2px; }
.tabs__panel { animation: rise .4s var(--ease); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.share__btns { display: flex; gap: 8px; }
.share__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); transition: transform .3s var(--spring), background .2s, color .2s; }
.share__btn:hover { transform: translateY(-3px); color: #fff; }
.share__btn--tg:hover { background: #3a9fd6; border-color: #3a9fd6; }
.share__btn--vk:hover { background: #2f7ee0; border-color: #2f7ee0; }
.share__btn--max:hover { background: #6f4ae2; border-color: #6f4ae2; }
.share__btn:not(.share__btn--tg):not(.share__btn--vk):not(.share__btn--max):hover { background: var(--sage-d); border-color: var(--sage-d); }
.share__btn .i { width: 20px; height: 20px; }

/* ── Типографика статей ─────────────────────── */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 34px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 26px; margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose ul { padding-left: 1.2em; }
.prose ul li::marker { color: var(--peach); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--peach); font: italic 500 24px/1.45 var(--f-display); color: var(--ink-2); }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: var(--r); }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.prose .callout { margin: 1.6em 0; padding: 18px 22px; border-radius: var(--r); background: var(--sage-l); border: 1px solid #d1dfcc; }
.prose .callout-warn { background: var(--peach-l); border-color: #efc8b6; }
.prose .align-center { margin-inline: auto; }
.prose .align-left { float: left; max-width: 45%; margin: .3em 1.4em 1em 0; }
.prose .align-right { float: right; max-width: 45%; margin: .3em 0 1em 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-3); }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.prose hr { border: 0; height: 24px; margin: 2em 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 24'%3E%3Cg fill='%23e7a58b'%3E%3Ccircle cx='15' cy='12' r='3'/%3E%3Ccircle cx='45' cy='12' r='4'/%3E%3Ccircle cx='75' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E") center / 90px 24px no-repeat; }
.prose a { color: var(--sage-d); }
.prose::after { content: ""; display: table; clear: both; }

.article__head { text-align: center; padding: 30px 20px 10px; max-width: 900px; }
.article__head .lead { margin-inline: auto; }
.article__title { font-size: clamp(38px, 5vw, 62px); }
.article__cover { margin: 20px auto 10px; max-width: 1100px; }
.article__cover img { width: 100%; border-radius: var(--r-l); aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.article__layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 50px; justify-content: center; padding-block: 30px 20px; }
.article__aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 24px; }
.toc { display: grid; gap: 4px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 14px; }
.toc__title { font: 500 22px/1 var(--f-hand); color: var(--sage-d); margin: 0 0 6px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 3px 0; }
.toc a:hover, .toc a.is-on { color: var(--peach-d); }
.share--col { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.share--end { margin-top: 40px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); justify-content: space-between; font-weight: 500; }
.article__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.doc { max-width: 860px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 4vw, 50px); font-size: 16px; }
.doc h2 { font-size: 28px; }
.doc h3 { font-size: 22px; }
.doc--story { font-size: 18px; }

/* ── Корзина ───────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 400; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(47, 59, 51, .28); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-l); transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer--left .drawer__panel { right: auto; left: 0; transform: translateX(-100%); width: min(360px, 88%); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__title { font: 600 28px/1 var(--f-display); margin: 0; }
.drawer__foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--card); }
.cart-list { flex: 1; overflow-y: auto; padding: 10px 18px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); animation: rise .35s var(--ease); }
.cart-item__img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: var(--bg-2); }
.cart-item__title { font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; display: block; }
.cart-item__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-item .qty { height: 36px; margin-top: 8px; background: var(--card); }
.cart-item .qty button { width: 30px; }
.cart-item__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-weight: 700; }
.cart-item__del { border: 0; background: none; color: var(--muted); padding: 4px; border-radius: 8px; }
.cart-item__del:hover { color: var(--err); background: #f6dcd5; }
.cart-item__del .i { width: 18px; }
.cart-item.is-gone { animation: gone .35s var(--ease) forwards; }
@keyframes gone { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; } }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--ink-2); }
.cart-empty svg { width: 120px; margin: 0 auto 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.cart-total b { font-size: 24px; }
.free-bar { display: grid; gap: 6px; }
.free-bar__line { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.free-bar__line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sage-2), var(--sage-d)); border-radius: 3px; transition: width .6s var(--ease); }
.free-bar small { color: var(--ink-2); }
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; padding-bottom: 50px; }
.cart-list--page { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 22px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow-s); }
.summary__title { font: 600 26px/1 var(--f-display); margin: 0 0 4px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; }
.summary__row--total { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 18px; }
.summary__row--total b { font-size: 24px; }
.summary .muted { margin: 0; display: flex; gap: 6px; align-items: center; }
.mini-list { display: grid; gap: 10px; max-height: 300px; overflow: auto; }
.mini-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini-item img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }

/* ── Формы ──────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card);
  transition: border-color .2s, box-shadow .2s; outline: 0;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(143, 174, 143, .2); }
.field input:disabled { opacity: .6; }
.field .counter { text-align: right; color: var(--muted); font-size: 12px; margin-top: -2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--ink-2); margin: 6px 0; line-height: 1.45; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #cdbba8; background: var(--card); display: grid; place-items: center; margin: 0; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .25s var(--spring); }
.check input:checked { background: var(--sage-d); border-color: var(--sage-d); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; align-items: start; padding-bottom: 60px; }
.step { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 22px 24px 10px; margin: 0 0 18px; }
.step legend { display: flex; align-items: center; gap: 10px; font: 600 26px/1 var(--f-display); padding: 0 8px; margin-left: -8px; }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--peach-l); color: var(--peach-d); font: 700 15px/1 var(--f-body); }
.more { margin: 4px 0 16px; }
.more summary { cursor: pointer; color: var(--sage-d); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { margin-bottom: 12px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.seg__item input, .slot input, .pay__item input { position: absolute; opacity: 0; pointer-events: none; }
.seg__item span { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s; }
.seg__item input:checked + span { background: var(--sage-d); color: #fff; }
.seg__item input:focus-visible + span, .slot input:focus-visible + span, .pay__item input:focus-visible + span { outline: 2px solid var(--sage-d); outline-offset: 2px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot span { display: inline-block; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s; }
.slot input:checked + span { border-color: var(--sage); background: var(--sage-l); color: var(--sage-d); }
.slots--static .slot span { cursor: default; }
.pay { display: grid; gap: 8px; margin-bottom: 10px; }
.pay__item span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; }
.pay__item span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cdbba8; transition: all .2s; }
.pay__item input:checked + span { border-color: var(--sage); background: var(--sage-l); }
.pay__item input:checked + span::before { border: 6px solid var(--sage-d); }
.consents { padding: 6px 4px 20px; }

/* ── Модальные окна, тосты, cookie ──────────── */
.modal { border: 0; padding: 0; background: transparent; max-width: 440px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(47, 59, 51, .3); backdrop-filter: blur(3px); }
.modal[open] .modal__box { animation: modal-in .45s var(--spring); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.modal__box { position: relative; background: var(--bg); border-radius: var(--r-l); padding: 30px 26px 24px; box-shadow: var(--shadow-l); text-align: left; }
.modal__x { position: absolute; top: 10px; right: 10px; }
.modal__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sage-l); color: var(--sage-d); margin-bottom: 12px; }
.modal__title { font: 600 28px/1.1 var(--f-display); margin: 0 0 4px; }
.toasts { position: fixed; left: 50%; bottom: 90px; z-index: 600; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--ink); color: #fffaf4; box-shadow: var(--shadow-l); font-weight: 500; font-size: 14px; animation: toast-in .5s var(--spring); }
.toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.toast .i { color: var(--sage-2); }
.toast a { color: var(--peach-l); font-weight: 700; }
.toast.is-out { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 450; max-width: 420px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); font-size: 14px; animation: toast-in .6s var(--spring); }
.cookie p { margin: 0 0 12px; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* поиск */
.search-pop { position: fixed; inset: 0; z-index: 420; display: flex; justify-content: center; padding-top: 12vh; }
.search-pop__backdrop { position: absolute; inset: 0; background: rgba(247, 239, 230, .8); backdrop-filter: blur(8px); animation: fade .3s; }
.search-pop__box { position: relative; display: flex; align-items: center; gap: 10px; width: min(640px, calc(100% - 32px)); height: 66px; padding: 0 10px 0 22px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-l); border: 1px solid var(--line); animation: modal-in .45s var(--spring); }
.search-pop__box input { flex: 1; border: 0; outline: 0; background: none; font-size: 19px; }
@keyframes fade { from { opacity: 0; } }

/* мобильное меню */
.menu-list { display: grid; padding: 10px; }
.menu-list a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.menu-list a:hover { background: var(--bg-2); }
.menu-list .i { color: var(--sage-d); }
.menu-cats { padding: 6px 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-cats .eyebrow { width: 100%; }
.menu-contacts { margin-top: auto; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.menu-contacts a, .menu-contacts span { display: flex; gap: 10px; align-items: center; color: var(--ink-2); text-decoration: none; }

/* нижняя панель (телефон) */
.tabbar { display: none; }

/* ── Подвал ─────────────────────────────────── */
.footer { position: relative; margin-top: 70px; background: #e9ddd0; padding: 30px 0 calc(24px + env(safe-area-inset-bottom)); color: var(--ink-2); }
.footer__wave { position: absolute; left: 0; right: 0; top: -89px; width: 100%; height: 90px; }
.footer__wave .w1 { fill: #e3d5c6; animation: wave 12s ease-in-out infinite alternate; }
.footer__wave .w2 { fill: #e9ddd0; animation: wave 9s ease-in-out infinite alternate-reverse; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.footer__brand p { margin: 14px 0; font-size: 14px; max-width: 300px; }
.footer__title { font: 600 22px/1 var(--f-display); color: var(--ink); margin: 6px 0 14px; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.footer__col a { color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--sage-d); }
.footer__contacts a, .footer__contacts span { display: flex; gap: 8px; align-items: center; }
.footer__contacts .i { width: 18px; color: var(--sage-d); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #dccbb9; font-size: 13px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); color: var(--sage-d); transition: transform .3s var(--spring); }
.socials a:hover { transform: translateY(-3px) rotate(-6deg); }
.socials--big { flex-wrap: wrap; margin-top: 18px; }
.socials--big a { width: auto; height: 44px; padding: 0 16px; border-radius: 999px; gap: 8px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; border: 1px solid var(--line); }

/* ── Доставка: сцена с грузовичком ───────────── */
.dl-hero__text { text-align: center; padding-top: 30px; }
.dl-hero__text .lead { margin-inline: auto; }
.road-scene { margin-top: 10px; height: clamp(260px, 36vw, 440px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.road-scene svg { width: 100%; height: 100%; }
.sun-glow { animation: glow 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes glow { to { transform: scale(1.15); opacity: .7; } }
.cloud { animation: drift 40s linear infinite; }
.cloud.c2 { animation-duration: 60s; animation-delay: -20s; }
@keyframes drift { from { transform: translateX(-300px); } to { transform: translateX(1300px); } }
.birds { animation: birds 18s linear infinite; }
@keyframes birds { from { transform: translate(-700px, 20px); } to { transform: translate(800px, -30px); } }
.sea-line { animation: sea 6s linear infinite; }
.sea-line.s2 { animation-duration: 9s; animation-direction: reverse; }
@keyframes sea { to { transform: translateX(-240px); } }
.road-dash { animation: dash .6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: 60; } }
.truck { animation: drive 11s linear infinite; }
@keyframes drive { from { transform: translateX(-260px); } to { transform: translateX(1300px); } }
.truck__body { animation: bounce .32s ease-in-out infinite alternate; }
@keyframes bounce { to { transform: translateY(-2.5px); } }
.wheel__spin { animation: wheel .5s linear infinite; }
@keyframes wheel { to { transform: rotate(360deg); } }
.sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 1.2s ease-in-out infinite alternate; }
.sway.s2 { animation-duration: 1.5s; animation-delay: -.4s; }
.sway.s3 { animation-duration: 1s; animation-delay: -.8s; }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.puff { fill: #fff; opacity: 0; animation: puff 1.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.puff.p2 { animation-delay: .4s; }
.puff.p3 { animation-delay: .8s; }
@keyframes puff { 0% { opacity: .8; transform: translate(0, 0) scale(.4); } 100% { opacity: 0; transform: translate(-40px, -16px) scale(1.6); } }
.headlight { animation: headlight 2s ease-in-out infinite alternate; }
@keyframes headlight { to { opacity: .15; } }
.rf-bloom { transform-box: fill-box; transform-origin: center; animation: rf 11s var(--ease) infinite both; }
@keyframes rf { 0% { transform: translate(0, -26px) scale(.15); } 5% { transform: translate(0, -26px) scale(1.25); } 9% { transform: translate(0, -26px) scale(1); } 88% { transform: translate(0, -26px) scale(1); } 100% { transform: translate(0, -26px) scale(.15); } }

.steps-line { position: relative; padding: 40px 20px 10px; }
.steps-line__path { position: absolute; left: 8%; right: 8%; top: 62px; width: 84%; height: 60px; overflow: visible; }
.steps-line__path path { fill: none; stroke: var(--peach); stroke-width: 2.5; stroke-dasharray: 6 10; stroke-linecap: round; }
.steps-line__items { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.sline h3 { font-size: 26px; margin: 12px 0 4px; }
.sline p { margin: 0; color: var(--ink-2); font-size: 15px; }
.sline__ico { display: inline-grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: var(--card); border: 2px solid var(--peach-l); color: var(--sage-d); box-shadow: var(--shadow); }
.sline__ico .i { width: 34px; height: 34px; }
.sline.in .sline__ico { animation: hop .7s var(--spring) both; }
.sline:nth-child(2).in .sline__ico { animation-delay: .15s; }
.sline:nth-child(3).in .sline__ico { animation-delay: .3s; }
.sline:nth-child(4).in .sline__ico { animation-delay: .45s; }
@keyframes hop { 0% { transform: scale(.5) translateY(20px); } 100% { transform: none; } }
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.zone { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.zone:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.zone h3 { font-size: 24px; margin: 12px 0 6px; }
.zone__pin { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--peach-l); color: var(--peach-d); }
.zone__price { font-size: 22px; font-weight: 700; margin: 0; }
.zone--pickup { background: linear-gradient(160deg, var(--sage-l), var(--card)); }
.zone--pickup .zone__pin { background: var(--card); color: var(--sage-d); }
.free-banner { margin-top: 18px; padding: 16px 22px; border-radius: var(--r); background: linear-gradient(90deg, var(--peach-l), #fbeee6); display: flex; gap: 10px; align-items: center; font-size: 17px; }
.free-banner .i { color: var(--peach-d); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card-soft { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card-soft .h3 { display: flex; align-items: center; gap: 10px; }
.card-soft .h3 .i { color: var(--peach-d); }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--ok); width: 20px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-s); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); transition: transform .35s var(--spring), background .2s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--peach-l); }
.faq__item p { margin: 0 0 18px; color: var(--ink-2); animation: rise .35s var(--ease); }

/* ── О ферме ────────────────────────────────── */
.about-hero__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; padding-top: 30px; }
.about-hero__photo { position: relative; margin: 0; }
.about-hero__photo img { border-radius: 46% 54% 40% 60% / 40% 38% 62% 60%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-l); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { 50% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; } 100% { border-radius: 42% 58% 46% 54% / 56% 42% 58% 44%; } }
.about-hero__frame { display: none; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; text-align: center; }
.value h3 { font-size: 26px; }
.value p { color: var(--ink-2); margin: 0; }
.value__art { width: 110px; height: 110px; margin: 0 auto 8px; overflow: visible; }
.grow-stem { fill: none; stroke: var(--sage-d); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.grow-leaf { fill: var(--sage); transform-box: fill-box; transform-origin: 100% 100%; transform: scale(0); }
.grow-leaf.l2 { fill: var(--sage-2); transform-origin: 0 100%; }
.grow-bud { fill: var(--peach); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.value.in .grow-stem { animation: draw 1s var(--ease) forwards; }
.value.in .grow-leaf { animation: pop .5s var(--spring) .6s forwards; }
.value.in .grow-leaf.l2 { animation-delay: .8s; }
.value.in .grow-bud { animation: pop .6s var(--spring) 1s forwards, beat 3s ease-in-out 2s infinite; }
.wave-a { fill: none; stroke: var(--sea); stroke-width: 4; stroke-linecap: round; animation: sea 3s ease-in-out infinite alternate; }
.wave-a.w2 { stroke: var(--sage-2); animation-direction: alternate-reverse; }
@keyframes sea2 { to { transform: translateX(-10px); } }
.sun-a { fill: var(--sun); animation: glow 3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.heart-a { fill: var(--peach-l); stroke: var(--peach); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: beat 2.2s ease-in-out infinite; }
.value .wave-a { animation-name: sea2; }
.contacts { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.contacts__card, .contacts__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .i { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--sage-l); color: var(--sage-d); }
.contact-list small { display: block; color: var(--muted); font-size: 12px; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.requisites { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.map { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.map iframe { display: block; border: 0; }

/* ── Кабинет, вход, спасибо, 404 ─────────────── */
.auth { display: grid; place-items: center; padding: 40px 20px 60px; }
.auth__card { width: min(460px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 34px 30px; box-shadow: var(--shadow); text-align: center; }
.auth__mark { width: 64px; height: 64px; margin: 0 auto 10px; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px) rotate(8deg); } }
.auth__form { text-align: left; margin-top: 18px; }
.auth__switch { margin: 18px 0 0; font-size: 14px; }
.account { display: grid; gap: 22px; padding-bottom: 50px; }
.account__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); display: grid; gap: 4px; transition: transform .3s var(--ease); }
.tile:hover { transform: translateY(-3px); color: var(--ink); }
.tile .i { color: var(--peach-d); }
.tile b { font: 600 34px/1 var(--f-display); }
.tile span { color: var(--muted); font-size: 14px; }
.orders { display: grid; gap: 8px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg); text-decoration: none; color: var(--ink); }
.order-row small { display: block; color: var(--muted); }
.status { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.account__logout { margin-top: 10px; }
.thanks { text-align: center; padding: 30px 20px 50px; max-width: 760px; }
.thanks .lead { margin-inline: auto; }
.thanks__flower svg { width: 160px; height: 160px; margin: 0 auto; overflow: visible; }
.t-stem { fill: none; stroke: var(--sage-d); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .8s var(--ease) forwards; }
.t-leaf { fill: var(--sage); transform-box: fill-box; transform-origin: 100% 100%; transform: scale(0); animation: pop .5s var(--spring) .6s forwards; }
.t-bloom ellipse { fill: var(--peach); opacity: .9; transform-box: view-box; transform-origin: 0 0; scale: 0; animation: petal-in .6s var(--spring) forwards; animation-delay: calc(.8s + var(--k) * .07s); }
.t-bloom ellipse:nth-child(odd) { fill: var(--rose); }
.t-bloom circle { fill: var(--sun); scale: 0; animation: petal-in .5s var(--spring) 1.5s forwards; transform-box: fill-box; transform-origin: center; }
@keyframes petal-in { to { scale: 1; } }
.thanks__sum { text-align: left; margin: 26px auto; max-width: 520px; position: static; }
.thanks__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nf { text-align: center; padding: 30px 20px 40px; }
.nf .lead { margin-inline: auto; }
.nf__art { width: 220px; margin: 0 auto; overflow: visible; }
.nf__ground { fill: none; stroke: #d7c3ad; stroke-width: 4; stroke-linecap: round; }
.nf__stem { fill: none; stroke: var(--sage-d); stroke-width: 4; stroke-linecap: round; transform-origin: 120px 178px; animation: droop 4s ease-in-out infinite alternate; }
.nf__head { animation: droop-h 4s ease-in-out infinite alternate; }
.nf__head ellipse { fill: var(--peach); opacity: .85; }
.nf__head circle { fill: var(--sun); }
.nf__petal { fill: var(--peach); animation: fall 4s ease-in infinite; }
@keyframes droop { to { transform: rotate(6deg); } }
@keyframes droop-h { from { transform: translate(140px, 108px) rotate(0); } to { transform: translate(148px, 114px) rotate(18deg); } }
@keyframes fall { 0% { transform: translate(150px, 110px) rotate(0); opacity: 1; } 100% { transform: translate(100px, 176px) rotate(220deg); opacity: 0; } }

/* ── Появление при прокрутке ─────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Переходы между страницами ──────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px) scale(.995); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.header { view-transition-name: header; }
.tabbar { view-transition-name: tabbar; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
/* запасной вариант для браузеров без View Transitions: «лепестковая шторка» */
.veil { position: fixed; inset: 0; z-index: 480; pointer-events: none; background: var(--bg); clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); }
.veil.is-in { transition: clip-path .45s var(--ease); clip-path: circle(150% at var(--vx, 50%) var(--vy, 50%)); }
.veil.is-out { clip-path: circle(150% at 50% 50%); animation: veil-out .55s var(--ease) forwards; }
@keyframes veil-out { to { clip-path: circle(0 at 50% 40%); } }

/* ── Адаптив ────────────────────────────────── */
@media (max-width: 1100px) {
  .shop { grid-template-columns: 1fr; }
  .shop__aside { position: static; grid-template-columns: repeat(3, 1fr); }
  .feed--row.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .article__layout { grid-template-columns: minmax(0, 720px); }
  .article__aside { position: static; order: 2; }
  .toc { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header__burger { display: inline-grid; margin-left: -8px; }
  .header__in { gap: 6px; }
  .logo__name { font-size: 22px; }
  .logo__tag { font-size: 16px; }
  .logo__mark { width: 40px; height: 40px; }
  .feed.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product, .cart-page, .checkout, .about-hero__in, .contacts { grid-template-columns: 1fr; gap: 26px; }
  .product__gallery { position: static; }
  .summary { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .promise__in, .values { grid-template-columns: 1fr; }
  .steps-line__items { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps-line__path { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(247, 239, 230, .7) 0%, rgba(247, 239, 230, .85) 50%, rgba(247, 239, 230, .95) 100%); }
}
@media (max-width: 680px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .container { padding-inline: 16px; }
  .hide-sm { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 250, 244, .92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600; }
  .tabbar .is-active { color: var(--sage-d); }
  .tabbar .is-active .i { transform: translateY(-2px); }
  .tabbar .dot-count { top: 0; right: calc(50% - 22px); }
  .toasts { bottom: 86px; }
  .cookie { left: 10px; right: 10px; bottom: 80px; max-width: none; }
  .hero { min-height: 0; padding-bottom: 100px; }
  .hero__vine { left: 58%; width: 70%; }
  .hero__text { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stories { margin-top: -40px; }
  .story { width: 76px; }
  .story__ring { width: 70px; height: 70px; }
  .shop { padding-top: 20px; }
  .shop__aside { grid-template-columns: 1fr; }
  .feed { gap: 18px; }
  .post { border-radius: 24px; }
  .feed.is-grid { gap: 10px; }
  .feed.is-grid .post__body { padding: 4px 10px 0; }
  .feed.is-grid .post__title { font-size: 18px; }
  .feed.is-grid .post__text { display: none; }
  .feed.is-grid .stock { font-size: 11px; }
  .feed.is-grid .post__buy { padding: 8px 10px 10px; }
  .feed.is-grid .post__buy .btn { min-height: 38px; font-size: 13px; padding: 6px 10px; }
  .feed.is-grid .post__buy .btn .i { display: none; }
  .feed.is-grid .post__price-tag { font-size: 13px; padding: 4px 9px; left: 8px; bottom: 8px; }
  .feed.is-grid .post__actions .act { width: 36px; height: 36px; min-width: 36px; padding: 0; justify-content: center; }
  .feed.is-grid .post__actions .act .i, .feed.is-grid .act__ico { width: 20px; height: 20px; }
  .feed.is-grid .post__actions [data-share] { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; gap: 22px; }
  .toolbar .view-toggle { margin-left: 0; }
  .step { padding: 18px 16px 6px; }
  .product__buy { flex-wrap: wrap; }
  .account__tiles { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .tile { padding: 14px; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row > b { grid-column: 1 / -1; }
  .share--end { flex-direction: column; align-items: flex-start; }
  .prose .align-left, .prose .align-right { float: none; max-width: 100%; margin: 1em 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .hero__petals { display: none; }
  @view-transition { navigation: none; }
}

@media print {
  .header, .footer, .tabbar, .intro, .cookie, .drawer, .hero__petals, .share { display: none !important; }
  body { background: #fff; }
}

/* блоки из визуального редактора */
.prose figure.wide { width: min(calc(100vw - 40px), 1000px); margin-left: 50%; transform: translateX(-50%); }
.prose figure.align-center { text-align: center; }
.prose figure.align-center img { margin-inline: auto; }
.prose .callout-tip { background: #eef4f3; border-color: #d3e2e4; }
