/* ══════════════════════════════════════════════════════════════
   Неси цветы — цветочная мастерская
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f7f2ea;
  --bg-soft: #f1e9de;
  --surface: #fffdf9;
  --ink: #22302a;
  --ink-soft: #3d4b43;
  --muted: #6f7b73;
  --line: rgba(34, 48, 42, .13);
  --line-soft: rgba(34, 48, 42, .08);
  --accent: #b4553f;
  --accent-dark: #97412e;
  --accent-soft: #e9c7bd;
  --sage: #8fa08a;
  --gold: #c2a06a;
  --cream: #f7f2ea;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(34, 48, 42, .05);
  --shadow-md: 0 18px 44px -18px rgba(34, 48, 42, .22);
  --shadow-lg: 0 40px 90px -40px rgba(20, 32, 26, .45);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

section[id], main[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--light { color: #e7c7ba; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }

/* ── Кнопки ────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(34, 48, 42, .55); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: #fbf7f1; }
.btn--primary:hover { --btn-bg: #17211c; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid rgba(34, 48, 42, .28);
}
.btn--ghost:hover { --btn-bg: rgba(34, 48, 42, .05); }

.btn--cream { --btn-bg: #f3ead9; --btn-fg: var(--ink); }
.btn--cream:hover { --btn-bg: #fff; }

.btn--full { width: 100%; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: background .25s, transform .25s, color .25s;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

.link-btn {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.link-btn:hover { color: var(--ink); }

/* ── Верхняя строка ────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: rgba(247, 242, 234, .78);
  font-size: 11.5px;
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar__dot { color: var(--accent-soft); font-size: 8px; }
.topbar__phone {
  margin-left: auto;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
.topbar__phone:hover { color: var(--accent-soft); }

/* ── Шапка ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 242, 234, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(247, 242, 234, .94);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 30px -26px rgba(34, 48, 42, .5);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 82px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 38px; height: 38px; color: var(--sage); flex: none; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(45deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .01em;
}
.logo__sub {
  margin-top: 5px;
  font-size: 8.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; gap: 28px; margin-left: 8px; }
.nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__phone { display: flex; flex-direction: column; line-height: 1.3; text-align: right; }
.header__phone span { font-size: 14px; font-weight: 600; }
.header__phone small { font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.header__phone:hover span { color: var(--accent); }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn__count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-btn__count.is-visible { transform: scale(1); }
.cart-btn__count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); }
.burger span {
  display: block;
  width: 18px; height: 1.6px;
  margin: 3.6px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

/* ── Мобильное меню ───────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 28px 40px;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 46px);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__footer { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.mobile-menu__footer a { font-size: 18px; font-weight: 600; color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { padding: 54px 0 70px; position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
}
.hero__copy h1 {
  margin: 20px 0 22px;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.025em;
}
.hero__copy h1 em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}
.hero__copy h1 em::after {
  content: "";
  position: absolute;
  left: 2%; right: 0; bottom: 2px;
  height: 10px;
  background: var(--accent-soft);
  border-radius: 50%;
  opacity: .5;
  z-index: -1;
}
.hero__lead {
  max-width: 430px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats dt { font-family: var(--serif); font-size: 30px; line-height: 1; }
.hero__stats dd { margin-top: 6px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

.hero__art { position: relative; }
.hero__panel {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: 280px 280px 34px 34px;
  background:
    radial-gradient(120% 80% at 30% 10%, #fdf6ef 0%, transparent 60%),
    linear-gradient(160deg, #efded2 0%, #e6cfc3 45%, #dcc0b4 100%);
  overflow: visible;
  isolation: isolate;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 264px 264px 22px 22px;
  pointer-events: none;
}
.hero__panel-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.hero__panel-art svg { width: 100%; height: 100%; }

.sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .9);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 30px -18px rgba(34, 48, 42, .5);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.sticker svg { width: 16px; height: 16px; color: var(--accent); }
.sticker--top { top: 15%; left: -6%; }
.sticker--bottom { bottom: 12%; right: -3%; }

.seal {
  position: absolute;
  left: -34px;
  bottom: -26px;
  width: 108px;
  height: 108px;
  color: var(--ink);
  background: var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  animation: spin 26s linear infinite;
}
.seal svg { width: 100%; height: 100%; }
.seal text {
  font-family: var(--sans);
  font-size: 9.4px;
  letter-spacing: .18em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__spark {
  position: absolute;
  color: var(--accent);
  opacity: .5;
  font-size: 20px;
  animation: float 5s ease-in-out infinite;
}
.hero__spark--1 { top: 4%; right: 8%; }
.hero__spark--2 { bottom: 24%; left: -7%; font-size: 14px; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(18deg); } }

/* ── Бегущая строка ────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 249, .5);
}
.marquee__track {
  display: flex;
  width: max-content;
  padding: 17px 0;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  letter-spacing: .02em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee i { font-style: normal; color: var(--accent); margin: 0 26px; font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Секции ────────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}
.section__head h2 { margin-top: 14px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; }
.section__note { max-width: 370px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ── Каталог ───────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }

.catalog-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 70px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: rgba(255, 253, 249, .5);
  text-align: center;
}
.catalog-empty > span { color: var(--accent); font-size: 28px; }
.catalog-empty strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.catalog-empty p { max-width: 360px; font-size: 12px; color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .25s, color .25s, border-color .25s;
}
.chip span { font-size: 10.5px; opacity: .5; }
.chip:hover { border-color: rgba(34, 48, 42, .35); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fbf7f1; }
.chip.is-active span { opacity: .55; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  animation: cardIn .5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.card__art {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  cursor: pointer;
}
.card__art svg { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.card:hover .card__art svg { transform: scale(1.045); }
.card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 65%, rgba(255,253,249,.35) 100%);
  pointer-events: none;
}

.card__badge {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .92);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  backdrop-filter: blur(4px);
}
.card__badge--dark { background: var(--ink); color: #f3ead9; }
.card__badge--gold { background: var(--gold); color: #2b2113; }

.fav {
  position: absolute;
  z-index: 2;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 249, .82);
  backdrop-filter: blur(4px);
  color: var(--ink);
  transition: background .25s, color .25s, transform .25s;
}
.fav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: fill .2s; }
.fav:hover { transform: scale(1.08); }
.fav.is-active { color: var(--accent); background: #fff; }
.fav.is-active svg { fill: currentColor; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card__name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}
.card__comp {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  min-height: 34px;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.card__price { display: flex; flex-direction: column; line-height: 1.2; }
.card__price strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.card__price s { font-size: 11px; color: var(--muted); }
.card__add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  transition: background .25s, color .25s, border-color .25s;
}
.card__add svg { width: 14px; height: 14px; }
.card__add:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── Приложение ────────────────────────────────────────────── */
.app-section { padding-top: 20px; }
.app-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  padding: 66px 64px;
  border-radius: 40px;
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(180, 85, 63, .22) 0%, transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(143, 160, 138, .18) 0%, transparent 55%),
    #1f2a24;
  color: #f3ece1;
  overflow: hidden;
}
.app-panel::before {
  content: "✿";
  position: absolute;
  right: 38%;
  bottom: -90px;
  font-size: 300px;
  line-height: 1;
  color: rgba(243, 236, 225, .035);
  transform: rotate(12deg);
  pointer-events: none;
}
.app-panel__copy { position: relative; z-index: 2; }
.app-panel h2 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1;
  color: #f8f1e5;
}
.app-panel__lead { max-width: 440px; font-size: 14.5px; color: rgba(243, 236, 225, .68); line-height: 1.75; }

.app-features { display: grid; gap: 0; margin: 30px 0 34px; max-width: 460px; }
.app-features li {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(243, 236, 225, .12);
  font-size: 13.5px;
  color: rgba(243, 236, 225, .82);
  line-height: 1.5;
}
.app-features li:last-child { border-bottom: 1px solid rgba(243, 236, 225, .12); }
.app-features span {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--accent-soft);
  opacity: .8;
  flex: none;
  padding-top: 1px;
}

.app-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.store-badges { display: flex; gap: 8px; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid rgba(243, 236, 225, .2);
  transition: background .25s, border-color .25s;
}
.store-badge:hover { background: rgba(243, 236, 225, .08); border-color: rgba(243, 236, 225, .4); }
.store-badge svg { width: 19px; height: 19px; color: #f3ece1; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; font-size: 11.5px; font-weight: 600; }
.store-badge small { font-size: 8px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; opacity: .55; }
.app-panel__hint { margin-top: 26px; font-size: 11px; letter-spacing: .03em; color: rgba(243, 236, 225, .42); }

.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; z-index: 2; }
.phone {
  position: relative;
  width: min(292px, 100%);
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(160deg, #3a473f, #141c17);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(2.5deg);
  transition: transform .6s var(--ease);
}
.phone-wrap:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone__notch {
  position: absolute;
  top: 15px; left: 50%;
  width: 84px; height: 20px;
  transform: translateX(-50%);
  background: #101713;
  border-radius: 999px;
  z-index: 5;
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 512px;
  padding: 14px 16px 12px;
  border-radius: 36px;
  background: #fbf6ee;
  color: var(--ink);
  overflow: hidden;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 2px 6px 0;
  font-size: 9.5px;
  font-weight: 700;
}
.phone__status span:last-child { font-size: 7px; letter-spacing: 1px; }
.phone__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.phone__head small { display: block; font-size: 9px; color: var(--muted); }
.phone__head strong { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.phone__avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}
.phone__chips { display: flex; gap: 5px; margin: 14px 0 12px; }
.phone__chips span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--muted);
}
.phone__chips .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.phone__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-card {
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.phone-card__art { aspect-ratio: 1 / .92; background: #f3e6dd; overflow: hidden; }
.phone-card__art svg { width: 100%; height: 100%; }
.phone-card__body { padding: 7px 8px 8px; }
.phone-card__body strong { display: block; font-family: var(--serif); font-size: 11.5px; line-height: 1.15; }
.phone-card__body span { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 9px; font-weight: 700; }
.phone-card__body i { font-style: normal; font-size: 8px; color: var(--muted); font-weight: 500; }
.phone__order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--ink);
  color: #f6efe3;
}
.phone__order small { display: block; font-size: 7.5px; opacity: .55; letter-spacing: .04em; }
.phone__order strong { font-size: 12px; font-weight: 600; }
.phone__order button {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #3a2019;
  font-size: 9px;
  font-weight: 700;
  transition: background .2s;
}
.phone__order button:hover { background: #fff; }
.phone__nav {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  color: rgba(34, 48, 42, .3);
  font-size: 13px;
}
.phone__nav .is-active { color: var(--accent); }

.phone__float {
  position: absolute;
  z-index: 3;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .94);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .6);
}
.phone__float--a { top: 12%; right: 0; animation: float 6s ease-in-out infinite; }
.phone__float--b { bottom: 13%; left: -4%; animation: float 6s ease-in-out infinite -3s; }
.phone__float::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--sage);
  vertical-align: 1px;
}

/* ── Как это работает ──────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .05em;
}
.step h3 { margin: 14px 0 8px; font-size: 24px; line-height: 1.1; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.step::after {
  content: "";
  position: absolute;
  top: 34px; right: -14px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: block;
}
.step:last-child::after { display: none; }

.delivery-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding: 20px 26px;
  border-radius: 18px;
  border: 1px dashed rgba(34, 48, 42, .2);
  background: rgba(255, 253, 249, .55);
}
.delivery-note__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.delivery-note__icon svg { width: 22px; height: 22px; }
.delivery-note p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.delivery-note strong { color: var(--ink); font-weight: 600; }
.delivery-note a {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s;
}
.delivery-note a:hover { color: var(--accent); }

/* ── Отзывы ────────────────────────────────────────────────── */
.reviews { background: linear-gradient(180deg, transparent, rgba(233, 221, 208, .35) 40%, transparent); }
.reviews__summary { display: flex; align-items: center; gap: 14px; }
.reviews__summary strong { font-family: var(--serif); font-size: 46px; line-height: 1; }
.reviews__summary span { font-size: 11px; color: var(--muted); line-height: 1.5; }
.stars { color: var(--gold); letter-spacing: .18em; font-size: 12px; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__top time { font-size: 10.5px; color: var(--muted); }
.review p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: .005em;
  flex: 1;
}
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.review footer strong { display: block; font-size: 12.5px; font-weight: 600; }
.review footer small { font-size: 10.5px; color: var(--muted); }
.avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--a);
  color: var(--b);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  flex: none;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq__intro h2 { margin: 14px 0 16px; font-size: clamp(36px, 4vw, 52px); line-height: 1.02; }
.faq__intro > p { font-size: 13.5px; color: var(--muted); line-height: 1.75; max-width: 340px; }
.faq__contacts { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.faq__contacts a { font-size: 15px; font-weight: 600; width: fit-content; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.faq__contacts a:hover { color: var(--accent); }

.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary span {
  position: relative;
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.faq-item summary span::before,
.faq-item summary span::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.4px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), background .3s;
}
.faq-item summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary span { background: var(--ink); border-color: var(--ink); }
.faq-item[open] summary span::before { background: #fff; transform: translate(-50%, -50%) rotate(180deg); }
.faq-item[open] summary span::after { background: #fff; transform: translate(-50%, -50%) rotate(180deg); }
.faq-item__body {
  padding: 0 46px 24px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

/* ── CTA ───────────────────────────────────────────────────── */
.cta-section { padding-top: 20px; }
.cta-panel {
  position: relative;
  padding: 74px 30px;
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255, 255, 255, .7), transparent 70%),
    linear-gradient(150deg, #eeddd2, #e5cbbd 55%, #d9b9aa);
  overflow: hidden;
}
.cta-panel::before, .cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  pointer-events: none;
}
.cta-panel::before { width: 320px; height: 320px; left: -110px; top: -120px; }
.cta-panel::after { width: 420px; height: 420px; right: -140px; bottom: -220px; }
.cta-panel .eyebrow { justify-content: center; }
.cta-panel h2 { margin: 16px 0 14px; font-size: clamp(38px, 5.2vw, 64px); line-height: 1; }
.cta-panel > p { font-size: 14px; color: var(--ink-soft); opacity: .75; }
.cta-panel__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-panel__flower {
  position: absolute;
  top: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: var(--accent);
  opacity: .45;
}

/* ── Подвал ────────────────────────────────────────────────── */
.footer {
  margin-top: 30px;
  padding: 66px 0 30px;
  background: #1c2620;
  color: rgba(243, 236, 225, .66);
  overflow: hidden;
}
.footer__top { display: flex; justify-content: space-between; gap: 60px; }
.footer__brand { max-width: 300px; }
.logo--footer { color: #f4ecdf; }
.logo--footer .logo__sub { color: rgba(243, 236, 225, .45); }
.footer__brand > p { margin-top: 18px; font-size: 12px; line-height: 1.7; }
.footer__socials { display: flex; gap: 8px; margin-top: 22px; }
.footer__socials a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 225, .18);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .25s, color .25s, border-color .25s;
}
.footer__socials a:hover { background: #f4ecdf; color: var(--ink); border-color: #f4ecdf; }

.footer__cols { display: flex; gap: 72px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 9px; }
.footer__cols h4 {
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 236, 225, .38);
}
.footer__cols a, .footer__cols span { font-size: 12.5px; color: rgba(243, 236, 225, .72); width: fit-content; }
.footer__cols a:hover { color: #fff; }

.footer__wordmark {
  margin: 54px 0 30px;
  font-family: var(--serif);
  font-size: clamp(60px, 13.5vw, 190px);
  line-height: .8;
  letter-spacing: -.035em;
  text-align: center;
  color: rgba(243, 236, 225, .08);
  white-space: nowrap;
  user-select: none;
}
.footer__bottom {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 236, 225, .1);
  font-size: 10.5px;
  color: rgba(243, 236, 225, .4);
}
.footer__legal { display: flex; gap: 18px; margin-left: auto; }
.footer__legal a:hover { color: #fff; }
.footer__pay { display: flex; gap: 6px; }
.footer__pay span {
  padding: 4px 8px;
  border: 1px solid rgba(243, 236, 225, .18);
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(243, 236, 225, .55);
}

/* ── Оверлей, корзина ──────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(24, 33, 28, .48);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s;
}
.overlay.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100dvh;
  background: var(--bg);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .5);
  transform: translateX(102%);
  transition: transform .45s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__head h2 { margin-top: 6px; font-size: 34px; line-height: 1; }
.drawer__head h2 span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  vertical-align: 10px;
  margin-left: 4px;
}
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 26px; }

.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 10px; }
.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--sage);
  margin-bottom: 20px;
}
.cart-empty__icon svg { width: 36px; height: 36px; }
.cart-empty h3 { font-size: 26px; }
.cart-empty p { margin-top: 8px; font-size: 12.5px; color: var(--muted); max-width: 240px; }
.cart-empty .btn { margin-top: 22px; }

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-item__art {
  border-radius: 14px;
  overflow: hidden;
  background: #f2e5db;
  aspect-ratio: 1 / 1.12;
}
.cart-item__art svg { width: 100%; height: 100%; }
.cart-item__info { display: flex; flex-direction: column; min-width: 0; }
.cart-item__name { font-family: var(--serif); font-size: 20px; line-height: 1.15; }
.cart-item__meta { margin-top: 3px; font-size: 10.5px; color: var(--muted); }
.cart-item__controls { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  height: 32px;
}
.qty button {
  width: 30px; height: 100%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.qty button:hover { background: var(--ink); color: #fff; }
.qty span { min-width: 20px; text-align: center; font-size: 12px; font-weight: 600; }
.cart-item__remove {
  font-size: 10px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s;
}
.cart-item__remove:hover { color: var(--accent); border-color: currentColor; }
.cart-item__price { font-size: 13px; font-weight: 600; white-space: nowrap; text-align: right; }

.drawer__foot { padding: 18px 26px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); padding: 3px 0; }
.drawer__row--total { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--ink); }
.drawer__row--total strong { font-size: 24px; font-weight: 600; }
.drawer__hint { margin: 8px 0 14px; font-size: 10.5px; color: var(--sage); }
.drawer__hint.is-free { color: var(--accent); }
.drawer__safe { margin-top: 12px; text-align: center; font-size: 9.5px; color: var(--muted); letter-spacing: .02em; }

/* ── Модальные окна ────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 33, 28, .5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: 28px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.98);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; z-index: 5; top: 16px; right: 16px; }
.modal__dialog--product {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  width: min(920px, 100%);
  max-height: none;
  overflow: hidden;
  background: var(--surface);
}
.quick__art { background: #f0e2d8; min-height: 420px; }
.quick__art svg { width: 100%; height: 100%; }
.quick__info { padding: 44px 40px 34px; overflow-y: auto; }
.quick__info h2 { margin: 8px 0 8px; font-size: 40px; line-height: 1; }
.quick__composition { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.quick__price { margin: 18px 0 16px; font-family: var(--serif); font-size: 32px; line-height: 1; }
.quick__sizes { display: flex; gap: 8px; margin-bottom: 22px; }
.size-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  transition: border-color .2s, background .2s, color .2s;
}
.size-btn strong { font-size: 13px; color: var(--ink); font-weight: 600; }
.size-btn.is-active { border-color: var(--ink); background: var(--ink); color: rgba(255, 255, 255, .65); }
.size-btn.is-active strong { color: #fff; }
.quick__row { display: flex; gap: 10px; }
.quick__row .qty { height: 48px; flex: none; }
.quick__row .qty button { width: 36px; }
.quick__row .btn { flex: 1; }
.quick__perks { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 7px; }
.quick__perks li { position: relative; padding-left: 18px; font-size: 11px; color: var(--muted); }
.quick__perks li::before { content: "✿"; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 9px; }

/* ── Оформление ────────────────────────────────────────────── */
.modal__dialog--checkout { width: min(1000px, 100%); background: var(--bg); }
.checkout__head { padding: 32px 38px 0; }
.checkout__head h2 { margin: 6px 0 20px; font-size: 38px; line-height: 1; }
.checkout__steps { display: flex; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.checkout__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
}
.checkout__steps span {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34, 48, 42, .07);
  font-size: 10px;
}
.checkout__steps .is-active { background: var(--surface); border-color: var(--line); color: var(--ink); }
.checkout__steps .is-active span { background: var(--ink); color: #fff; }
.checkout__steps .is-done span { background: var(--sage); color: #fff; }

.checkout__body {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  padding: 26px 38px 34px;
}
.checkout__form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.field input, .field select, .field textarea, .promo input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .promo input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 160, 138, .18);
}
.field input.is-invalid, .field select.is-invalid { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 85, 63, .12); }
.field__hint { font-size: 10px; line-height: 1.45; color: var(--sage); }
.field__error { display: none; font-size: 10px; line-height: 1.45; color: var(--accent); }
.field.has-error .field__error { display: block; }
.field.has-error .field__hint { display: none; }
.field__error--notice {
  margin-top: 2px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(180, 85, 63, .08);
  font-size: 11px;
  line-height: 1.5;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(111, 123, 115, .55); }

.check { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; }

.checkout__note { font-size: 9.5px; color: var(--muted); line-height: 1.5; }

.checkout__summary {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
}
.summary__title { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; }
.summary__delivery {
  display: grid;
  gap: 2px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--muted);
}
.summary__delivery span:first-child { font-size: 11.5px; font-weight: 600; color: var(--ink); }
.summary__items { display: grid; gap: 10px; max-height: 190px; overflow-y: auto; padding-right: 4px; }
.summary__item { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; }
.summary__item span:first-child { color: var(--muted); }
.summary__item strong { font-weight: 600; white-space: nowrap; }
.summary__rows { display: grid; gap: 5px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--muted); }
.summary__rows div { display: flex; justify-content: space-between; gap: 10px; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.summary__total strong { font-size: 22px; font-weight: 600; }
.summary__free { color: var(--sage); font-size: 10px; margin-top: 6px; }

.checkout__payment { grid-column: 1; grid-row: 1; align-self: start; display: grid; gap: 16px; }
.checkout__success { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 640px; }
.checkout__body.is-success { grid-template-columns: 1fr; }
.checkout__body.is-success .checkout__success { margin-inline: auto; }
.checkout__payment h3, .checkout__success h3 { font-size: 30px; line-height: 1.05; }
.pay-methods { display: grid; gap: 8px; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pay-method__card svg { width: 22px; height: 22px; color: var(--sage); flex: none; }
.pay-method__card span { display: flex; flex-direction: column; line-height: 1.3; }
.pay-method__card strong { font-size: 12.5px; font-weight: 600; }
.pay-method__card small { font-size: 10px; color: var(--muted); }
.pay-method input:checked + .pay-method__card { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink) inset; }
.pay-method input:focus-visible + .pay-method__card { outline: 2px solid var(--sage); outline-offset: 2px; }

.promo { display: flex; gap: 8px; margin-top: 4px; }
.promo input { flex: 1; }
.promo .btn { padding: 11px 18px; font-size: 12px; }
.promo__hint { font-size: 10.5px; color: var(--muted); }
.promo__hint.is-ok { color: var(--sage); }
.promo__hint.is-err { color: var(--accent); }

.payment__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.payment__total strong { font-size: 28px; font-weight: 600; }
.payment__mode {
  margin: -4px 0 14px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(143, 160, 138, .1);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.checkout__success { justify-items: center; text-align: center; margin: 0 auto; padding: 10px 0 6px; }
.success__mark {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(143, 160, 138, .2);
  color: #5f7457;
  animation: pop .5s var(--ease);
}
.success__mark svg { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.success__order { font-size: 12.5px; color: var(--muted); }
.success__order strong { color: var(--ink); letter-spacing: .06em; }
.success__text { font-size: 12.5px; color: var(--muted); max-width: 400px; line-height: 1.65; }
.success__summary {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-align: left;
  font-size: 11.5px;
  display: grid;
  gap: 6px;
}
.success__summary div { display: flex; justify-content: space-between; gap: 12px; }
.success__summary span:first-child { color: var(--muted); }
.success__payment-note {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(143, 160, 138, .1);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: left;
}
.success__hint { font-size: 10px; color: var(--muted); max-width: 380px; line-height: 1.5; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100% - 40px));
  padding: 13px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: #f6efe3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast::before { content: "✿"; color: var(--accent-soft); font-size: 13px; }

/* ── Анимации появления ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .header__phone { display: none; }
  .app-panel { padding: 54px 44px; }
  .footer__cols { gap: 44px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .hero__copy { max-width: 640px; }
  .hero__art { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__stats { max-width: 520px; }
  .seal { left: 8px; bottom: -20px; }
  .sticker--top { left: 2%; }
  .sticker--bottom { right: 2%; }

  .section { padding: 80px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section__note { max-width: 520px; }

  .app-panel { grid-template-columns: 1fr; padding: 48px 36px; gap: 50px; }
  .app-panel__copy { order: 1; }
  .phone-wrap { order: 2; padding-bottom: 24px; }
  .phone__float--a { right: 4%; }
  .phone__float--b { left: 4%; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq__intro > p { max-width: 560px; }

  .footer__top { flex-direction: column; gap: 40px; }
  .footer__cols { flex-wrap: wrap; gap: 40px 64px; }
  .footer__bottom { flex-wrap: wrap; }
  .footer__legal { margin-left: 0; }

  .modal__dialog--product { grid-template-columns: 1fr; max-height: calc(100dvh - 40px); overflow-y: auto; }
  .quick__art { min-height: 300px; max-height: 340px; }
  .quick__info { padding: 28px 26px 30px; }
  .checkout__body { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; grid-column: 1; grid-row: auto; }
  .checkout__payment { grid-column: 1; grid-row: auto; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .topbar__inner { justify-content: center; }
  .topbar__inner span:nth-child(n+3) { display: none; }
  .topbar__phone { display: none; }
  .header__inner { min-height: 68px; gap: 12px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__name { font-size: 22px; }
  .logo__sub { font-size: 7.5px; }
  .burger { display: block; }
  .cart-btn { width: 42px; height: 42px; }
  .header__actions { gap: 8px; }

  .hero { padding: 26px 0 50px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .1em; gap: 7px; }
  .hero .eyebrow::before { width: 16px; }
  .hero__copy h1 { font-size: clamp(42px, 12vw, 62px); margin: 16px 0 18px; }
  .hero__lead { font-size: 14px; }
  .hero__cta .btn { flex: 1; min-width: 0; padding: 14px 18px; font-size: 12.5px; }
  .hero__stats { gap: 22px; margin-top: 34px; }
  .hero__stats dt { font-size: 24px; }
  .hero__stats dd { font-size: 10px; }
  .hero__panel { border-radius: 200px 200px 26px 26px; }
  .hero__panel::before { border-radius: 186px 186px 16px 16px; }
  .seal { width: 88px; height: 88px; left: 0; bottom: -14px; }
  .sticker { font-size: 10px; padding: 9px 13px; }
  .sticker--top { top: 8%; left: 0; }
  .sticker--bottom { bottom: 6%; right: 0; }

  .marquee span { font-size: 16px; }
  .section { padding: 64px 0; }
  .section__head h2 { font-size: 36px; }

  .filters { gap: 6px; }
  .chip { padding: 8px 13px; font-size: 11.5px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 13px 13px 15px; }
  .card__name { font-size: 19px; }
  .card__comp { font-size: 10px; min-height: 30px; }
  .card__foot { margin-top: 12px; padding-top: 11px; flex-direction: column; align-items: stretch; gap: 8px; }
  .card__add { justify-content: center; height: 34px; }
  .card__badge { top: 10px; left: 10px; padding: 4px 8px; font-size: 8px; }
  .fav { top: 8px; right: 8px; width: 30px; height: 30px; }
  .fav svg { width: 14px; height: 14px; }

  .app-panel { padding: 38px 22px; border-radius: 28px; }
  .app-panel h2 { font-size: 38px; }
  .app-features li { font-size: 12px; }
  .app-panel__actions { flex-direction: column; align-items: stretch; }
  .app-panel__actions > .btn { width: 100%; }
  .store-badges { justify-content: center; }
  .app-panel__hint { text-align: center; }
  .phone__float { font-size: 9px; padding: 7px 11px; }
  .phone__float--a { right: 0; }
  .phone__float--b { left: 0; }

  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .delivery-note { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  .delivery-note a { margin-left: 62px; }

  .reviews__summary strong { font-size: 38px; }
  .review { padding: 22px; }
  .review p { font-size: 16.5px; }

  .faq-item summary { font-size: 19px; padding: 18px 0; }
  .faq-item__body { padding-right: 20px; }

  .cta-panel { padding: 52px 20px; border-radius: 28px; }
  .cta-panel h2 { font-size: 38px; }
  .cta-panel__actions .btn { flex: 1; }

  .footer { padding-top: 48px; }
  .footer__cols { gap: 32px 40px; }
  .footer__cols > div { min-width: 120px; }
  .footer__wordmark { margin: 40px 0 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__legal { flex-direction: column; gap: 6px; }

  .drawer__head { padding: 20px 18px 14px; }
  .drawer__body { padding: 6px 18px; }
  .drawer__foot { padding: 16px 18px 20px; }

  .modal { padding: 0; }
  .modal__dialog { border-radius: 22px; }
  .modal__dialog--product { border-radius: 0; max-height: 100dvh; height: 100dvh; }
  .quick__art { min-height: 260px; max-height: 300px; }
  .quick__info h2 { font-size: 32px; }
  .modal__dialog--checkout { border-radius: 0; min-height: 100dvh; max-height: 100dvh; }
  .checkout__head { padding: 24px 18px 0; }
  .checkout__head h2 { font-size: 30px; }
  .checkout__body { padding: 20px 18px 30px; gap: 22px; }
  .checkout__steps li { font-size: 10px; padding: 4px 10px 4px 4px; }
  .field-row { grid-template-columns: 1fr; }
  .checkout__payment h3, .checkout__success h3 { font-size: 26px; }
  .toast { width: calc(100% - 32px); justify-content: center; bottom: 16px; }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .card__art { aspect-ratio: 4 / 4.2; }
  .card__foot { flex-direction: row; align-items: center; }
  .card__add { width: auto; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
