.footer {
  background-color: color('primary-2');

  &-layout {
    padding: 0 ru(1) ru(1) ru(1);
  }

  &-layout-constrain {
    margin: 0 auto;
    max-width: rem-calc(1280px);
  }
}

.phone-lockup {
  padding-left: 0;
  padding-right: rem-calc(12px);
}

.actions {
  display: none;
}

.icon-text-wrapper {
  display: none;
}

.link {
  width: 100%;
}

.hours {
  text-align: center;
}

.trust {
  &-logos {
    display: flex;
  }

  &-logo {
    margin-right: ru(.5);
  }

  &-links {
    padding: 0;
    display: flex;
    justify-content: flex-start;
    list-style: none;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  &-link {
    @include typography-b-10;
    margin-right: ru(.5);
    margin-top: ru(.5);
  }
}

.logo {
  &-bbb {
    width: 95px;
    height: 32px;
  }

  &-norton {
    position: relative;
    top: -2px;
    width: 77px;
    height: 32px;
  }
}

.mobile {
  &-questions {
    display: block;
    text-align: center;
    margin-top: rem-calc(36px);
  }

  &-actions {
    display: flex;
    flex-direction: column;
  }
}

.tablet-phone-number {
  display: none;
}

.tablet-action {
  display: none;
}

@media #{$mobile-only} {
  .footer {
    &-layout { justify-content: center; }
  }

  .trust {
    &-logos,
    &-links { justify-content: center; }
  }
}

@media #{$tablet} {
  .footer-layout {
    padding: ru(1) ru(2);
  }


  .hours {
    text-align: left;
  }

  .trust {
    padding-left: ru(.5);

    &-links {
      flex-direction: row;
      align-items: flex-start;
    }
  }

  .mobile {
    &-questions {
      text-align: left;
      margin-top: 0;
    }

    &-actions {
      display: none;
    }
  }
}

@media #{$tablet-only} {
  .tablet-phone-number {
    display: block;
  }

  .hours {
    display: none;
  }

  .tablet-action {
    display: block;
  }

  .trust {
    align-items: center;
    display: flex;
    padding: 0;

    &-links {
      flex-grow: 1;
    }

    &-logo {
      margin-right: rem-calc(36px);
    }
  }

  .logo-bbb {
    display: none;
  }

  .trust-link {
    margin-top: 0;
    margin-right: rem-calc(18px);

    &:first-of-type {
      display: none;
    }

    &:last-child {
      margin: 0;
    }
  }
}

@media #{$desktop} {
  .footer-layout {
    padding-left: rem-calc(64px);
    padding-right: rem-calc(64px);
  }

  .actions {
    display: block;
  }

  .icon-text-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    .icon {
      margin-right: rem-calc(12px);
    }
  }

  .mobile {
    &-questions {
      display: none;
    }
  }
}
