/* МІНІСТЕРСТВО ТЕЙПІВ v3 — зібрано 2026-09-23 01:35. Не редагувати: правити css/*.css */

/* ===== tokens.css ===== */
/* ==========================================================================
   МІНІСТЕРСТВО ТЕЙПІВ · v3 · Дизайн-токени «Playful Bureaucracy 2.0»
   Єдине джерело правди для кольорів, шрифтів, форм і руху.
   ========================================================================== */

:root {
  /* — Папір і чорнило — */
  --paper:        #F5F2EA;
  --paper-2:      #ECE8DD;
  --paper-3:      #E3DECF;
  --ink:          #0B1B3A;
  --ink-60:       #4A567A;
  --ink-30:       #9AA3BA;
  --white:        #FFFFFF;

  /* — Акценти — */
  --blue:         #1F3BFF;
  --blue-dark:    #1630CC;
  --blue-soft:    #E4E8FF;
  --yellow:       #FFD23F;
  --yellow-dark:  #E6B800;
  --red:          #E5352B;   /* ЛИШЕ печатки і помилки */
  --red-soft:     #FDE3E1;
  --green:        #157F46;   /* темніший за 1E9E5A: 11px-текст мав контраст 3.45 замість 4.5 */
  --green-soft:   #E1F4EA;

  /* — Лінії — */
  --line:         #D9D3C4;
  --line-strong:  #BFB7A3;

  /* — Палітра тейпів (свотчі, ілюстрації) — */
  --t-blue:        #2F6BFF;
  --t-black:       #141414;
  --t-white:       #FFFFFF;
  --t-beige:       #E8C39E;
  --t-beige-dark:  #B98865;
  --t-pink:        #FF6FA5;
  --t-red:         #E63B2E;
  --t-green:       #2BB673;
  --t-yellow:      #FFD400;
  --t-orange:      #FF8A1E;
  --t-violet:      #7A4DFF;

  /* — Шрифти — */
  --f-display: 'Unbounded', 'Onest', system-ui, -apple-system, sans-serif;
  --f-body:    'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, Consolas, monospace;

  /* — Розміри — */
  --fs-h1:    clamp(48px, 5.4vw, 88px);
  --fs-h2:    clamp(30px, 3.6vw, 52px);
  --fs-h3:    clamp(22px, 2.2vw, 30px);
  --fs-h4:    21px;
  --fs-body:  17px;
  --fs-small: 15px;
  --fs-label: 12px;

  --lh-display: .95;
  --lh-body:    1.55;
  --ls-display: -.03em;
  --ls-label:   .12em;

  /* — Форма — */
  --r-card:    28px;
  --r-card-sm: 20px;
  --r-input:   14px;
  --r-pill:    999px;
  --r-chip:    12px;

  --shadow-1: 0 24px 64px rgba(11, 27, 58, .08);
  --shadow-2: 0 32px 80px rgba(11, 27, 58, .14);
  --stamp-rot: -6deg;

  /* — Сітка й ритм — */
  --container: 1280px;
  --gutter:    24px;
  --section:   120px;

  /* — Рух — */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back:   cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 160ms;
  --dur:      280ms;
  --dur-slow: 480ms;

  /* — Шари — */
  --z-header: 100;
  --z-drawer: 200;
  --z-modal:  300;
  --z-toast:  400;
}

@media (max-width: 1023px) {
  :root {
    --section: 72px;
    --r-card:  24px;
    --fs-body: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur:      0ms;
    --dur-slow: 0ms;
  }
}


/* ===== base.css ===== */
/* ==========================================================================
   v3 · База: reset, типографіка, сітка, утиліти
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  /* clip, а не hidden: не ламає sticky-хедер, але прибирає
     горизонтальний скрол від off-canvas панелей */
  overflow-x: clip;
}

body.mot-v3 {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  /* overflow-x на body ламає sticky-хедер і перемальовування довгих сторінок —
     горизонтальні виходи ріжемо локально в .mot-hero та .mot-tape */
}

/* Зернистість паперу — фоном самого body, без окремого fixed-шару.
   Fixed-оверлей на всю сторінку ламає перемальовування довгих сторінок
   у частині рендерерів, тому свідомо його не використовуємо. */
body.mot-v3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.mot-v3 img { max-width: 100%; height: auto; }
.mot-v3 a   { color: inherit; text-decoration: none; }
.mot-v3 button, .mot-v3 input, .mot-v3 select, .mot-v3 textarea { font: inherit; color: inherit; }

/* — Типографіка — */
.mot-h1, .mot-v3 h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  margin: 0;
}
.mot-h2, .mot-v3 h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
}
.mot-h3, .mot-v3 h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.15;
  margin: 0;
}
.mot-num {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.02em;
}
.mot-label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-60);
}
.mot-small { font-size: var(--fs-small); color: var(--ink-60); }
.mot-lead  { font-size: 19px; color: var(--ink-60); max-width: 62ch; }

/* — Сітка — */
.mot-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.mot-section { padding: var(--section) 0; }
.mot-section--tight { padding: calc(var(--section) * .6) 0; }

/* Лейбл секції: коротка синя риска + mono-підпис */
.mot-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.mot-section-label::before {
  content: '';
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  flex: none;
}

.mot-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* — Утиліти — */
.mot-grid { display: grid; gap: var(--gutter); }
.mot-g2 { grid-template-columns: repeat(2, 1fr); }
.mot-g3 { grid-template-columns: repeat(3, 1fr); }
.mot-g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .mot-g3, .mot-g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .mot-g2, .mot-g3, .mot-g4 { grid-template-columns: 1fr; }
}

.mot-row { display: flex; align-items: center; gap: 12px; }
.mot-spacer { flex: 1 1 auto; }
.mot-hide-mobile { }
@media (max-width: 1023px) { .mot-hide-mobile { display: none !important; } }
.mot-only-mobile { display: none !important; }
@media (max-width: 1023px) { .mot-only-mobile { display: block !important; } }

.mot-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* — Фокус — */
.mot-v3 :focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* — Поява при скролі —
   Свідомо НЕ ховаємо контент прозорістю: анімуємо лише зсув.
   Текст читається завжди, навіть якщо скрипт не відпрацював,
   а частина рендерерів не перемальовує шар після зміни opacity. */
html.mot-anim .mot-reveal {
  transform: translateY(18px);
  transition: transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
html.mot-anim .mot-reveal.is-in,
.mot-reveal.is-in {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.mot-anim .mot-reveal { transform: none; transition: none; }
}

/* Ховаємо рідні елементи Astra, які замінюємо своїми */
.mot-v3 .ast-above-header,
.mot-v3 .site-header,
.mot-v3 .ast-primary-header-bar,
.mot-v3 .site-footer,
.mot-v3 .ast-below-header { display: none !important; }
.mot-v3 .site-content { padding: 0 !important; }
.mot-v3 #primary { margin: 0 !important; padding: 0 !important; }
.mot-v3 .ast-container { max-width: none !important; padding: 0 !important; }


/* ===== components.css ===== */
/* ==========================================================================
   v3 · Компоненти. Префікс .mot-
   ========================================================================== */

/* — Кнопки — */
.mot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.mot-btn:hover  { background: var(--blue-dark); transform: translateY(-1px); }
.mot-btn:active { transform: scale(.98); }
.mot-btn[disabled], .mot-btn.is-disabled { opacity: .45; pointer-events: none; }

.mot-btn--yellow  { background: var(--yellow); color: var(--ink); }
.mot-btn--yellow:hover { background: var(--yellow-dark); }
.mot-btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.mot-btn--outline:hover { background: var(--ink); color: var(--paper); }
.mot-btn--white   { background: var(--white); color: var(--ink); }
.mot-btn--ghost   { background: transparent; color: var(--blue); padding: 0 8px; }
.mot-btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.mot-btn--lg { height: 60px; padding: 0 34px; font-size: 17px; }
.mot-btn--block { display: flex; width: 100%; }
.mot-btn.is-added { background: var(--yellow); color: var(--ink); }

.mot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
}
.mot-link:hover { color: var(--blue-dark); }

/* — Чипи — */
.mot-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast);
}
.mot-chip:hover { border-color: var(--ink-30); }
.mot-chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.mot-chip:active { transform: scale(.96) rotate(1deg); }
.mot-chip__x { font-size: 18px; line-height: 1; opacity: .7; }
.mot-chip__hint {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-top: 4px;
  text-align: center;
}

/* — Свотчі — */
.mot-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(11, 27, 58, .12);
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.mot-swatch:hover { transform: scale(1.08); }
.mot-swatch.is-active { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--blue); }
.mot-swatch--sm { width: 22px; height: 22px; }
.mot-swatch--white { border-color: var(--line-strong); }
.mot-swatch--clear {
  background-image:
    linear-gradient(45deg, #ddd 25%, transparent 25%),
    linear-gradient(-45deg, #ddd 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ddd 75%),
    linear-gradient(-45deg, transparent 75%, #ddd 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0;
  background-color: var(--white);
}
.mot-swatch.is-oos::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, transparent 46%, var(--ink-30) 46%, var(--ink-30) 54%, transparent 54%);
  border-radius: 50%;
}
.mot-swatches { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mot-swatches--sm { gap: 6px; }
.mot-swatch-more { font-family: var(--f-mono); font-size: 12px; color: var(--ink-60); }

/* — Бейдж ширини — */
.mot-badge-w {
  display: inline-block;
  padding: 5px 12px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  transform: rotate(-2deg);
}

/* — Штамп — */
.mot-stamp {
  display: inline-block;
  position: relative;
  padding: 9px 18px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(var(--stamp-rot));
}
.mot-stamp::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dashed var(--ink);
  border-radius: 2px;
  pointer-events: none;
}
.mot-stamp--red   { background: transparent; border-color: var(--red); color: var(--red); }
.mot-stamp--red::after { border-color: var(--red); }
.mot-stamp--grey  { background: transparent; border-color: var(--ink-30); color: var(--ink-60); }
.mot-stamp--grey::after { border-color: var(--ink-30); }

/* — Печатка — */
.mot-seal {
  width: 112px; height: 112px;
  border: 3px solid var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-12deg);
  opacity: .9;
}
.mot-seal::before {
  content: '';
  position: absolute;
  width: 96px; height: 96px;
  border: 1px solid var(--red);
  border-radius: 50%;
}
.mot-seal--sm { width: 72px; height: 72px; font-size: 10px; }
.mot-seal--sm::before { width: 60px; height: 60px; }

/* — Стрічка тейпу — */
.mot-tape {
  background: var(--yellow);
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 18px rgba(11, 27, 58, .10);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.mot-tape__track {
  display: inline-flex;
  gap: 40px;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  will-change: transform;
}

/* — Картки — */
.mot-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur), box-shadow var(--dur);
}
.mot-card--flat { box-shadow: none; border: 1px solid var(--line); }
.mot-card--paper { background: var(--paper-2); box-shadow: none; }
.mot-card--navy { background: var(--ink); color: var(--paper); }
.mot-card--navy .mot-label { color: rgba(245, 242, 234, .6); }
.mot-card--hoverable:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

/* — Картка товару — */
.mot-pcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur), box-shadow var(--dur);
  position: relative;
}
.mot-pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.mot-pcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mot-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.mot-pcard:hover .mot-pcard__media img { transform: scale(1.04); }
.mot-pcard__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.mot-pcard__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.mot-pcard__fav:hover { background: var(--white); transform: scale(1.06); }
.mot-pcard__fav.is-on svg { fill: var(--red); stroke: var(--red); }
.mot-pcard__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mot-pcard__name {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mot-pcard__price { font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.mot-pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mot-pcard__stock { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.mot-pcard__oos { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(245, 242, 234, .72); z-index: 3; }

/* Плитка «Підбір по тілу» всередині сітки товарів */
a.mot-pcard--promo,
.mot-pcard--promo {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
}

/* — Картка-папка (відділ) — */
.mot-folder {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-1);
  perspective: 700px;
  transition: transform var(--dur), box-shadow var(--dur);
}
.mot-folder:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.mot-folder__tab {
  position: absolute;
  top: -14px; left: 26px;
  padding: 5px 14px 7px;
  background: var(--paper-3);
  border-radius: 8px 8px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-60);
  transform-origin: bottom center;
  transition: transform var(--dur) var(--ease-out);
}
.mot-folder:hover .mot-folder__tab { transform: rotateX(-16deg); }
.mot-folder__media { aspect-ratio: 16 / 10; background: var(--paper-2); border-radius: var(--r-card-sm); margin-bottom: 18px; display: grid; place-items: center; overflow: hidden; }
.mot-folder.is-soon { opacity: .55; pointer-events: none; }

/* — Поля — */
.mot-field { display: block; margin-bottom: 18px; }
.mot-field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.mot-field__input,
.mot-v3 input[type=text], .mot-v3 input[type=email], .mot-v3 input[type=tel],
.mot-v3 input[type=password], .mot-v3 input[type=search], .mot-v3 input[type=number],
.mot-v3 select, .mot-v3 textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--white);
  font-size: 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.mot-v3 textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.mot-field__input:focus, .mot-v3 input:focus, .mot-v3 select:focus, .mot-v3 textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.mot-field.is-error .mot-field__input, .mot-field.is-error input { border-color: var(--red); }
.mot-field__help { font-size: 13px; color: var(--ink-60); margin-top: 6px; }
.mot-field.is-error .mot-field__help { color: var(--red); }

/* Радіо-картка */
.mot-radio-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.mot-radio-card:hover { border-color: var(--ink-30); }
.mot-radio-card.is-checked { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.mot-radio-card__title { font-weight: 600; }
.mot-radio-card__meta { font-size: 14px; color: var(--ink-60); }

/* Степер */
.mot-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  height: 52px;
  background: var(--white);
}
.mot-stepper button {
  width: 46px; height: 100%;
  border: 0; background: transparent;
  font-size: 20px; cursor: pointer;
  color: var(--ink);
}
.mot-stepper button:hover { background: var(--paper-2); }
.mot-stepper input {
  width: 46px; height: 100%;
  border: 0; text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}
.mot-stepper input::-webkit-outer-spin-button,
.mot-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Сегментований перемикач */
.mot-seg {
  display: inline-flex;
  padding: 4px;
  background: var(--paper-2);
  border-radius: var(--r-pill);
  gap: 4px;
}
.mot-seg button {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mot-seg button.is-active { background: var(--ink); color: var(--paper); }

/* — Акордеон — */
.mot-acc { border-top: 1px solid var(--line); }
.mot-acc__item { border-bottom: 1px solid var(--line); }
.mot-acc__sum {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
}
.mot-acc__sum::-webkit-details-marker { display: none; }
.mot-acc__num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-30); letter-spacing: .1em; flex: none; }
.mot-acc__icon { margin-left: auto; font-size: 22px; color: var(--blue); flex: none; transition: transform var(--dur); }
.mot-acc__item[open] .mot-acc__icon { transform: rotate(45deg); }
.mot-acc__body { padding: 0 0 24px 46px; color: var(--ink-60); max-width: 76ch; }

/* — Таби — */
.mot-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.mot-tabs button {
  border: 0; background: transparent;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  color: var(--ink-60);
}
.mot-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }

/* — Таблиця-документ — */
.mot-doc { width: 100%; border-collapse: collapse; }
.mot-doc tr { border-bottom: 1px dashed var(--line); }
.mot-doc th {
  text-align: left;
  padding: 14px 0;
  width: 34%;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-60);
  vertical-align: top;
}
.mot-doc td { padding: 14px 0; }

/* — Хлібні крихти — */
.mot-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-60);
  padding: 22px 0;
}
.mot-crumbs a:hover { color: var(--blue); }
.mot-crumbs span[aria-hidden] { color: var(--ink-30); }

/* — Статуси — */
.mot-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mot-status--accepted { background: var(--blue-soft); color: var(--blue); }
.mot-status--packed   { background: var(--paper-3); color: var(--ink-60); }
.mot-status--shipped  { background: var(--blue); color: var(--white); }
.mot-status--transit  { background: var(--yellow); color: var(--ink); }
.mot-status--done     { background: var(--green-soft); color: var(--green); }
.mot-status--cancelled{ background: var(--red-soft); color: var(--red); }

/* Таймлайн замовлення */
.mot-timeline { display: flex; gap: 8px; }
.mot-timeline__step { flex: 1; text-align: center; position: relative; }
.mot-timeline__dot {
  width: 34px; height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--ink-60);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 13px;
  position: relative; z-index: 1;
}
.mot-timeline__step.is-done .mot-timeline__dot { background: var(--green); color: var(--white); }
.mot-timeline__step.is-active .mot-timeline__dot { background: var(--blue); color: var(--white); }
.mot-timeline__step::before {
  content: ''; position: absolute;
  top: 17px; left: -50%; width: 100%;
  border-top: 2px dashed var(--line);
}
.mot-timeline__step:first-child::before { display: none; }
.mot-timeline__label { font-size: 13px; color: var(--ink-60); }

/* — Прогрес доставки — */
.mot-progress { margin-bottom: 22px; }
.mot-progress__bar { height: 8px; background: var(--paper-3); border-radius: var(--r-pill); overflow: hidden; }
.mot-progress__fill { height: 100%; background: var(--green); border-radius: var(--r-pill); transition: width var(--dur-slow) var(--ease-out); }
.mot-progress__text { font-size: 14px; margin-bottom: 8px; color: var(--ink-60); }
.mot-progress.is-free .mot-progress__text { color: var(--green); font-weight: 600; }

/* — Drawer — */
.mot-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--paper);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(11, 27, 58, .18);
}
.mot-drawer.is-open { transform: none; }
.mot-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.mot-drawer__body { flex: 1; overflow-y: auto; padding: 22px; }
.mot-drawer__foot { padding: 22px; border-top: 1px solid var(--line); background: var(--white); }
.mot-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 27, 58, .4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur);
  z-index: calc(var(--z-drawer) - 1);
}
.mot-overlay.is-open { opacity: 1; pointer-events: auto; }

/* — Bottom sheet (мобілка) — */
.mot-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  max-height: 88vh;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  z-index: var(--z-drawer);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease-out);
  display: flex; flex-direction: column;
}
.mot-sheet.is-open { transform: none; }
.mot-sheet__handle { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 12px auto; flex: none; }
.mot-sheet__body { overflow-y: auto; padding: 0 20px 20px; }

/* — Toast — */
.mot-toast {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: var(--z-toast);
  display: flex; align-items: center; gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 20px;
  border-radius: var(--r-card-sm);
  box-shadow: var(--shadow-2);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur), transform var(--dur) var(--ease-out);
}
.mot-toast.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mot-toast a { color: var(--yellow); font-weight: 600; }

/* — Плаваюча «Приймальня» — */

/* — Нижня панель (мобілка) — */
.mot-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 64px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: none;
  z-index: var(--z-header);
}
@media (max-width: 1023px) {
  .mot-tabbar { display: flex; }
  body.mot-v3 { padding-bottom: 64px; }
}
.mot-tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-60);
  position: relative;
}
.mot-tabbar a.is-active { color: var(--blue); }
.mot-tabbar a.is-active::before {
  content: ''; position: absolute; top: 7px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue);
}

/* — Порожні стани — */
.mot-empty { text-align: center; padding: 72px 24px; max-width: 560px; margin: 0 auto; }
.mot-empty__art { margin-bottom: 26px; opacity: .5; }
.mot-empty h2 { margin-bottom: 12px; }
.mot-empty p { color: var(--ink-60); margin-bottom: 26px; }

/* — Модалка — */
.mot-modal {
  border: 0;
  border-radius: var(--r-card);
  padding: 32px;
  max-width: 560px;
  width: calc(100% - 40px);
  box-shadow: var(--shadow-2);
  background: var(--paper);
  color: var(--ink);
}
.mot-modal::backdrop { background: rgba(11, 27, 58, .45); }
.mot-modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: var(--paper-2);
  cursor: pointer;
  font-size: 18px;
}

/* Кнопки-посилання: .mot-v3 a { color: inherit } має вищу специфічність,
   тому повторюємо кольори явно для тега <a>. */
.mot-v3 a.mot-btn            { color: var(--white); }
.mot-v3 a.mot-btn--yellow    { color: var(--ink); }
.mot-v3 a.mot-btn--white     { color: var(--ink); }
.mot-v3 a.mot-btn--outline   { color: var(--ink); }
.mot-v3 a.mot-btn--outline:hover { color: var(--paper); }
.mot-v3 a.mot-link           { color: var(--blue); }


/* ===== chrome.css ===== */
/* ==========================================================================
   v3 · Хедер, футер, мобільне меню
   ========================================================================== */

/* — Топ-бар — */
.mot-topbar {
  background: var(--ink);
  color: rgba(245, 242, 234, .85);
  height: 36px;
  display: flex;
  align-items: center;
}
.mot-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mot-topbar .mot-label { color: inherit; }
.mot-topbar a:hover { color: var(--yellow); }
@media (max-width: 1023px) {
  .mot-topbar__in { justify-content: center; }
  .mot-topbar .mot-label { font-size: 10px; }
}

/* — Хедер — */
.mot-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur), height var(--dur);
}
.mot-header.is-stuck { box-shadow: 0 8px 30px rgba(11, 27, 58, .07); }
.mot-header__in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
  flex-wrap: nowrap;
}
@media (max-width: 1023px) { .mot-header__in { height: 64px; gap: 12px; } }

.mot-logo { display: flex; align-items: center; gap: 11px; flex: none; max-width: 230px; }
.mot-logo__img {
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: contain;
  mix-blend-mode: multiply;   /* світлий фон файлу зливається з папером */
}
@media (max-width: 1023px) { .mot-logo__img { width: 42px; height: 42px; } }
.mot-logo__text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.06;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.mot-nav { display: flex; align-items: center; gap: 20px; flex: 0 1 auto; min-width: 0; }
.mot-nav__link {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.mot-nav__link:hover { color: var(--blue); }
.mot-nav__link.is-active { color: var(--blue); border-bottom-color: var(--blue); }

.mot-search {
  flex: 0 1 220px;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;

  height: 44px;
  padding: 0 14px;
  background: var(--paper-2);
  border-radius: var(--r-input);
  color: var(--ink-60);

}
.mot-search input {
  border: 0 !important;
  background: transparent !important;
  height: auto !important;
  padding: 0 !important;
  font-size: 14px;
  width: 100%;
  box-shadow: none !important;
}
.mot-search input:focus { outline: 0; }
.mot-search--block { width: 100%; margin-bottom: 20px; }

.mot-hicon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
  flex: none;
}
.mot-hicon:hover { color: var(--blue); }

.mot-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  flex: none;
  transition: background var(--dur-fast);
}
.mot-cart-pill:hover { background: var(--blue-dark); color: var(--white); }
.mot-cart-count {
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  display: grid;
  place-items: center;
}

.mot-burger {
  width: 42px; height: 42px;
  border: 0; background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex: none;
}
@media (max-width: 1023px) { .mot-burger { display: flex; } }
.mot-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.mot-burger span:nth-child(2) { width: 70%; }

.mot-mmenu { list-style: none; margin: 0; padding: 0; }
.mot-mmenu li { border-bottom: 1px solid var(--line); }
.mot-mmenu a {
  display: block;
  padding: 16px 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
}

/* — Футер — */
.mot-footer {
  background: var(--ink);
  color: rgba(245, 242, 234, .78);
  padding: 72px 0 32px;
  margin-top: var(--section);
}
.mot-footer .mot-label { color: rgba(245, 242, 234, .55); margin-bottom: 16px; }
.mot-footer a { color: inherit; }
.mot-footer a:hover { color: var(--yellow); }
.mot-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 242, 234, .14);
}
@media (max-width: 1023px) { .mot-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 599px)  { .mot-footer__grid { grid-template-columns: 1fr; } }

.mot-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.mot-footer__phone {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--paper);
  margin: 0 0 14px;
}
.mot-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(245, 242, 234, .5);
  flex-wrap: wrap;
}
.mot-footer__pay { font-family: var(--f-mono); letter-spacing: .06em; }

/* — Перемикач мов — */
.mot-topbar__right { display: flex; align-items: center; gap: 16px; }
.mot-lang { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.mot-lang__item {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, .6);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mot-lang__item:hover { color: var(--paper); background: rgba(245, 242, 234, .12); }
.mot-lang__item.is-active { background: var(--yellow); color: var(--ink); font-weight: 500; }

/* У мобільному меню перемикач більший і на світлому тлі */
.mot-lang--menu { margin-top: 24px; gap: 8px; }
.mot-lang--menu .mot-lang__item {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--ink-60);
  background: var(--paper-2);
}
.mot-lang--menu .mot-lang__item.is-active { background: var(--blue); color: var(--white); }

@media (max-width: 1023px) {
  .mot-topbar__in { flex-direction: column; gap: 4px; }
  .mot-topbar__right { gap: 8px; }
  .mot-lang__item { padding: 2px 7px; font-size: 10px; }
}

/* ==========================================================================
   Банер cookie плагіна cookieadmin — у нашому оформленні.
   Плагін пише кольори інлайном, тому !important тут вимушений.
   На телефоні він займав пів екрана і перекривав нижню панель.
   ========================================================================== */
.mot-v3 .cookieadmin_law_container { z-index: 150 !important; font-family: var(--f-body); }
.mot-v3 .cookieadmin_consent_inside {
  border-radius: 20px !important;
  border: 0 !important;
  box-shadow: var(--shadow-2) !important;
  padding: 20px 22px !important;
  background: var(--white) !important;
}
.mot-v3 #cookieadmin_notice_title { font-family: var(--f-display); font-size: 15px; font-weight: 600; margin: 0 0 8px; color: var(--ink) !important; }
.mot-v3 #cookieadmin_notice { font-size: 13px; line-height: 1.45; color: var(--ink-60) !important; margin: 0 0 14px; }
.mot-v3 #cookieadmin_notice b { font-weight: 600; color: var(--ink); }
.mot-v3 .cookieadmin_consent_btns { display: flex; gap: 8px; margin: 0; }
.mot-v3 .cookieadmin_btn {
  flex: 1 1 0;
  margin: 0 !important;
  border-radius: 999px !important;
  height: 42px;
  padding: 0 10px !important;
  font: 600 14px/1 var(--f-body) !important;
  border: 1.5px solid var(--line-strong) !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  cursor: pointer;
}
.mot-v3 .cookieadmin_btn:hover { border-color: var(--ink) !important; }
.mot-v3 .cookieadmin_accept_btn { background: var(--blue) !important; border-color: var(--blue) !important; color: var(--white) !important; }
.mot-v3 .cookieadmin_accept_btn:hover { background: var(--blue-dark) !important; border-color: var(--blue-dark) !important; }
.mot-v3 .cookieadmin-poweredby { display: none !important; }

@media (max-width: 1023px) {
  .mot-v3 .cookieadmin_law_container {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: none !important;
  }
  .mot-v3 .cookieadmin_consent_inside { padding: 14px 16px !important; }
  .mot-v3 #cookieadmin_notice_title { display: none; }
  .mot-v3 #cookieadmin_notice { font-size: 12px; margin-bottom: 10px; }
  .mot-v3 .cookieadmin_consent_btns { flex-wrap: wrap; }
  .mot-v3 .cookieadmin_btn { height: 40px; font-size: 13px !important; padding: 0 6px !important; white-space: nowrap; }
  /* Головна дія — окремим рядком на всю ширину, інакше «Прийняти всі» не вміщається */
  .mot-v3 .cookieadmin_accept_btn { order: -1; flex: 1 1 100%; }
  /* Поки банер видно, кнопка Приймальні його перекривала б */
}

/* ===== home.css ===== */
/* ==========================================================================
   v3 · Головна сторінка
   ========================================================================== */

/* — HERO — */
.mot-hero { padding: 84px 0 64px; overflow: hidden; }
.mot-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
@media (max-width: 1023px) {
  .mot-hero { padding: 48px 0 40px; }
  .mot-hero__in { grid-template-columns: 1fr; gap: 36px; }
}

.mot-hero__stamp { margin-bottom: 26px; }

.mot-hero__h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: .94;
  letter-spacing: var(--ls-display);
  margin: 0 0 26px;
}
.mot-hero__line { display: block; }
.mot-hero__line--accent { color: var(--blue); position: relative; display: inline-block; }
.mot-hero__underline {
  position: absolute;
  left: 0; right: 0; bottom: -.16em;
  width: 100%;
  height: .18em;
  pointer-events: none;
}
.mot-hero__sub { margin: 0 0 30px; }
.mot-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.mot-hero__facts { letter-spacing: .1em; }

.mot-hero__art { position: relative; min-height: 420px; }
@media (max-width: 1023px) { .mot-hero__art { min-height: 300px; } }

/* Ролики тейпу: чистий CSS, без зовнішніх картинок */
.mot-rolls { position: absolute; inset: 0; }
.mot-roll {
  position: absolute;
  width: 132px; height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--paper) 0 21%, transparent 21.5%),
    conic-gradient(from 210deg, color-mix(in srgb, var(--roll) 78%, #000) 0deg, var(--roll) 90deg, color-mix(in srgb, var(--roll) 70%, #fff) 190deg, var(--roll) 280deg, color-mix(in srgb, var(--roll) 78%, #000) 360deg);
  box-shadow: 0 22px 44px rgba(11, 27, 58, .18);
  will-change: transform;
}
.mot-roll::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(255,255,255,.42), transparent 55%);
  pointer-events: none;
}
.mot-roll--static { position: static; width: 92px; height: 92px; box-shadow: 0 12px 26px rgba(11,27,58,.14); }

.mot-roll--1 { width: 188px; height: 188px; left: 24%; top: 20%; z-index: 3; }
.mot-roll--2 { left: 2%;  top: 6%;   z-index: 2; }
.mot-roll--3 { left: 62%; top: 2%;   z-index: 2; width: 112px; height: 112px; }
.mot-roll--4 { left: 68%; top: 52%;  z-index: 1; width: 120px; height: 120px; }
.mot-roll--5 { left: 6%;  top: 62%;  z-index: 1; width: 104px; height: 104px; }

.mot-hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 4;
}
.mot-hero__chip svg { color: var(--green); }
.mot-hero__chip--1 { top: 4%;  left: 30%; }
.mot-hero__chip--2 { top: 44%; right: -2%; }
.mot-hero__chip--3 { bottom: 4%; left: 12%; }
@media (max-width: 599px) {
  .mot-hero__chip--2 { right: 2%; }
  .mot-hero__chip { font-size: 12px; padding: 8px 12px; }
}

/* — ШВИДКИЙ ПІДБІР — */
.mot-quick {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1023px) { .mot-quick { grid-template-columns: 1fr; gap: 28px; } }
.mot-quick__group .mot-label { margin-bottom: 14px; }
.mot-quick__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.mot-link--sm { font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; }
.mot-quick__figure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-card-sm);
  font-weight: 600;
  min-height: 100%;
}
.mot-quick__figure:hover { background: var(--blue); }

/* — ДОВІРА — */
.mot-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 1023px) { .mot-trust { grid-template-columns: repeat(2, 1fr); gap: 24px 0; } }
@media (max-width: 599px)  { .mot-trust { grid-template-columns: 1fr; } }
.mot-trust__item {
  display: flex;
  gap: 14px;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}
.mot-trust__item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 1023px) {
  .mot-trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}
.mot-trust__item svg { color: var(--blue); flex: none; }
.mot-trust__title { font-weight: 600; margin: 0 0 4px; }

/* — КАРТА ТІЛА (тизер) — */
.mot-bodyteaser {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
}
@media (max-width: 1023px) { .mot-bodyteaser { grid-template-columns: 1fr; padding: 32px; } }
.mot-bodyteaser__fig { display: grid; place-items: center; }
.mot-bodyteaser__fig svg { max-width: 100%; height: auto; color: var(--ink); }
.mot-bodyteaser__note { margin-top: 20px; }

/* — УКАЗ №20 — */
.mot-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-card);
  padding: 48px 52px;
  overflow: hidden;
}
@media (max-width: 1023px) { .mot-promo { grid-template-columns: 1fr; padding: 32px; } }
.mot-promo__stamp { position: absolute; top: 24px; right: 32px; }
@media (max-width: 1023px) { .mot-promo__stamp { position: static; margin-bottom: 20px; display: inline-block; } }
.mot-promo__text p { color: rgba(245, 242, 234, .75); max-width: 56ch; margin: 12px 0 0; }
.mot-promo__action { display: flex; flex-direction: column; gap: 14px; }
.mot-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px dashed rgba(245, 242, 234, .5);
  border-radius: var(--r-input);
  background: transparent;
  color: var(--yellow);
  font-family: var(--f-mono);
  font-size: 18px;
  letter-spacing: .14em;
  cursor: pointer;
  transition: border-color var(--dur-fast);
}
.mot-code:hover { border-color: var(--yellow); }

/* — КРОКИ — */
.mot-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
@media (max-width: 899px) { .mot-steps { grid-template-columns: 1fr; gap: 28px; } }
.mot-step { position: relative; }
.mot-step::before {
  content: '';
  position: absolute;
  top: 22px; left: 64px; right: -40px;
  border-top: 2px dashed var(--line);
}
.mot-steps .mot-step:last-child::before { display: none; }
@media (max-width: 899px) { .mot-step::before { display: none; } }
.mot-step__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 15px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.mot-step h3 { margin-bottom: 8px; }

/* — СТАТИСТИКА — */
.mot-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 899px) { .mot-stats { grid-template-columns: repeat(2, 1fr); } }
.mot-stat {
  padding: 36px 26px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.mot-stat:first-child { border-left: 0; }
@media (max-width: 899px) { .mot-stat:nth-child(odd) { border-left: 0; } }
.mot-stat__n { display: block; font-size: clamp(38px, 4vw, 58px); line-height: 1; margin-bottom: 10px; }

/* — ГАРАНТІЇ — */
.mot-guar { position: relative; padding-top: 34px; }
.mot-guar .mot-seal { position: absolute; top: 20px; right: 20px; }
.mot-guar h3 { margin: 0 0 10px; max-width: 16ch; }

/* — СТАТТІ — */
.mot-acard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur), box-shadow var(--dur);
}
.mot-acard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.mot-acard__media { aspect-ratio: 16 / 10; background: var(--paper-2); display: block; overflow: hidden; }
.mot-acard__media img { width: 100%; height: 100%; object-fit: cover; }
.mot-acard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mot-acard__body .mot-h3 { font-size: 19px; }
.mot-acard__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mot-badge-src {
  padding: 5px 11px;
  background: var(--yellow);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

/* — TELEGRAM — */
.mot-tg { background: var(--blue); color: var(--white); padding: 64px 0; }
.mot-tg__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.mot-tg p { margin: 12px 0 0; color: rgba(255, 255, 255, .85); max-width: 56ch; }

/* Вузький контейнер для FAQ і читанки */
.mot-wrap--narrow { max-width: 860px; }


/* ===== shop.css ===== */
/* ==========================================================================
   v3 · Каталог: рейка фільтрів, сітка товарів, SEO-блок
   ========================================================================== */

.mot-shop {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: var(--section);
}
@media (max-width: 1023px) { .mot-shop { grid-template-columns: 1fr; gap: 24px; } }

/* — Шапка сторінки — */
.mot-shop-head { padding: 8px 0 40px; }
.mot-shop-head h1 { display: inline-block; margin-right: 16px; }
.mot-shop-head__count {
  display: inline-block;
  vertical-align: middle;
  padding: 6px 14px;
  background: var(--paper-2);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-60);
}
.mot-shop-head__intro { margin-top: 16px; max-width: 78ch; color: var(--ink-60); }

/* — Рейка фільтрів — */
.mot-rail {
  position: sticky;
  top: 104px;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-1);
}
@media (max-width: 1023px) { .mot-rail { position: static; display: none; } .mot-rail.is-open { display: block; } }
.mot-rail__group { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.mot-rail__group:last-of-type { border-bottom: 0; }
.mot-rail__group .mot-label { margin-bottom: 14px; }
.mot-rail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mot-rail__list a { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.mot-rail__list a:hover { color: var(--blue); }
.mot-rail__list .is-active { color: var(--blue); font-weight: 600; }
.mot-rail__list span { color: var(--ink-30); font-family: var(--f-mono); font-size: 12px; }
.mot-rail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mot-rail__w { display: flex; flex-direction: column; align-items: center; gap: 0; }

/* — Панель над сіткою — */
.mot-shop-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.mot-shop-bar__active { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mot-shop-bar .mot-label { white-space: nowrap; }

/* Кнопка фільтрів на мобілці */
.mot-filter-btn { display: none; }
@media (max-width: 1023px) { .mot-filter-btn { display: inline-flex; } }

/* Рідний селект сортування Woo — під наш вигляд */
.mot-v3 .woocommerce-ordering { margin: 0; }
.mot-v3 .woocommerce-ordering select.orderby {
  height: 44px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B1B3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-size: 15px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: auto;
  min-width: 220px;
}

/* — Сітка — */
.mot-shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
/* Три колонки тримаємо аж до 700px: на 1024–1279 і на планшеті дві колонки
   давали картки по 350–470px — порожньо, і товару видно вдвічі менше. */
@media (max-width: 1279px) { .mot-shop__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 699px)  { .mot-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.mot-shop__more { display: flex; justify-content: center; margin-top: 44px; }

/* — SEO-текст і FAQ категорії — */
.mot-seo { margin-top: var(--section); max-width: 78ch; }
.mot-seo__body { position: relative; max-height: 180px; overflow: hidden; color: var(--ink-60); }
.mot-seo.is-open .mot-seo__body { max-height: none; }
.mot-seo__body::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(transparent, var(--paper));
}
.mot-seo.is-open .mot-seo__body::after { display: none; }

/* — Порожній каталог — */
.mot-shop__empty { grid-column: 1 / -1; }


/* ===== product.css ===== */
/* ==========================================================================
   v3 · Картка товару «Паспорт товару»
   ========================================================================== */

.mot-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
}
@media (max-width: 1023px) { .mot-pdp { grid-template-columns: 1fr; gap: 32px; } }

/* — Галерея — */
.mot-pdp__main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-radius: var(--r-card);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mot-pdp__main img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.mot-pdp__badge { position: absolute; top: 20px; left: 20px; }
.mot-pdp__stamp { position: absolute; top: 20px; right: 20px; }
.mot-pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.mot-pdp__thumb {
  width: 88px; height: 88px;
  background: var(--paper-2);
  border-radius: var(--r-card-sm);
  overflow: hidden;
  display: grid; place-items: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--dur-fast);
}
.mot-pdp__thumb:hover { border-color: var(--blue); }
.mot-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* — Панель покупки — */
.mot-pdp__buy { position: sticky; top: 104px; }
@media (max-width: 1023px) { .mot-pdp__buy { position: static; } }
.mot-pdp__title { font-size: clamp(26px, 2.6vw, 36px); margin: 10px 0 18px; }
.mot-pdp__price { font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; margin-top: 6px; }
.mot-pdp__price del { font-size: 24px; opacity: .4; font-weight: 500; }
.mot-pdp__price ins { text-decoration: none; }
.mot-pdp__stock {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 12px 0 26px;
}
.mot-pdp__stock--out { color: var(--ink-60); }

.mot-pdp__opt { margin-bottom: 24px; }
.mot-pdp__opt .mot-label { margin-bottom: 12px; }
.mot-seg--wrap { flex-wrap: wrap; }
.mot-seg__link {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-60);
}
.mot-seg__link:hover { background: var(--white); color: var(--ink); }
.mot-pdp__hint { margin-top: 10px; }

.mot-pdp__actions { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.mot-pdp__actions .mot-btn { flex: 1; min-width: 200px; }
.mot-pdp__fav { position: static; width: 52px; height: 52px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

.mot-pdp__delivery {
  background: var(--paper-2);
  border-radius: var(--r-card-sm);
  padding: 20px;
  margin: 22px 0;
  display: grid;
  gap: 12px;
}
.mot-pdp__delivery p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.mot-pdp__delivery svg { color: var(--blue); flex: none; }

/* — Калькулятор — */
.mot-calc {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card-sm);
  padding: 20px;
}
.mot-calc select { margin: 10px 0; }
.mot-calc__out { margin: 0; font-weight: 600; }

/* — Вкладки — */
.mot-tabs-wrap { padding: 40px 0 var(--section); }
.mot-tabp { padding: 32px 0; max-width: 80ch; }
.mot-tabp--doc { position: relative; display: flex; gap: 40px; align-items: flex-start; max-width: none; }
.mot-tabp--doc .mot-doc { flex: 1; max-width: 720px; }
.mot-tabp--doc .mot-seal { flex: none; }
@media (max-width: 899px) { .mot-tabp--doc { flex-direction: column; } }

/* — Липкий бар — */
.mot-sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(11, 27, 58, .08);
  z-index: var(--z-header);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease-out);
}
.mot-sticky-buy.is-on { transform: none; }
.mot-sticky-buy__in { display: flex; align-items: center; gap: 16px; }
.mot-sticky-buy__thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--paper-2); flex: none; }
.mot-sticky-buy__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mot-sticky-buy__name { font-weight: 600; font-size: 15px; }
@media (max-width: 1023px) {
  .mot-sticky-buy { bottom: 64px; }
  .mot-sticky-buy__name { display: none; }
}

/* Штамп «ДОДАНО» поверх картинки */
.mot-stamp--added {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  z-index: 5;
  animation: motStampIn 280ms var(--ease-back);
}
@keyframes motStampIn {
  from { transform: translate(-50%, -50%) scale(1.5) rotate(-16deg); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1) rotate(-6deg); opacity: 1; }
}


/* ===== cart.css ===== */
/* Реквізити для переказу на «Дякуємо» (блок WooCommerce для способу «bacs») */
.mot-v3 .woocommerce-bacs-bank-details {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  padding: 26px 28px;
  margin: 0 0 28px;
  max-width: 640px;
}
.mot-v3 .wc-bacs-bank-details-heading {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 0 0 10px;
}
.mot-v3 .wc-bacs-bank-details-account-name { font-family: var(--f-display); font-size: 18px; margin: 0 0 14px; }
.mot-v3 .wc-bacs-bank-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mot-v3 .wc-bacs-bank-details li { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; font-size: 15px; color: var(--ink-60); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.mot-v3 .wc-bacs-bank-details li:last-child { border-bottom: 0; }
.mot-v3 .wc-bacs-bank-details strong { font-family: var(--f-mono); font-weight: 500; color: var(--ink); letter-spacing: .04em; user-select: all; overflow-wrap: anywhere; }
.mot-v3 .woocommerce-order > p:first-of-type { max-width: 640px; font-size: 15px; color: var(--ink-60); }

/* ==========================================================================
   v3 · Кошик, оформлення, дякуємо
   ========================================================================== */

.mot-cart,
.mot-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: var(--section);
}
@media (max-width: 1023px) {
  .mot-cart, .mot-checkout { grid-template-columns: 1fr; gap: 24px; }
}

/* — Рядок кошика — */
.mot-cart__row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto 24px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.mot-cart__row:last-child { border-bottom: 0; }
@media (max-width: 767px) {
  .mot-cart__row { grid-template-columns: 64px 1fr 24px; grid-template-areas: 'thumb info del' 'step step price'; row-gap: 12px; }
  .mot-cart__thumb { grid-area: thumb; }
  .mot-cart__info  { grid-area: info; }
  .mot-cart__del   { grid-area: del; }
  .mot-cart__price { grid-area: price; text-align: right; }
  .mot-cart .mot-stepper { grid-area: step; }
}
.mot-cart__thumb {
  width: 84px; height: 84px;
  border-radius: var(--r-card-sm);
  overflow: hidden;
  background: var(--paper-2);
  display: grid; place-items: center;
}
.mot-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mot-cart__name { font-weight: 600; display: block; margin-bottom: 8px; }
.mot-cart__name:hover { color: var(--blue); }
.mot-cart__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mot-cart__price { font-family: var(--f-display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.mot-cart__del { color: var(--ink-30); font-size: 18px; }
.mot-cart__del:hover { color: var(--red); }

.mot-cart__promo { margin-top: 22px; }
.mot-cart__side { position: sticky; top: 104px; display: grid; gap: 18px; }
@media (max-width: 1023px) { .mot-cart__side, .mot-checkout__side { position: static; } }
.mot-cart__notes { display: grid; gap: 10px; padding: 0 8px; }
.mot-cart__notes .mot-label { display: flex; align-items: center; gap: 8px; }

/* — Підсумок — */
.mot-sum { width: 100%; margin: 18px 0; border-collapse: collapse; }
.mot-sum td { padding: 7px 0; font-size: 15px; color: rgba(245, 242, 234, .78); }
.mot-sum td:last-child { text-align: right; color: var(--paper); white-space: nowrap; }
.mot-sum__disc td:last-child { color: var(--green); }
.mot-sum__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(245, 242, 234, .2);
  font-family: var(--f-display);
}
.mot-sum__total strong { font-size: 30px; font-weight: 800; }

/* — Оформлення — */
.mot-checkout__side { position: sticky; top: 104px; display: grid; gap: 18px; }
.mot-block { margin-bottom: 20px; position: relative; }
.mot-block__num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding-bottom: 16px;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.mot-checkout .mot-field,
.mot-checkout .form-row { display: block; margin-bottom: 18px; }
.mot-checkout label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.mot-checkout .woocommerce-invalid input { border-color: var(--red) !important; }
.mot-checkout .woocommerce-error,
.mot-checkout .woocommerce-message { border-radius: var(--r-card-sm); }

/* Способи доставки й оплати як радіо-картки */
.mot-checkout .woocommerce-shipping-methods,
.mot-checkout .wc_payment_methods {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mot-checkout .woocommerce-shipping-methods li,
.mot-checkout .wc_payment_methods > li {
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  padding: 16px 18px;
  background: var(--white);
  transition: border-color var(--dur-fast);
}
.mot-checkout .wc_payment_methods > li:hover { border-color: var(--ink-30); }
.mot-checkout .wc_payment_methods label { display: inline; font-weight: 600; margin: 0; }
.mot-checkout .payment_box {
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-60);
}
.mot-checkout .payment_box p:last-child { margin-bottom: 0; }

.mot-checkout__items { display: grid; gap: 12px; margin: 16px 0; }
.mot-checkout__item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.mot-checkout__thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: rgba(245,242,234,.12); flex: none; }
.mot-checkout__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mot-checkout__name { flex: 1; color: rgba(245, 242, 234, .8); }

/* — Дякуємо — */
.mot-thanks {
  position: relative;
  max-width: 760px;
  margin: 0 auto 40px;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 48px;
  box-shadow: var(--shadow-1);
  text-align: left;
}
.mot-thanks .mot-seal { position: absolute; top: 24px; right: 32px; }
@media (max-width: 767px) { .mot-thanks { padding: 28px; } .mot-thanks .mot-seal { position: static; margin-bottom: 18px; } }
.mot-thanks .mot-timeline { margin: 32px 0; }
.mot-thanks__next { margin-top: 28px; display: grid; gap: 12px; }
.mot-thanks__next p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.mot-thanks__next svg { color: var(--blue); flex: none; }

/* Стандартні блоки Woo на сторінці подяки — під наш вигляд */
.mot-v3 .woocommerce-order-overview,
.mot-v3 .woocommerce-order-details,
.mot-v3 .woocommerce-customer-details {
  max-width: 760px;
  margin: 0 auto 32px;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
.mot-v3 .woocommerce-order-overview { list-style: none; display: grid; gap: 14px; }

/* Приховане поле країни */
.mot-v3 .mot-hidden-field { display: none !important; }

/* Кнопка підтвердження: Woo має власні правила для #place_order */
.mot-v3 #place_order,
.mot-v3 button#place_order {
  background: var(--yellow) !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--f-body) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  height: 60px;
  width: 100%;
}
.mot-v3 #place_order:hover { background: var(--yellow-dark) !important; }

/* Верхні службові блоки Woo (вхід, купон) */
.mot-v3 .woocommerce-form-login-toggle,
.mot-v3 .woocommerce-form-coupon-toggle {
  margin-bottom: 14px;
}
.mot-v3 .woocommerce-form-login-toggle .woocommerce-info,
.mot-v3 .woocommerce-form-coupon-toggle .woocommerce-info {
  background: var(--paper-2);
  border: 0;
  border-radius: var(--r-card-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-60);
}
.mot-v3 .woocommerce-info::before { display: none; }

/* — Підсумок замовлення: стандартна таблиця Woo під наш вигляд — */
.mot-review .shop_table { background: transparent; box-shadow: none; border-radius: 0; }
.mot-review .shop_table th,
.mot-review .shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 242, 234, .14);
  color: rgba(245, 242, 234, .82);
  font-size: 15px;
  font-family: var(--f-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.mot-review .shop_table td:last-child,
.mot-review .shop_table th:last-child { text-align: right; color: var(--paper); }
.mot-review .shop_table thead { display: none; }
.mot-review .order-total td,
.mot-review .order-total th {
  border-bottom: 0;
  padding-top: 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--paper);
}
.mot-review .order-total .woocommerce-Price-amount { font-size: 26px; }
.mot-review ul#shipping_method {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.mot-review ul#shipping_method li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}
.mot-review ul#shipping_method label { color: rgba(245, 242, 234, .9); font-weight: 500; margin: 0; }
.mot-review .woocommerce-shipping-destination { font-size: 13px; color: rgba(245, 242, 234, .55); margin-top: 8px; }
.mot-review .cart-subtotal th, .mot-review .shipping th { font-weight: 400; }


/* ===== checkout.css ===== */
/* ==========================================================================
   v3 · Кошик і оформлення: кроки, юридична особа, реквізити, довіра
   ========================================================================== */

/* — Смужка кроків — */
.mot-steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mot-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-30);
}
.mot-steps li + li::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--line-strong);
  margin-right: 9px;
}
.mot-steps__n {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  font-size: 11px;
}
.mot-steps .is-now { color: var(--ink); }
.mot-steps .is-now .mot-steps__n { border-color: var(--blue); background: var(--blue); color: var(--white); }
.mot-steps .is-done { color: var(--ink-60); }
.mot-steps .is-done .mot-steps__n { border-color: var(--green); color: var(--green); }
.mot-steps .is-done a { border-bottom: 1px solid var(--line-strong); }
.mot-steps .is-done a:hover { color: var(--blue); border-color: var(--blue); }

/* — Пояснення про вартість доставки — */
.mot-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--blue-soft);
  border-radius: var(--r-card-sm);
}
.mot-note svg { flex: none; color: var(--blue); margin-top: 2px; }
.mot-note b { display: block; margin-bottom: 4px; font-size: 15px; }
.mot-note p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-60); }

/* — Три рядки довіри — */
.mot-trust-rows {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--paper-2);
  border-radius: var(--r-card-sm);
  margin-bottom: 18px;
}
.mot-trust-rows__i { display: flex; gap: 12px; align-items: flex-start; }
.mot-trust-rows__i svg { flex: none; color: var(--blue); margin-top: 2px; }
.mot-trust-rows__i b { display: block; font-size: 14px; margin-bottom: 2px; }
.mot-trust-rows__i span { font-size: 13px; line-height: 1.5; color: var(--ink-60); }
.mot-trust-rows__help { margin: 4px 0 0; font-size: 13px; color: var(--ink-60); }
.mot-trust-rows__help a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Рядки під кнопкою підтвердження */
.mot-trust-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-60);
}
.mot-trust-line svg { flex: none; color: var(--ink-30); margin-top: 1px; }
.mot-trust-line + .mot-trust-line { margin-top: 8px; }

/* ==========================================================================
   Юридична особа
   ========================================================================== */
.mot-legal {
  margin: 22px 0 6px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-card-sm);
  background: var(--paper-2);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.mot-legal.is-on { border-color: var(--blue); background: var(--white); }

/* Селектор навмисно довгий: нижче є .mot-v3 .mot-legal label { display: block }
   і .mot-checkout label { display: block } — вони перебивали цей перемикач,
   і смужка вмикача (inline-span) не малювалась узагалі, на всіх екранах. */
.mot-v3 .mot-legal label.mot-legal__switch {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  margin: 0;
}
.mot-legal__switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.mot-legal__track {
  display: block;        /* без цього span лишається inline і ігнорує розміри */
  flex: none;
  width: 46px; height: 26px;
  margin-top: 2px;
  border-radius: var(--r-pill);
  background-color: var(--line-strong);
  position: relative;
  /* Саме background-color, не шорткат: анімація шорткату зі змінною
     не доводилась до кінця, і перемикач лишався сірим після натискання. */
  transition: background-color var(--dur-fast);
}
.mot-legal__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--dur-fast);
}
.mot-legal__switch input:checked + .mot-legal__track { background-color: var(--blue); }
.mot-legal__switch input:checked + .mot-legal__track::after { transform: translateX(20px); }
.mot-legal__switch input:focus-visible + .mot-legal__track { outline: 3px solid var(--yellow); outline-offset: 2px; }
.mot-legal__txt b { display: block; font-size: 15px; }
.mot-legal__txt small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-60); line-height: 1.45; }

.mot-legal__panel { padding: 4px 18px 18px; display: grid; gap: 22px; }
.mot-legal__panel[hidden] { display: none; }

.mot-legal__sec { border-top: 1px solid var(--line); padding-top: 18px; }
.mot-legal__sec[hidden] { display: none; }
.mot-legal__h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
}
.mot-legal__h svg { color: var(--blue); }
.mot-legal__step {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-30);
}

/* Woo дає полям float і фіксовані ширини — усередині панелі своя сітка */
.mot-legal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.mot-legal__grid[hidden] { display: none; }
.mot-v3 .mot-legal__grid .form-row,
.mot-v3 .mot-legal__invoice .form-row {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mot-v3 .mot-legal__grid .mot-legal__span,
.mot-v3 .mot-legal__grid .form-row-wide { grid-column: 1 / -1; }
.mot-v3 .mot-legal label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.mot-v3 .mot-legal input[type="text"],
.mot-v3 .mot-legal input[type="tel"],
.mot-v3 .mot-legal input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  background: var(--white);
  font: 400 15px var(--f-body);
  color: var(--ink);
}
.mot-v3 .mot-legal input:focus { border-color: var(--blue); outline: none; }
.mot-v3 .mot-legal .description { margin: 5px 0 0; font-size: 12px; color: var(--ink-60); }
.mot-v3 .mot-legal abbr.required { color: var(--red); text-decoration: none; border: 0; }

.mot-legal__check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0 0 14px;
  cursor: pointer;
  font-size: 14px;
}
.mot-legal__check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.mot-legal__check small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-60); line-height: 1.45; }

.mot-legal__invoice { display: grid; gap: 12px; }
.mot-legal__invoice[hidden] { display: none; }
.mot-legal__vialabel { margin: 0; }
.mot-legal__hint { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ink-60); }
.mot-legal__why { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-60); }

.mot-legal__seg { display: flex; gap: 8px; flex-wrap: wrap; }
.mot-legal__segi { position: relative; margin: 0; }
.mot-legal__segi input { position: absolute; opacity: 0; width: 0; height: 0; }
.mot-legal__segi span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.mot-legal__segi input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.mot-legal__segi input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.mot-legal__opts { display: grid; gap: 10px; }
.mot-legal__opt { display: block; margin: 0; cursor: pointer; }
.mot-legal__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.mot-legal__opt span {
  display: block;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  background: var(--white);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.mot-legal__opt b { display: block; font-size: 14px; margin-bottom: 3px; }
.mot-legal__opt small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ink-60); }
.mot-legal__opt input:checked + span { border-color: var(--blue); background: var(--blue-soft); }

/* Зведення на сторінці «Дякуємо» */
.mot-legal__summary { margin-top: 20px; }
.mot-legal__dl { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 8px 16px; margin: 12px 0 0; }
.mot-legal__dl dt { font-size: 13px; color: var(--ink-60); }
.mot-legal__dl dd { margin: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }

/* ==========================================================================
   Реквізити під способом оплати
   ========================================================================== */
.mot-pay {
  margin: 14px 0 4px;
  padding: 16px 18px;
  background: var(--paper-2);
  border-radius: var(--r-input);
  display: grid;
  gap: 9px;
}
.mot-pay__title { margin: 0 0 2px; }
.mot-pay__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.mot-pay__row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.mot-pay__k { font-size: 13px; color: var(--ink-60); }
.mot-pay__v {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--ink);
  overflow-wrap: anywhere;
  user-select: all;
}
.mot-pay__copy {
  flex: none;
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  font: 500 11px var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-60);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.mot-pay__copy:hover { border-color: var(--blue); color: var(--blue); }
.mot-pay__copy.is-done { border-color: var(--green); color: var(--green); }
.mot-pay__note { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-60); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1023px) {
  .mot-steps { margin-bottom: 18px; gap: 6px; }
  .mot-steps li { font-size: 10px; gap: 7px; }
  .mot-steps li + li::before { width: 14px; margin-right: 6px; }
  .mot-steps__n { width: 22px; height: 22px; font-size: 10px; }

  .mot-note { padding: 14px 16px; gap: 11px; margin: 18px 0; }
  .mot-note p { font-size: 13px; }

  .mot-legal__switch { padding: 14px; gap: 11px; }
  .mot-legal__panel { padding: 2px 14px 16px; gap: 18px; }
  .mot-legal__grid { grid-template-columns: 1fr; }
  .mot-v3 .mot-legal input[type="text"],
  .mot-v3 .mot-legal input[type="tel"],
  .mot-v3 .mot-legal input[type="email"] { height: 48px; font-size: 16px; }  /* 16px — iOS не масштабує */
  .mot-legal__seg { gap: 6px; }
  .mot-legal__segi span { padding: 0 13px; font-size: 13px; min-height: 40px; }
  .mot-legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .mot-legal__dl dd { margin-bottom: 8px; }

  .mot-pay { padding: 14px; }
  .mot-pay__row { justify-content: flex-start; flex-direction: column; gap: 3px; }
  .mot-pay__v { font-size: 13.5px; }
}

@media (max-width: 479px) {
  .mot-steps__t { font-size: 9.5px; }
  .mot-trust-rows { padding: 16px; }
}

/* — Оплата в лівій колонці: список способів, реквізити, кнопка — */
.mot-v3 .mot-block #payment { background: transparent; border-radius: 0; }
.mot-v3 .mot-block .wc_payment_methods { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.mot-v3 .mot-block .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.mot-v3 .mot-block .wc_payment_method > label:hover { border-color: var(--line-strong); }
.mot-v3 .mot-block .wc_payment_method > input { position: absolute; opacity: 0; }
.mot-v3 .mot-block .wc_payment_method > input:checked + label { border-color: var(--blue); background: var(--blue-soft); }
.mot-v3 .mot-block .wc_payment_method > input:focus-visible + label { outline: 3px solid var(--yellow); outline-offset: 2px; }
.mot-v3 .mot-block .wc_payment_method img { max-height: 26px; width: auto; margin-left: auto; }
.mot-v3 .mot-block .payment_box {
  margin: 0 0 4px;
  padding: 0 4px;
  background: transparent;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-60);
}
.mot-v3 .mot-block .payment_box::before { display: none; }
.mot-v3 .mot-block .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--ink-60); }
.mot-v3 .mot-block .form-row.place-order { margin: 16px 0 0; padding: 0; }
.mot-v3 .mot-block #place_order {
  width: 100%;
  min-height: 58px;
  font-size: 17px;
}
@media (max-width: 1023px) {
  .mot-v3 .mot-block .wc_payment_method > label { padding: 13px 14px; font-size: 14px; }
  .mot-v3 .mot-block #place_order { min-height: 54px; font-size: 16px; }
}

/* ===== account.css ===== */
/* ==========================================================================
   v3 · Кабінет «Особиста справа»
   ========================================================================== */

.mot-v3 .woocommerce-account .woocommerce {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--gutter) var(--section);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 1023px) {
  .mot-v3 .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px; }
}

/* Ліве меню */
.mot-v3 .woocommerce-MyAccount-navigation {
  background: var(--paper-2);
  border-radius: var(--r-card);
  padding: 18px;
  position: sticky;
  top: 104px;
}
@media (max-width: 1023px) { .mot-v3 .woocommerce-MyAccount-navigation { position: static; } }
.mot-v3 .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mot-v3 .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--r-input);
  font-weight: 500;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mot-v3 .woocommerce-MyAccount-navigation a:hover { background: var(--white); }
.mot-v3 .woocommerce-MyAccount-navigation .is-active a {
  background: var(--blue);
  color: var(--white);
}
.mot-v3 .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.mot-v3 .woocommerce-MyAccount-content { min-width: 0; }

/* Останнє замовлення */
.mot-acc-order .mot-timeline { margin: 22px 0; }
.mot-ttn {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--paper-2);
  border-radius: var(--r-input);
  margin-bottom: 18px;
}
.mot-ttn code { font-family: var(--f-mono); font-size: 15px; letter-spacing: .06em; }
.mot-acc-order__items { display: flex; align-items: center; gap: 10px; }
.mot-acc-order__thumb {
  width: 52px; height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  flex: none;
}
.mot-acc-order__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Таблиці замовлень */
.mot-v3 .woocommerce-orders-table,
.mot-v3 .shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border: 0;
}
.mot-v3 .shop_table th {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-60);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mot-v3 .shop_table td { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mot-v3 .shop_table tr:last-child td { border-bottom: 0; }

/* Форми кабінету */
.mot-v3 .woocommerce-EditAccountForm,
.mot-v3 .woocommerce-address-fields {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-1);
  max-width: 620px;
}
.mot-v3 .woocommerce-Button,
.mot-v3 .woocommerce-Button.button {
  background: var(--blue);
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  height: 52px;
  padding: 0 28px;
  font-weight: 600;
  cursor: pointer;
}

/* Вхід і реєстрація «Прохідна» */
.mot-v3 .woocommerce-form-login,
.mot-v3 .woocommerce-form-register {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-1);
  max-width: 520px;
  border: 0;
}
.mot-v3 .woocommerce-form-login::before,
.mot-v3 .woocommerce-form-register::before {
  content: 'Прохідна Міністерства';
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 14px;
}
.mot-v3 .u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 899px) { .mot-v3 .u-columns { grid-template-columns: 1fr; } }

/* — Прохідна: вхід і реєстрація — */
.mot-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) var(--section);
}
@media (max-width: 1023px) { .mot-gate { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; } }

.mot-gate__side { position: sticky; top: 104px; }
@media (max-width: 1023px) { .mot-gate__side { position: static; } }
.mot-gate__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.mot-gate__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.mot-gate__list svg { color: var(--blue); flex: none; }

/* Дві форми Woo — одна під одною, у нашому оформленні */
.mot-v3 .woocommerce-account .mot-gate__forms .u-columns,
.mot-v3 .woocommerce-account .mot-gate__forms .u-column1,
.mot-v3 .woocommerce-account .mot-gate__forms .u-column2 { display: block; width: 100%; float: none; }
.mot-v3 .mot-gate__forms h2 {
  font-family: var(--f-display);
  font-size: 22px;
  margin: 0 0 14px;
}
.mot-v3 .mot-gate__forms .woocommerce-form { max-width: none; margin-bottom: 26px; }
.mot-v3 .mot-gate__forms .woocommerce-form::before { content: none; }
.mot-v3 .mot-gate__forms label { font-size: 14px; font-weight: 600; }
.mot-v3 .mot-gate__forms .woocommerce-form__label-for-checkbox { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.mot-v3 .mot-gate__forms .button,
.mot-v3 .mot-gate__forms button[type="submit"] {
  background: var(--blue) !important;
  color: var(--white) !important;
  border: 0 !important;
  border-radius: var(--r-pill) !important;
  height: 52px;
  padding: 0 30px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer;
  width: 100%;
  margin-top: 6px;
}
.mot-v3 .mot-gate__forms .button:hover { background: var(--blue-dark) !important; }
.mot-v3 .mot-gate__forms .lost_password { margin-top: 12px; font-size: 14px; }
.mot-v3 .mot-gate__forms .lost_password a { color: var(--blue); }
.mot-v3 .mot-gate__forms .woocommerce-privacy-policy-text { font-size: 13px; color: var(--ink-60); }

/* Woo лишає формам старі float-колонки — розтягуємо на всю ширину */
.mot-v3 .mot-gate__forms,
.mot-v3 .mot-gate__forms > *,
.mot-v3 .mot-gate__forms .u-columns,
.mot-v3 .mot-gate__forms .col2-set,
.mot-v3 .mot-gate__forms .col-1,
.mot-v3 .mot-gate__forms .col-2,
.mot-v3 .mot-gate__forms .u-column1,
.mot-v3 .mot-gate__forms .u-column2 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  display: block !important;
}
.mot-v3 .mot-gate__forms .woocommerce-form-login,
.mot-v3 .mot-gate__forms .woocommerce-form-register {
  width: 100% !important;
  max-width: none !important;
  padding: 28px !important;
}
.mot-v3 .mot-gate__forms .form-row,
.mot-v3 .mot-gate__forms .form-row-first,
.mot-v3 .mot-gate__forms .form-row-last {
  width: 100% !important;
  float: none !important;
  margin-bottom: 16px;
}
.mot-v3 .mot-gate__forms input[type="text"],
.mot-v3 .mot-gate__forms input[type="email"],
.mot-v3 .mot-gate__forms input[type="tel"],
.mot-v3 .mot-gate__forms input[type="password"] { width: 100% !important; }


/* ===== bodymap.css ===== */
/* ==========================================================================
   v3 · Підбір по тілу
   ========================================================================== */

.mot-bm {
  display: grid;
  grid-template-columns: 220px minmax(0, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: var(--section);
}
@media (max-width: 1279px) { .mot-bm { grid-template-columns: 200px minmax(0, 1fr); } .mot-bm__panel { grid-column: 1 / -1; } }
@media (max-width: 767px)  { .mot-bm { grid-template-columns: 1fr; } }

/* Список зон */
.mot-bm__list { display: grid; gap: 4px; position: sticky; top: 104px; }
@media (max-width: 767px) {
  .mot-bm__list {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}
.mot-bm__zone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--r-input);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mot-bm__zone:hover { background: var(--paper-2); }
.mot-bm__zone.is-active { background: var(--blue); color: var(--white); }
.mot-bm__num { font-family: var(--f-mono); font-size: 11px; opacity: .5; }
.mot-bm__zone.is-active .mot-bm__num { opacity: .8; }

/* Фігура */
.mot-bm__figbox {
  background: var(--paper-2);
  border-radius: var(--r-card);
  padding: 28px;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.mot-bm__figbox svg,
.mot-bm__figbox img { max-width: 100%; height: auto; }

/* Хотспоти, якщо їх малює SVG */
.mot-bm__figbox [data-zone] { cursor: pointer; }
.mot-bm__figbox .mot-hot { fill: var(--blue); cursor: pointer; }
.mot-bm__figbox .mot-hot--active { r: 9; }

/* Панель зони */
.mot-bm__panel {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
@media (max-width: 599px) { .mot-bm__panel { padding: 22px; } }
.mot-zone__title { margin: 6px 0 22px; }

.mot-zone__when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 599px) { .mot-zone__when { grid-template-columns: 1fr; } }
.mot-zone__card { padding: 18px; border-radius: var(--r-card-sm); }
.mot-zone__card p:last-child { margin: 8px 0 0; font-size: 15px; }
.mot-zone__card--ok   { background: var(--green-soft); }
.mot-zone__card--ok .mot-label { color: var(--green); }
.mot-zone__card--warn { border: 1px solid var(--red); background: var(--red-soft); }
.mot-zone__card--warn .mot-label { color: var(--red); }

.mot-zone__need { display: flex; flex-wrap: wrap; gap: 8px; }

.mot-zone__steps { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 16px; }
.mot-zone__step { display: flex; gap: 16px; align-items: flex-start; }
.mot-zone__num {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 13px;
}
.mot-zone__step p { margin: 4px 0 0; color: var(--ink-60); }

.mot-zone__disclaimer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-30);
}

/* — Фігура з хотспотами (розмітку дає mot_body_svg) — */
.mot-bm-fig {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.mot-bm-fig img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 420px;
  height: auto;
  user-select: none;
}
.mot-bm-dot {
  position: absolute;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(11, 27, 58, .25);
  transition: transform var(--dur-fast), background var(--dur-fast);
}
.mot-bm-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0;
  animation: motPulse 2.4s ease-out infinite;
}
@keyframes motPulse {
  0%   { transform: scale(.7); opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}
.mot-bm-dot:hover,
.mot-bm-dot.is-active { transform: scale(1.25); background: var(--yellow); }
.mot-bm-dot.is-active::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .mot-bm-dot::after { animation: none; } }

@media (max-width: 1023px) {
  .mot-bm-fig img { max-height: 340px; }
  .mot-bm-dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
}

/* Фігура синя, тому крапки — жовті: інакше зливаються */
.mot-bm-dot {
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 0 2px 6px rgba(11, 27, 58, .3);
}
.mot-bm-dot::after { border-color: var(--yellow); inset: -6px; }
.mot-bm-dot:hover,
.mot-bm-dot.is-active { background: var(--blue); border-color: var(--white); transform: scale(1.3); }
@media (max-width: 1023px) {
  .mot-bm-dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
}

/* Крапка на фігурі 20 px — зона тапу 40 px */
.mot-bm-dot::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }

/* ===== static.css ===== */
/* ==========================================================================
   v3 · Статичні сторінки, пошук, 404, блог
   ========================================================================== */

/* — 404 — */
.mot-404 { text-align: center; padding: 60px 0 var(--section); max-width: 680px; margin: 0 auto; }
.mot-404__art { position: relative; display: inline-block; margin-bottom: 26px; }
.mot-404__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(96px, 20vw, 200px);
  line-height: 1;
  color: var(--paper-3);
  letter-spacing: -.04em;
}
.mot-404__stamp {
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%) rotate(-8deg);
  white-space: nowrap;
  background: var(--paper);
}
@media (max-width: 599px) { .mot-404__stamp { font-size: 11px; padding: 7px 12px; } }

/* — Блог: список — */
.mot-blog { padding-bottom: var(--section); }
.mot-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 1023px) { .mot-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 599px)  { .mot-blog__grid { grid-template-columns: 1fr; } }

.mot-blog__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  margin-bottom: 32px;
}
@media (max-width: 899px) { .mot-blog__feature { grid-template-columns: 1fr; } }
.mot-blog__feature-media { aspect-ratio: 16 / 10; background: var(--paper-2); }
.mot-blog__feature-media img { width: 100%; height: 100%; object-fit: cover; }
.mot-blog__feature-body { padding: 32px; }
@media (max-width: 899px) { .mot-blog__feature-body { padding: 24px; } }

/* — Стаття — */
.mot-post { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-bottom: var(--section); }
/* minmax(0, …), а не 1fr: інакше рядок метаданих (flex без переносу) розпирає колонку до 600 px на телефоні */
@media (max-width: 1023px) { .mot-post { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.mot-post__main, .mot-post__side { min-width: 0; }
.mot-post__meta { flex-wrap: wrap; row-gap: 8px; }
.mot-post__cover { aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--paper-2); margin-bottom: 26px; }
.mot-post__cover img { width: 100%; height: 100%; object-fit: cover; }
.mot-post__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.mot-post__body { font-size: 17px; line-height: 1.7; max-width: 74ch; }
.mot-post__body h2 { font-size: clamp(24px, 3vw, 34px); margin: 36px 0 14px; }
.mot-post__body h3 { font-size: 21px; margin: 28px 0 12px; }
.mot-post__body p { margin: 0 0 16px; }
.mot-post__body ul, .mot-post__body ol { margin: 0 0 18px; padding-left: 22px; }
.mot-post__body li { margin-bottom: 8px; }
.mot-post__body img { border-radius: var(--r-card-sm); }
.mot-post__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.mot-post__body .mot-sources, .mot-post__body li, .mot-post__body p { overflow-wrap: anywhere; }
.mot-post__side { position: sticky; top: 104px; display: grid; gap: 16px; }
@media (max-width: 1023px) { .mot-post__side { position: static; } }

/* Блоки в статтях v2 лишаємо впізнаваними */
.mot-post__body .mot-evidence,
.mot-post__body .mot-sources,
.mot-post__body .mot-disclaimer {
  border-radius: var(--r-card-sm);
  padding: 20px;
  margin: 24px 0;
  font-size: 15px;
}
.mot-post__body .mot-evidence { background: var(--green-soft); border-left: 3px solid var(--green); }
.mot-post__body .mot-sources { background: var(--paper-2); }
.mot-post__body .mot-disclaimer { background: var(--red-soft); border-left: 3px solid var(--red); }

/* — Канали зв'язку у Приймальні — */
.mot-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  margin-bottom: 48px;
}
@media (max-width: 1023px) { .mot-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 479px)  { .mot-channels { grid-template-columns: 1fr; } }
.mot-channels .mot-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 22px;
}
.mot-channels .mot-card strong {
  font-size: 16px;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.mot-channels svg { color: var(--blue); }

/* — Зміст статті — */
.mot-toc {
  background: var(--paper-2);
  border-radius: var(--r-card-sm);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.mot-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.mot-toc a { color: var(--ink); }
.mot-toc a:hover { color: var(--blue); }

/* Рідні заголовки Astra на архівах і сторінках дублюють наші H1 */
.mot-v3 .ast-archive-description,
.mot-v3 .page-header,
.mot-v3 .entry-header .entry-title,
.mot-v3 .ast-single-post .entry-header,
.mot-v3 .ast-archive-title,
.mot-v3 .search .page-title,
.mot-v3 body.search .entry-title,
.mot-v3 .ast-search-box .page-title,
.mot-v3 .ast-container > h1:not(.mot-h1),
.mot-v3 #primary > h1:not(.mot-h1) { display: none !important; }

/* — Пагінація блогу (the_posts_pagination) — */
.mot-v3 .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 36px 0 0; }
.mot-v3 .page-numbers {
  min-width: 44px; min-height: 44px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  font-weight: 600; font-size: 15px; color: var(--ink);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.mot-v3 a.page-numbers:hover { border-color: var(--ink); }
.mot-v3 .page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }
.mot-v3 .page-numbers.dots { border: 0; min-width: 0; }

/* ===== dock.css ===== */
/* ==========================================================================
   v3 · Плаваючий віджет зв'язку: кнопка + панель із питанням і месенджерами
   ========================================================================== */

.mot-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: calc(100vw - 28px);
}

/* — Кнопка — */
.mot-dock__fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(31, 59, 255, .34);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.mot-dock__fab:hover { background: var(--blue-dark); transform: translateY(-2px); }
.mot-dock__fab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.mot-dock__fab-open { display: inline-flex; align-items: center; gap: 9px; }
.mot-dock__fab-close { display: none; }
.mot-dock.is-open .mot-dock__fab { width: 52px; padding: 0; }
.mot-dock.is-open .mot-dock__fab-open { display: none; }
.mot-dock.is-open .mot-dock__fab-close { display: inline-flex; }

/* — Кнопка «нагору» — */
.mot-dock__up {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.mot-dock__up:hover { border-color: var(--blue); color: var(--blue); }
.mot-dock__up[hidden] { display: none; }

/* — Панель — */
.mot-dock__panel {
  width: min(92vw, 360px);
  max-height: min(78vh, 660px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card-sm);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  animation: mot-dock-pop var(--dur) var(--ease-out);
}
.mot-dock__panel[hidden] { display: none; }
@keyframes mot-dock-pop {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.mot-dock__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 16px;
  background: linear-gradient(150deg, #0B1B3A 0%, #1B3468 100%);
  color: var(--paper);
}
.mot-dock__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.mot-dock__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--white);
}
.mot-dock__x {
  flex: none;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(245, 242, 234, .24);
  border-radius: 10px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background var(--dur-fast);
}
.mot-dock__x:hover { background: rgba(245, 242, 234, .14); }

.mot-dock__body { flex: 1 1 auto; overflow-y: auto; padding: 18px 20px; }
.mot-dock__lead { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink-60); }
.mot-dock__form { display: grid; gap: 12px; }
.mot-dock__form .mot-field { margin: 0; }
.mot-dock__form .mot-field__input { font-size: 15px; }
.mot-dock__form textarea.mot-field__input { min-height: 84px; resize: vertical; }
.mot-dock__form .mot-btn { width: 100%; gap: 8px; }
.mot-dock__hp { position: absolute; left: -9999px; }
.mot-dock__fine { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-60); }
.mot-dock__fine a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.mot-dock__msg {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--r-input);
  font-size: 13.5px;
  line-height: 1.5;
  background: var(--green-soft);
  border: 1px solid var(--green);
  color: var(--green);
}
.mot-dock__msg[hidden] { display: none; }
.mot-dock__msg.is-bad { background: var(--red-soft); border-color: var(--red); color: var(--red); }

/* — Месенджери — */
.mot-dock__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.mot-dock__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 13px 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mot-dock__act .mot-i { color: var(--ink-60); transition: color var(--dur-fast); }
.mot-dock__act:hover { background: var(--paper-2); color: var(--blue); }
.mot-dock__act:hover .mot-i { color: var(--blue); }
.mot-dock__act--tg:hover, .mot-dock__act--tg:hover .mot-i { color: #229ED9; }
.mot-dock__act--viber:hover, .mot-dock__act--viber:hover .mot-i { color: #7360F2; }

/* — Мобільна — над нижньою панеллю, не під нею — */
@media (max-width: 1023px) {
  .mot-dock {
    right: 14px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .mot-dock__fab { min-height: 48px; padding: 0 18px; font-size: 11px; }
  .mot-dock.is-open .mot-dock__fab { width: 48px; }
  .mot-dock__up { width: 38px; height: 38px; }
  .mot-dock__panel { width: min(100vw - 28px, 360px); max-height: 70vh; }
  .mot-dock__body { padding: 16px; }
  .mot-dock__head { padding: 16px 16px 14px; }

  /* Липкий бар покупки і банер cookie мають пріоритет — кнопку ховаємо */
  body.mot-has-sticky .mot-dock__fab,
  body.mot-has-sticky .mot-dock__up { display: none; }
  .mot-v3:has(.cookieadmin_law_container[style*="block"]) .mot-dock__fab,
  .mot-v3:has(.cookieadmin_law_container[style*="block"]) .mot-dock__up { display: none; }
}

/* ==========================================================================
   Живий чат усередині панелі зв'язку
   ========================================================================== */
/* У режимі листування панель фіксованої висоти, прокручується лише стрічка —
   інакше поле вводу тікало б під край екрана. */
.mot-dock__panel.is-chat { height: min(78vh, 640px); }
.mot-dock__panel.is-chat .mot-dock__body {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.mot-dock__panel.is-chat .mot-dock__lead { display: none; }
/* Форму ховаємо КЛАСОМ: у нас вона display:grid, і це правило перебило б
   браузерне [hidden]{display:none} */
.mot-dock__panel.is-chat .mot-dock__form { display: none; }

.mot-chat { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.mot-chat[hidden] { display: none; }

.mot-chat__stream {
  flex: 1 1 auto;
  min-height: 120px;
  overflow-y: auto;
  padding: 14px 16px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mot-chat__b { max-width: 86%; display: flex; flex-direction: column; gap: 3px; }
.mot-chat__t {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mot-chat__t a { color: inherit; text-decoration: underline; }
.mot-chat__meta { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-60); }

/* менеджер — ліворуч світлою карткою, клієнт — праворуч синьою */
.mot-chat__b.is-op { align-self: flex-start; }
.mot-chat__b.is-op .mot-chat__t {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.mot-chat__b.is-me { align-self: flex-end; align-items: flex-end; }
.mot-chat__b.is-me .mot-chat__t {
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 5px;
}
.mot-chat__b.is-pending { opacity: .6; }
.mot-chat__b.is-fail .mot-chat__t { background: var(--red); color: var(--white); }

.mot-chat__compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.mot-chat__compose textarea {
  flex: 1 1 auto;
  resize: none;
  max-height: 110px;
  padding: 10px 13px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px var(--f-body);
  line-height: 1.45;
}
.mot-chat__compose textarea:focus { border-color: var(--blue); outline: none; }
.mot-chat__compose button {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: background var(--dur-fast);
}
.mot-chat__compose button:hover { background: var(--blue-dark); }
.mot-chat__compose button svg { width: 18px; height: 18px; }

.mot-chat__foot {
  margin: 0;
  padding: 0 12px 10px;
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-60);
}
.mot-chat__foot span { flex: 1 1 auto; }
.mot-chat__end {
  flex: none;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink-60);
  font: 500 10.5px var(--f-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.mot-chat__end:hover { border-color: var(--red); color: var(--red); }
.mot-chat__end:disabled { opacity: .5; cursor: default; }

/* лічильник нових відповідей на кнопці */
.mot-dock__fab { position: relative; }
.mot-dock__badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--white);
  font: 500 11px var(--f-mono);
  box-shadow: 0 2px 8px rgba(11, 27, 58, .3);
}
.mot-dock__badge[hidden] { display: none; }

@media (max-width: 1023px) {
  .mot-dock__panel.is-chat { height: 70vh; }
  .mot-chat__stream { padding: 12px 14px; }
  .mot-chat__compose textarea { font-size: 16px; }   /* iOS не масштабує від 16px */
}

/* ===== pwa.css ===== */
/* ==========================================================================
   v3 · Сайт як застосунок: смужка «встановити» і блок на головній
   ========================================================================== */

/* — Смужка-запрошення знизу — */
.mot-install {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--z-modal) - 1);
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.mot-install.is-in { transform: none; opacity: 1; }
.mot-install[hidden] { display: none; }

.mot-install__in {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: var(--r-card-sm);
  background: var(--white);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
}
.mot-install__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); object-fit: contain; }
.mot-install__txt { flex: 1 1 auto; min-width: 0; }
.mot-install__txt b { display: block; font-size: 14px; line-height: 1.25; }
.mot-install__txt span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-60); }
.mot-install .mot-btn { flex: none; }
.mot-install__no {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-30);
  font-size: 15px;
  cursor: pointer;
}
.mot-install__no:hover { background: var(--paper-2); color: var(--ink); }
.mot-install.is-ios .mot-btn { display: none; }

@media (min-width: 1024px) {
  .mot-install { left: auto; right: 20px; bottom: 20px; max-width: 420px; }
}

/* — Блок на головній — */
.mot-app-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--r-card);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}
.mot-app-cta::after {
  content: '';
  position: absolute;
  inset: auto -120px -160px auto;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(31, 59, 255, .55), transparent 70%);
  pointer-events: none;
}
.mot-app-cta__body { position: relative; z-index: 1; }
.mot-app-cta .mot-section-label { color: var(--yellow); }
.mot-app-cta .mot-h2 { color: var(--white); margin-bottom: 12px; }
.mot-app-cta .mot-lead { color: rgba(245, 242, 234, .78); margin-bottom: 20px; }

.mot-app-cta__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.mot-app-cta__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(245, 242, 234, .9); }
.mot-app-cta__list svg { flex: none; color: var(--yellow); margin-top: 2px; }

.mot-app-cta__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mot-app-cta__row .mot-btn { background: var(--yellow); color: var(--ink); }
.mot-app-cta__row .mot-btn:hover { background: var(--yellow-dark); color: var(--ink); }
.mot-app-cta__hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(245, 242, 234, .55); }

/* Телефон із ярликом — чистий CSS, без картинок */
.mot-app-cta__art { position: relative; z-index: 1; display: grid; place-items: center; }
.mot-app-phone {
  width: 190px;
  aspect-ratio: 9 / 17;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(160deg, #26355F, #101F42);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(245, 242, 234, .12);
  transform: rotate(-4deg);
}
.mot-app-phone__screen {
  height: 100%;
  border-radius: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-align: center;
}
.mot-app-phone__screen img { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow-1); }
.mot-app-phone__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink);
}

/* — Режим застосунку: більше повітря під системними панелями — */
@media (display-mode: standalone) {
  body.mot-v3 { padding-top: env(safe-area-inset-top, 0px); }
  .mot-topbar { display: none; }              /* адресний рядок і так не видно */
  .mot-install { display: none !important; }  /* уже встановлено */
}

@media (max-width: 1023px) {
  .mot-app-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 22px;
    text-align: center;
  }
  .mot-app-cta::after { inset: auto -140px -200px auto; }
  .mot-app-cta__list { text-align: left; }
  .mot-app-cta__row { justify-content: center; }
  .mot-app-cta__row .mot-btn { width: 100%; }
  .mot-app-cta__hint { width: 100%; text-align: center; }
  .mot-app-phone { width: 150px; transform: none; }
  .mot-app-cta__art { order: -1; }

  .mot-install__in { padding: 10px 12px; gap: 10px; }
  .mot-install__icon { width: 38px; height: 38px; }
  .mot-install__txt b { font-size: 13px; }
  .mot-install__txt span { font-size: 11.5px; }
  /* Поки видно липкий бар покупки — запрошення не заважає */
  body.mot-has-sticky .mot-install { display: none; }
}


/* ===== mobile.css ===== */
/* ==========================================================================
   v3 · Мобільна версія. Підключається останньою, тому перебиває решту.
   Орієнтир: 360–430 px. Все, що ширше 1023 px, тут не змінюється.
   ========================================================================== */

@media (max-width: 1023px) {

  /* — Ритм і поля — */
  :root {
    --gutter: 16px;
    --section: 64px;
    --r-card: 22px;
    --r-card-sm: 16px;
  }
  .mot-wrap { padding: 0 var(--gutter); }
  .mot-section { padding: var(--section) 0; }

  /* Заголовки: на вузькому екрані вирішує ширина, а не висота */
  :root { --fs-h1: clamp(30px, 9.2vw, 46px); --fs-h2: clamp(24px, 6.6vw, 34px); --fs-h3: 19px; }
  .mot-h1, .mot-v3 h1 { overflow-wrap: anywhere; hyphens: auto; }
  .mot-lead { font-size: 16px; }

  /* — Топ-бар — */
  .mot-topbar { height: auto; padding: 7px 0; }
  .mot-topbar__in { text-align: center; }
  .mot-topbar .mot-label { font-size: 9px; letter-spacing: .08em; line-height: 1.4; }

  /* — Хедер: логотип · бургер · кошик — */
  .mot-header__in { height: 60px; gap: 10px; }
  .mot-logo { max-width: none; flex: 1 1 auto; min-width: 0; gap: 8px; }
  .mot-logo__img { width: 36px; height: 36px; }
  .mot-logo__text { font-size: 12px; line-height: 1.1; }

  .mot-burger { width: 38px; height: 38px; gap: 4px; margin-left: auto; }
  .mot-burger span { height: 2px; }

  .mot-cart-pill { height: 38px; padding: 0 12px; gap: 6px; font-size: 0; }
  .mot-cart-pill svg { width: 18px; height: 18px; }
  .mot-cart-count { font-size: 11px; min-width: 19px; height: 19px; }

  /* — HERO — */
  .mot-hero { padding: 32px 0 24px; }
  .mot-hero__in { gap: 24px; }
  .mot-hero__stamp { margin-bottom: 18px; font-size: 11px; padding: 7px 14px; }
  .mot-hero__h1 { margin-bottom: 18px; }
  .mot-hero__line--accent { display: inline; }
  .mot-hero__underline { height: .14em; bottom: -.1em; }
  .mot-hero__sub { margin-bottom: 22px; }
  .mot-hero__cta { gap: 10px; margin-bottom: 18px; }
  .mot-hero__cta .mot-btn { flex: 1 1 100%; height: 54px; }
  .mot-hero__facts { font-size: 10px; line-height: 1.6; letter-spacing: .06em; }

  .mot-hero__art { min-height: 260px; }
  .mot-roll--1 { width: 128px; height: 128px; left: 26%; top: 22%; }
  .mot-roll--2 { width: 88px;  height: 88px;  left: 2%;  top: 8%; }
  .mot-roll--3 { width: 76px;  height: 76px;  left: 66%; top: 4%; }
  .mot-roll--4 { width: 82px;  height: 82px;  left: 68%; top: 54%; }
  .mot-roll--5 { width: 70px;  height: 70px;  left: 6%;  top: 62%; }
  .mot-hero__chip { font-size: 11px; padding: 7px 12px; gap: 5px; }
  .mot-hero__chip svg { width: 13px; height: 13px; }
  .mot-hero__chip--1 { top: 0; left: 22%; }
  .mot-hero__chip--2 { top: 42%; right: 0; }
  .mot-hero__chip--3 { bottom: 0; left: 4%; }

  /* — Стрічка зон — */
  .mot-tape { padding: 10px 0; }
  .mot-tape__track { font-size: 11px; gap: 24px; }

  /* — Швидкий підбір — */
  .mot-quick { padding: 22px; }
  .mot-quick__chips { gap: 8px; }
  .mot-chip { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .mot-swatch { width: 32px; height: 32px; }
  .mot-swatches { gap: 9px; }
  .mot-quick__figure { flex-direction: row; align-items: center; padding: 18px; font-size: 15px; }

  /* — Довіра — */
  .mot-trust__item { padding: 0; }
  .mot-trust__item:nth-child(n) { border-left: 0; }
  .mot-trust { gap: 20px; }

  /* — Секції — */
  .mot-section-head { margin-bottom: 26px; gap: 14px; }
  .mot-section-label { margin-bottom: 12px; }

  /* — Картки товару — */
  /* Каталог тримає три колонки до 700px (див. shop.css), тому тут лише відступ */
  .mot-shop__grid { gap: 12px; }
  .mot-grid.mot-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mot-pcard__body { padding: 14px; gap: 8px; }
  .mot-pcard__name { font-size: 14px; min-height: 2.6em; }
  .mot-pcard__price { font-size: 18px; }
  .mot-pcard__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .mot-pcard__foot .mot-btn { width: 100%; height: 40px; font-size: 14px; padding: 0 12px; }
  .mot-pcard .mot-swatch--sm { width: 18px; height: 18px; }
  .mot-pcard__fav { width: 34px; height: 34px; }
  .mot-badge-w { font-size: 11px; padding: 4px 9px; }

  /* — Відділи — */
  .mot-grid.mot-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mot-folder { padding: 18px; }
  .mot-folder__media { margin-bottom: 12px; }
  .mot-folder h3 { font-size: 16px; }
  .mot-roll--static { width: 62px; height: 62px; }

  /* — Промо-указ — */
  .mot-promo { padding: 26px 20px; }
  .mot-code { font-size: 16px; padding: 12px 18px; }

  /* — Статистика — */
  .mot-stat { padding: 24px 12px; }
  .mot-stat__n { font-size: clamp(26px, 8vw, 36px); }

  /* — Кроки, гарантії — */
  .mot-step__num { width: 40px; height: 40px; margin-bottom: 12px; }
  .mot-guar { padding-top: 22px; }
  .mot-guar .mot-seal { position: static; margin-bottom: 12px; }

  /* — FAQ — */
  .mot-acc__sum { font-size: 16px; padding: 18px 0; gap: 10px; }
  .mot-acc__body { padding-left: 0; font-size: 15px; }
  .mot-acc__num { display: none; }

  /* — Telegram — */
  .mot-tg { padding: 40px 0; }
  .mot-tg__in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .mot-tg .mot-btn { width: 100%; }

  /* — Футер — */
  .mot-footer { padding: 44px 0 24px; }
  .mot-footer__grid { gap: 26px; padding-bottom: 26px; }
  .mot-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }

  /* — Нижня панель — */
  .mot-tabbar { height: 62px; }
  .mot-tabbar a { font-size: 9px; gap: 2px; letter-spacing: 0; }
  .mot-tabbar svg { width: 21px; height: 21px; }
  body.mot-v3 { padding-bottom: 62px; }

  /* — Каталог — */
  .mot-shop-head { padding: 0 0 22px; }
  .mot-shop-head h1 { display: block; margin: 0 0 10px; }
  .mot-shop-head__intro { font-size: 15px; }
  .mot-shop-bar { gap: 10px; margin-bottom: 18px; }
  .mot-v3 .woocommerce-ordering select.orderby { min-width: 0; width: 100%; font-size: 14px; }
  .mot-rail {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: auto;
    z-index: var(--z-drawer);
    max-height: 82vh;
    overflow-y: auto;
    border-radius: 22px 22px 0 0;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform var(--dur) var(--ease-out);
    display: block;
    box-shadow: 0 -20px 60px rgba(11, 27, 58, .2);
  }
  .mot-rail.is-open { transform: none; }
  .mot-rail::before {
    content: '';
    display: block;
    width: 44px; height: 5px;
    margin: 0 auto 18px;
    border-radius: 3px;
    background: var(--line-strong);
  }

  /* — Картка товару — */
  .mot-pdp { gap: 24px; padding-bottom: 32px; }
  .mot-pdp__main { aspect-ratio: 1 / 1; }
  .mot-pdp__main img { padding: 18px; }
  .mot-pdp__title { font-size: clamp(21px, 6vw, 28px); margin: 8px 0 14px; }
  .mot-pdp__price { font-size: 32px; }
  .mot-pdp__thumb { width: 66px; height: 66px; }
  .mot-pdp__actions { gap: 10px; }
  .mot-pdp__actions .mot-btn { min-width: 0; flex: 1 1 100%; order: 3; }
  .mot-pdp__actions .mot-stepper { order: 1; }
  .mot-pdp__fav { order: 2; }
  .mot-seg { flex-wrap: wrap; }
  .mot-seg button, .mot-seg__link { padding: 9px 14px; font-size: 14px; }
  .mot-tabs { gap: 0; }
  .mot-tabs button { padding: 14px 12px; font-size: 14px; }
  .mot-tabp { padding: 22px 0; }
  .mot-tabp--doc .mot-seal { display: none; }
  .mot-doc th { width: 42%; font-size: 10px; }
  .mot-doc td { font-size: 14px; }

  /* — Кошик — */
  .mot-cart__thumb { width: 64px; height: 64px; }
  .mot-cart__name { font-size: 14px; margin-bottom: 6px; }
  .mot-stepper { height: 44px; }
  .mot-stepper button { width: 38px; }
  .mot-stepper input { width: 38px; }
  .mot-sum__total strong { font-size: 26px; }

  /* — Оформлення — */
  .mot-block { padding: 20px; }
  .mot-checkout__side .mot-card { padding: 20px; }

  /* — Кабінет — */
  .mot-v3 .woocommerce-account .woocommerce { padding: 20px var(--gutter) var(--section); }
  .mot-v3 .woocommerce-MyAccount-navigation ul {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }
  .mot-v3 .woocommerce-MyAccount-navigation a { white-space: nowrap; padding: 10px 14px; font-size: 14px; }
  .mot-acc-order__thumb { width: 44px; height: 44px; }

  /* — Карта тіла — */
  .mot-bm { gap: 18px; }
  .mot-bm__figbox { min-height: 0; padding: 18px; }
  .mot-bm__panel { padding: 20px; }
  .mot-zone__title { margin: 4px 0 16px; }
  .mot-zone__steps { gap: 14px; }
  .mot-zone__num { width: 32px; height: 32px; font-size: 12px; }
  .mot-bm__list { gap: 6px; }
  .mot-bm__zone { padding: 10px 14px; font-size: 14px; }

  /* — Модалки на всю ширину — */
  .mot-modal { width: calc(100% - 24px); padding: 24px; max-height: 86vh; overflow-y: auto; }

  /* — Липкий бар покупки не перекриває таб-бар — */
  .mot-sticky-buy { bottom: 62px; padding: 10px 0; }
  .mot-sticky-buy__thumb { width: 40px; height: 40px; }
  .mot-sticky-buy .mot-btn { height: 44px; padding: 0 18px; }
}

/* — Дуже вузькі екрани — */
@media (max-width: 389px) {
  .mot-logo__text { display: none; }        /* лишаємо саму емблему */
  .mot-shop__grid, .mot-grid.mot-g4, .mot-grid.mot-g3 { gap: 10px; }
  .mot-pcard__name { font-size: 13px; }
  .mot-tabbar a { font-size: 8px; }
}

/* — Безпечна зона iPhone — */
@supports (padding: env(safe-area-inset-bottom)) {
  @media (max-width: 1023px) {
    .mot-tabbar { height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
    body.mot-v3 { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .mot-sticky-buy { bottom: calc(62px + env(safe-area-inset-bottom)); }
  }
}

/* ==== Доопрацювання після першого мобільного прогону ==== */
@media (max-width: 1023px) {
  /* Назву лишаємо завжди — це впізнаваність бренду */
  .mot-logo__text { display: block !important; font-size: 11.5px; letter-spacing: 0; }
  .mot-logo { gap: 7px; }

  /* Бургер: три однакові риски, поруч із кошиком */
  .mot-burger { margin-left: auto; margin-right: 2px; }
  .mot-burger span { width: 20px; margin-left: auto; }
  .mot-burger span:nth-child(2) { width: 14px; }

  /* Повітря в hero */
  .mot-hero__h1 { margin-bottom: 14px; }
  .mot-hero__sub { margin-bottom: 20px; }
  .mot-hero__facts { margin-top: 4px; }
  .mot-hero__art { min-height: 300px; margin-top: 8px; }
  .mot-hero__chip--1 { top: 2%; left: 26%; }

  /* Чужі плаваючі кнопки плагінів не потрібні — у нас є свої */
  .mot-v3 .modern-cart-float,
  .mot-v3 .mc-floating-cart,
  .mot-v3 #wplc_chatbox_container,
  .mot-v3 .wplc-chat-button { display: none !important; }
}

@media (max-width: 389px) {
  .mot-logo__text { font-size: 10.5px; }
}

/* Плаваючий кошик плагіна modern-cart дублює нашу нижню панель */
.mot-v3 #moderncart-floating-cart,
.mot-v3 .moderncart-toggle-slide-out { display: none !important; }

/* ==== Картка товару: липкий бар і ціна ==== */
@media (max-width: 1023px) {
  .mot-pdp__price { margin-top: 14px; }

  .mot-sticky-buy__in { gap: 12px; padding: 0 var(--gutter); }
  .mot-sticky-buy .mot-btn {
    flex: none;
    height: 46px;
    padding: 0 20px;
    font-size: 15px;
    white-space: nowrap;
  }
  .mot-sticky-buy .mot-pcard__price { font-size: 20px; white-space: nowrap; }

  /* Коли видно липкий бар — ховаємо «Приймальню», щоб не накладались */
}

/* ==== Кошик: рядок і промокод ==== */
@media (max-width: 1023px) {
  .mot-swatch--sm { width: 18px !important; height: 18px !important; }

  /* Третя колонка — auto: у ній і хрестик, і ціна. З фіксованими 22px
     ціна вилазила на лічильник. */
  .mot-cart__row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas: 'thumb info del' 'step step price';
    column-gap: 12px;
    row-gap: 12px;
    align-items: center;
  }
  .mot-cart__price { font-size: 18px; justify-self: end; white-space: nowrap; }
  .mot-cart__row .mot-stepper { justify-self: start; }
  .mot-cart__meta { gap: 8px; }

  .mot-cart__promo .mot-row { flex-direction: column; align-items: stretch; }
  .mot-cart__promo .mot-field__input { max-width: none !important; }
  .mot-cart__promo .mot-btn { width: 100%; }
}

/* ==== Другий мобільний прогін (06.09.2026): дрібний текст, зони тапу ==== */
@media (max-width: 1023px) {
  /* Ніякого тексту дрібніше 10 px */
  .mot-topbar .mot-label { font-size: 10px; }
  .mot-lang__item { font-size: 11px; padding: 6px 9px; }
  .mot-tabbar a { font-size: 10px; }
  .mot-doc th { font-size: 11px; }

  /* Візуально малі елементи отримують невидиму зону тапу 36–44 px */
  .mot-swatch--sm::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; }
  .mot-crumbs a { display: inline-block; padding: 6px 0; }
  .mot-link--sm { padding: 6px 0; }
  .mot-mmenu a { display: block; padding: 10px 0; }
  .mot-rail__list a { padding: 9px 0; }
  .mot-footer__list { gap: 2px; }
  .mot-footer__list a { display: inline-block; padding: 7px 0; }
}
@media (max-width: 389px) {
  .mot-tabbar a { font-size: 10px; letter-spacing: 0; }
}

/* ==========================================================================
   Третій прогін адаптиву (23.09.2026) — за результатами заміру
   320 / 360 / 390 / 414 / 667×375 / 768 / 1024 / 1366 / 1920 / 2560.
   ========================================================================== */

/* — Кнопка «змінити cookie» від плагіна —
   Вона фіксована в лівому нижньому куті (bottom:15px, z-index 99999) і
   лягала рівно на першу вкладку нижньої панелі: іконку «Каталог» не було
   ні видно, ні натиснути. Піднімаємо над панеллю, зменшуємо і прибираємо
   разом із «Приймальнею», коли з'являється липкий бар покупки. */
@media (max-width: 1023px) {
  .mot-v3 .cookieadmin_re_consent {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    left: 10px !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 140 !important;
  }
  body.mot-has-sticky .cookieadmin_re_consent { display: none !important; }
}

/* — Телефон в альбомі —
   На 667×375 нижня панель (62px) і «Приймальня» (48px) з'їдали третину
   висоти екрана. В альбомі лишаємо тільки шапку й «Приймальню». */
@media (max-width: 1023px) and (max-height: 450px) and (orientation: landscape) {
  .mot-tabbar { display: none; }
  body.mot-v3 { padding-bottom: 0; }
  .mot-sticky-buy { bottom: 0; }
  .mot-v3 .cookieadmin_re_consent { bottom: 10px !important; }
  .mot-dock { transform: scale(.9); transform-origin: right bottom; }
  .mot-v3 .cookieadmin_law_container { bottom: 10px !important; }
}

/* — Поле пошуку —
   Обгортка мала 44px, а сам input — 25px: тап по краю коробки не ставив
   курсор. Плюс шрифт 14px змушував Safari наближати сторінку при фокусі. */
@media (max-width: 1023px) {
  /* align-self, а не height:100% — обгортка не завжди має задану висоту,
     і тоді input складався б у нуль. */
  .mot-search input { align-self: stretch; font-size: 16px; }
  .mot-search { min-width: 0; }
}

/* — Зони тапу, яких не вистачало —
   Заміряно: .mot-link 25px, .mot-burger 38px, .mot-modal__close 36px,
   кнопка «показати пароль» 25px. Норма — 44px. */
@media (max-width: 1023px) {
  .mot-link { display: inline-block; padding: 9px 0; }
  .mot-crumbs .mot-link, .mot-acard .mot-link { padding: 6px 0; }
  .mot-burger { width: 44px; height: 44px; }
  .mot-modal__close { width: 44px; height: 44px; }
  .mot-v3 .show-password-input {
    height: 44px !important;
    width: 44px;
    top: 50% !important;
    transform: translateY(-50%);
    background-position: center !important;
  }
}

/* — Дрібний текст —
   Мінімум по сайту був 10px (факти в шапці героя, печатка, підпис лого).
   Піднімаємо підлогу до 11px: менше на телефоні вже не читається. */
@media (max-width: 1023px) {
  .mot-hero__facts { font-size: 11px; }
  .mot-seal--sm { font-size: 11px; }
  .mot-topbar .mot-label { font-size: 11px; }
}
@media (max-width: 359px) {
  .mot-logo__text { font-size: 11px; }
}
/* Підписи нижньої панелі були 10px. Заміряно: пункт 64px завширшки,
   найдовше слово «КАБІНЕТ» на 11px займає ~49px — вміщається навіть на 320. */
@media (max-width: 1023px) {
  .mot-tabbar a { font-size: 11px; }
  .mot-dock__eyebrow { font-size: 11px; }
}
@media (max-width: 389px) {
  .mot-tabbar a { font-size: 11px; letter-spacing: 0; }
}

/* — Телефон —
   Посилання «зателефонувати» мали 21–26px висоти. Це головна дія для тих,
   хто не хоче писати, тож даємо повноцінну зону тапу. */
@media (max-width: 1023px) {
  .mot-v3 a[href^="tel:"] { display: inline-block; padding: 9px 0; }
  .mot-footer__phone a { font-size: 17px; }
}

/* — Картки товару —
   На 320px довгі назви йшли в три рядки, і сусідні ряди сітки різнилися
   на 64px. Тримаємо назву у двох рядках. */
@media (max-width: 599px) {
  .mot-pcard__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
