/* ============================================================
   Лендинг «Меню 3.0» — Concept 2
   Мобільний макет 390px. На ПК та планшеті — той самий макет,
   колонкою по центру (max-width 430px).
   Усі відносні розміри рахуються від ширини колонки (cqw),
   а не від вікна, тому на великому екрані нічого не «розповзається».
   ============================================================ */

.m30 {
  --bg: #191919;
  --surface: #2a2a2a;
  --surface-line: #393939;
  --black: #000000;
  --black-line: #363636;
  --red: #fe152d;
  --red-line: #ff6675;
  --pink: #ff9a9a;
  --muted: #9a9a9a;
  --light: #d9d9d9;
  --white: #ffffff;

  --font: 'Gotham Pro', 'Montserrat', Arial, sans-serif;
  /* Druk Cyr свідомо прибраний зі стека: він не вантажиться з сайту, тож у
     відвідувачів усе одно Oswald — а в кого Druk стоїть локально, той бачив би
     інші переноси. Підміна теж має бути вузькою, поки Oswald вантажиться
     (Roboto Condensed є на більшості Android). */
  --font-d: 'Oswald', 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue Condensed', sans-serif;

  --gutter: 20px;
  --col: 430px;
}

/* ===== скидач чужих стилів конструктора (додає embed/build.js) ===== */
.m30 h1, .m30 h2, .m30 h3, .m30 h4, .m30 p, .m30 ul, .m30 ol, .m30 li,
.m30 figure, .m30 blockquote, .m30 a, .m30 span, .m30 strong, .m30 em,
.m30 button, .m30 article, .m30 section, .m30 div {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-align: inherit;
  text-indent: 0;
  float: none;
}
.m30 ul, .m30 ol { list-style: none; }
.m30 a { text-decoration: none; }
.m30 strong, .m30 b { font-weight: 700; }
.m30 em, .m30 i { font-style: italic; }
.m30 img { border: 0; max-width: 100%; height: auto; }
.m30 svg { border: 0; vertical-align: middle; }
.m30 button { -webkit-appearance: none; appearance: none; font: inherit; cursor: pointer; }
/* ===== кінець скидача ===== */

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

.m30, .m30 {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
}



/* щоб блок не впирався в самий верх екрана після переходу по якорю */
.m30 #m30-offer { scroll-margin-top: 14px; }

.m30 {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  /* жодне останнє слово абзацу не лишається саме на рядку */
  text-wrap: pretty;
}

.m30 .shell {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  container-type: inline-size;
  background: var(--bg);
  overflow-x: clip;
}

.m30 img { max-width: 100%; }
.m30 h1, .m30 h2, .m30 h3 { margin: 0; }
.m30 p { margin: 0; }
.m30 a { color: var(--white); }

.m30 .d {
  font-family: var(--font-d);
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  padding-block: 0.05em;
  overflow-wrap: break-word;
  /* рядки заголовків діляться порівну, без самотніх слів */
  text-wrap: balance;
}

.m30 .red { color: var(--red); }
.m30 .white { color: var(--white); }
.m30 .bold { font-weight: 700; }
.m30 .muted { color: var(--muted); }
.m30 .light { color: var(--light); }

.m30 .mark {
  background: linear-gradient(transparent 60%, rgba(254, 21, 45, 0.55) 60%, rgba(254, 21, 45, 0.55) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.m30 .hlb {
  display: inline;
  background: var(--black);
  color: var(--white);
  border-radius: 10px;
  padding: 0.03em 0.26em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.m30 .wrap { padding: 0 var(--gutter); }

.m30 .section {
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.m30 .section__title {
  font-size: min(38px, 9.6cqw);
  line-height: 1.2;
  text-align: center;
}

/* ═════ HERO ═════ */

.m30 .hero {
  position: relative;
  overflow: clip;
  /* майже рівний червоний із ледь помітним відблиском угорі */
  background:
    radial-gradient(ellipse 90% 50% at 50% 16%, rgba(255, 120, 130, 0.20) 0%, rgba(255, 120, 130, 0) 70%),
    var(--red);
  border-radius: 0 0 40px 40px;
  padding: 12px 12px 26px;
}

/* Чорна картка на червоному — так само, як на інших лендингах сайту. */
.m30 .promo {
  position: relative;
  overflow: clip;
  background: #0d0d0d;
  border: 1px solid #242424;
  border-radius: 36px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  padding: 22px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.m30 .promo > * { position: relative; }

/* картка тепер чорна — рожевий відблиск усередині не потрібен */
.m30 .promo__glow {
  display: none;
  position: absolute;
  left: 50%;
  top: -40px;
  width: 280px;
  height: 200px;
  margin-left: -140px;
  border-radius: 50%;
  background: var(--pink);
  filter: blur(70px);
  opacity: 0.55;
}

.m30 .promo__eyebrow {
  font-size: 12px;
  line-height: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
}

.m30 .promo__title {
  font-size: min(40px, 10.4cqw);
  line-height: 1.15;
  color: var(--white);
}

.m30 .promo__note {
  margin-top: 2px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}

.m30 .timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.m30 .timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.m30 .timer__num {
  display: block;
  color: var(--white);
  font-size: min(54px, 13.5cqw);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.m30 .timer__label {
  font-size: 10px;
  line-height: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

.m30 .hero__text {
  padding: 24px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m30 .hero__title {
  /* розмір підібраний так, щоб «СТОП ОБМЕЖУВАЛЬНИМ ДІЄТАМ» в Oswald
     лишалося одним рядком, а весь заголовок — двома */
  font-size: min(37px, 6.6cqw);
  line-height: 1.34;
  color: var(--white);
  text-align: center;
}

.m30 .hero__sub {
  /* трохи менший кегль, щоб «дітей.» не падало окремим рядком */
  font-size: min(18px, 4.5cqw);
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

/* ═════ ВСТУП: фото + CTA ═════ */

.m30 .intro {
  padding: 28px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.m30 .intro__card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 30px;
  padding: 12px 12px 18px;
}

.m30 .intro__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.m30 .intro__text {
  font-size: 16px;
  line-height: 26px;
  color: var(--light);
  text-align: center;
}

.m30 .intro__text strong { color: var(--white); }

.m30 .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: filter .18s ease, background .18s ease;
}

.m30 .cta:focus-visible { outline: 3px solid #ff8793; outline-offset: 3px; }

/* Бейдж знижки живе над кнопкою, а не всередині неї:
   у кнопці лишаються тільки дія і стрілка. */

.m30 .intro__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.m30 .sale-badge {
  background: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.m30 .cta--hero {
  width: 100%;
  min-height: 80px;
  padding: 12px 20px;
  background: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 55px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15), 0 16px 34px rgba(254, 21, 45, 0.3);
  color: var(--white);
}

.m30 .cta--hero:hover { filter: brightness(1.08); }

.m30 .cta__label { font-size: 16px; line-height: 23px; text-wrap: balance; }

.m30 .cta__circle {
  display: inline-flex;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
}

/* ═════ БІЛЬ ═════ */

.m30 .pain__intro {
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

.m30 .pain .muted { font-size: 16px; line-height: 26px; }

.m30 .quote {
  margin: 0;
  padding: 6px 0 6px 20px;
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m30 .quote__why {
  font-size: min(46px, 11.8cqw);
  line-height: 1.15;
  color: var(--red);
}

.m30 .quote .muted { font-size: 16px; line-height: 25px; }

.m30 .quote__lead {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.m30 .quote__lead strong { font-weight: 700; }

.m30 .timeline {
  position: relative;
  margin: 8px 0 0;
  padding: 0 0 0 30px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(var(--surface-line), var(--surface-line)) 7px 8px / 2px calc(100% - 16px) no-repeat;
}

.m30 .timeline li { position: relative; }

.m30 .timeline__dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--bg);
}

.m30 .timeline p {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
}

.m30 .timeline strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 25px;
  color: var(--white);
}

.m30 .pain__card {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 32px;
  padding: 26px 20px;
}

.m30 .pain__verdict { font-size: min(32px, 8.2cqw); line-height: 1.2; }
.m30 .pain__fix { font-size: 17px; line-height: 27px; }

.m30 .coach {
  position: relative;
  overflow: clip;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 32px;
  padding: 24px 22px 0;
}

.m30 .coach__title { font-size: min(30px, 7.8cqw); line-height: 1.2; text-align: center; }

.m30 .coach__media {
  height: min(380px, 97cqw);
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.m30 .coach__media img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
}

/* ═════ ВСЕРЕДИНІ ═════ */

.m30 .inside { padding-top: 60px; gap: 32px; }

.m30 .inside__card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 40px;
  padding: 14px 14px 22px;
}

.m30 .inside__card--pdf { padding: 26px 14px 14px; }

.m30 .inside__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px;
}

.m30 .inside__head h3 {
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  text-wrap: balance;
}

.m30 .num {
  display: inline-flex;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: var(--red);
  border: 1px solid var(--red-line);
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
}

.m30 .inside__sub {
  padding: 0 10px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

/* віяло зі сторінок */

.m30 .fan {
  padding: 36px 10px;
  border-radius: 30px;
  border: 1px solid var(--black-line);
  background: radial-gradient(ellipse 60% 55% at 50% 60%, rgba(254, 21, 45, 0.26) 0%, rgba(254, 21, 45, 0.08) 45%, rgba(0, 0, 0, 0) 75%), var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m30 .fan__item {
  border-radius: 10px;
  overflow: clip;
  background: #f7f5f0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.m30 .fan__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.m30 .fan__item--center {
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.m30 .fan--menu .fan__item { aspect-ratio: 620 / 877; }
.m30 .fan--menu .fan__item--left { width: 92px; margin-right: -18px; transform: rotate(-8deg) translateY(12px); }
.m30 .fan--menu .fan__item--center { width: 104px; }
.m30 .fan--menu .fan__item--right { width: 92px; margin-left: -18px; transform: rotate(8deg) translateY(12px); }

.m30 .fan--pdf .fan__item { aspect-ratio: 440 / 622; }
.m30 .fan--pdf .fan__item--left { width: 96px; margin-right: -16px; transform: rotate(-7deg) translateY(10px); }
.m30 .fan--pdf .fan__item--center { width: 108px; }
.m30 .fan--pdf .fan__item--right { width: 96px; margin-left: -16px; transform: rotate(7deg) translateY(10px); }

/* ═════ Списки ═════ */

.m30 .icon-list, .m30 .dot-list, .m30 .check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 23px;
  /* щоб останнє слово пункту не падало саме на окремий рядок */
  text-wrap: pretty;
}

.m30 .icon-list li, .m30 .dot-list li, .m30 .check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.m30 .dot-list li { gap: 14px; }

.m30 .icon-list svg, .m30 .check-list svg { width: 22px; height: 22px; flex-shrink: 0; }

.m30 .bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 8px;
}

.m30 .icon-list { padding: 0 10px; }

.m30 .dot-list--panel {
  margin: 0 6px;
  padding: 22px;
  background: var(--black);
  border: 1px solid var(--black-line);
  border-radius: 28px;
}

.m30 .inside__card--pdf .dot-list { padding: 0 10px; }

.m30 .dot-list--wide { gap: 16px; }

.m30 .check-list { gap: 11px; font-size: 15px; line-height: 22px; font-weight: 700; }

/* ═════ ЧІТМІЛ ═════ */

.m30 .cheat__lead {
  font-size: 19px;
  line-height: 28px;
  font-weight: 700;
  text-align: center;
}

.m30 .cheat__note {
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
  text-align: center;
}

.m30 .cheat__result {
  font-size: 15px;
  line-height: 24px;
  color: var(--light);
  padding-left: 16px;
  border-left: 3px solid var(--red);
}

.m30 .dishes {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Фото обтікається текстом: довгий опис іде й під картинкою,
   тому під нею не лишається порожнього місця. */

.m30 .dish {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 26px;
  padding: 12px;
}

.m30 .dish::after { content: ''; display: block; clear: both; }

.m30 .dish__media {
  float: left;
  width: 104px;
  margin: 0 14px 8px 0;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: clip;
  background: #f2efe9;
  shape-outside: inset(0 round 18px);
}

.m30 .dish__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.m30 .dish__body { padding-top: 2px; }

.m30 .dish__body > * + * { margin-top: 6px; }

.m30 .dish__body h3 { font-size: 16px; line-height: 22px; font-weight: 700; }
.m30 .dish__fact { font-size: 14px; line-height: 21px; font-weight: 600; }
.m30 .dish__quote { font-size: 14px; line-height: 21px; font-style: italic; }

/* ═════ МАТЕМАТИКА ═════ */

.m30 .math { gap: 18px; }

.m30 .math__title {
  font-size: min(40px, 10cqw);
  line-height: 1.2;
  text-align: center;
}

.m30 .carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 8px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.m30 .carousel__track::-webkit-scrollbar { display: none; }

.m30 .math__card {
  flex: 0 0 min(282px, calc(100cqw - 76px));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 30px;
  padding: 24px 22px;
}

.m30 .math__icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--black);
  align-items: center;
  justify-content: center;
}

.m30 .math__icon svg { width: 24px; height: 24px; }

.m30 .math__card h3 { font-size: 21px; line-height: 27px; font-weight: 700; }
.m30 .math__card p { font-size: 15px; line-height: 23px; }

.m30 .dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 6px;
}

.m30 .dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.m30 .dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #545454;
  transition: width .2s, background .2s;
}

.m30 .dot.is-on span { width: 24px; background: var(--red); }
.m30 .dot:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; border-radius: 8px; }

/* ═════ ПРОПОЗИЦІЯ ═════ */

.m30 .offer {
  position: relative;
  overflow: clip;
  margin-top: 60px;
  background: var(--red);
  border-radius: 50px;
  padding: 52px var(--gutter) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.m30 .offer > *:not(.offer__glow) { position: relative; }

.m30 .offer__glow {
  position: absolute;
  left: 50%;
  top: 260px;
  width: 360px;
  height: 360px;
  margin-left: -180px;
  border-radius: 50%;
  background: var(--pink);
  filter: blur(100px);
  opacity: 0.55;
}

.m30 .offer__title { font-size: min(46px, 11.8cqw); line-height: 1.2; }

.m30 .offer__badge {
  background: var(--black);
  border: 1px solid var(--black-line);
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.m30 .offer__note {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 10px;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.m30 .timer--big { gap: min(14px, 3cqw); }

.m30 .timer--big .timer__unit { gap: 2px; min-width: min(78px, 20cqw); }

.m30 .timer--big .timer__num { font-size: min(64px, 16cqw); }

.m30 .timer--big .timer__label { font-size: 11px; line-height: 14px; color: rgba(255, 255, 255, 0.85); }

.m30 .timer__colon {
  font-size: min(40px, 10cqw);
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.7);
}

.m30 .timer--big .timer__colon { font-size: min(50px, 12.5cqw); color: var(--white); }

.m30 .offer__book {
  display: block;
  width: 104%;
  max-width: none;
  margin: 4px -2% 0;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.3));
}

.m30 .offer__panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  background: var(--black);
  border: 1px solid var(--black-line);
  border-radius: 34px;
  padding: 30px 20px 20px;
}

/* Шапка панелі: назва — найбільша, далі підпис, далі дрібний рядок про знижку */

.m30 .offer__product {
  font-size: min(38px, 9.4cqw);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.m30 .offer__today {
  margin-top: -6px;
  font-size: 16px;
  line-height: 23px;
  font-weight: 500;
  color: var(--light);
}

.m30 .offer__discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.m30 .offer__limited {
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-wrap: balance;
}

.m30 .offer__panel .check-list { text-align: left; }

.m30 .offer__pill {
  background: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.m30 .price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--black-line);
}

.m30 .price__old {
  margin-top: 12px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

.m30 .price__new {
  font-size: min(84px, 21cqw);
  line-height: 1;
  white-space: nowrap;
}

.m30 .cta--white {
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: var(--black);
  /* один рядок на будь-якій ширині: 18px, але не ширше за кнопку */
  font-size: min(18px, 4.6cqw);
  line-height: 24px;
  white-space: nowrap;
}

.m30 .cta--white svg { width: 24px; height: 24px; flex-shrink: 0; }

.m30 .cta--white:hover { background: #f1f1f1; }

/* ═════ СИСТЕМА ═════ */

.m30 .system { padding: 60px 0 56px; gap: 32px; }

.m30 .system__card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 40px;
  padding: 28px 24px;
}

.m30 .system__recipe {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--black);
  border: 1px solid var(--black-line);
  border-radius: 40px;
  padding: 28px 24px;
}

.m30 .system__recipe h3 { font-size: 22px; line-height: 28px; font-weight: 600; }

/* ═════ ВІДГУКИ (карусель скріншотів) ═════ */

.m30 .reviews .carousel__track {
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 8px;
  list-style: none;
  align-items: flex-start;
  min-height: 220px;
  transition: height .25s ease;
}

.m30 .review {
  flex: 0 0 min(321px, calc(100cqw - 70px));
  scroll-snap-align: start;
}

.m30 .review img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--surface);
}

/* Багато слайдів: крапки ділять рядок порівну й ніколи не переносяться */

.m30 .dots--compact {
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}

.m30 .dots--compact .dot {
  flex: 1 1 0;
  min-width: 10px;
  max-width: 28px;
  height: 20px;
}

.m30 .dots--compact .dot span { width: 6px; height: 6px; }
.m30 .dots--compact .dot.is-on span { width: 12px; }

/* ═════ ІДЕАЛЬНО ПОЄДНУЄТЬСЯ З… ═════ */

.m30 .upsell { gap: 18px; }

.m30 .upsell__title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  text-align: center;
}

.m30 .product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 36px;
  padding: 24px 20px 20px;
}

.m30 .product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.m30 .product__media img {
  display: block;
  width: 64%;
  max-width: 230px;
  height: auto;
}

.m30 .product__name {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.m30 .product__list {
  align-self: stretch;
  text-align: left;
  gap: 10px;
}

.m30 .product__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.m30 .product__old {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

.m30 .product__new {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
}

.m30 .cta--red {
  align-self: stretch;
  justify-content: center;
  padding: 10px 22px;
  background: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 55px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  line-height: 22px;
  cursor: pointer;
}

.m30 .cta--red:hover { filter: brightness(1.08); }

/* ═════ ПІДТРИМКА ═════ */

.m30 .support {
  margin-top: 56px;
  padding: 44px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.m30 .support__eyebrow {
  font-size: 15px;
  line-height: 22px;
  color: var(--light);
}

.m30 .support__title { font-size: min(40px, 10cqw); line-height: 1.2; }

.m30 .tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  margin-top: 8px;
  background: #2f2f2f;
  border: 1px solid #3d3d3d;
  border-radius: 40px;
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: background .18s ease;
}

.m30 .tg:hover { background: #3a3a3a; }
.m30 .tg:focus-visible { outline: 3px solid #ff8793; outline-offset: 3px; }

.m30 .support__hours {
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

/* ═════ ПІДВАЛ ═════ */

.m30 .footer {
  background: #111111;
  padding: 36px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.m30 .footer__title { font-size: 17px; line-height: 24px; font-weight: 500; }

.m30 .footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--light);
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
}

.m30 .footer__mail:hover { color: var(--white); }

.m30 .footer__legal {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.m30 .footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.m30 .footer__links a {
  font-size: 14px;
  line-height: 20px;
  color: var(--light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.m30 .footer__links a:hover { color: var(--white); }

/* ═════ Поява блоків при гортанні ═════
   Клас js-reveal вішає маленький скрипт у <head>, і тільки якщо людина
   не просила зменшити анімації. Без JS усе лишається видимим. */

.m30.is-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.m30.is-anim .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease-out, transform .55s cubic-bezier(.22, .61, .36, 1);
}

/* ═════ Доступність ═════ */

@media (prefers-reduced-motion: reduce) {
  .m30 * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .m30 .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== колір посилань поверх правил конструктора ===== */
.m30 a { color: var(--white) !important; }
.m30 .cta--white { color: var(--black) !important; }
.m30 .tg { color: var(--white) !important; }
.m30 .footer__mail, .m30 .footer__links a { color: var(--light) !important; }
.m30 .footer__mail:hover, .m30 .footer__links a:hover { color: var(--white) !important; }

/* ===== блок-джерело кнопок кошика ===== */
.m30-cart-source {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
