/*
 * Firmenno — витрина готовых решений.
 *
 * Пластика взята у firmenno.com (международный контур, решение 011): Geologica
 * в заголовках, Inter в тексте, синие кнопки с радиусом 8, карточки с тонкой
 * тёплой рамкой. Два контура — разные продукты и разные рынки, но один бренд,
 * и узнаваться должны как родственники.
 *
 * Шрифты — свои копии в assets/fonts: CDN шрифтов не подключаем (рунбук
 * site-to-wordpress, раздел 2). Подмножества латиницы и кириллицы, 108 КБ,
 * и казахские буквы — ещё 8 КБ.
 */

@font-face {
  font-family: 'Geologica';
  src: url('../fonts/geologica-cyrillic.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  src: url('../fonts/geologica-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2070-209F, U+20A0-20AB, U+2113, U+2122, U+2212;
}
/*
 * Казахские буквы (Ә Ғ Қ Ң Ө Ү Һ) — отдельными файлами по 3–4 КБ: браузер
 * берёт их только там, где такие буквы есть, то есть на казахской версии
 * (решение 087). Ұ и І уже лежат в кириллическом подмножестве.
 */
@font-face {
  font-family: 'Geologica';
  src: url('../fonts/geologica-kazakh.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0492-0493, U+049A-049B, U+04A2-04A3, U+04AE-04AF, U+04BA-04BB, U+04D8-04D9, U+04E8-04E9;
}
@font-face {
  font-family: 'InterVar';
  src: url('../fonts/inter-kazakh.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0492-0493, U+049A-049B, U+04A2-04A3, U+04AE-04AF, U+04BA-04BB, U+04D8-04D9, U+04E8-04E9;
}
@font-face {
  font-family: 'InterVar';
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'InterVar';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2070-209F, U+20A0-20AB, U+2113, U+2122, U+2212;
}

:root {
  --brand: #007aff;
  --brand-strong: #0062cc;
  --brand-soft: #eef4ff;
  --ink: #111111;
  --ink-2: #444447;
  --muted: #86868b;
  --line: #e6e6e0;
  --soft: #f7f7f5;
  --bg: #ffffff;
  --r-btn: 100px; /* кнопки — «таблетки» на всём сайте */
  --r-card: 12px;
  --r-lg: 24px;
  /* Прежнее имя радиуса: им пользуются стили кабинета и подвала. */
  --radius: 12px;
  --wrap: 1180px;
  --font: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Geologica', 'InterVar', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
:focus-visible { outline: 3px solid rgba(0, 122, 255, .4); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--text { max-width: 780px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Надзаголовок-пилюля — как на firmenno.com */
.pill { display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; margin: 0 0 22px; }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 16px; }

/* ── Знак ── */
.wordmark { font: 600 19px/1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.wordmark-tld { display: inline-block; background: var(--brand); color: #fff; border-radius: .28em; padding: .06em .26em; margin-left: .12em; line-height: 1; font-size: .8em; vertical-align: .08em; }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap;
  background: var(--soft); color: var(--ink); transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: #c9c9c0; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.fm-buy { margin: 0; }
.fm-buy .btn { width: 100%; }

/* ── Шапка ── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.topbar__row { display: flex; align-items: center; gap: 28px; height: 68px; }
.topbar__logo:hover { text-decoration: none; }
.topbar__menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.topbar__menu a { color: var(--ink-2); font-size: 16px; }
.topbar__menu a:hover { color: var(--ink); text-decoration: none; }
.topbar__nav { flex: 1; display: flex; justify-content: flex-end; }
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.topbar__account { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.topbar__cart { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.topbar__cart .badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 12px; }
.topbar__burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.topbar__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.topbar__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.topbar__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .topbar__row { gap: 12px; height: 60px; }
  .topbar__nav { position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; flex: none; }
  .topbar__nav.is-open { display: block; }
  .topbar__menu { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .topbar__menu a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--soft); }
  .topbar__actions { margin-left: auto; }
  .topbar__burger { display: inline-flex; }
}
/* Решение 022: знак и вход остаются в ряду на любой ширине, остальное уступает место. */
.topbar__nav-cart { display: none; }
@media (max-width: 600px) {
  .topbar__cart { display: none; }
  .topbar__nav-cart { display: block; margin: 0 16px 16px; padding: 12px 0; font-weight: 600; }
  .topbar__actions { gap: 4px; }
}
.prose table { display: block; overflow-x: auto; }

/* ── Первый экран ── */
.hero { padding: 76px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(38px, 5.4vw, 64px); }
.hero__title span { color: var(--brand); display: block; }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); margin: 22px 0 30px; max-width: 32em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero__stats b { color: var(--ink); font-weight: 600; }
.hero__stage { position: relative; }
.hero__stage .fm-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero__stage .fm-tile--card, .hero__stage .fm-tile--social { display: none; }
.hero__stage .fm-kit__note { display: none; }
.hero__frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 24px 60px rgba(17,17,17,.07); }
.hero__frame-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero__frame-foot b { font: 600 15px/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
@media (max-width: 980px) {
  .hero { padding: 36px 0 48px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

/* ── Секции ── */
.section { padding: 84px 0; }
.section--tight { padding: 32px 0 84px; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin-bottom: 34px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(27px, 3.2vw, 40px); margin-bottom: 12px; }
.section__lead { font-size: 18px; color: var(--ink-2); margin: 0; }
.section__foot { margin: 28px 0 0; color: var(--muted); }
.section__link { font-size: 16px; font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .section { padding: 56px 0; } }

.page-hero { padding: 44px 0 40px; }
.page-hero--industry { background: var(--k-soft, var(--soft)); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.page-hero__title { font-size: clamp(32px, 4.4vw, 52px); margin-top: 14px; }
.page-hero__lead { font-size: 20px; color: var(--ink-2); margin: 16px 0 8px; max-width: 36em; }
.page-hero__meta { color: var(--muted); margin: 0 0 20px; }
.page-hero__cover { border-radius: var(--r-lg); mix-blend-mode: multiply; }
@media (max-width: 800px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } .page-hero__cover { max-width: 320px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ── Карточки отраслей ── */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .industries { grid-template-columns: minmax(0, 1fr); } }
.industry { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: box-shadow .2s, transform .2s; }
.industry:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(17,17,17,.08); }
.industry__media { position: relative; aspect-ratio: 16 / 10; background: var(--soft); }
.industry__media img { width: 100%; height: 100%; object-fit: cover; }
.industry__mark { position: absolute; left: 14px; bottom: 14px; width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
.industry__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.industry__title { font: 500 20px/1.2 var(--font-display); letter-spacing: -0.03em; }
.industry__audience { font-size: 14px; color: var(--muted); line-height: 1.4; }
.industry__price { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 16px; }

/* ── Что входит: строки отраслей и чеклист ── */
.feature-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.feature-rows > div { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.feature-rows dt { font-weight: 600; font-size: 16px; }
.feature-rows dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .feature-rows { grid-template-columns: minmax(0, 1fr); } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 700px) { .checklist { grid-template-columns: minmax(0, 1fr); } }

.checks, .minus, .checklist li { position: relative; }
.checks, .minus { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li, .minus li, .checklist li { position: relative; padding-left: 28px; line-height: 1.45; }
.checks li::before, .checklist li::before { content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.minus li { color: var(--muted); }
.minus li::before { content: ""; position: absolute; left: 3px; top: .7em; width: 12px; height: 2px; background: #c9c9c0; }
.checks--sm { gap: 6px; font-size: 16px; }

/* ── Сравнение ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.compare__col h3 { font-size: 20px; margin-bottom: 16px; }
.compare__col--us { border-color: var(--brand); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ── Как это работает ── */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.how b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.how h3 { font-size: 18px; margin-bottom: 8px; }
.how p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how { grid-template-columns: minmax(0, 1fr); } }

/* ── Уровни ── */
.tiers, .levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .tiers, .levels { grid-template-columns: minmax(0, 1fr); } }
.tier, .level { background: #fff; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.tier h3, .level__title { font-size: 20px; }
.tier__price, .level__price { font: 500 32px/1 var(--font-display); margin: 0; letter-spacing: -0.04em; }
.tier p { margin: 0; color: var(--muted); }
.tier--accent, .level--pro { border-color: var(--brand); }
.level header { display: flex; flex-direction: column; gap: 10px; }
.level__lead { margin: 0; color: var(--ink-2); }
.level footer { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.level__duration { margin: 0; font-size: 14px; color: var(--muted); }
.level--custom .btn { width: 100%; }

/* ── Элементы ── */
.elements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .elements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .elements { grid-template-columns: minmax(0, 1fr); } }
.element { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.element h3 { font-size: 18px; }
.element h3 a { color: var(--ink); }
.element__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.element__price { font-weight: 600; font-size: 18px; }

/* ── Вопросы ── */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 840px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; width: 16px; }
.faq details[open] summary::before { content: "–"; }
.faq p { margin: 0 22px 20px; color: var(--ink-2); max-width: 62em; }

/* ── Раскладки ── */
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.split__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } .split__cta { justify-content: flex-start; } }

.buybox { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.buybox__price { font: 500 34px/1 var(--font-display); margin: 0; letter-spacing: -0.04em; }

/* ── Страницы ── */
.page { padding: 44px 0 84px; }
.page__title { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 24px; }
.prose { font-size: 16px; line-height: 1.65; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }

/* ── Формы заявок ── */
.fm-form { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.fm-form--compact { padding: 16px 0 0; border: 0; }
/* Форма внутри карточки не рисует вторую рамку: на телефоне карточка и форма
   давали два кадра и 136 px полей из 375 — поле ввода оставалось 239 px. */
.card .fm-form { padding: 0; border: 0; background: transparent; }
/* Согласие — цель для пальца, а не точка 13 px */
.fm-form input[type="checkbox"] { width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.fm-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fm-form small { font-weight: 400; color: var(--muted); }
.fm-form input[type="text"], .fm-form input[type="tel"], .fm-form input[type="email"], .fm-form input[type="url"], .fm-form textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  font: 400 16px/1.4 var(--font); padding: 12px 14px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.fm-form input:focus, .fm-form textarea:focus, .woocommerce form .form-row input.input-text:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,122,255,.18); }
.fm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/*
 * Мера поля, а не ширина колонки.
 *
 * «Имя» и «Телефон» стоят парой в половину формы, а «Почта», «Город» и
 * «Адрес сайта» тянулись на всю: 730 px под адрес почты и 1095 px под пароль
 * в профиле. Поле шире своей меры читается не как простор, а как сломанный
 * ритм — и курсор в нём теряется.
 *
 * Правил два, потому что случая два. Там, где в форме есть парная строка,
 * одиночные поля равняются на её колонку — иначе край поля не совпадёт с
 * краем соседнего. Там, где пары нет (карточки кабинета), равняться не на
 * что: поле занимает карточку целиком, но не шире меры строки. Процент от
 * карточки здесь давал 256 px в карточке на 501 — поле в треть ширины.
 *
 * На узком экране пределы сняты: там колонка одна. Многострочное поле не
 * ограничиваем — в нём пишут текст.
 */
@media (min-width: 640px) {
  .fm-form:has(.fm-form__row) > label > input[type="text"],
  .fm-form:has(.fm-form__row) > label > input[type="tel"],
  .fm-form:has(.fm-form__row) > label > input[type="email"],
  .fm-form:has(.fm-form__row) > label > input[type="url"],
  .fm-form:has(.fm-form__row) > label > input[type="number"] { max-width: calc(50% - 7px); }

  .fm-form:not(:has(.fm-form__row)) > label > input[type="text"],
  .fm-form:not(:has(.fm-form__row)) > label > input[type="tel"],
  .fm-form:not(:has(.fm-form__row)) > label > input[type="email"],
  .fm-form:not(:has(.fm-form__row)) > label > input[type="url"],
  .fm-form:not(:has(.fm-form__row)) > label > input[type="number"] { max-width: 30rem; }

  /* Формы WooCommerce — профиль, вход, регистрация, оформление заказа */
  .woocommerce form .form-row input.input-text { max-width: 30rem; }
}
}
@media (max-width: 520px) { .fm-form__row { grid-template-columns: 1fr; } }
/*
 * «Объявления и кампании» (решение 044): у секции тоже не было ни одного
 * правила — заголовок и карточки стояли встык. Тот же ритм, что у соседних
 * секций кабинета.
 */
.fm-ads { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }

/*
 * Блок согласия на трансграничную передачу (решение 082).
 *
 * Своей вёрстки у него не было ни строки: абзац, отметка и кнопка стояли
 * встык — поля абзаца гасит сброс com-site, а формой этот блок не объявлен.
 * Раскладываем как остальные формы: колонка с воздухом, кнопка по левому
 * краю и по своему содержимому, а не во всю ширину.
 */
.fm-crossborder { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 12px; }
.fm-crossborder p { max-width: 68ch; }
.fm-crossborder .btn { margin-top: 4px; }

/* Отметки согласий живут и в форме заявки, и в регистрации, и в оформлении
   заказа WooCommerce (решение 082) — поэтому самодостаточны, без .fm-form. */
.fm-form__consent { display: flex; flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-size: 14px; line-height: 1.45; font-weight: 400 !important; }
.fm-form__consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
/* Ссылка на документ — как в тексте страниц (.prose a): цвет текста, синяя черта снизу.
   Вне .prose, в регистрации и оформлении заказа, иначе она неотличима от подписи. */
.fm-form__consent a { color: var(--ink); border-bottom: 2px solid var(--brand); padding-bottom: 1px; text-decoration: none; }
.fm-consents { display: grid; gap: 10px; margin: 0 0 16px; border: 0; padding: 0; }
.fm-consents legend { font-weight: 600; margin-bottom: 8px; }
.fm-form__done { background: #e8f7ee; color: #1d6b3a; padding: 16px 20px; border-radius: 14px; margin: 0; }
.fm-form__error { background: #fdecec; color: #a3261f; padding: 12px 16px; border-radius: 12px; margin: 0; }
.fm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── WooCommerce: корзина, оформление, кабинет ── */
.page--shop .wrap { max-width: var(--wrap); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt {
  background: var(--brand) !important; color: #fff !important; border-radius: 999px !important; font: 600 16px/1 var(--font) !important; padding: 14px 22px !important; border: 0 !important;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--brand) !important; background: var(--soft) !important; border-radius: 14px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand) !important; }
.woocommerce table.shop_table { border-radius: 14px; border-color: var(--line); }
.woocommerce-checkout #payment { background: var(--soft) !important; border-radius: 14px; }
#add_payment_method #payment div.payment_box, .woocommerce-checkout #payment div.payment_box { background: #fff !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* Clearfix WooCommerce (::before/::after) в сетке стал бы лишними ячейками. */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--soft); font-weight: 600; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 900px; }
@media (max-width: 800px) {
  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; }
  .woocommerce-MyAccount-navigation a { white-space: nowrap; }
}

/* Оформление цифрового заказа: полей мало, вторая колонка пустая — в одну колонку. */
.woocommerce-checkout form.checkout { max-width: 720px; }
.woocommerce-checkout #customer_details .col-1 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2 { display: none; }
.woocommerce-checkout .woocommerce-form-coupon-toggle { display: none; }

/* ── Личный кабинет: «Мои решения» ── */
.fm-empty { background: var(--soft); border-radius: var(--radius); padding: 40px; }
.fm-empty h2 { font-size: 26px; margin-bottom: 10px; }
.fm-solutions { display: flex; flex-direction: column; gap: 12px; }
.fm-solution { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.fm-solution:hover { text-decoration: none; border-color: var(--ink); }
.fm-solution span { display: flex; flex-direction: column; flex: 1; }
.fm-solution em { font-style: normal; color: var(--muted); font-size: 14px; }
.fm-back { margin: 0 0 12px; font-size: 16px; }
.fm-solution-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fm-solution-head h2 { font-size: 30px; }
.fm-level { background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
/* Партнёрство (решение 051, п. 7): три суммы, темы, начисления */
.fm-partner h2 { font-size: 22px; margin: 32px 0 12px; }
.fm-partner__totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.fm-partner__totals p { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 4px; }
.fm-partner__totals p:first-child { border-color: var(--ink); }
.fm-partner__totals span { color: var(--muted); font-size: 14px; }
.fm-partner__totals b { font-size: 24px; font-variant-numeric: tabular-nums; }
.fm-partner__themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fm-partner__themes li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fm-partner__themes span { color: var(--muted); font-size: 14px; }
.fm-partner__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fm-partner__table th, .fm-partner__table td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.fm-partner__table th { color: var(--muted); font-weight: 500; font-size: 14px; }
@media (max-width: 640px) {
  .fm-partner__totals { grid-template-columns: 1fr; }
  .fm-partner__table th:nth-child(3), .fm-partner__table td:nth-child(3) { display: none; }
}
/* Шаги онбординга переехали в плагин (preview.css) вместе с разметкой: раньше
   это был список из трёх подписей, теперь — переходы по шагам. Прежние правила
   остались бы мёртвыми и при этом перебивали бы новые: `.fm-steps .is-current`
   красил текущий шаг тёмным, а цвет текста до него не доезжал, и надпись
   пропадала на своём же фоне. */
.fm-configure { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: start; }
.fm-configure .fm-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fm-configure__preview { position: sticky; top: 80px; }
.fm-business h3, .fm-files h3, .fm-next h3 { font-size: 22px; }
.fm-hint { margin: 0; color: var(--muted); font-size: 16px; }
/* Подпись объясняет карточку под собой: к ней она и придвинута. */
.fm-empty + .fm-hint { margin: 28px 0 12px; }
@media (max-width: 1000px) { .fm-configure { grid-template-columns: minmax(0, 1fr); } .fm-configure__preview { position: static; } }
.fm-files, .fm-next { margin-top: 40px; }
.fm-files__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fm-status { background: var(--soft); border-radius: 14px; padding: 16px 20px; margin: 12px 0 0; }
.fm-next__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
@media (max-width: 800px) { .fm-next__grid { grid-template-columns: 1fr; } }
.fm-next details { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fm-next summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fm-next summary::-webkit-details-marker { display: none; }
.fm-next summary span { color: var(--muted); font-size: 16px; }

/* ── Firmenno Cloud (решение 040) ── */
.fm-cloud { margin-top: 40px; }
.fm-cloud h3 { font-size: 22px; margin-bottom: 4px; }
.fm-cloud__list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.fm-cloud__file { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.fm-cloud__file.is-failed { border-color: #e0b4b4; background: #fdf6f6; }
.fm-cloud__kind { font-size: 14px; color: var(--muted); }
.fm-cloud__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fm-cloud__name strong { overflow-wrap: anywhere; }
.fm-cloud__name em { font-style: normal; color: var(--muted); font-size: 14px; }
.fm-cloud__failed { color: #a33; }
.fm-cloud__history { grid-column: 2 / -1; }
.fm-cloud__history summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.fm-cloud__history ul { list-style: none; padding: 10px 0 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.fm-cloud__history li { display: flex; gap: 12px; justify-content: space-between; }
.fm-cloud__add { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* Контент в стиле бренда (решение 083) */
.fm-brand { margin-top: 40px; }
.fm-brand h3 { font-size: 22px; margin-bottom: 4px; }
.fm-brand .fm-form { padding: 0; border: 0; background: transparent; }
.fm-brand__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-brand__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 800px) { .fm-brand__grid { grid-template-columns: minmax(0, 1fr); } }
.fm-brand__profile, .fm-brand__generate { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.fm-brand__profile summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fm-brand__profile summary::-webkit-details-marker { display: none; }
.fm-brand__profile summary span { color: var(--muted); font-size: 16px; }
.fm-brand__profile[open] summary { margin-bottom: 16px; }
.fm-brand__generate .fm-status { margin: 0; }
.fm-brand__style { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.fm-brand__swatches { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.fm-brand__swatches li { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.fm-brand__choice { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.fm-brand__choice legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.fm-brand__choice label { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 400; }
.fm-brand__choice input[type="radio"] { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--brand); }
.fm-brand__choice label span { color: var(--muted); }
.fm-brand__choice label b { color: var(--ink, inherit); font-weight: 600; }
.fm-brand__choice--row { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.fm-brand__error { background: #fdf6f6; border: 1px solid #e0b4b4; color: #a33; border-radius: 14px; padding: 12px 16px; margin: 12px 0 0; }
.fm-brand__drafts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.fm-brand__draft { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fm-brand__draft header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fm-brand__draft header span { color: var(--muted); font-size: 14px; }
.fm-brand__title { margin: 0; font-weight: 600; }
.fm-brand__draft textarea { width: 100%; font: inherit; line-height: 1.5; resize: vertical; background: var(--soft); border: 0; border-radius: 12px; padding: 12px 14px; box-sizing: border-box; }
.fm-brand__warn { margin: 0; background: #fff8e6; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.fm-brand__brief summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.fm-brand__brief p { margin: 8px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }

/* Визуалы в стиле бренда (решение 084) */
.fm-visuals { margin-top: 40px; }
.fm-visuals h3 { font-size: 22px; margin-bottom: 4px; }
.fm-visuals .fm-form { padding: 0; border: 0; background: transparent; }
.fm-visuals__niche { margin: 16px 0 0; max-width: 420px; }
.fm-visuals__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; margin-top: 16px; align-items: start; }
@media (max-width: 900px) { .fm-visuals__grid { grid-template-columns: minmax(0, 1fr); } }
.fm-visuals__controls select, .fm-visuals__controls textarea { font: inherit; }
.fm-visuals__preview { position: sticky; top: 80px; background: var(--soft); border-radius: var(--radius); padding: 16px; display: flex; justify-content: center; }
@media (max-width: 900px) { .fm-visuals__preview { position: static; } }
.fm-visuals__preview canvas { max-width: 100%; max-height: 70vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.fm-visuals__ai { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fm-visuals__ai summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fm-visuals__ai summary::-webkit-details-marker { display: none; }
.fm-visuals__ai summary span { color: var(--muted); font-size: 16px; }
.fm-visuals__ai[open] summary { margin-bottom: 16px; }
.fm-visuals__saved { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.fm-credits { margin-bottom: 16px; }
.fm-credits p { margin: 0 0 12px; }
.fm-credits__packs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.fm-credits__pack { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; }
.fm-credits__log summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.fm-credits__log ul { list-style: none; padding: 8px 0 0; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.fm-credits__log li { display: flex; justify-content: space-between; gap: 12px; }

/* Свой бренд: стиль и консистентность (решение 083, п. 4) */
.fm-audit { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.fm-audit h3 { font-size: 22px; margin: 0; }
.fm-audit__score { display: flex; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fm-audit__score strong { font-size: 48px; line-height: 1; font-weight: 700; white-space: nowrap; }
.fm-audit__score strong small { font-size: 16px; font-weight: 400; color: var(--muted); }
.fm-audit__score p { margin: 0; color: var(--muted); font-size: 16px; }
.fm-audit__score.is-low strong { color: #b4541a; }
@media (max-width: 560px) { .fm-audit__score { flex-direction: column; align-items: flex-start; } }
.fm-audit__refit, .fm-audit__style, .fm-audit__business details { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fm-audit__refit { border-color: #f0c9a8; background: #fffaf5; }
.fm-audit__refit summary, .fm-audit__style summary, .fm-audit__business summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fm-audit__refit summary::-webkit-details-marker, .fm-audit__style summary::-webkit-details-marker, .fm-audit__business summary::-webkit-details-marker { display: none; }
.fm-audit__refit summary span, .fm-audit__style summary span, .fm-audit__business summary span { color: var(--muted); font-size: 16px; }
.fm-audit__business { margin-top: 16px; }
.fm-audit__business .fm-form, .fm-audit__upload { padding: 0; border: 0; background: transparent; }
.fm-audit__business .fm-form { margin-top: 16px; }
.fm-audit__checks ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.fm-audit__check { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 14px 18px; border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--radius); }
.fm-audit__check.is-pass { border-left-color: #3a9a5b; }
.fm-audit__check.is-partial { border-left-color: #e0a526; }
.fm-audit__check.is-fail { border-left-color: #c8492c; }
.fm-audit__check.is-unknown { border-left-color: var(--line); }
.fm-audit__check p { margin: 6px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.fm-audit__check .fm-hint { font-size: 14px; }
.fm-audit__check select { font: inherit; font-size: 14px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.fm-audit__fix { color: #8a4b12; }
@media (max-width: 560px) { .fm-audit__check { grid-template-columns: minmax(0, 1fr); } }
.fm-audit__palette { flex-wrap: wrap; gap: 10px 16px; margin: 16px 0; }
.fm-audit__palette li { width: auto; height: auto; box-shadow: none; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.fm-audit__palette i { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.fm-cloud__add summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fm-cloud__add summary::-webkit-details-marker { display: none; }
.fm-cloud__add summary span { color: var(--muted); font-size: 16px; }
.fm-cloud__add form { margin-top: 18px; }
.fm-cloud__usage { color: var(--muted); font-size: 14px; margin-top: 14px; }
@media (max-width: 700px) { .fm-cloud__file { grid-template-columns: minmax(0, 1fr); } .fm-cloud__history { grid-column: 1; } }

/* ── Подвал ── */
.footer { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 0; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 32px; }
.footer__brand p { color: var(--muted); max-width: 26em; }
.footer__title { font: 600 12px/1.2 var(--font); margin: 4px 0 14px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__list a, .footer__contacts a { color: var(--ink-2); }
.footer__note { color: var(--muted); margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__legal a { color: var(--muted); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Кнопка покупки, пока оплата не подключена (решение 041, п. 6).
   «Скоро» рядом с действием, а не вместо него: человек должен понимать, что
   покупка закрыта, и всё же иметь куда нажать. */
.fm-buy--soon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Часы дизайнера (решение 056): выбор времени и кнопка в одной строке */
.fm-buy--hours { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-buy--hours .btn { width: auto; flex: 1 1 auto; }
.fm-hours__label { flex: 0 0 auto; }
.fm-hours__select { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; font: inherit; color: var(--ink); }
.fm-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fm-buy--soon .tag { flex: none; }

/* ── Ссылка-кнопка внутри дизайн-системы витрины ──────────────────────────────
 *
 * `.site-scope a { color: inherit }` из com-site.css перебивает цвет текста у
 * `.btn--*`: у `<button>` всё было правильно, а у `<a>` тёмная кнопка получала
 * чёрный текст на чёрном фоне — надпись пропадала целиком.
 *
 * Селектор с именем тега обходит это по точности. Чужое правило не трогаем:
 * для обычных ссылок наследование цвета — то, что нужно.
 */
.site-scope a.btn--primary,
.site-scope a.btn--dark   { color: #fff; }
.site-scope a.btn--ghost  { color: var(--ink); }

/* ── Эксклюзив: полоса ниже ряда тарифов (§17 спецификации 4.0) ───────────────
 *
 * У него другой предмет — не запуск, а отказ продавать тему дальше, — поэтому
 * он не карточка в ряду, а полоса под ним, обведённая рамкой.
 */
.exclusive {
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 28px 24px;
  margin-top: 28px;
  display: grid;
  gap: 20px;
}
.exclusive h3 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
.exclusive p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.exclusive__price { font-size: 22px; font-weight: 600; margin-top: 16px; color: var(--ink); }
.exclusive .btn { justify-self: start; }

@media (min-width: 900px) {
  .exclusive { grid-template-columns: 1fr auto; align-items: center; padding: 34px 32px; }
  .exclusive .btn { justify-self: end; }
}

/* «в заказ» — тихая вторая кнопка формы покупки (решение 069): она нужна тем,
   кто берёт несколько комплектов, и не должна спорить с основной. */
.fm-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fm-buy-more {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--muted, #6b6b63);
  text-decoration: underline; text-underline-offset: 3px;
}
.fm-buy-more:hover { color: var(--ink, #1a1a17); }

/* «убрать» в строке заказа на оформлении (решение 069): передумать можно там,
   где покупают, — корзина в пути покупателя пропущена. */
.fm-remove {
  margin-left: 10px; font-size: 14px; color: var(--muted, #6b6b63);
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
.fm-remove:hover { color: var(--danger, #b3261e); }
