/* Keep legacy landing variants inside narrow mobile viewports. */
@media (max-width: 480px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

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

  img,
  video,
  iframe {
    max-width: 100%;
  }

  .row,
  .container,
  [class*="__wrapper"],
  [class*="__grid"],
  [class*="__content"] {
    min-width: 0;
    max-width: 100%;
  }

  .nobr {
    white-space: normal;
  }

  .m-quiz__grid,
  .m-quiz__pages,
  .m-quiz__page,
  .m-quiz__radio-wrapper,
  .quiz__frame,
  .quiz__form {
    min-width: 0;
    max-width: 100%;
  }

  .m-quiz__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs__content {
    box-sizing: border-box;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "gift"
      "profits";
  }

  .fs__title {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
  }

  .fs__gift-info {
    box-sizing: border-box;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .fs__gift-title {
    box-sizing: border-box;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
  }

  .fs__gift-list {
    margin-left: 22px;
    padding-left: 0;
  }

  .fs__button {
    box-sizing: border-box;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    white-space: normal;
  }

  .exclusive__wrap,
  .exclusive__left,
  .exclusive__right {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .exclusive__wrap {
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }

  .exclusive__video,
  .exclusive__video-stub,
  .exclusive__info {
    width: 100%;
  }

  .exclusive__video {
    max-width: 100%;
    height: auto;
  }

  .exclusive__plus {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
  }

  .exclusive__info {
    box-sizing: border-box;
    gap: 12px;
  }

  .exclusive__info-text {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    overflow-wrap: anywhere;
  }

  .implantation__wrapper,
  .implantation__profit-list,
  .implantation__profit-item {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .implantation__profit-item {
    width: 100%;
    padding: 24px 20px;
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .implantation__profit-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .best__grid,
  .best__doc-info,
  .best__doc-note,
  .best__list {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .best__grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "b_info"
      "b_image"
      "b_note"
      "b_list";
  }

  .best__grid > *,
  .best__item,
  .best__item-text {
    min-width: 0;
  }

  .best__image {
    width: 100%;
    max-width: 330px;
  }

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

  .best .nobr,
  .best__item-text .link_dashed {
    white-space: normal;
  }

  .best__item-text,
  .best__item-text .link_dashed,
  .best__doc-prof,
  .best__doc-note-text {
    overflow-wrap: anywhere;
  }
}
