/* «Подойдёт ли мне?» — собранный файл, не править руками. Источник: fit/src/styles.css */
/* «Подойдёт ли мне?» — стили. Сайт в светлой теме Aspro: его глобальные правила (ul > li::before,
   margin у p, стили a/h2/h3/button/.btn) пробивают изоляцию, поэтому:
   — сбросы для элементов окна задаются на .fit5lb (специфичность 0,1,1);
   — компонентные правила для p/ul/li/h2/h3/button/a пишутся как «.fit5lb .fit5lb-x» (0,2,0) и перебивают сбросы;
   — классы темы (btn и т.п.) не используем. */

/* ───────── общие сбросы окна ───────── */
.fit5lb,
.fit5lb * {
  box-sizing: border-box;
}
.fit5lb p,
.fit5lb ul,
.fit5lb li,
.fit5lb h2,
.fit5lb h3,
.fit5lb h4,
.fit5lb button,
.fit5lb a,
.fit5lb div {
  margin: 0;
  padding: 0;
  font-family: inherit;
  text-decoration: none;
}
.fit5lb li::before,
.fit5lb li::after {
  content: none;
  display: none;
}
.fit5lb h2,
.fit5lb h3,
.fit5lb h4 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

/* ───────── кнопка в карточке товара ───────── */
.fit5lb-btn-wrap {
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0 0;
  font-family: inherit;
  text-align: center;
}
.fit5lb-btn-wrap .fit5lb-btn {
  /* Как штатные кнопки Aspro в карточке: Golos Text 500, скругление 6px, рамка 1px; чёрная — чтобы выделялась
     рядом с оранжевой «В корзину» и прозрачной «Купить в 1 клик». */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  background: #1A1A1F;
  border: 1px solid #1A1A1F;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.fit5lb-btn-wrap .fit5lb-btn:hover {
  background: #3A3A42;
  border-color: #3A3A42;
}
.fit5lb-btn-wrap .fit5lb-btn:focus-visible {
  outline: 2px solid #1A1A1F;
  outline-offset: 2px;
}

/* ───────── окно: затемнение и контейнер ───────── */
.fit5lb {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(17, 24, 39, .55);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  color: #1F2937;
  text-align: left;
  opacity: 0;
  transition: opacity .2s ease-out;
}
.fit5lb.fit5lb-open {
  opacity: 1;
}

/* Телефон: снизу на всю ширину (bottom sheet), скругление только сверху. */
.fit5lb .fit5lb-sheet {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform .2s ease-out;
}
.fit5lb.fit5lb-open .fit5lb-sheet {
  transform: none;
}

/* Ширина от 768px: по центру, окно, прокрутка внутри. */
@media (min-width: 768px) {
  .fit5lb {
    align-items: center;
    padding: 16px;
  }
  .fit5lb .fit5lb-sheet {
    max-width: 520px;
    max-height: 90vh;
    padding: 24px;
    border-radius: 16px;
    transform: none;
    transition: none;
  }
}

.fit5lb .fit5lb-close {
  /* Липкий, а не absolute: на длинном выводе шторка прокручивается, и крестик должен оставаться под рукой. */
  position: sticky;
  top: 0;
  z-index: 2;
  display: block;
  width: 40px;
  height: 40px;
  margin: -8px -8px -32px auto;
  padding: 0;
  background: rgba(255, 255, 255, .92);
  border: 0;
  border-radius: 8px;
  color: #6B7280;
  font-family: inherit;
  font-size: 28px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}
.fit5lb .fit5lb-close:hover {
  color: #1F2937;
  background: #F3F4F6;
}

.fit5lb .fit5lb-body {
  min-width: 0;
}

.fit5lb .fit5lb-title {
  margin: 0 36px 6px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-prod {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #6B7280;
  overflow-wrap: anywhere;
}

/* Прогресс */
.fit5lb .fit5lb-prog {
  margin: 0 0 16px;
}
.fit5lb .fit5lb-prog-label {
  margin: 0 0 6px;
  font-size: 13px;
  color: #6B7280;
}
.fit5lb .fit5lb-bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
}
.fit5lb .fit5lb-bar-fill {
  height: 100%;
  background: #FF5C00;
  border-radius: 3px;
  transition: width .2s ease-out;
}

/* Вопрос и варианты */
.fit5lb .fit5lb-q {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #6B7280;
}
.fit5lb .fit5lb-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}
.fit5lb .fit5lb-opt {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  color: #1F2937;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-opt:hover {
  border-color: #FFB38A;
}
.fit5lb .fit5lb-opt.is-on {
  border-color: #FF5C00;
  background: #FFF3EC;
  box-shadow: inset 0 0 0 1px #FF5C00;
}
.fit5lb .fit5lb-opt:disabled {
  cursor: default;
}

/* Навигация и ссылки-кнопки */
.fit5lb .fit5lb-nav {
  margin: 0 0 10px;
}
.fit5lb .fit5lb-link {
  display: inline-block;
  margin: 0;
  padding: 6px 0;
  background: none;
  border: 0;
  color: #6B7280;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: underline;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}
.fit5lb .fit5lb-link:hover {
  color: #1F2937;
}
.fit5lb .fit5lb-link:disabled {
  color: #9CA3AF;
  cursor: default;
}
.fit5lb .fit5lb-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0 0 10px;
  padding: 12px 16px;
  background: #FF5C00;
  border: 2px solid #FF5C00;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}
.fit5lb .fit5lb-btn-main:hover {
  background: #E65300;
  border-color: #E65300;
}
.fit5lb .fit5lb-btn-main:disabled {
  opacity: .45;
  cursor: default;
}
.fit5lb .fit5lb-btn-main.is-done,
.fit5lb .fit5lb-btn-main.is-done:disabled {
  opacity: 1;
  background: #1A9E55;
  border-color: #1A9E55;
}
.fit5lb .fit5lb-btn-main:focus-visible,
.fit5lb .fit5lb-link:focus-visible,
.fit5lb .fit5lb-opt:focus-visible,
.fit5lb .fit5lb-alt:focus-visible,
.fit5lb .fit5lb-close:focus-visible {
  outline: 2px solid #FF5C00;
  outline-offset: 2px;
}

/* Вывод */
.fit5lb .fit5lb-body > :first-child {
  margin-right: 36px; /* место под крестик закрытия */
}
.fit5lb .fit5lb-result-title {
  margin-bottom: 12px;
  line-height: 32px; /* по центру крестика 40px со сдвигом -8px */
}
.fit5lb .fit5lb-verdict {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: #ECFDF3;
  border: 1px solid #B7EBCB;
  border-radius: 14px;
}
.fit5lb .fit5lb-verdict-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: #157A43;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.fit5lb .fit5lb-verdict-ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-self: flex-start;
  margin-top: -3px; /* центр иконки — по первой строке заголовка (20px × 1.25) */
}
.fit5lb .fit5lb-verdict-ico svg {
  display: block;
  width: 32px;
  height: 32px;
}
.fit5lb .fit5lb-verdict-list {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc outside;
}
.fit5lb .fit5lb-verdict-li {
  margin: 0 0 4px;
  padding: 0;
  color: #1F2937;
  font-size: 15px;
  line-height: 1.45;
  list-style: disc outside;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-verdict-li::marker {
  color: #1A9E55;
}
.fit5lb .fit5lb-verdict-li:last-child {
  margin-bottom: 0;
}
/* Альтернатива: жёлтый, как предупреждающий знак, — «обрати внимание», без тревожного красного. */
.fit5lb .fit5lb-verdict.is-alt {
  background: #FFF8D6;
  border-color: #F5D565;
}
.fit5lb .fit5lb-verdict.is-alt .fit5lb-verdict-head {
  color: #6B4A00; /* тёмно-янтарный: на жёлтом фоне контраст выше 7:1 */
}
.fit5lb .fit5lb-verdict.is-alt .fit5lb-verdict-li::marker {
  color: #E0A100;
}
.fit5lb .fit5lb-alt-wrap.is-main {
  margin: 0 0 12px;
}
.fit5lb .fit5lb-alt-wrap.is-main .fit5lb-h3 {
  margin-top: 0;
}
.fit5lb .fit5lb-p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #1F2937;
}
.fit5lb .fit5lb-muted {
  font-size: 14px;
  color: #6B7280;
}

/* Альтернативы */
.fit5lb .fit5lb-alts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}
.fit5lb .fit5lb-alt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  color: #1F2937;
  text-decoration: none;
}
.fit5lb .fit5lb-alt:hover {
  border-color: #FF5C00;
}
.fit5lb .fit5lb-alt-img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}
.fit5lb .fit5lb-alt-info {
  flex: 1 1 auto;
  min-width: 0;
}
.fit5lb .fit5lb-alt-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-alt-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 0;
}
.fit5lb .fit5lb-mark {
  display: inline-block;
  padding: 2px 8px;
  background: #F3F4F6;
  border-radius: 999px;
  color: #4B5563;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.fit5lb .fit5lb-mark.is-match {
  background: #ECFDF3;
  color: #157A43;
}
.fit5lb .fit5lb-alt-price {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #FF5C00;
}

/* Действия под выводом */
.fit5lb .fit5lb-actions {
  margin: 0 0 4px;
}

.fit5lb .fit5lb-ask {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
}
.fit5lb .fit5lb-ask-title {
  margin: 0 0 4px;
  color: #1F2937;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.fit5lb .fit5lb-ask-text {
  margin: 0 0 12px;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.45;
}
.fit5lb .fit5lb-ask-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  color: #1F2937;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}
.fit5lb .fit5lb-ask-btn:hover {
  border-color: #29A9EB;
  color: #1F2937;
}
.fit5lb .fit5lb-ask-btn:focus-visible {
  outline: 2px solid #29A9EB;
  outline-offset: 2px;
}
.fit5lb .fit5lb-ask-ico {
  display: block;
  flex: 0 0 auto;
}
.fit5lb .fit5lb-disc {
  margin: 16px 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #6B7280;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
}

/* ───────── план приёма ───────── */
.fit5lb .fit5lb-plan {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
}
.fit5lb .fit5lb-plan-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1F2937;
}
.fit5lb .fit5lb-plan-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #E5E7EB;
}
.fit5lb .fit5lb-plan-label {
  flex: 0 0 62px;
  font-size: 13px;
  line-height: 1.4;
  color: #6B7280;
}
.fit5lb .fit5lb-plan-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-plan-tips {
  margin: 4px 0 0;
  padding: 10px 0 0 18px;
  border-top: 1px solid #E5E7EB;
  list-style: disc outside;
}
.fit5lb .fit5lb-plan-tip {
  margin: 0 0 4px;
  padding: 0;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.45;
  list-style: disc outside;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-plan-tip::marker {
  color: #FF5C00;
}

/* ───────── подарок: коробка ───────── */
.fit5lb .fit5lb-gift {
  position: relative;
  margin: 16px 0 12px;
  overflow: hidden; /* конфетти не дают горизонтальной прокрутки */
}
.fit5lb .fit5lb-gift-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 280px;
  margin: 0;
  padding: 28px 16px 30px;
  background: transparent;
  border: 0;
  border-radius: 16px;
  color: #1F2937;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 767px) {
  .fit5lb .fit5lb-gift-box { min-height: 260px; }
}
.fit5lb .fit5lb-gift-box:focus-visible {
  outline: 2px solid #FF5C00;
  outline-offset: -6px;
}
.fit5lb .fit5lb-gift-halo,
.fit5lb .fit5lb-gift-rays {
  position: absolute;
  left: 50%;
  top: 42%;
  pointer-events: none;
}
.fit5lb .fit5lb-gift-halo {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 50, .42) 0%, rgba(255, 91, 0, .14) 38%, transparent 66%);
  transform: translate(-50%, -50%);
  animation: fit5lb-breathe 3.4s ease-in-out infinite;
}
.fit5lb .fit5lb-gift-rays {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 190, 150, .4) 0deg 5deg, transparent 5deg 20deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle, #000 0%, transparent 60%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2) rotate(0deg);
  transition: opacity .4s ease, transform 1.2s ease;
}
.fit5lb .fit5lb-gift-box.is-open .fit5lb-gift-rays {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(30deg);
}
.fit5lb .fit5lb-gift-stage {
  position: relative;
  width: 180px;
  height: 172px;
  max-width: 100%;
  animation: fit5lb-float 3.4s ease-in-out infinite;
}
.fit5lb .fit5lb-gift-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform .4s ease;
}
.fit5lb .fit5lb-gift-box:hover .fit5lb-gift-svg {
  transform: scale(1.04) rotate(-1.5deg);
}
.fit5lb .fit5lb-gift-lid {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform .75s ease, opacity .5s ease .25s;
}
.fit5lb .fit5lb-gift-box.is-open .fit5lb-gift-lid {
  transform: translate(26px, -130px) rotate(-24deg);
  opacity: 0;
}
.fit5lb .fit5lb-gift-bow {
  transform-box: fill-box;
  transform-origin: 50% 85%;
  animation: fit5lb-bow 3.4s ease-in-out infinite;
}
.fit5lb .fit5lb-gift-box.is-shake .fit5lb-gift-stage {
  animation: fit5lb-shake .42s ease-in-out;
}
.fit5lb .fit5lb-gift-box.is-leaving .fit5lb-gift-stage,
.fit5lb .fit5lb-gift-box.is-leaving .fit5lb-gift-caption,
.fit5lb .fit5lb-gift-box.is-leaving .fit5lb-gift-halo,
.fit5lb .fit5lb-gift-box.is-leaving .fit5lb-gift-rays {
  opacity: 0;
  transition: opacity .35s ease;
}
.fit5lb .fit5lb-gift-caption {
  position: relative;
  display: grid;
  gap: 2px;
  text-align: center;
}
.fit5lb .fit5lb-gift-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1F2937;
}
.fit5lb .fit5lb-gift-hint {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #6B7280;
}
.fit5lb .fit5lb-gift-spark {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  background: #FF8A45;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  animation: fit5lb-twinkle 2.6s ease-in-out infinite;
}
.fit5lb .fit5lb-gift-spark--1 { left: 6%; top: 22%; }
.fit5lb .fit5lb-gift-spark--2 { right: 2%; top: 8%; width: 10px; height: 10px; animation-delay: .7s; }
.fit5lb .fit5lb-gift-spark--3 { right: 10%; bottom: 26%; width: 9px; height: 9px; animation-delay: 1.4s; }
.fit5lb .fit5lb-gift-spark--4 { left: 14%; bottom: 12%; width: 8px; height: 8px; animation-delay: 2s; }
.fit5lb .fit5lb-gift-dot {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 7px;
  height: 12px;
  margin: -6px 0 0 -3px;
  border-radius: 2px;
  pointer-events: none;
  will-change: transform, opacity;
}
.fit5lb .fit5lb-gift-dot--round {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
}
@keyframes fit5lb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fit5lb-breathe {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes fit5lb-bow {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg); }
}
@keyframes fit5lb-shake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-6deg) translateY(-2px); }
  40% { transform: rotate(5deg); }
  60% { transform: rotate(-4deg) translateY(-3px); }
  80% { transform: rotate(3deg); }
}
@keyframes fit5lb-twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ───────── подарок: купон ───────── */
.fit5lb .fit5lb-gift-body {
  position: relative;
}
.fit5lb .fit5lb-gift-body.is-in {
  animation: fit5lb-coupon-in .75s ease both;
}
@keyframes fit5lb-coupon-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.fit5lb .fit5lb-coupon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  background: #FFF3EC;
  border: 1px solid #FFD2B8;
  border-radius: 16px;
}
.fit5lb .fit5lb-coupon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.fit5lb .fit5lb-gift-body.is-in .fit5lb-coupon::after {
  animation: fit5lb-coupon-shine 1.4s ease .4s both;
}
@keyframes fit5lb-coupon-shine {
  from { left: -40%; }
  to { left: 130%; }
}
.fit5lb .fit5lb-coupon-main {
  min-width: 0;
  padding: 20px 22px;
}
.fit5lb .fit5lb-coupon-eyebrow {
  font-size: 13px;
  line-height: 1.3;
  color: #6B7280;
}
.fit5lb .fit5lb-coupon-code {
  margin: 6px 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .06em;
  color: #1F2937;
  overflow-wrap: anywhere;
  user-select: all;
}
.fit5lb .fit5lb-coupon-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb .fit5lb-coupon-timer {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #1F2937;
  font-variant-numeric: tabular-nums;
}
.fit5lb .fit5lb-coupon-stub {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px 22px;
  border-left: 2px dashed #FFB38A;
}
.fit5lb .fit5lb-coupon-stub::before,
.fit5lb .fit5lb-coupon-stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}
.fit5lb .fit5lb-coupon-stub::before { top: -11px; }
.fit5lb .fit5lb-coupon-stub::after { bottom: -11px; }
.fit5lb .fit5lb-coupon-copy {
  margin: 0;
  min-height: 44px;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid #FF5C00;
  border-radius: 10px;
  color: #FF5C00;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.fit5lb .fit5lb-coupon-copy:hover {
  background: #FFF3EC;
}
.fit5lb .fit5lb-coupon-copy:focus-visible {
  outline: 2px solid #FF5C00;
  outline-offset: 2px;
}
.fit5lb .fit5lb-coupon-link {
  margin-top: 14px;
}
.fit5lb .fit5lb-coupon-fine {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6B7280;
  text-align: center;
}
.fit5lb .fit5lb-gift-expired {
  padding: 16px;
  background: #F3F4F6;
  border-radius: 16px;
  color: #6B7280;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
@media (max-width: 479px) {
  .fit5lb .fit5lb-coupon {
    grid-template-columns: minmax(0, 1fr);
  }
  .fit5lb .fit5lb-coupon-stub {
    border-left: 0;
    border-top: 2px dashed #FFB38A;
    padding: 16px 20px 18px;
  }
  .fit5lb .fit5lb-coupon-stub::before { left: -11px; top: -11px; }
  .fit5lb .fit5lb-coupon-stub::after { left: auto; right: -11px; top: -11px; bottom: auto; }
  .fit5lb .fit5lb-coupon-copy { width: 100%; }
}

/* Движение: без плавающих, дышащих и мерцающих элементов; купон — сразу, без анимации (JS тоже не запускает) */
@media (prefers-reduced-motion: reduce) {
  .fit5lb .fit5lb-gift-halo,
  .fit5lb .fit5lb-gift-stage,
  .fit5lb .fit5lb-gift-bow,
  .fit5lb .fit5lb-gift-spark,
  .fit5lb .fit5lb-gift-body.is-in,
  .fit5lb .fit5lb-gift-body.is-in .fit5lb-coupon::after {
    animation: none;
  }
}

/* ───────── плашка промокода в корзине ───────── */
.fit5lb-cart {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #FFF3EC;
  border: 1px solid #FFD2B8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #1F2937;
  text-align: left;
}
.fit5lb-cart .fit5lb-cart-text {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #1F2937;
  overflow-wrap: anywhere;
}
.fit5lb-cart .fit5lb-cart-btn {
  flex: 0 0 auto;
  min-height: 40px;
  margin: 0;
  padding: 8px 16px;
  background: #FF5C00;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}
.fit5lb-cart .fit5lb-cart-btn:hover {
  background: #E65300;
}
.fit5lb-cart .fit5lb-cart-btn:focus-visible {
  outline: 2px solid #FF5C00;
  outline-offset: 2px;
}
.fit5lb .fit5lb-sheet:focus {
  outline: none;
}

/* Пока открыт тест, виджет Jivo (z-index 2147483647) перекрывает шторку — прячем его. */
html.fit5lb-lock jdiv {
  display: none !important;
}

/* Первый экран: карточка «что это и кому подходит» */
.fit5lb .fit5lb-about {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}
.fit5lb .fit5lb-about-what {
  margin: 0 0 10px;
  color: #1F2937;
  font-size: 15px;
  line-height: 1.45;
}
.fit5lb .fit5lb-about-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.fit5lb .fit5lb-about-li {
  position: relative;
  margin: 0 0 6px;
  padding: 0 0 0 24px;
  color: #1F2937;
  font-size: 15px;
  line-height: 1.4;
}
.fit5lb .fit5lb-about-li:last-child {
  margin-bottom: 0;
}
/* Галочка — фоном, а не ::before: тема гасит ::before у li, а мы его тоже гасим. */
.fit5lb .fit5lb-about-li {
  background: no-repeat 0 3px / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%231A9E55'/%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fit5lb .fit5lb-about-who {
  margin: 0;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.45;
}
.fit5lb .fit5lb-about-who b {
  color: #1F2937;
  font-weight: 600;
}

/* Предупреждение для беременных и при хронических болезнях — в начале и в конце теста */
.fit5lb .fit5lb-caution {
  margin: 0 0 14px;
  padding: 10px 12px 10px 38px;
  background: #EFF6FF no-repeat 12px 11px / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%233D6FB6'/%3E%3Crect x='7.1' y='6.8' width='1.8' height='5' rx='.9' fill='%23fff'/%3E%3Ccircle cx='8' cy='4.6' r='1.05' fill='%23fff'/%3E%3C/svg%3E");
  border-radius: 10px;
  color: #1E3A5F;
  font-size: 13px;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .fit5lb, .fit5lb .fit5lb-sheet { transition: none; }
}

/* Долгое нажатие на телефоне не должно выделять текст и звать лупу на кнопках и коробке подарка. */
.fit5lb button,
.fit5lb .fit5lb-gift-box,
.fit5lb-btn-wrap button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
