/**
 * Файно Склад — модульна тема (default_m)
 * Product-led landing, 2026
 */

body.theme-m {
  scroll-behavior: smooth;
  --m-bg: #ffffff;
  --m-bg-elevated: #ffffff;
  --m-ink: #111111;
  --m-ink-2: #3f3f46;
  --m-muted: #71717a;
  --m-line: #ececec;
  --m-line-soft: #f5f5f5;
  --m-brand: #ffb800;
  --m-brand-hover: #e6a600;
  --m-brand-soft: #fff8e1;
  --m-dark: #111111;
  --m-dark-2: #27272a;
  --m-link: #c99700;

  --m-font: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --m-text-xs: 0.75rem;
  --m-text-sm: 0.875rem;
  --m-text-base: 1rem;
  --m-text-lg: 1.125rem;
  --m-text-xl: 1.25rem;
  --m-text-2xl: 1.5rem;
  --m-text-3xl: clamp(2.25rem, 5vw, 3.25rem);
  --m-text-4xl: clamp(2.75rem, 6vw, 4rem);

  --m-space-1: 0.25rem;
  --m-space-2: 0.5rem;
  --m-space-3: 0.75rem;
  --m-space-4: 1rem;
  --m-space-5: 1.25rem;
  --m-space-6: 1.5rem;
  --m-space-8: 2rem;
  --m-space-10: 2.5rem;
  --m-space-12: 3rem;
  --m-space-16: 4rem;
  --m-space-20: 5rem;

  --m-radius: 16px;
  --m-radius-lg: 24px;
  --m-radius-xl: 32px;
  --m-radius-pill: 999px;

  --m-shadow: 0 1px 2px rgba(9, 9, 11, 0.04), 0 4px 24px rgba(9, 9, 11, 0.06);
  --m-shadow-lg: 0 8px 40px rgba(9, 9, 11, 0.1);
  --m-header-h: 4rem;
  --m-gutter: clamp(1.25rem, 2.5vw, 2rem);
  --m-content-max: none;
  --m-max: none;

  font-family: var(--mh-display-alt);
  font-size: var(--m-text-base);
  line-height: 1.6;
  color: var(--m-ink);
  background: var(--m-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Reset conflicts from default theme ── */
body.theme-m #top.m-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto;
  min-height: var(--m-header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 32px rgba(17, 17, 17, 0.04);
}

a:focus {
  outline: none;
}

body.theme-m .bl-content {
  padding-top: var(--m-header-h);
}

body.theme-m .container,
body.theme-m .container-fluid {
  max-width: none !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  body.theme-m .container,
  body.theme-m .container-fluid {
    width: 100% !important;
  }
}

body.theme-m .bl-content > .container,
body.theme-m .bl-content > .container-fluid {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.theme-m #top .container,
body.theme-m #top .container-fluid,
body.theme-m .m-footer .container,
body.theme-m .m-footer .container-fluid {
  max-width: none;
  width: 100%;
  padding-left: var(--m-gutter);
  padding-right: var(--m-gutter);
}

body.theme-m .parallax-container {
  display: none !important;
}

body.theme-m #callback_my.m-fab {
  position: fixed;
  right: var(--m-space-4);
  bottom: var(--m-space-4);
  left: auto;
  top: auto;
  transform: none;
  width: auto;
  padding: var(--m-space-3) var(--m-space-4);
  font-size: var(--m-text-sm);
  font-weight: 600;
  color: var(--m-ink);
  background: var(--m-bg-elevated);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-pill);
  box-shadow: var(--m-shadow-lg);
  cursor: pointer;
  z-index: 90;
}

body.theme-m.m-is-home #callback_my.m-fab {
  display: none;
}

/* ── Header ── */
body.theme-m #top .pull-left {
  float: none;
}

body.theme-m .m-top__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--m-space-4);
  min-height: var(--m-header-h);
}

body.theme-m .m-top__left {
  justify-self: start;
  display: flex;
  align-items: center;
}

body.theme-m .m-top__brand {
  justify-self: center;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: var(--m-space-3);
  text-decoration: none;
  color: var(--m-ink);
  flex-shrink: 0;
}

body.theme-m .m-top__brand:hover {
  text-decoration: none;
  color: var(--m-ink);
}

body.theme-m .m-top__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--m-line-soft);
  border: 1px solid var(--m-line);
  border-radius: 14px;
  flex-shrink: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.theme-m .m-top__brand:hover .m-top__logo-wrap {
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.06);
}

body.theme-m .m-top__logo {
  width: 1.75rem;
  height: 1.75rem;
}

body.theme-m .m-top__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body.theme-m .m-top__name {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.theme-m .m-top__tag {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--m-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-m .m-top__actions {
  justify-self: end;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: var(--m-space-3);
  flex-shrink: 0;
}

body.theme-m .m-top__tools {
  display: flex;
  align-items: center;
  gap: var(--m-space-2);
  padding: 4px 4px 4px 8px;
  background: var(--m-line-soft);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-pill);
}

body.theme-m .m-top__tool-sep {
  width: 1px;
  height: 1.25rem;
  background: var(--m-line);
  flex-shrink: 0;
}

body.theme-m .m-switcher {
  margin: 0;
}

body.theme-m .m-switcher__group,
body.theme-m #top #form-store .btn-group,
body.theme-m #top #form-language .btn-group {
  padding: 15px;
  border-radius: 15px;
  overflow: scroll;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.menu-docs {
  background-color: transparent;
  padding: 15px;
  border-radius: 15px;
  overflow: scroll;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid;
}

body.theme-m #top #form-store .store-select,
body.theme-m #top #form-language .language-select {
  border: none;
  background: transparent;
  padding: 0.375rem 0.75rem;
  border-radius: var(--m-radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--m-muted);
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.2;
}

body.theme-m #top #form-store .store-select.selected,
body.theme-m #top #form-language .language-select.selected {
  background: #fff;
  color: var(--m-ink);
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.08);
}

body.theme-m .m-top__cta {
  padding-left: 1rem;
  padding-right: 1.125rem;
}

body.theme-m .m-top__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}

body.theme-m .m-top__menu:hover {
  background: var(--m-line-soft);
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.06);
}

/* ── Side menu (default_m) ── */
body.theme-m .share-container {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10100 !important;
  pointer-events: none;
}

body.theme-m .share-container #share-content.m-menu {
  pointer-events: auto;
}

body.theme-m #share-content.m-menu {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 10100 !important;
  display: none;
}

body.theme-m #share-content.m-menu .share-fix-top,
body.theme-m #share-content.m-menu .bl-r-menu,
body.theme-m #share-content.m-menu .bl-list-menu,
body.theme-m #share-content.m-menu .bl-bottom_main-menu {
  display: none !important;
}

body.theme-m .m-menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: rgba(9, 9, 11, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  animation: m-menu-fade-in 0.22s ease;
}

body.theme-m .m-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 28rem);
  height: 100%;
  background: #fff;
  border-left: 1px solid #e8e8e8;
  box-shadow: -24px 0 80px rgba(9, 9, 11, 0.18);
  animation: m-menu-slide-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

body.theme-m .m-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--m-space-4);
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--m-line);
  background: #fff;
}

body.theme-m .m-menu__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

body.theme-m .m-menu__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: var(--m-line-soft);
  border: 1px solid var(--m-line);
  border-radius: 14px;
}

body.theme-m .m-menu__logo img {
  width: 1.75rem;
  height: 1.75rem;
}

body.theme-m .m-menu__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body.theme-m .m-menu__brand-text strong {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--m-ink);
  line-height: 1.15;
}

body.theme-m .m-menu__brand-text span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-muted);
}

body.theme-m .m-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--m-ink-2);
  background: var(--m-line-soft);
  border: 1px solid var(--m-line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}

body.theme-m .m-menu__close:hover {
  color: var(--m-ink);
  background: #fff;
  border-color: #d4d4d8;
}

body.theme-m .m-menu__body {
  flex: 1;
  padding: 0.75rem 0.75rem 1.25rem;
  overflow: auto;
}

body.theme-m .m-menu__eyebrow {
  margin: 0.5rem 0.5rem 0.375rem;
  padding: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-muted);
}

body.theme-m .m-menu__divider {
  height: 1px;
  margin: 0.75rem 0.5rem;
  background: var(--m-line);
}

body.theme-m .m-menu__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.theme-m .m-menu__item {
  display: block;
  padding: 0.8125rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--m-ink-2);
  text-decoration: none;
  border: none !important;
  outline: none !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.15s, background 0.15s;
}

body.theme-m .m-menu__item:hover {
  text-decoration: none;
  color: var(--m-ink);
  background: var(--m-line-soft) !important;
  border: none !important;
  box-shadow: none !important;
}

body.theme-m .m-menu__item:focus,
body.theme-m .m-menu__item:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

body.theme-m .m-menu__item.is-active {
  color: var(--m-ink);
  font-weight: 700;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.theme-m .m-menu__item--sub {
  font-size: 0.9375rem;
  font-weight: 500;
}

@keyframes m-menu-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes m-menu-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Buttons ── */
body.theme-m .m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--m-space-2);
  font-family: var(--m-font);
  font-size: var(--m-text-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--m-radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

body.theme-m .m-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

body.theme-m .m-btn--primary {
  color: var(--m-ink);
  background: var(--m-brand);
  border-color: var(--m-brand);
  box-shadow: 0 1px 2px rgba(234, 179, 8, 0.3);
}

body.theme-m .m-btn--primary:hover {
  color: var(--m-ink);
  background: var(--m-brand-hover);
  border-color: var(--m-brand-hover);
}

body.theme-m .m-btn--dark {
  color: #fff;
  background: var(--m-dark);
  border-color: var(--m-dark);
}

body.theme-m .m-btn--dark:hover {
  color: #fff;
  background: var(--m-dark-2);
  border-color: var(--m-dark-2);
}

body.theme-m .m-btn--ghost {
  color: var(--m-ink-2);
  background: var(--m-bg-elevated);
  border-color: var(--m-line);
}

body.theme-m .m-btn--ghost:hover {
  color: var(--m-ink);
  border-color: #d4d4d8;
}

body.theme-m .m-btn--outline {
  color: var(--m-ink);
  background: #fff;
  border-color: #d4d4d8;
}

body.theme-m .m-btn--outline:hover {
  color: var(--m-ink);
  border-color: #a1a1aa;
  background: #fff;
}

body.theme-m .m-btn--glow {
  box-shadow: 0 8px 28px rgba(255, 184, 0, 0.38);
}

body.theme-m .m-btn--glow:hover {
  box-shadow: 0 10px 36px rgba(255, 184, 0, 0.48);
}

body.theme-m .m-btn--primary {
  border-radius: var(--m-radius-pill);
}

body.theme-m .m-btn--outline {
  border-radius: var(--m-radius-pill);
}

body.theme-m .m-btn--lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

body.theme-m .m-btn--sm {
  padding: 0.5rem 0.875rem;
  font-size: var(--m-text-xs);
}

.bl-result-lic {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  border: 1px dashed #000;
  padding: 15px;
  border-radius: 7px;
  width: inherit;
}

#content {
  min-height: auto;
}

/* ── Page shell ── */
body.theme-m .m-page {
  overflow: hidden;
  width: 100%;
}

body.theme-m .m-page > section {
  padding-left: var(--m-gutter);
  padding-right: var(--m-gutter);
}

body.theme-m .m-hero__grid,
body.theme-m .m-modules__grid,
body.theme-m .m-cta__grid {
  max-width: var(--m-content-max);
  margin-left: auto;
  margin-right: auto;
}

body.theme-m .m-section {
  padding-top: var(--m-space-12);
  padding-bottom: var(--m-space-12);
}

body.theme-m .m-hero.m-section {
  padding-top: var(--m-space-10);
  padding-bottom: var(--m-space-8);
}

body.theme-m .m-modules.m-section {
  padding-top: var(--m-space-8);
}

body.theme-m .m-section--tight {
  padding-top: var(--m-space-12);
  padding-bottom: var(--m-space-12);
}

body.theme-m .m-section__head {
  max-width: 40rem;
  margin-bottom: var(--m-space-8);
}

body.theme-m .m-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.theme-m .m-section__label {
  display: inline-block;
  margin: 0 0 var(--m-space-3);
  font-size: var(--m-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-muted);
}

body.theme-m .m-section__title {
  margin: 0 0 var(--m-space-4);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

body.theme-m .m-section__desc {
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--m-muted);
  line-height: 1.6;
}

/* ── Hero ── */
body.theme-m .m-hero {
  position: relative;
  display: block;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
}

body.theme-m .m-hero::before {
  display: none;
}

body.theme-m .m-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--m-space-6), 3vw, var(--m-space-10));
  align-items: center;
  width: 100%;
}

body.theme-m .m-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--m-space-2);
  margin: 0 0 var(--m-space-5);
  padding: var(--m-space-1) var(--m-space-3);
  font-size: var(--m-text-xs);
  font-weight: 600;
  color: var(--m-ink-2);
  background: var(--m-bg-elevated);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-pill);
}

body.theme-m .m-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--m-brand);
  border-radius: 50%;
}

body.theme-m .m-hero h1 {
  margin: 0 0 var(--m-space-5);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

body.theme-m .m-hero__lead {
  margin: 0 0 var(--m-space-8);
  max-width: 36rem;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--m-muted);
  line-height: 1.65;
}

@media (min-width: 1280px) {
  body.theme-m .m-hero__lead {
    max-width: none;
  }
}

body.theme-m .m-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--m-space-3);
  margin-bottom: var(--m-space-10);
}

body.theme-m .m-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(var(--m-space-6), 4vw, var(--m-space-12));
  justify-content: start;
}

body.theme-m .m-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.theme-m .m-stat strong {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

body.theme-m .m-stat span {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--m-muted);
  line-height: 1.3;
}

body.theme-m .m-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.theme-m .m-hero__illustration {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: min(72vh, 760px);
  height: auto;
  object-fit: contain;
}

/* ── Modules ── */
body.theme-m .m-modules__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(var(--m-space-4), 1.5vw, var(--m-space-6));
  width: 100%;
}

body.theme-m .m-mod-card {
  display: flex;
  flex-direction: column;
  min-height: clamp(16rem, 22vw, 20rem);
  padding: clamp(var(--m-space-6), 2vw, var(--m-space-8));
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-xl);
  box-shadow: var(--m-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

body.theme-m .m-mod-card:hover {
  box-shadow: var(--m-shadow-lg);
  transform: translateY(-2px);
}

body.theme-m .m-mod-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--m-space-3);
  margin-bottom: var(--m-space-5);
}

body.theme-m .m-mod-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--m-ink);
}

body.theme-m .m-mod-card__price {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--m-brand-hover);
  white-space: nowrap;
  background: rgba(234, 179, 8, 0.12);
  border-radius: var(--m-radius-pill);
}

body.theme-m .m-mod-card__icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

body.theme-m .m-mod-card__title {
  margin: 0 0 var(--m-space-3);
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.theme-m .m-mod-card__desc {
  flex: 1;
  margin: 0 0 var(--m-space-5);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: var(--m-muted);
  line-height: 1.55;
}

body.theme-m .m-mod-card__link {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 600;
  color: var(--m-brand-hover);
  text-decoration: none;
}

body.theme-m .m-mod-card__link:hover {
  color: var(--m-ink);
  text-decoration: none;
}

/* ── CTA cards ── */
body.theme-m .m-cta {
  padding-bottom: var(--m-space-16);
}

body.theme-m .m-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--m-space-4), 2vw, var(--m-space-6));
  width: 100%;
}

body.theme-m .m-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--m-space-8), 3vw, var(--m-space-12));
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-xl);
  box-shadow: var(--m-shadow);
}

body.theme-m .m-cta-card--trial {
  display: flex;
  align-items: stretch;
  min-height: clamp(18rem, 28vw, 24rem);
}

body.theme-m .m-cta-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 58%;
}

body.theme-m .m-cta-card--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--m-space-5);
  min-height: clamp(18rem, 28vw, 24rem);
}

body.theme-m .m-cta-card--contact .m-btn {
  min-width: min(100%, 22rem);
}

body.theme-m .m-cta-card__title {
  margin: 0 0 var(--m-space-3);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.theme-m .m-cta-card__desc {
  margin: 0 0 var(--m-space-5);
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  color: var(--m-muted);
  line-height: 1.6;
  max-width: 32rem;
}

body.theme-m .m-cta-card--contact .m-cta-card__desc {
  margin-bottom: var(--m-space-2);
}

body.theme-m .m-cta-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--m-space-3);
  margin-bottom: var(--m-space-5);
}

body.theme-m .m-cta-card__link {
  font-size: var(--m-text-sm);
  font-weight: 500;
  color: var(--m-muted);
  text-decoration: none;
}

body.theme-m .m-cta-card__link:hover {
  color: var(--m-ink);
  text-decoration: none;
}

body.theme-m .m-cta-card__qr-wrap {
  display: flex;
  align-items: center;
  gap: var(--m-space-3);
}

body.theme-m .m-cta-card__qr {
  padding: var(--m-space-2);
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  line-height: 0;
}

body.theme-m .m-cta-card__version {
  font-size: var(--m-text-xs);
  color: var(--m-muted);
}

body.theme-m .m-cta-card__art {
  position: absolute;
  right: -2%;
  bottom: -6%;
  width: min(55%, 24rem);
  height: auto;
  opacity: 0.24;
  pointer-events: none;
  user-select: none;
}

/* ── Footer ── */
body.theme-m .m-footer {
  margin-top: 0;
  padding: var(--m-space-10) 0 var(--m-space-8);
  background: #f7f7f3;
}

.bl-top-phone {
  display: flex;
  flex-direction: column;
}

.f-inf-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body.theme-m .m-footer__main {
  display: flex;
  align-items: start;
  gap: var(--m-space-6);
  justify-content: space-between;
}

body.theme-m .m-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--m-space-4);
  justify-self: start;
}

body.theme-m .m-footer__logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

body.theme-m .m-footer__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.04);
}

body.theme-m .m-footer__logo-wrap img {
  width: 1.875rem;
  height: 1.875rem;
}

body.theme-m .m-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.theme-m .m-footer__name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--m-ink);
}

body.theme-m .m-footer__tagline {
  font-size: 0.8125rem;
  color: var(--m-muted);
}

body.theme-m .m-footer__nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--m-space-1);
  padding: 5px;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-pill);
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.04);
}

body.theme-m .m-footer__nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--m-ink-2);
  text-decoration: none;
  border-radius: var(--m-radius-pill);
  transition: color 0.15s, background 0.15s;
}

body.theme-m .m-footer__nav a:hover {
  color: var(--m-ink);
  background: var(--m-line-soft);
  text-decoration: none;
}

body.theme-m .m-footer__badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: var(--m-space-2);
  font-size: 1rem;
  font-weight: 600;
  color: var(--m-ink-2);
}

.bl-two__grid{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}

/* планшет і нижче: нотатка + методи в одну колонку (інакше вузька нотатка
   зтискається по одному слову в рядок). Десктоп лишається 2-колонковим. */
@media (max-width: 1023px) {
  .bl-two__grid { grid-template-columns: 1fr; gap: 2rem; }
}

body.theme-m .m-footer__bottom {
  text-align: center;
}

/* ── Docs ── */
body.theme-m .m-docs {
  margin: 0;
  padding: var(--m-space-10) var(--m-gutter) var(--m-space-16);
}

body.theme-m .m-docs__head {
  margin-bottom: var(--m-space-8);
}

body.theme-m .m-docs__head h1 {
  margin: var(--m-space-4) 0 0;
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: clamp(2.2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  -webkit-text-stroke: 1.4px var(--m-ink);
  text-stroke: 1.4px var(--m-ink);
  transition: color 0.25s ease, -webkit-text-stroke-color 0.25s ease;
}

body.theme-m .m-docs__head h1:hover {
  color: var(--m-brand, #ffb800);
  -webkit-text-stroke-color: var(--m-brand, #ffb800);
  text-stroke-color: var(--m-brand, #ffb800);
}

@media (max-width: 600px) {
  body.theme-m .m-docs__head h1 { -webkit-text-stroke-width: 1px; text-stroke-width: 1px; }
}

body.theme-m .m-docs__intro {
  margin: var(--m-space-4) 0 0;
  max-width: 40rem;
  font-size: 14px;
  color: var(--m-muted);
}

body.theme-m .m-docs__layout {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: var(--m-space-10);
  align-items: start;
  margin: clamp(70px, 3vh, 70px) 0 0px;
}
body.theme-m .m-docs__panel { min-width: 0; }

body.theme-m .m-docs__sidebar {
  position: sticky;
  top: calc(var(--m-header-h) + var(--m-space-4));
  overflow: auto;
}

body.theme-m .menu-docs {
  padding: var(--m-space-4);
}

body.theme-m .menu-docs .docs-cat-name a {
  font-size: var(--m-text-sm);
  color: var(--m-ink-2);
  text-decoration: none;
}

body.theme-m .menu-docs .docs-cat-name a:hover {
  color: var(--m-ink);
}

body.theme-m .menu-docs .menu-content {
  margin-left: var(--m-space-3);
  padding-left: var(--m-space-3);
  border-left: 1px solid var(--m-line);
}

body.theme-m .m-docs__panel {
  padding: var(--m-space-8);
}

body.theme-m .m-docs .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: var(--m-text-sm);
}

body.theme-m .m-docs .breadcrumb a {
  color: var(--m-muted);
  text-decoration: none;
}

body.theme-m .m-docs .breadcrumb a:hover {
  color: var(--m-ink);
}

body.theme-m .m-docs .breadcrumb > li:not(:last-of-type):after {
  border-color: var(--m-brand);
}

body.theme-m .m-docs-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: var(--m-bg-elevated);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  cursor: pointer;
}

body.theme-m .m-docs__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--m-space-4);
}

body.theme-m .docs-desc {
  font-size: var(--m-text-base);
  line-height: 1.65;
  color: var(--m-ink-2);
}

body.theme-m .docs-desc a {
  color: var(--m-link);
  text-decoration: none;
}

body.theme-m .docs-desc a:hover {
  text-decoration: underline;
}

body.theme-m .m-docs-empty {
  display: flex;
  gap: var(--m-space-3);
  padding: var(--m-space-4);
  font-size: var(--m-text-sm);
  color: var(--m-muted);
  background: var(--m-line-soft);
  border-radius: var(--m-radius);
}

body.theme-m .category-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: var(--m-space-4);
  margin-top: var(--m-space-8);
  padding-top: var(--m-space-6);
  border-top: 1px solid var(--m-line);
}

body.theme-m .category-navigation a {
  font-size: 18px;
  color: var(--m-ink);
  text-decoration: none;
}

body.theme-m #docs-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10100;
  background: rgba(9, 9, 11, 0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

body.theme-m #docs-lightbox.docs-lb-open {
  display: flex;
}

body.theme-m #docs-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: var(--m-radius);
  background: #fff;
}

body.theme-m #docs-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
}

/* ── Large screens (MacBook 16", desktop) ── */
@media (min-width: 1280px) {
  body.theme-m {
    font-size: 1.0625rem;
    --m-gutter: clamp(2rem, 4vw, 3.5rem);
    --m-header-h: 4.5rem;
  }

  body.theme-m .m-top__logo-wrap {
    width: 3rem;
    height: 3rem;
  }

  body.theme-m .m-top__logo {
    width: 40px;
    height: 40px;
  }

  body.theme-m .m-top__name {
    font-size: 1.0625rem;
  }

  body.theme-m .m-top__tag {
    font-size: 0.6875rem;
  }

  body.theme-m .m-btn--lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
  }

  body.theme-m .m-hero h1 {
    font-size: clamp(3.25rem, 4.2vw, 5.5rem);
    margin-bottom: var(--m-space-6);
  }

  body.theme-m .m-hero__lead {
    font-size: 1.375rem;
    margin-bottom: var(--m-space-10);
  }

  body.theme-m .m-hero__eyebrow {
    font-size: 0.8125rem;
    padding: var(--m-space-2) var(--m-space-4);
    margin-bottom: var(--m-space-6);
  }

  body.theme-m .m-hero__actions {
    margin-bottom: var(--m-space-12);
    gap: var(--m-space-4);
  }

  body.theme-m .m-hero__stats {
    gap: clamp(3rem, 5vw, 5rem);
  }

  body.theme-m .m-stat strong {
    font-size: 2.25rem;
  }

  body.theme-m .m-stat span {
    font-size: 1.0625rem;
  }

  body.theme-m .m-hero__illustration {
    max-height: min(78vh, 860px);
  }

  body.theme-m .m-section__title {
    font-size: clamp(2.25rem, 3vw, 3rem);
  }

  body.theme-m .m-section__desc {
    font-size: 1.25rem;
  }

  body.theme-m .m-mod-card {
    min-height: 22rem;
    padding: 2rem;
  }

  body.theme-m .m-mod-card__icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  body.theme-m .m-mod-card__icon svg {
    width: 36px;
    height: 36px;
  }

  body.theme-m .m-mod-card__title {
    font-size: 1.375rem;
  }

  body.theme-m .m-mod-card__desc {
    font-size: 1rem;
  }

  body.theme-m .m-mod-card__link {
    font-size: 1rem;
  }

  body.theme-m .m-cta-card--trial,
  body.theme-m .m-cta-card--contact {
    min-height: 26rem;
  }

  body.theme-m .m-cta-card__title {
    font-size: 2rem;
  }

  body.theme-m .m-cta-card__desc {
    font-size: 1.0625rem;
  }

  body.theme-m .m-cta-card--contact .m-btn {
    min-width: min(100%, 26rem);
    padding: 1.125rem 2.5rem;
  }
}

@media (min-width: 1536px) {
  body.theme-m {
    font-size: 1.125rem;
    --m-gutter: clamp(2.5rem, 5vw, 4.5rem);
  }

  body.theme-m .m-hero__grid {
    gap: var(--m-space-12);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  body.theme-m .m-hero h1 {
    font-size: 5.5rem;
  }

  body.theme-m .m-hero__lead {
    font-size: 1.4375rem;
  }

  body.theme-m .m-modules__grid {
    gap: var(--m-space-6);
  }

  body.theme-m .m-mod-card {
    min-height: 24rem;
    padding: 2.25rem;
  }

  body.theme-m .m-cta__grid {
    gap: var(--m-space-6);
  }

  body.theme-m .m-cta-card {
    padding: var(--m-space-12);
  }
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  body.theme-m .m-modules__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  body.theme-m .m-top__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  body.theme-m .m-top__left {
    display: none;
  }

  body.theme-m .m-top__brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    grid-column: auto;
  }

  body.theme-m .m-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--m-space-10);
  }

  body.theme-m .m-hero__visual {
    order: -1;
    justify-content: center;
  }

  body.theme-m .m-modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.theme-m .m-cta__grid {
    grid-template-columns: 1fr;
  }

  body.theme-m .m-cta-card--trial {
    min-height: auto;
  }

  body.theme-m .m-cta-card__content {
    max-width: 100%;
  }

  body.theme-m .m-docs__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  body.theme-m {
    --m-header-h: 3.5rem;
    --m-gutter: 1.6rem;
  }

  body.theme-m .m-section {
    padding-top: var(--m-space-12);
    padding-bottom: var(--m-space-12);
  }

  body.theme-m .m-hero {
    min-height: auto;
    padding-top: var(--m-space-6);
    padding-bottom: var(--m-space-10);
  }

  body.theme-m .m-hero h1 {
    font-size: 2rem;
    max-width: none;
  }

  body.theme-m .m-hero__stats {
    grid-template-columns: 1fr;
    gap: var(--m-space-4);
  }

  body.theme-m .m-modules__grid {
    grid-template-columns: 1fr;
  }

  body.theme-m .m-top__tag {
    display: none;
  }

  body.theme-m .m-footer__main {
    grid-template-columns: 1fr;
    gap: var(--m-space-5);
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  body.theme-m .m-footer__brand {
    justify-self: center;
    flex-direction: column;
  }

  body.theme-m .m-footer__nav {
    justify-self: center;
  }

  body.theme-m .m-footer__badge {
    justify-self: center;
  }

  body.theme-m .m-menu__panel {
    width: 100%;
    max-width: none;
  }

  body.theme-m .m-menu__item {
    font-size: 0.9375rem;
    padding: 0.75rem 0.875rem;
  }
}

/* ============================================================
   Mega-menu (top-down) — заміна бічної панелі меню
   ============================================================ */
body.theme-m #share-content.m-menu .m-mega {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: #0c1015;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 100vh;
  overflow-y: auto;
  animation: mMegaDrop 0.42s cubic-bezier(0.3, 0.8, 0.3, 1);
}
@keyframes mMegaDrop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
body.theme-m .m-mega__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: var(--m-gutter);
  padding-right: var(--m-gutter);
  padding-top: 0px !important;

  border-bottom: none;
}
body.theme-m .m-mega__logo {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--m-brand, #ffb800);
  border-radius: 11px;
}
body.theme-m .m-mega__logo img { width: 24px; height: 24px; }
body.theme-m .m-mega__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s;
}
body.theme-m .m-mega__close:hover { background: rgba(255, 255, 255, 0.2); }
body.theme-m .m-mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
}
body.theme-m .m-mega__h {
  margin: 0 0 0.75rem;
  color: #5f6670;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.theme-m .m-mega__link {
  display: block;
  padding: 0.5rem 0;
  color: #e6e8ec;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
body.theme-m .m-mega__link:hover { color: #fff; }
body.theme-m .m-mega__link.is-active { color: var(--m-brand, #ffb800); }
body.theme-m .m-mega__promo {
  margin-top: 1rem;
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
body.theme-m .m-mega__promo strong { display: block; color: #fff; font-size: 0.875rem; font-weight: 600; }
body.theme-m .m-mega__promo span { display: block; color: #9ca3af; font-size: 0.8125rem; margin: 2px 0 0.7rem; }
body.theme-m .m-mega__promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--m-brand, #ffb800);
  color: #11141a;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem;
  border-radius: 8px;
  text-decoration: none;
}
body.theme-m .m-mega__promo-btn svg { width: 16px; height: 16px; }
body.theme-m .m-mega__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}
body.theme-m .m-mega__foot-label { color: #000000; font-size: 1.75rem; }
body.theme-m .m-mega__foot-link { color: #000000; font-size: 1.75rem; text-decoration: none; }
body.theme-m .m-mega__foot-link:hover { color: #fff; }

@media (max-width: 720px) {
  body.theme-m .m-mega__grid { grid-template-columns: 1fr; gap: 0.5rem 1.5rem; }
  body.theme-m .m-mega__link { padding: 0.625rem 0; }
}

/* ============================================================
   Шапка (модульна) — компонентні стилі для ВСІХ сторінок default_m.
   Overlay на темному hero лишається home-only (home-v2.css).
   ============================================================ */
body.theme-m .m-top__brand-text { display: none; }
body.theme-m #top.m-top { overflow: visible; }
/* лого лишається по центру (грід), велике й виходить за межі шапки */
body.theme-m .m-top__brand { position: relative; z-index: 3; }
body.theme-m .m-top__logo-wrap {
  position: relative;
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
body.theme-m .m-top__brand:hover .m-top__logo-wrap { border: none; box-shadow: none; }
body.theme-m .m-top__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5rem;
  height: 5rem;
  max-width: none;
  transform: translate(-50%, -25%);
}

body.theme-m .m-top__tools { background: #0c0e12; border-color: rgba(255, 255, 255, 0.12); padding: 3px 4px; gap: 2px; }
body.theme-m .m-top__tool-sep { background: rgba(255, 255, 255, 0.16); height: 0.85rem; }
body.theme-m #top #form-store .store-select,
body.theme-m #top #form-language .language-select { color: #8b919b; font-size: 0.625rem; padding: 0.25rem 0.6rem; }
body.theme-m #top #form-store .store-select.selected,
body.theme-m #top #form-language .language-select.selected { background: var(--m-brand, #ffb800); color: #11141a; box-shadow: none; }

@media (max-width: 560px) {
  body.theme-m .m-top__tools { display: none; }
}

/* ============================================================
   Документація — центрування + полірування лівого меню
   ============================================================ */
body.theme-m .m-docs__panel { min-height: 26rem; }

body.theme-m .menu-docs { padding: 0.65rem; }
body.theme-m .menu-docs > .menu-item { margin-bottom: 0.15rem; }
body.theme-m .menu-docs .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 18px;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  transition: background 0.12s;
}
body.theme-m .menu-docs .menu-header:hover { background: var(--m-line-soft); }
body.theme-m .menu-docs .docs-cat-name a {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--m-ink-2);
  line-height: 1.45;
}
body.theme-m .menu-docs > .menu-item > .menu-header .docs-cat-name a { color: var(--m-ink); }
body.theme-m .menu-docs .menu-header:hover .docs-cat-name a { color: var(--m-ink); }
body.theme-m .menu-docs .docs-cat-name a.active,
body.theme-m .menu-docs .menu-item.active > .menu-header .docs-cat-name a { color: var(--m-link); }
body.theme-m .menu-docs .mc-show-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  color: var(--m-muted);
  cursor: pointer;
}
body.theme-m .menu-docs .icon-mc-down { transition: transform 0.18s; }
body.theme-m .menu-docs .menu-content {
  margin: 2px 0 0.5rem 0.6rem;
  padding-left: 0.75rem;
  border-left: none;
}

/* Висувний drawer меню документації (кнопка visible-xs, показується ≤767px).
   Стара спільна база лишала width:30% (≈157px) аж до ≤479px → пункти ламались
   по одному слову в рядок. Робимо комфортну ширину на всьому мобільному
   діапазоні + білий хедер під модульний вигляд. */
body.theme-m .menu-docs-container {
  width: min(360px, 88vw);
  box-shadow: -14px 0 44px rgba(17, 17, 17, 0.14);
}
body.theme-m .menu-docs-container .share-fix-top {
  background: #fff;
  border-bottom: 1px solid var(--m-line);
}
body.theme-m .menu-docs-container .cart-fix-title .txt-21 {
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   Меню-сторінки (information/*, blog/*) — центрований контейнер,
   як на головній. Home (.mh) і docs (.m-docs) не використовують
   .bl-container, тож не зачіпаються; класичний стор — без theme-m.
   ============================================================ */
body.theme-m .bl-container,
body.theme-m .bl-content-top {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
body.theme-m .bl-container {
  padding-left: var(--m-gutter);
  padding-right: var(--m-gutter);
}

/* ── Кнопка «Меню» з написом + іконкою ── */
body.theme-m .m-top__menu {
  width: auto;
  height: 2.5rem;
  gap: 9px;
  padding: 0 0.95rem 0 1.05rem;
  border-radius: 999px;
}
body.theme-m .m-top__menu-label {
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #11141a;
}

/* ── Mega-menu: просторніше, лого без обведення/більше, хрестик без рамки ── */

body.theme-m .m-mega__logo { background: transparent; border-radius: 0; width: 56px; height: 56px; }
body.theme-m .m-mega__logo img { width: 56px; height: 56px; }
body.theme-m .m-mega__close { background: transparent; border: none; width: 44px; height: 44px; }
body.theme-m .m-mega__close:hover { background: rgba(255, 255, 255, 0.08); }
body.theme-m .m-mega__grid {
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding-left: var(--m-gutter);
  padding-right: var(--m-gutter);
  padding-top: var(--m-gutter);
  padding-bottom: var(--m-gutter);
}
body.theme-m .m-mega__h { margin-bottom: 1.1rem; font-size: 0.75rem; }
body.theme-m .m-mega__link { padding: 0.72rem 0; font-size: 1rem; }
body.theme-m .m-mega__promo { margin-top: 1.5rem; padding: 1.25rem; }

/* ── Меню у світлих тонах (заливка як у шапці) ── */
body.theme-m #share-content.m-menu .m-mega {
  background: #f7f7f4;
  border-bottom: 1px solid var(--m-line, #ececec);
}

body.theme-m .m-mega__close { color: var(--m-ink, #11141a); }
body.theme-m .m-mega__close:hover { background: rgba(17, 20, 26, 0.06); }
body.theme-m .m-mega__h {
  color: var(--m-ink, #11141a);
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
body.theme-m .m-mega__link {
  color: var(--m-ink, #1a1d23);
  font-size: clamp(1.8rem, 2vw, 2rem);
  font-weight: 500;
  padding: 0.95rem 0;
}
body.theme-m .m-mega__link:hover { color: var(--m-brand, #ffb800); }
body.theme-m .m-mega__link.is-active { color: var(--m-brand, #ffb800); }
body.theme-m .m-mega__promo {
  background: #fff;
  border: 1px solid var(--m-line, #ececec);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}
body.theme-m .m-mega__promo strong { color: var(--m-ink, #11141a); }
body.theme-m .m-mega__promo span { color: #6b7280; }
body.theme-m .m-mega__foot { border-top: 1px solid var(--m-line, #ececec); }
body.theme-m .m-mega__foot-label { color: #9ca3af; }
body.theme-m .m-mega__foot-link { color: #6b7280; }
body.theme-m .m-mega__foot-link:hover { color: var(--m-ink, #11141a); }
body.theme-m .m-mega__foot-link.is-active { color: var(--m-brand, #ffb800); }

/* ── Ще більше лого в шапці ── */
body.theme-m .m-top__logo { width: 7rem; height: 7rem; transform: translate(-50%, -27%); }

/* ============================================================
   Blueprint-тло (точкова сітка) на внутрішніх сторінках —
   сучасний «креслярський» фон. Картки/панелі лишаються білими.
   ============================================================ */
body.theme-m:not(.m-is-home) {
  background-color: #f7f7f4;
  background-image: radial-gradient(circle, rgba(17, 20, 26, 0.06) 1px, transparent 1.6px);
  background-size: 24px 24px;
  background-position: -2px -2px;
  background-attachment: fixed;
}

/* ============================================================
   Хедер у стилі Stitch-макета: лого + таглайн зліва,
   контакти + контроли + MENU справа, біла смуга з лінією знизу.
   Перекриває попередній «плаваючий центр-лого».
   ============================================================ */
body.theme-m #top.m-top {
  position: fixed;
  background: #f7f7f3;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
body.theme-m #top.m-top { overflow: visible; }
/* у темі root font-size = 10px (rem≈10px), тож розміри в rem×10 */
body.theme-m { --m-header-h: 8.8rem; }

body.theme-m .m-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--m-space-4);
  min-height: var(--m-header-h);
}

/* ── Бренд: лого + таглайн зліва ── */
body.theme-m .m-top__brand {
  position: static;
  justify-self: auto;
  grid-column: auto;
  display: flex; align-items: center; gap: 18px;
  padding-top: 15px;
}
body.theme-m .m-top__logo-wrap {
  position: static;
  width: auto; height: 70px;
  background: transparent; border: none; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: visible; box-shadow: none; flex-shrink: 0;
}
body.theme-m .m-top__brand:hover .m-top__logo-wrap { border: none; box-shadow: none; }
body.theme-m .m-top__logo {
  position: static; left: auto; top: auto; transform: none;
  width: 70px; height: 70px; max-width: none; object-fit: contain;
}
body.theme-m .m-top__brand-text { display: flex; flex-direction: column; }
body.theme-m .m-top__name { font-size: 16px; }
body.theme-m .m-top__tagline {
  font-size: 13.5px; font-weight: 400;
  color: #1a1a1a;
}

/* ── Права група: контакти + контроли + меню ── */
body.theme-m .m-top__actions {
  position: static; justify-self: auto; grid-column: auto;
  display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.25rem);
}
body.theme-m .m-top__contacts { display: flex;
  align-items: start;
  gap: clamp(1rem, 2vw, 2rem);
  padding-top: 15px;
  margin-right: 70px;
}
body.theme-m .m-top__contact {
  font-size: 1.3rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--m-muted); text-decoration: none; transition: color 0.15s;
  white-space: nowrap;
}
body.theme-m .m-top__contact:hover { color: var(--m-ink); }

/* контроли версія/мова — світла пілюля (поверх старого темного варіанта) */
body.theme-m .m-top__tools {
  background: var(--m-line-soft); border: 1px solid var(--m-line);
  padding: 4px 4px 4px 8px;
}
body.theme-m .m-top__tool-sep { background: var(--m-line); height: 1.1rem; }
body.theme-m #top #form-store .store-select,
body.theme-m #top #form-language .language-select { color: var(--m-muted); }
body.theme-m #top #form-store .store-select.selected,
body.theme-m #top #form-language .language-select.selected {
  background: #fff; color: var(--m-ink); box-shadow: 0 1px 4px rgba(17,17,17,0.08);
}

/* контент під фіксованою смугою */
body.theme-m .bl-content { padding-top: var(--m-header-h); }

@media (max-width: 768px) {
  body.theme-m .m-top__tagline { display: none; }
}

/* ── Хедер: права група як у Stitch (MENU текст+гамбургер, EN мінімальний) ── */
body.theme-m .m-top__menu {
  width: auto; height: auto; padding: 0; gap: 12px;
  background: none; border: none; border-radius: 0; box-shadow: none;
}
body.theme-m .m-top__menu:hover { background: none; border: none; box-shadow: none; }
body.theme-m .m-top__menu-label {
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #1a1a1a;
}
body.theme-m .m-top__burger { display: inline-flex; flex-direction: column; gap: 4px; }
body.theme-m .m-top__burger span { display: block; width: 24px; height: 2px; background: #1a1a1a; border-radius: 2px; }

/* мова: компактний UK/EN тумблер сегментованою пігулкою — обидві мови інлайн,
   вибрана залита; однаковий вигляд на десктопі й мобільному (тап/клік перемикає) */
body.theme-m .m-top__lang { position: relative; display: flex; align-items: center; }
body.theme-m .m-top__lang .m-switcher,
body.theme-m .m-top__lang .m-switcher__group,
body.theme-m #top .m-top__lang .m-switcher__group,
body.theme-m #top .m-top__lang #form-language .btn-group {
  display: inline-flex; flex-direction: row; gap: 2px; margin: 0; padding: 2px;
  height: auto; overflow: visible;
  background: var(--m-line-soft); border: 1px solid var(--m-line); border-radius: 999px;
}
body.theme-m .m-top__lang .language-select,
body.theme-m .m-top__lang .language-select:not(.selected) {
  position: static; opacity: 1; visibility: visible; transform: none;
  display: inline-flex; align-items: center; margin: 0; top: auto; right: auto;
  padding: 5px 11px !important; border: 0; border-radius: 999px;
  background: transparent !important; box-shadow: none !important;
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.04em !important; line-height: 1;
  text-transform: uppercase; color: var(--m-muted); cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}
body.theme-m .m-top__lang .language-select.selected {
  background: var(--m-ink) !important; color: #fff !important;
}
body.theme-m .m-top__lang .language-select.selected::after { content: none; }
body.theme-m .m-top__store-hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════════════
   АДАПТИВНА ШАПКА + МЕГА-МЕНЮ (default_m). Іде ОСТАННІМ у файлі, щоб
   перебивати безмедійний `body.theme-m { --m-header-h: 8.8rem }` вище.
   Брейкпоінти узгоджені з home-v2.css та breakpoint-логером: 1023 / 767 / 479.
   ════════════════════════════════════════════════════════════════════════ */

/* ─── MD ≤1023px · планшет: компактніша шапка ───────────────────────────── */
@media (max-width: 1023px) {
  body.theme-m { --m-header-h: 7rem; }
  body.theme-m .m-top__logo-wrap { height: 56px; }
  body.theme-m .m-top__logo { width: 56px; height: 56px; }
  body.theme-m .m-top__contact { font-size: 1.15rem; }

  /* скасовуємо старе центрування бренду (≤991 робив лого absolute по центру) —
     лишаємо лого зліва, дії справа */
  body.theme-m .m-top__inner { justify-content: space-between; }
  body.theme-m .m-top__brand { position: static; left: auto; transform: none; }
}

/* ─── SM ≤767px · мобільні: лого + мова + МЕНЮ ──────────────────────────── */
@media (max-width: 767px) {
  body.theme-m { --m-header-h: 6rem; }
  body.theme-m .m-top__logo-wrap { height: 44px; }
  body.theme-m .m-top__logo { width: 44px; height: 44px; }
  body.theme-m .m-top__contacts { display: none; }
  body.theme-m .m-top__tagline { display: none; }
  body.theme-m .m-top__actions { gap: 1.4rem; }

  /* лого рівно по центру шапки: десктопний зсув padding-top:15px тут зайвий,
     інакше 44px-лого притискається донизу повз центровану кнопку МЕНЮ */
  body.theme-m .m-top__brand { padding-top: 0; }

  /* перемикач мови — та сама сегментована пігулка, що й на десктопі (стилі в базі);
     тут лише переносимо його на початок ряду дій у мобільній шапці */
  body.theme-m .m-top__lang { padding: 0; margin: 0; order: -1; }

  .menu-docs {
    border: none !important;
    padding-bottom: 70px !important;
  }
  body.theme-m .m-docs__panel {
    padding: 0;
  }

  /* мега-меню: одна колонка, менші заголовки/посилання */
  body.theme-m .m-mega__grid { grid-template-columns: 1fr; gap: 0.25rem 0; }
  body.theme-m .m-mega__h { font-size: clamp(2.2rem, 7vw, 3rem); margin-bottom: 0.6rem; }
  body.theme-m .m-mega__col + .m-mega__col { margin-top: 1.6rem; }
  body.theme-m .m-mega__link { font-size: 1.7rem; padding: 0.6rem 0; }
}

/* ─── XS ≤479px · малі телефони ──────────────────────────────────────────── */
@media (max-width: 479px) {
  body.theme-m { --m-header-h: 5.6rem; }
  body.theme-m .m-top__logo-wrap { height: 40px; }
  body.theme-m .m-top__logo { width: 40px; height: 40px; }
  body.theme-m .m-top__actions { gap: 1rem; }
  body.theme-m .m-mega__bar { padding: 1rem 1.25rem; }
  body.theme-m .m-mega__grid { padding: 1.75rem 1.25rem 2rem; }
}

body.theme-m .m-contact {
  margin: 0;
  padding: calc(var(--m-header-h) + var(--m-space-8)) var(--m-gutter) var(--m-space-16);
}
body.theme-m .m-contact__crumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 12px;
  margin-bottom: 40px;
  color: var(--m-muted, #9ca3af);
}
body.theme-m .m-contact__crumbs li:not(:last-of-type)::after { content: '›'; margin-left: 0.5rem; color: var(--m-muted, #9ca3af); }
body.theme-m .m-contact__crumbs a { color: var(--m-muted, #9ca3af); text-decoration: none; }
body.theme-m .m-contact__crumbs a:hover { color: var(--m-brand, #ffb800); }

.mh-section__desc {     margin: 0 auto 2.5rem;
  font-size: 4rem;
  line-height: 1.6;
  color: var(--m-brand);
}


/* заголовок — великий, залитий, зліва (як модулі) */
body.theme-m .m-contact__head { margin: var(--m-space-4) 0 var(--m-space-10); }
body.theme-m .m-contact__head h1 {
  margin: 0;
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--m-ink, #11141a);
}

/* контакти — просто, без блоків */
body.theme-m .m-contact__grid {
  display: flex; flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
}
body.theme-m .m-contact__card {
  display: flex; flex-direction: column; gap: 0.6rem;
  text-decoration: none; background: none; border: 0; padding: 0;
}
body.theme-m .m-contact__label {
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--m-muted, #9ca3af);
}
body.theme-m .m-contact__value {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem); font-weight: 700;
  color: var(--m-ink, #11141a); line-height: 1.3;
}
a.m-contact__card:hover .m-contact__value { color: var(--m-brand, #ffb800); }

/* блок «надіслати повідомлення» */
body.theme-m .m-contact__cta { margin-top: clamp(2rem, 4vw, 3rem); }
body.theme-m .m-contact__lead { margin: 0 0 1.6rem; max-width: 48rem; color: var(--m-muted, #6b7280); font-size: clamp(1.6rem, 2vw, 1.9rem); line-height: 1.6; }
body.theme-m .m-contact .m-btn svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  body.theme-m .m-contact__head h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
}

/* мобільні: гасимо негативні маржини Bootstrap-рядка всередині m-contact
   (сторінка активації), інакше .row вилазить за viewport на кілька px */
@media (max-width: 767px) {
  body.theme-m .m-contact #content .row { margin-left: 0; margin-right: 0; }
}

/* ════════════════════════════════════════════════════════════════════════
   Сторінка інтеграцій (default_m) — у стилі сайту: великий залитий заголовок,
   структуровані картки методів інтеграції. Без декоративних зображень.
   ════════════════════════════════════════════════════════════════════════ */

.bl-content_m {
  margin: clamp(40px, 9vh, 96px) 0px 0px;
}
body.theme-m .m-intg {
  margin: 0;
  padding: calc(var(--m-header-h) + var(--m-space-8)) var(--m-gutter) var(--m-space-16);
}
body.theme-m .m-intg__head { margin: var(--m-space-4) 0 var(--m-space-6); }
body.theme-m .m-intg__head h1 {
  margin: 0;
  font-family: var(--mh-display, 'Onest', sans-serif);
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  font-weight: 900; line-height: 0.92; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--m-ink, #11141a);
}
body.theme-m .m-intg__lead {
  margin: 0 0 var(--m-space-6); max-width: 52rem;
  color: var(--m-muted, #6b7280); font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.6;
}
body.theme-m .m-intg__note {
  display: flex;
  gap: 0.7rem;
  height: max-content;
  align-items: flex-start;
  margin: 0 0 var(--m-space-10);
  max-width: 52rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 14px;
  color: #6b5a1f;
  font-size: 1.35rem;
  line-height: 1.5;
}
body.theme-m .m-intg__note svg { width: 22px; height: 22px; flex-shrink: 0; color: #a06f00; margin-top: 1px; }

/* дві групи методів */
body.theme-m .m-intg__methods {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
body.theme-m .m-intg__group-title {
  margin: 0 0 0.6rem; font-family: var(--mh-display, 'Onest', sans-serif);
  font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); color: var(--m-ink, #11141a); letter-spacing: -0.01em;
}
body.theme-m .m-intg__group-desc { margin: 0 0 1.75rem; color: var(--m-muted, #6b7280); font-size: 1.4rem; line-height: 1.55; }

body.theme-m .m-intg__cards { display: flex; flex-direction: column; gap: 1.25rem; }
body.theme-m .m-intg__card {
  background: #fff; border: 1px solid var(--m-line, #ececec); border-radius: var(--m-radius-lg, 16px);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
body.theme-m .m-intg__card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
body.theme-m .m-intg__logo { height: 40px; width: auto; object-fit: contain; }
body.theme-m .m-intg__card-name { font-family: var(--mh-display, 'Onest', sans-serif); font-weight: 800; font-size: 1.6rem; color: var(--m-ink, #11141a); }
body.theme-m .m-intg__card-text { margin: 0 0 1rem; color: var(--m-muted, #6b7280); font-size: 1.3rem; line-height: 1.5; }

body.theme-m .m-intg__files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
body.theme-m .m-intg__files > li { display: flex; flex-direction: column; gap: 0.2rem; }
body.theme-m .m-intg__files a {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.7rem; margin: 0 -0.7rem; border-radius: 10px;
  color: var(--m-ink, #11141a); font-size: 1.45rem; font-weight: 600; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
body.theme-m .m-intg__files a:hover { background: rgba(255, 184, 0, 0.14); color: #8a6d00; }
body.theme-m .m-intg__files a svg { width: 18px; height: 18px; color: var(--m-brand, #ffb800); flex-shrink: 0; }
body.theme-m .m-intg__creds { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.1rem; color: var(--m-muted, #9ca3af); padding-left: 1.9rem; }
body.theme-m .m-intg__hint { margin: 0.9rem 0 0; font-size: 1.2rem; color: var(--m-muted, #9ca3af); line-height: 1.5; }

body.theme-m .m-intg__cta { margin-top: clamp(2.5rem, 5vw, 4rem); }
body.theme-m .m-intg .m-btn svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  body.theme-m .m-intg__head h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
}

/* ════════ Документація (модульна): легша, дихаюча типографіка (2026-06-25) ════════ */
body.theme-m .docs-desc {
  max-width: 860px;
  font-family: var(--m-font);
  font-size: 14px;
  line-height: 1.75;
  color: var(--m-ink-2);
}
body.theme-m .docs-desc > *:first-child { margin-top: 0; }
body.theme-m .docs-desc p { margin: 0 0 1.15em; }
body.theme-m .docs-desc h2 {
  margin: 2.3em 0 .65em;
  font-size: 1.42em;
  font-weight: 700;
  line-height: 1.3;
  color: var(--m-ink);
  letter-spacing: -.01em;
}
body.theme-m .docs-desc h3 {
  margin: 1.75em 0 .5em;
  font-size: 1.14em;
  font-weight: 600;
  color: var(--m-ink);
}
body.theme-m .docs-desc h2 + p, .docs-desc h3 + p,
body.theme-m .docs-desc h2 + ul, .docs-desc h3 + ul,
body.theme-m .docs-desc h2 + ol, .docs-desc h3 + ol { margin-top: 0; }
body.theme-m .docs-desc ul, .docs-desc ol { margin: .45em 0 1.3em; padding-left: 1.45em; }
body.theme-m .docs-desc li { margin-bottom: .5em; }
body.theme-m .docs-desc li > ul, .docs-desc li > ol { margin: .5em 0 .35em; }
body.theme-m .docs-desc b, .docs-desc strong { font-weight: 600; color: var(--m-ink); }
body.theme-m .docs-desc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: var(--m-line-soft);
  border: 1px solid var(--m-line);
  border-radius: 5px;
  padding: .12em .42em;
  color: var(--m-dark-2);
}
body.theme-m .docs-desc table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.4em 0 1.7em;
  font-size: .96em;
  border: 1px solid var(--m-line);
  border-radius: 10px;
  overflow: hidden;
}
body.theme-m .docs-desc th, .docs-desc td {
  padding: .7em .95em;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--m-line);
}
body.theme-m .docs-desc tr:first-child th, .docs-desc thead th {
  background: var(--m-line-soft);
  font-weight: 600;
  color: var(--m-ink);
}
body.theme-m .docs-desc tr:last-child td, .docs-desc tr:last-child th { border-bottom: 0; }
body.theme-m .docs-desc blockquote {
  margin: 1.4em 0;
  padding: .9em 1.2em;
  background: var(--m-brand-soft);
  border-left: 3px solid var(--m-brand);
  border-radius: 0 8px 8px 0;
  color: var(--m-ink-2);
}
body.theme-m .docs-desc blockquote p:last-child { margin-bottom: 0; }
body.theme-m .docs-desc hr { border: 0; border-top: 1px solid var(--m-line); margin: 2em 0; }

/* мобільні: широкі таблиці документації прокручуються горизонтально в межах
   свого блоку, а не розпихають сторінку (інакше з'являється горизонтальний скрол) */
@media (max-width: 767px) {
  body.theme-m .docs-desc table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

