.footer {
  margin-top: auto;
  padding-top: 4rem;

  background-color: #F7F7FC;
  border-top: 1px solid #F2F2F2;
}

.footer__top {
  padding: 4rem 0;

  border-bottom: 1px solid #F2F2F2;
}

.footer__bottom {
  padding: 4rem 0;

  @include media-breakpoint-down(md) {
    padding-top: 1rem;
    padding-bottom: 2rem;

    .list {
      justify-content: flex-start;
      margin: 1rem 0;
    }
  }
}

.footer__title {
  margin-bottom: 1.2rem;

  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 600;
  color: $dark;
}

.footer__text {
  margin-bottom: 3rem;

  font-size: 1.6rem;
  line-height: 1.4;
  color: #535353;
}

.footer__links {
  margin-bottom: 3rem;

  font-size: 1.4rem;
  list-style: none;
  color: #606060;

  &--info {
    .footer__links-item {
      margin-bottom: 3px;
    }
  }
}

.footer__links-item {
  margin-bottom: 1.1rem;

  a {
    display: flex;
    align-items: center;

    color: inherit;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }

    .contacts {
      height: 36px;
    }
  }
}

.footer__links-icon {
  margin-right: 4px;
}

.footer__address {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #606060;
  font-style: normal;
}

.footer__copyright {
  margin-top: 4rem;
  padding: 1.5rem 0;

  background-color: #EAEAF3;

  font-size: 1.2rem;
  color: #606060;
}

.footer__reverse {
  @include media-breakpoint-down(md) {
    display: flex;
    flex-direction: column-reverse;
  }
}

.footer--checkout {
  border-top: 1px solid #ddd;

  @include media-breakpoint-down(md) {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  }

  .footer__checkout-content {
    padding: 2rem 0;
    text-align: center;
    font-size: 1.4rem;
    color: #333;
  }
}