/* =========================================================
   Sugary Flowers — зефирная флористика
   Дизайн-система: токены, база, компоненты, страницы
   ========================================================= */

:root {
  /* палитра */
  --milk: #FCF7F2;
  --cream: #F6ECE3;
  --paper: #FFFFFF;
  --blush: #F8DDDE;
  --blush-2: #FBEAEA;
  --rose: #E9A9B3;
  --berry: #A3365C;
  --berry-deep: #6F1F3E;
  --cocoa: #3A2228;
  --muted: #7B6469;
  --line: #E4CFC6;
  --card: inset 0 0 0 1px rgba(111, 31, 62, .12), 0 2px 6px -2px rgba(111, 31, 62, .08), 0 18px 38px -26px rgba(111, 31, 62, .5);
  --cream-a: rgba(245, 231, 219, .86);
  --blush-a: rgba(250, 226, 230, .84);
  --pistachio: #D3E2BE;
  --leaf: #6F8C55;
  --lavender: #E3DAF3;
  --lavender-deep: #8C76B8;
  --butter: #FAEBC0;
  --sky: #D3EAEE;

  /* шрифты */
  --f-display: "Yeseva One", "Playfair Display", Georgia, serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-hand: "Caveat", "Segoe Script", cursive;
  --f-body: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ритм */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 7vw, 100px);
  --r-s: 12px;
  --r-m: 22px;
  --r-l: 34px;
  --arch: 999px 999px var(--r-m) var(--r-m);

  --shadow-1: 0 2px 10px rgba(58, 34, 40, .05);
  --shadow-2: 0 18px 50px -18px rgba(111, 31, 62, .28);
  --shadow-3: 0 30px 80px -30px rgba(111, 31, 62, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--milk);
  color: var(--cocoa);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

/* лёгкое «зерно» как у бумаги */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .32 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--berry); color: #fff; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 820px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--cream { background: var(--cream-a); }
.section--blush { background: var(--blush-a); }
.section--berry > .wrap, .site-footer > .wrap, .promo-card > * { position: relative; z-index: 1; }
.section--berry { background: var(--berry-deep); color: #FCEFF2; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */
.display {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.015em;
}
.h-xl { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.01em; }
.h-l { font-family: var(--f-display); font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.08; }
.h-m { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; line-height: 1.2; }
.display em, .h-xl em, .h-l em, .h-m em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--berry);
  letter-spacing: -.02em;
}
.section--berry .h-xl em, .section--berry .h-l em { color: var(--rose); }
.lead { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; color: var(--muted); max-width: 38em; }
.section--berry .lead { color: #E9CBD3; }
.hand { font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.1; color: var(--berry); font-weight: 500; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; border-radius: 2px; }
.section--berry .eyebrow { color: var(--rose); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; border-radius: 2px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head > div { max-width: 660px; }
.section-head .lead { margin-top: 14px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; border-radius: 2px; }
/* ---------- кнопки ---------- */
.btn {
  --bg: var(--cocoa); --fg: #fff; --bg-h: #241418;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; line-height: 1;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.btn:hover { background: var(--bg-h); box-shadow: 0 10px 24px -12px rgba(111, 31, 62, .55); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .22s ease; }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--berry { --bg: var(--berry); --bg-h: var(--berry-deep); }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); --bg-h: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.btn--ghost:hover { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px var(--cocoa), 0 10px 24px -14px rgba(58, 34, 40, .5); }
.btn--light { --bg: #fff; --fg: var(--cocoa); --bg-h: var(--blush); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link {
  color: var(--berry);
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .45s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--berry); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  box-shadow: 0 6px 16px -14px rgba(111, 31, 62, .6);
  font-size: .9rem; font-weight: 600;
  transition: border-color .25s, background-color .25s, color .25s, transform .3s var(--ease);
  user-select: none;
}
.chip:hover { border-color: var(--rose); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.chip small { font-weight: 600; opacity: .7; }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--berry-deep);
}

/* ---------- верхняя плашка ---------- */
.promo-bar {
  background: var(--cocoa); color: #F6E4E7;
  font-size: .86rem; text-align: center;
  padding: 9px 44px; position: relative;
}
.promo-bar b { color: #fff; letter-spacing: .04em; }
.promo-bar button.copy {
  border-bottom: 1px dashed currentColor; color: var(--butter); font-weight: 700; margin-left: 4px;
}
.promo-bar .close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; opacity: .7; }
.promo-bar .close:hover { opacity: 1; }
.promo-bar .close svg { width: 14px; height: 14px; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.is-scrolled { background: rgba(252, 247, 242, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; flex-direction: column; line-height: 1; flex: none; }
.logo__word { font-family: var(--f-display); font-size: 1.62rem; color: var(--berry-deep); letter-spacing: -.01em; }
.logo__word i { font-family: var(--f-serif); font-style: italic; color: var(--berry); font-weight: 500; }
.logo__sub { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .94rem;
  transition: background-color .25s, color .25s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--blush-2); color: var(--berry-deep); }
.nav__link.is-current { color: var(--berry); }
.nav__link svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 260px;
  background: var(--paper);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-3);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-weight: 600; font-size: .94rem; transition: background-color .2s; }
.dropdown a:hover { background: var(--blush-2); }
.dropdown img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.dropdown small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.dropdown--wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .25s, box-shadow .25s, transform .3s var(--ease);
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--rose); background: var(--blush-2); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -3px; right: -3px;
  min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px;
  background: var(--berry); color: #fff;
  font-size: .72rem; font-weight: 800;
  display: grid; place-items: center;
  transform: scale(0);
  transition: transform .4s var(--ease-bounce);
}
.cart-count.has-items { transform: scale(1); }
.cart-btn.is-bump { animation: bump .6s var(--ease-bounce); }
@keyframes bump { 0%{transform:scale(1)} 35%{transform:scale(1.22) rotate(-6deg)} 100%{transform:scale(1)} }

.burger { display: none; }
.burger span { display: block; width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
.burger > div { width: 18px; }

/* мобильное меню */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--milk);
  padding: calc(var(--header-h) + 64px) var(--gutter) 32px;
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mobile-menu__list > li > a, .mobile-menu__list > li > details > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--f-display); font-size: 1.7rem; list-style: none; cursor: pointer; }
.mobile-menu__list summary::-webkit-details-marker { display: none; }
.mobile-menu__list summary svg { width: 18px; height: 18px; transition: transform .3s; }
.mobile-menu__list details[open] summary svg { transform: rotate(45deg); }
.mobile-menu__sub { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.mobile-menu__sub a { display: block; padding: 8px 0 8px 14px; font-weight: 600; color: var(--muted); border-left: 2px solid var(--blush); }
.mobile-menu__foot { margin-top: 28px; display: grid; gap: 10px; }

/* ---------- хлебные крошки и шапка страницы ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 4.5vw, 56px); position: relative; }
.page-hero .lead { margin-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .86rem; color: var(--muted); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--rose); }
.crumbs a:hover { color: var(--berry); }
.page-hero__deco { position: absolute; right: -60px; top: -40px; width: clamp(220px, 32vw, 460px); aspect-ratio: 1; z-index: -1; }

/* ---------- живой фон: облака цвета и парящие цветочки ---------- */
.blobs { display: none; }
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blob {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  background: radial-gradient(circle at center, var(--c) 0%, transparent 62%);
  opacity: .75; will-change: transform;
}
.bg-blob--1 { --c: #F8D3D8; left: -18vmax; top: -22vmax; animation: cloud1 34s ease-in-out infinite alternate; }
.bg-blob--2 { --c: #E6DBF6; right: -24vmax; top: 8vh; animation: cloud2 42s ease-in-out infinite alternate; }
.bg-blob--3 { --c: #FBEBC4; left: 20vw; bottom: -34vmax; animation: cloud3 38s ease-in-out infinite alternate; opacity: .6; }
.bg-blob--4 { --c: #DDEBD0; right: 8vw; bottom: -40vmax; width: 46vmax; height: 46vmax; animation: cloud1 46s ease-in-out infinite alternate-reverse; opacity: .5; }
@keyframes cloud1 { to { transform: translate3d(14vw, 12vh, 0) scale(1.15); } }
@keyframes cloud2 { to { transform: translate3d(-16vw, 18vh, 0) scale(.9); } }
@keyframes cloud3 { to { transform: translate3d(-12vw, -14vh, 0) scale(1.1); } }
.petal {
  position: absolute; top: 0; width: var(--s); height: var(--s);
  opacity: var(--o);
  animation: rise var(--dur) linear infinite; animation-delay: var(--delay);
  will-change: transform;
}
.petal svg { width: 100%; height: 100%; animation: sway calc(var(--dur) / 5) ease-in-out infinite alternate; }
@keyframes rise {
  from { transform: translate3d(0, 108vh, 0) rotate(0deg); }
  to { transform: translate3d(var(--sway), -12vh, 0) rotate(var(--rot)); }
}
@keyframes sway { from { translate: -14px 0; } to { translate: 14px 0; } }
.sec-petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.petal--local { top: auto; bottom: -40px; animation-name: riseLocal; }
@keyframes riseLocal {
  from { bottom: -40px; transform: rotate(0deg); }
  to { bottom: 105%; transform: translateX(var(--sway)) rotate(var(--rot)); }
}

/* ---------- волнистые «зефирные» края ---------- */
.scallop { position: relative; }
.scallop::before {
  --r: 18px;
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(var(--r) * -1); height: var(--r);
  background: radial-gradient(circle at 50% 100%, var(--scallop, var(--cream)) calc(var(--r) - .5px), transparent var(--r)) 0 0 / calc(var(--r) * 2) var(--r) repeat-x;
  filter: drop-shadow(0 -1px 0 rgba(111, 31, 62, .14));
  pointer-events: none;
}
.section--cream.scallop { --scallop: var(--cream-a); }
.section--blush.scallop { --scallop: var(--blush-a); }
.section--berry.scallop { --scallop: var(--berry-deep); }

/* ---------- бегущая лента ---------- */
.ribbon-wrap { overflow: hidden; padding: 26px 0; margin: -26px 0; position: relative; z-index: 2; }
.ribbon {
  background: var(--berry);
  color: #FFF2F4;
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-1.6deg);
  margin: -6px -20px;
  box-shadow: var(--shadow-2);
  position: relative; z-index: 2;
}
.ribbon--alt { background: var(--butter); color: var(--berry-deep); transform: rotate(1.2deg); }
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ribbon__item { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); white-space: nowrap; }
.ribbon__item svg { width: 20px; height: 20px; vertical-align: -3px; margin-left: 34px; color: var(--rose); }
.ribbon--alt .ribbon__item svg { color: var(--berry); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- вращающийся стикер ---------- */
.sticker { position: absolute; width: 132px; height: 132px; display: grid; place-items: center; z-index: 3; }
.sticker svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker text { font-family: var(--f-body); font-size: 10.6px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; fill: var(--berry-deep); }
.sticker__core {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--berry); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-size: 1.5rem; line-height: .9;
  box-shadow: var(--shadow-2);
}
.sticker__core small { display: block; font-family: var(--f-body); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.sticker::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--butter); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- появление при прокрутке ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="zoom"] { transform: scale(.97); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-depth] { transition: opacity .7s var(--ease), transform .8s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms), 0s; }
.img-reveal { opacity: 0; transform: scale(.98); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.img-reveal.is-in { opacity: 1; transform: none; }

/* заголовки: слова мягко проявляются, без обрезки и наклона */
.split .w { display: inline-block; }
.split .w > span { display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(6px); transition: opacity .6s ease, transform .7s var(--ease), filter .6s ease; transition-delay: calc(var(--i) * 45ms + 60ms); }
.split.is-in .w > span { opacity: 1; transform: none; filter: none; }
/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(20px, 3.5vw, 44px) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(32px, 4vw, 52px); }
.hero__text { display: flex; flex-direction: column; align-items: center; max-width: 860px; }
.hero .lead { margin-inline: auto; max-width: 620px; }
.hero__note { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero__note .hand { font-size: 1.55rem; }
.hero__note .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(111,140,85,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(111,140,85,0); } 100% { box-shadow: 0 0 0 0 rgba(111,140,85,0); } }
.hero .lead { margin-top: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 14px 40px; margin-top: 34px; padding-top: 22px; border-top: 1.5px dashed var(--line); }
.fact b { display: block; white-space: nowrap; font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; line-height: 1; color: var(--berry-deep); }
.fact > span { font-size: .8rem; color: var(--muted); font-weight: 600; }

.hero__art { position: relative; width: min(100%, 440px); margin-inline: auto; }
.arch {
  position: absolute; overflow: hidden;
  border-radius: var(--arch);
  box-shadow: var(--shadow-3);
  background: var(--blush);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--main { position: relative; width: 100%; aspect-ratio: 5 / 6; border: 8px solid #fff; }
.hero__art .sticker { right: -58px; bottom: 36px; }
/* ---------- категории (бенто) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(140px, auto); gap: 18px; }
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-l);
  background: var(--blush);
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  color: #fff;
  isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(58,34,40,0) 35%, rgba(58,34,40,.72) 100%); transition: opacity .5s; }
.tile:hover img { transform: scale(1.07); }
.tile__title { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; }
.tile__meta { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-top: 8px; }
.tile__meta span { font-weight: 600; opacity: .92; font-size: .95rem; }
.tile__go { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--cocoa); display: grid; place-items: center; flex: none; transform: rotate(-45deg); transition: transform .55s var(--ease), background-color .3s; }
.tile__go svg { width: 20px; height: 20px; }
.tile:hover .tile__go { transform: rotate(0); background: var(--butter); }
.tile .badge { position: absolute; top: 20px; left: 20px; }
.tile--1 { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.tile--2 { grid-column: span 5; }
.tile--3 { grid-column: span 5; }
.tile--half { grid-column: span 6; }
.tile--tall { min-height: 400px; }
.tile--4 { grid-column: span 12; min-height: 280px; flex-direction: row; align-items: center; gap: 28px; background: var(--berry-deep); padding: 34px 40px; }
.tile--4::after { display: none; }
.tile--4 .badge { position: static; align-self: flex-start; margin-bottom: 14px; }
.tile__text { display: flex; flex-direction: column; max-width: 420px; }
.tile__pics { display: flex; gap: 14px; margin-left: auto; align-items: center; }
.tile__pics img { position: relative; inset: auto; z-index: 0; width: clamp(110px, 12vw, 160px); height: clamp(150px, 16vw, 210px); border-radius: 999px 999px 18px 18px; object-fit: cover; border: 4px solid rgba(255,255,255,.14); transition: transform .9s var(--ease); }
.tile__pics img:nth-child(2) { border-radius: 50%; height: clamp(110px, 12vw, 160px); }
.tile--4:hover img { transform: none; }
.tile--4:hover .tile__pics img:nth-child(1) { transform: translateY(-10px) rotate(-4deg); }
.tile--4:hover .tile__pics img:nth-child(2) { transform: scale(1.06); }
.tile--4:hover .tile__pics img:nth-child(3) { transform: translateY(-10px) rotate(4deg); }

/* ---------- категории на главной ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.cat { display: flex; flex-direction: column; gap: 6px; }
.cat__media { display: block; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-1); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover .cat__media { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cat:hover .cat__media img { transform: scale(1.04); }
.cat__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; }
.cat__title { font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.1; }
.cat__price { font-weight: 800; font-size: .86rem; color: var(--berry); white-space: nowrap; }
.cat__text { font-size: .9rem; color: var(--muted); }

/* ---------- карточка товара ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card__quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  transform: translateY(calc(100% + 20px));
  transition: transform .55s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
.card__body { padding: 18px 6px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__row { display: flex; flex-direction: column; gap: 4px; }
.card__title { font-family: var(--f-serif); font-size: 1.32rem; font-weight: 500; line-height: 1.2; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { font-family: var(--f-display); font-size: 1.35rem; white-space: nowrap; color: var(--berry-deep); }
.card__price small { font-family: var(--f-body); font-size: .78rem; color: var(--muted); font-weight: 600; margin-right: 3px; }
.card__spec { font-size: .86rem; color: var(--muted); font-weight: 600; }
.card__add {
  position: relative; z-index: 2;
  align-self: flex-start;
  margin-top: 10px;
  display: none;
}
.swatch { display: inline-flex; gap: 4px; }
.swatch i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* горизонтальная лента карточек */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--rose) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cocoa); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.rail-nav button:hover { background: var(--cocoa); color: #fff; }
.rail-nav svg { width: 20px; height: 20px; }
.rail-nav button:first-child svg { transform: scaleX(-1); }

/* ---------- начинки ---------- */
.fill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.fill-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--card); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.fill-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.fill-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fill-card:hover .fill-card__media img { transform: scale(1.04); }
.fill-card__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.fill-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fill-card h3 { font-family: var(--f-serif); font-size: 1.18rem; font-weight: 500; line-height: 1.2; }
.fill-card__price { font-weight: 800; font-size: .84rem; color: var(--berry); background: var(--blush-2); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.fill-card .hand { font-size: 1.2rem; }
.fill-card p { font-size: .88rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fill-card--cta { background: var(--berry-deep); color: #FCEFF2; padding: 24px; justify-content: center; gap: 10px; }
.fill-card--cta .hand { color: var(--butter); }
.fill-card--cta h3 { font-family: var(--f-display); font-size: 1.45rem; color: #fff; }
.fill-card--cta p { color: #E9CBD3; -webkit-line-clamp: 4; }
.fill-card--cta .btn { align-self: flex-start; margin-top: 6px; }
/* ---------- сравнение по дням ---------- */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.day-card { border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 32px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 110px; gap: 18px; align-items: center; }
.day-card__photo { aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; border: 4px solid rgba(255,255,255,.2); }
.day-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.day-card--live { background: var(--paper); box-shadow: var(--card); }
.day-card--sugar { background: var(--berry-deep); color: #FCEFF2; }
.day-card h3 { font-family: var(--f-serif); font-size: 1.45rem; font-weight: 500; margin-bottom: 12px; }
.day-card h3 span { display: block; font-family: var(--f-body); font-size: .85rem !important; font-weight: 700; margin-top: 4px; }
.day-card p { font-size: .98rem; min-height: 4.8em; }
.day-card--live p { color: var(--muted); }
.meter { height: 8px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; margin-top: 18px; }
.day-card--sugar .meter { background: rgba(255,255,255,.15); }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--leaf); transition: width .6s var(--ease), background-color .6s; }
.day-card--sugar .meter i { background: var(--butter); }
.meter-label { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; margin-top: 8px; opacity: .75; }
.flower-svg { width: 120px; height: 170px; overflow: visible; }
.flower-svg .head { transform-origin: 60px 70px; transition: transform .8s var(--ease), fill .8s; }
.flower-svg .stem { transition: d .8s var(--ease); }
.flower-svg .petal-fall { transition: transform 1s var(--ease), opacity 1s; }
.day-slider { margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.day-slider output { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--berry-deep); min-width: 4.2ch; }
.day-slider output small { font-family: var(--f-body); font-size: .85rem; color: var(--muted); font-weight: 700; display: block; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--berry) var(--p, 0%), var(--line) var(--p, 0%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--berry); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--berry), var(--shadow-2); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--berry); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* ---------- процесс ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 28px); counter-reset: none; position: relative; }
.step { position: relative; }
.step__media { aspect-ratio: 1 / 1; border-radius: var(--arch); overflow: hidden; border: 5px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.step:hover .step__media img { transform: scale(1.05); }
.step__num { display: inline-block; margin-top: 16px; font-family: var(--f-serif); font-style: italic; font-size: 1rem; color: var(--butter); }
.step h3 { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 500; margin: 2px 0 6px; color: #fff; }
.step p { color: #E9CBD3; font-size: .92rem; line-height: 1.5; }
/* ---------- отзывы ---------- */
.quote-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.quote-block__media { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.quote-block__media .arch { position: relative; aspect-ratio: 4 / 5; border: 7px solid #fff; }
.quote-block__media .sticker { right: -26px; bottom: 34px; }
.quote {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3;
  margin: .9em 0 0; position: relative;
}
.quote::before { content: "“"; position: absolute; left: -.08em; top: -.55em; font-family: var(--f-display); font-style: normal; font-size: 5em; color: var(--blush); z-index: -1; line-height: 1; }
.quote-meta { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stars { color: #E5A23A; letter-spacing: 2px; font-size: 1.05rem; }
.rating-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.rating-card { border-radius: var(--r-m); background: var(--paper); padding: 20px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--card); transition: transform .5s var(--ease), box-shadow .4s; }
.rating-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--rose), var(--shadow-2); }
.rating-card b { font-family: var(--f-display); font-size: 2rem; font-weight: 400; line-height: 1; }
.rating-card span { font-size: .88rem; color: var(--muted); font-weight: 600; display: block; }
.brand-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: .9rem; }
.brand-ico svg { width: 24px; height: 24px; }
.brand-ico--tg { background: #2AABEE; }
.brand-ico--vk { background: #0077FF; }
.brand-ico--avito { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- блог-карточки ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.post { display: flex; flex-direction: column; gap: 14px; position: relative; }
.post__media { aspect-ratio: 5 / 4; border-radius: var(--r-l); overflow: hidden; background: var(--cream); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__meta { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--berry); }
.post__title { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 500; line-height: 1.25; }
.post__title a::after { content: ""; position: absolute; inset: 0; }
.post__excerpt { color: var(--muted); font-size: .96rem; }
.post--big { grid-column: span 2; }
.post--big .post__media { aspect-ratio: 16 / 9; }
.post--big .post__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px);
  background: var(--paper);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  isolation: isolate;
}
.cta__photos { position: relative; height: 100%; min-height: 300px; }
.cta__photos img { position: absolute; width: 58%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-m); border: 6px solid #fff; box-shadow: var(--shadow-2); transition: transform .8s var(--ease); }
.cta__photos img:nth-child(1) { left: 0; top: 4%; transform: rotate(-7deg); }
.cta__photos img:nth-child(2) { right: 0; bottom: 0; transform: rotate(6deg); }
.cta:hover .cta__photos img:nth-child(1) { transform: rotate(-11deg) translateX(-8px); }
.cta:hover .cta__photos img:nth-child(2) { transform: rotate(9deg) translateX(8px); }
.cta .lead { color: var(--cocoa); opacity: .8; margin-top: 18px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.cta__photo { justify-self: center; width: min(100%, 320px); aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; border: 7px solid #fff; box-shadow: var(--shadow-2); transform: rotate(3deg); transition: transform .6s var(--ease); }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta:hover .cta__photo { transform: rotate(0deg) translateY(-4px); }

/* ---------- подвал ---------- */
.site-footer { background: var(--cocoa); color: #EBD9DD; padding: clamp(64px, 9vw, 110px) 0 28px; position: relative; margin-top: 30px; --scallop: var(--cocoa); }
.footer-word { font-family: var(--f-display); font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: .85; color: #fff; letter-spacing: -.03em; white-space: nowrap; }
.footer-word i { font-family: var(--f-serif); font-style: italic; color: var(--rose); font-weight: 500; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; margin-top: clamp(40px, 6vw, 72px); padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-col h4 { font-family: var(--f-body); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { opacity: .85; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-about p { max-width: 30em; opacity: .8; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--berry); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: .84rem; opacity: .6; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- плавающая кнопка корзины на телефоне ---------- */
.fab-cart {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: none; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--berry); color: #fff;
  font-weight: 800; box-shadow: var(--shadow-3);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.fab-cart.is-visible { transform: none; }
.fab-cart svg { width: 20px; height: 20px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, calc(100% + 60px));
  visibility: hidden;
  display: flex; align-items: center; gap: 14px;
  width: min(calc(100% - 32px), 460px);
  padding: 12px 12px 12px 14px;
  border-radius: 22px;
  background: var(--cocoa); color: #fff;
  box-shadow: var(--shadow-3);
  transition: transform .6s var(--ease), visibility 0s .6s;
}
.toast.is-shown { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.toast img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; }
.toast__text { flex: 1; font-size: .92rem; line-height: 1.35; }
.toast__text b { display: block; font-size: .98rem; }
.toast .btn { min-height: 42px; padding: 0 16px; font-size: .86rem; }

/* летящая в корзину картинка */
.fly { position: fixed; z-index: 400; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-2); transition: transform .85s cubic-bezier(.5, -0.3, .7, 1), opacity .85s, width .85s var(--ease), height .85s var(--ease); }

/* ---------- формы ---------- */
.field { display: grid; gap: 8px; }
.field > span { font-size: .86rem; font-weight: 700; }
.field > span em { color: var(--berry); font-style: normal; }
.input, .select, .textarea {
  width: 100%;
  min-height: 54px; padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  transition: border-color .25s, box-shadow .25s;
  font-size: 1rem;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(163, 54, 92, .12); }
.input.is-invalid { border-color: #C2413B; box-shadow: 0 0 0 4px rgba(194, 65, 59, .1); }
.select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233A2228' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; padding-right: 46px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: .84rem; color: var(--muted); }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.option-card {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 18px;
  border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.option-card:hover { border-color: var(--rose); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card:has(input:checked) { border-color: var(--berry); box-shadow: 0 0 0 3px rgba(163,54,92,.12); }
.option-card:has(input:focus-visible) { outline: 2px solid var(--berry); outline-offset: 2px; }
.option-card .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.option-card .tick svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease-bounce); }
.option-card input[type="checkbox"] ~ .tick { border-radius: 7px; }
.option-card:has(input:checked) .tick { background: var(--berry); border-color: var(--berry); }
.option-card:has(input:checked) .tick svg { opacity: 1; transform: none; }
.option-card b { display: block; font-size: .96rem; }
.option-card small { color: var(--muted); font-size: .82rem; display: block; line-height: 1.35; }
.option-card .add { margin-left: auto; font-weight: 800; font-size: .9rem; white-space: nowrap; padding-left: 10px; }
.option-card img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; transition: box-shadow .25s; }
.option-card:has(img) .tick { display: none; }
.option-card:has(input:checked) img { box-shadow: 0 0 0 2px var(--milk), 0 0 0 4px var(--berry); }

.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.qty button:hover { background: var(--blush-2); }
.qty button svg { width: 16px; height: 16px; }
.qty output { min-width: 28px; text-align: center; font-weight: 800; }

/* ---------- каталог ---------- */
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 36px; position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; padding: 12px 0; background: transparent; transition: background-color .3s, box-shadow .3s; }
.catalog-bar.is-stuck { background: rgba(252, 247, 242, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 20px -18px rgba(58,34,40,.5); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { flex: none; }
.catalog-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tone-picker { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px 0 18px; border-radius: 999px; background: var(--paper); box-shadow: var(--card); }
.tone-picker__label { font-size: .84rem; font-weight: 700; color: var(--muted); }
.tones { display: flex; gap: 8px; }
.tone { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(58, 34, 40, .22); transition: transform .25s var(--ease-bounce), box-shadow .2s; }
.tone:hover { transform: scale(1.12); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(58, 34, 40, .45); }
.tone[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--berry); }

.dd { position: relative; z-index: 40; }
.dd__btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 16px 0 20px;
  border-radius: 999px; background: var(--paper); box-shadow: var(--card);
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: box-shadow .2s;
}
.dd__btn:hover, .dd.is-open .dd__btn { box-shadow: inset 0 0 0 1.5px var(--berry), 0 18px 38px -26px rgba(111, 31, 62, .5); }
.dd__btn small { font-weight: 600; color: var(--muted); }
.dd__btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  min-width: 100%; width: max-content;
  list-style: none; margin: 0; padding: 6px;
  background: var(--paper); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(111, 31, 62, .08), var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .25s var(--ease), visibility .2s;
}
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; }
.dd__list li { position: relative; padding: 11px 16px 11px 38px; border-radius: 12px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .15s; }
.dd__list li:hover, .dd__list li.is-focus { background: var(--blush-2); }
.dd__list li[aria-selected="true"] { color: var(--berry); }
.dd__list li[aria-selected="true"]::before { content: ""; position: absolute; left: 16px; top: 50%; width: 10px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(-45deg); }
.cat-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.cat-count { font-family: var(--f-hand); font-size: 1.6rem; color: var(--berry); }
.empty { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }
.empty .hand { font-size: 2rem; display: block; margin-bottom: 10px; }
.products .card { animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.card--custom { border-radius: var(--r-l); background: var(--berry-deep); color: #FCEFF2; padding: 30px; justify-content: space-between; min-height: 100%; aspect-ratio: auto; }
.card--custom .h-m { color: #fff; }
.card--custom p { color: #E9CBD3; font-size: .95rem; margin-top: 12px; }

/* ---------- страница товара ---------- */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: var(--cream); cursor: zoom-in; grid-column: 2; grid-row: 1; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out, opacity .5s var(--ease); }
.gallery__main.is-zoom img { transform: scale(1.9); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; grid-column: 1; grid-row: 1; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: 16px; overflow: hidden; opacity: .55; transition: opacity .3s, box-shadow .3s; box-shadow: 0 0 0 0 var(--berry); }
.gallery__thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--berry); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .sticker { right: -30px; bottom: 40px; width: 118px; height: 118px; }
.p-info h1 { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.02; }
.p-sub { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-weight: 600; font-size: .94rem; }
.p-sub span { display: inline-flex; align-items: center; gap: 6px; }
.p-sub svg { width: 16px; height: 16px; color: var(--berry); }
.p-desc { margin-top: 22px; font-size: 1.04rem; }
.p-block { margin-top: 30px; }
.p-block__title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.p-block__title h2 { font-family: var(--f-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.p-block__title .hand { font-size: 1.3rem; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-buy {
  margin-top: 30px; padding: 22px;
  border-radius: var(--r-l); background: var(--paper);
  box-shadow: var(--shadow-2);
  display: grid; gap: 16px;
  position: relative; z-index: 5;
}
.p-buy__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.p-total { font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--berry-deep); }
.p-total small { display: block; font-family: var(--f-body); font-size: .8rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.p-buy__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.accordion { border-top: 1px solid var(--line); margin-top: 34px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--f-serif); font-size: 1.2rem; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease), background-color .3s; }
.accordion summary .pm svg { width: 14px; height: 14px; }
.accordion details[open] summary .pm { transform: rotate(45deg); background: var(--blush); }
.accordion .acc-body { padding: 0 0 22px; color: var(--muted); max-width: 46em; }
.accordion .acc-body ul { padding-left: 18px; margin: 0; }

/* ---------- корзина ---------- */
.cart-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: var(--section); }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 16px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--card); align-items: center; transition: opacity .4s, transform .5s var(--ease); }
.cart-item.is-removing { opacity: 0; transform: translateX(40px); }
.cart-item__img { aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-family: var(--f-serif); font-size: 1.2rem; font-weight: 500; }
.cart-item ul { list-style: none; margin: 6px 0 12px; padding: 0; font-size: .86rem; color: var(--muted); }
.cart-item__side { display: grid; justify-items: end; gap: 10px; }
.cart-item__price { font-family: var(--f-display); font-size: 1.35rem; color: var(--berry-deep); white-space: nowrap; }
.remove { font-size: .82rem; font-weight: 700; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.remove:hover { color: #C2413B; }
.remove svg { width: 14px; height: 14px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-2); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.summary h2 { font-family: var(--f-display); font-size: 1.9rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.sum-row.total { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; color: var(--berry-deep); padding-top: 16px; border-top: 1.5px dashed var(--line); }
.sum-row.discount { color: var(--leaf); }
.promo-field { display: flex; gap: 8px; }
.promo-field .input { min-height: 48px; padding: 10px 16px; text-transform: uppercase; }
.promo-msg { font-size: .86rem; font-weight: 700; min-height: 1.3em; }
.promo-msg.ok { color: var(--leaf); }
.promo-msg.err { color: #C2413B; }
.checkout { margin-top: 40px; display: grid; gap: 22px; }
.checkout h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.delivery-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-empty { text-align: center; padding: 40px 0 var(--section); }
.cart-empty img { width: 220px; height: 260px; object-fit: cover; border-radius: var(--arch); margin: 0 auto 28px; box-shadow: var(--shadow-3); }

/* модалка */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: rgba(58,34,40,.5); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__bg { opacity: 1; }
.modal__box { position: relative; width: min(100%, 560px); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--milk); border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .55s var(--ease), opacity .4s; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal pre { white-space: pre-wrap; font-family: var(--f-body); font-size: .9rem; background: var(--paper); border-radius: 16px; padding: 16px; box-shadow: inset 0 0 0 1.5px var(--line); max-height: 240px; overflow: auto; margin: 18px 0; }
.modal__actions { display: grid; gap: 10px; }
.success-mark { width: 74px; height: 74px; border-radius: 50%; background: var(--pistachio); display: grid; place-items: center; margin-bottom: 18px; }
.success-mark svg { width: 34px; height: 34px; color: var(--leaf); }
.success-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- текстовые страницы ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-2--top { align-items: start; }
.photo-stack { position: relative; aspect-ratio: 1 / 1.05; }
.photo-stack img { position: absolute; object-fit: cover; box-shadow: var(--shadow-3); }
.photo-stack img:nth-child(1) { width: 70%; height: 82%; left: 0; top: 0; border-radius: var(--arch); }
.photo-stack img:nth-child(2) { width: 48%; height: 52%; right: 0; bottom: 0; border-radius: var(--r-l); border: 8px solid var(--milk); }
.section--cream .photo-stack img:nth-child(2) { border-color: #F5E9DE; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border-radius: var(--r-l); background: var(--paper); padding: clamp(24px, 3vw, 34px); box-shadow: var(--card); transition: transform .6s var(--ease), box-shadow .5s; position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px var(--rose), var(--shadow-2); }
.feature__ico { width: 58px; height: 58px; border-radius: 18px; background: var(--blush); color: var(--berry-deep); display: grid; place-items: center; margin-bottom: 22px; transition: transform .6s var(--ease-bounce); }
.feature:hover .feature__ico { transform: rotate(-10deg) scale(1.08); }
.feature__ico svg { width: 26px; height: 26px; }
.feature:nth-child(3n+2) .feature__ico { background: var(--lavender); }
.feature:nth-child(3n+3) .feature__ico { background: var(--pistachio); color: #3F5A2B; }
.feature h3 { font-family: var(--f-serif); font-size: 1.32rem; font-weight: 500; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .97rem; }
.feature__big { font-family: var(--f-display); font-size: 3.4rem; line-height: 1; color: var(--berry); margin-bottom: 12px; }

.prose { font-size: 1.07rem; line-height: 1.75; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 2em 0 .6em; }
.prose h3 { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 500; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--berry); }
.prose a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: var(--r-l); }
.prose figcaption { font-family: var(--f-hand); font-size: 1.35rem; color: var(--berry); margin-top: 8px; text-align: center; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-radius: var(--r-m); background: var(--blush-2); font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; }
.prose .note { padding: 18px 22px; border-radius: var(--r-m); background: var(--butter); font-size: .98rem; }
.article-cover { aspect-ratio: 21 / 9; border-radius: var(--r-l); overflow: hidden; margin: 10px 0 48px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--card); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-size: 2rem; color: var(--rose); line-height: 1; }
.steps-list h3 { font-family: var(--f-serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; }
.steps-list p { color: var(--muted); font-size: .96rem; }

.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card { border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 40px); background: var(--paper); box-shadow: var(--card); position: relative; overflow: hidden; }
.info-card--accent { background: var(--berry-deep); color: #FCEFF2; box-shadow: none; }
.info-card--accent .muted, .info-card--accent li { color: #E9CBD3; }
.info-card h3 { font-family: var(--f-display); font-size: 1.8rem; margin-bottom: 12px; }
.info-card ul { padding-left: 18px; margin: 14px 0 0; color: var(--muted); }
.info-card li { margin-bottom: 6px; }
.info-card__tag { position: absolute; top: 22px; right: 22px; }
.info-card .price-tag { font-family: var(--f-display); font-size: 1.4rem; color: var(--berry); }
.info-card--accent .price-tag { color: var(--butter); }

/* акции */
.promo-card { border-radius: clamp(28px, 4vw, 44px); padding: clamp(28px, 5vw, 64px); background: var(--berry); color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.promo-card::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: var(--rose); filter: blur(80px); opacity: .5; right: -120px; top: -160px; z-index: -1; }
.promo-card .h-xl em { color: var(--butter); }
.promo-code {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 26px; padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1.5px dashed rgba(255,255,255,.5);
  max-width: 440px;
}
.promo-code b { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .04em; font-weight: 400; }
.promo-card__num { font-family: var(--f-display); font-size: clamp(6rem, 16vw, 12rem); line-height: .8; text-align: center; color: var(--butter); text-shadow: 0 20px 60px rgba(0,0,0,.2); }
.promo-card__num small { display: block; font-family: var(--f-hand); font-size: 2rem; color: #fff; margin-top: 10px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside .tabs { flex-direction: column; margin-top: 28px; }
.faq-aside .chip { justify-content: flex-start; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-family: var(--f-display); font-size: 1.7rem; margin-bottom: 6px; }

/* карта сайта */
.sitemap-box { background: var(--paper); border-radius: var(--r-l); padding: clamp(28px, 5vw, 60px); box-shadow: var(--card); }
.sitemap { list-style: disc; padding-left: 26px; margin: 24px 0 0; display: grid; gap: 6px; font-size: 1.14rem; }
.sitemap ul { list-style: circle; padding-left: 34px; margin: 6px 0 4px; display: grid; gap: 4px; }
.sitemap li::marker { color: var(--berry-deep); }
.sitemap a { color: var(--berry); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
.sitemap a:hover { color: var(--berry-deep); }

/* команда */
.person { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.person__photo { position: relative; aspect-ratio: 4/5; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-3); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.signature { font-family: var(--f-hand); font-size: 2.6rem; color: var(--berry); margin-top: 18px; transform: rotate(-4deg); display: inline-block; }
.roles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

/* галерея работ */
.masonry { columns: 3; column-gap: 18px; }
.masonry img { width: 100%; margin-bottom: 18px; border-radius: var(--r-m); break-inside: avoid; transition: transform .7s var(--ease), box-shadow .5s, opacity .9s var(--ease); }
.masonry img:hover { transform: scale(1.025) rotate(-.6deg); box-shadow: var(--shadow-2); }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 10px; } .masonry img { margin-bottom: 10px; border-radius: 16px; } }

/* контакты */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--card); transition: transform .5s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--rose), var(--shadow-2); }
.contact-card b { display: block; font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-size: .9rem; }
.contact-card .arrow { margin-left: auto; width: 20px; height: 20px; color: var(--berry); transition: transform .4s var(--ease); flex: none; }
.contact-card:hover .arrow { transform: translateX(4px); }

/* ---------- переходы между страницами ---------- */
.curtain {
  position: fixed; left: 0; right: 0; top: -24px; bottom: -24px; z-index: 900;
  background: var(--berry-deep); color: #fff;
  display: grid; place-items: center;
  transform: translateY(105%);
  visibility: hidden; pointer-events: none;
}
.curtain::before, .curtain::after {
  --r: 22px;
  content: ""; position: absolute; left: 0; right: 0; height: var(--r);
  background: radial-gradient(circle at 50% 100%, var(--berry-deep) calc(var(--r) - .5px), transparent var(--r)) 0 0 / calc(var(--r) * 2) var(--r) repeat-x;
}
.curtain::before { top: calc(var(--r) * -1 + 1px); }
.curtain::after { bottom: calc(var(--r) * -1 + 1px); transform: scaleY(-1); }
.curtain__inner { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 20px; }
.curtain__flower { width: 54px; height: 54px; color: var(--rose); }
.curtain__label { font-family: var(--f-display); font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; max-width: 14ch; }
.curtain__brand { font-family: var(--f-hand); font-size: 1.5rem; color: var(--butter); }
.curtain.is-in { visibility: visible; pointer-events: auto; animation: curtainIn .62s cubic-bezier(.76, 0, .24, 1) forwards; }
.curtain.is-in .curtain__flower { animation: flowerSpin 1.2s var(--ease) both; }
.curtain.is-in .curtain__label, .curtain.is-in .curtain__brand { animation: labelUp .6s var(--ease) .18s both; }
.curtain.is-cover, html.sf-arrive .curtain { visibility: visible; transform: none; }
.curtain.is-out { visibility: visible; transform: none; animation: curtainOut .8s cubic-bezier(.76, 0, .24, 1) .12s forwards; }
html.sf-arrive::after { content: ""; position: fixed; inset: 0; z-index: 899; background: var(--berry-deep); }
@keyframes curtainIn { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-108%); } }
@keyframes flowerSpin { from { transform: rotate(-120deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes labelUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: .9rem; }
  .header-row { gap: 18px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; }
  .hero__facts { grid-template-columns: repeat(2, auto); }
  .quote-block, .split-2, .person, .faq-layout { grid-template-columns: 1fr; }
  .quote-block__media { margin-inline: auto; max-width: 380px; }
  .faq-aside { position: static; }
  .faq-aside .tabs { flex-direction: row; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--big { grid-column: span 2; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; }
  .cta__photos { min-height: 280px; max-width: 420px; }
  .cta__photo { display: none; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
  .promo-card { grid-template-columns: 1fr; }
  .fill-grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--1 { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .tile--2, .tile--3, .tile--half { grid-column: span 1; }
  .days { grid-template-columns: 1fr; }
  .info-cards, .contact-cards { grid-template-columns: 1fr; }
  .fab-cart { display: inline-flex; }
  .site-footer { padding-bottom: 96px; }
  .fill-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --r-l: 24px; }
  body { font-size: 15.5px; }
  .logo__word { font-size: 1.32rem; }
  .logo__sub { font-size: .55rem; letter-spacing: .16em; }
  .icon-btn { width: 42px; height: 42px; }
  .header-actions .tg-link { display: none; }
  .promo-bar { font-size: .78rem; padding: 8px 40px 8px 14px; text-align: left; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 14px 20px; margin-top: 26px; }
  .hero__art { width: min(100% - 28px, 340px); }
  .hero__art .sticker { width: 96px; height: 96px; right: -28px; bottom: 20px; }
  .sticker text { font-size: 10px; }
  .sticker__core { width: 50px; height: 50px; font-size: 1.1rem; }
  .cats { gap: 18px 12px; }
  .cat__row { flex-direction: column; gap: 2px; margin-top: 8px; }
  .cat__text { font-size: .8rem; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile, .tile--1, .tile--2, .tile--3, .tile--4, .tile--half { grid-column: auto; min-height: 280px; padding: 22px; }
  .products { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .card__media { border-radius: 20px; }
  .card__title { font-size: 1.04rem; }
  .card__price { font-size: 1.06rem; }
  .card__row { flex-direction: column; gap: 2px; }
  .card__spec { font-size: .78rem; }
  .card__quick { display: none; }
  .card__add { display: inline-flex; }
  .card__badges .badge { font-size: .62rem; padding: 4px 8px; }
  .rail { grid-auto-columns: 72%; gap: 14px; }
  .fill-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fill-grid::-webkit-scrollbar { display: none; }
  .fill-card { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .step h3 { font-size: 1.08rem; }
  .step p { font-size: .84rem; }
  .day-card { grid-template-columns: 1fr 80px; }
  .flower-svg { width: 80px; height: 120px; }
  .day-slider { grid-template-columns: 1fr; gap: 6px; }
  .rating-cards { grid-template-columns: 1fr; }
  .quote-block__media .sticker { right: -8px; bottom: 20px; }
  .posts { grid-template-columns: 1fr; }
  .post--big { grid-column: auto; }
  .post--big .post__media { aspect-ratio: 5/4; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .form-grid, .delivery-choice, .options-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(5, 1fr); }
  .gallery .sticker { right: 8px; bottom: auto; top: 8px; width: 92px; height: 92px; }
  .p-buy { padding: 16px; position: sticky; bottom: 8px; gap: 12px; }
  .p-buy .hint { display: none; }
  .p-total { font-size: 1.9rem; }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-item__side { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; }
  .cart-item__side .cart-item__price { justify-self: end; }
  .ribbon { padding: 12px 0; }
  .steps-list li { grid-template-columns: 1fr; gap: 6px; }
  .catalog-bar { position: relative; top: auto; z-index: 25; }
  .catalog-tools { width: 100%; justify-content: space-between; }
  .tone-picker { padding: 0 10px 0 14px; gap: 8px; }
  .tone-picker__label { display: none; }
  .tones { gap: 7px; }
  .tone { width: 22px; height: 22px; }
  .dd__list { right: 0; }
  .cat-intro { grid-template-columns: 1fr; }
  .cta__photos { min-height: 230px; }
  .footer-bottom { flex-direction: column; }
  .toast { bottom: 84px; }
}
@media (max-width: 340px) {
  .products { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
}

@media (hover: none) {
  .card__quick { display: none; }
  .card__add { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span, .img-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .petal { display: none; }
}