.bb-site-footer {
  margin-top: 64px;
}

.bb-footer.rm-footer {
  padding: 0;
  background: #191919;
  color: #9a9a9a;
  box-shadow: none;
}

.bb-footer-container {
  width: 100%;
  max-width: 1440px;
  padding: 0 48px;
}

.bb-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 382px;
  padding: 77px 0 58px;
}

.bb-footer-mobile {
  display: none;
}

.bb-footer-column {
  min-width: 0;
  padding-right: 38px;
}

.bb-footer-logo {
  display: inline-block;
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.bb-footer-logo:hover,
.bb-footer-logo:focus {
  color: #fff;
  text-decoration: none;
}

.bb-footer-tagline {
  max-width: 270px;
  margin: 32px 0 30px;
  color: #a1a1a1;
  font-size: 14px;
  line-height: 1.85;
}

.bb-footer-title,
.bb-footer .bb-footer-subscribe > .rm-footer-title {
  margin: 2px 0 31px;
  color: #858585;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bb-footer-links {
  margin: 0;
}

.bb-footer-links li + li {
  margin-top: 16px;
}

.bb-footer-links a,
.bb-footer-email,
.bb-footer-address {
  color: #dedede;
  font-size: 14px;
  line-height: 1.45;
}

.bb-footer-links a:hover,
.bb-footer-links a:focus,
.bb-footer-email:hover,
.bb-footer-email:focus {
  color: #fff;
  text-decoration: none;
}

.bb-footer-socials {
  gap: 14px;
  margin: 0;
}

.bb-footer-socials a {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #4a4a4a;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: border-color .2s ease, background-color .2s ease;
}

.bb-footer-socials a:hover,
.bb-footer-socials a:focus {
  border-color: #fff;
  background: #2b2b2b;
  color: #fff;
  text-decoration: none;
}

.bb-footer-subscribe {
  max-width: 270px;
  margin: 24px 0 30px;
}

.bb-footer-subscribe + .bb-footer-socials {
  margin-top: 25px;
}

.bb-footer .bb-footer-subscribe > .rm-footer-title {
  margin-bottom: 12px;
  font-size: 12px;
}

.bb-footer .rm-footer-subscribe {
  margin: 0;
}

.bb-footer .rm-footer-subscribe .form-control {
  height: 42px;
  border-color: #454545;
  background: #242424;
  color: #fff;
}

.bb-footer .rm-footer-subscribe button {
  height: 42px;
  padding: 0 13px;
  background: #3c6439;
  line-height: 42px;
}

.bb-footer-phones {
  margin: 0 0 9px;
}

.bb-footer-phones li + li {
  margin-top: 5px;
}

.bb-footer-phones a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.bb-footer-phones a:hover,
.bb-footer-phones a:focus {
  color: #fff;
}

.bb-footer-hours {
  margin: 0 0 24px;
  color: #858585;
  font-size: 12px;
  line-height: 1.55;
}

.bb-footer-email {
  display: inline-block;
  margin-bottom: 22px;
}

.bb-footer-address {
  max-width: 270px;
}

.bb-footer-payments {
  gap: 10px;
  margin: 24px 0 0;
 
}

.bb-footer-payments:empty {
  display: none !important;
}

.bb-footer-bottom {
  display: flex;
  min-height: 145px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #383838;
  color: #797979;
  font-size: 12px;
  line-height: 1.5;
}

.bb-footer-bottom-main {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bb-footer-developer {
  color: #797979;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}

.bb-footer-developer:hover,
.bb-footer-developer:focus {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .bb-footer-container {
    padding-right: 32px;
    padding-left: 32px;
  }

  .bb-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }
}

@media (max-width: 767px) {
  .bb-site-footer {
    margin-top: 40px;
  }

  .bb-footer-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .bb-footer-grid {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .bb-footer-catalog,
  .bb-footer-company,
  .bb-footer-contact,
  .bb-footer-brand > .bb-footer-logo,
  .bb-footer-brand > .bb-footer-tagline,
  .bb-footer-brand > .bb-footer-socials {
    display: none !important;
  }

  .bb-footer-brand {
    padding: 0;
  }

  .bb-footer-brand .bb-footer-subscribe {
    max-width: none;
    margin: 12px 0 0;
    padding: 22px 20px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #202020;
  }

  .bb-footer-mobile {
    display: block;
    padding-top: 12px;
  }

  .bb-mobile-footer-card {
    margin-bottom: 12px;
    padding: 25px 20px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #202020;
    color: #aaa;
    text-align: center;
  }

  .bb-mobile-footer-label {
    margin-bottom: 9px;
    color: #8f8f8f;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .bb-mobile-footer-value,
  .bb-mobile-footer-hours {
    color: #d6d6d6;
    font-size: 12px;
    line-height: 1.65;
  }

  .bb-mobile-footer-address {
    margin-bottom: 25px;
  }

  .bb-mobile-footer-phones {
    margin: 0 0 5px;
  }

  .bb-mobile-footer-phones li + li {
    margin-top: 6px;
  }

  .bb-mobile-footer-phones a {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }

  .bb-mobile-footer-phones img {
    margin-right: 7px;
    filter: brightness(0) invert(1);
    opacity: .8;
  }

  .bb-mobile-footer-recall {
    display: block;
    margin: 7px auto 18px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #777;
    background: transparent;
    color: #b8b8b8;
    font-size: 11px;
    line-height: 1.4;
  }

  .bb-mobile-footer-contact-link {
    display: inline-flex;
    min-height: 38px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 3px;
    background: #f2f0eb;
    color: #191919;
    font-size: 12px;
    font-weight: 600;
  }

  .bb-mobile-footer-contact-link:hover,
  .bb-mobile-footer-contact-link:focus {
    background: #fff;
    color: #191919;
    text-decoration: none;
  }

  .bb-mobile-footer-hours {
    margin: 0;
  }

  .bb-mobile-footer-social-label {
    margin-top: 24px;
  }

  .bb-mobile-footer-socials {
    gap: 12px;
    margin: 0 0 19px;
  }

  .bb-mobile-footer-socials a {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #464646;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
  }

  .bb-mobile-footer-socials a:hover,
  .bb-mobile-footer-socials a:focus {
    border-color: #fff;
    color: #fff;
    text-decoration: none;
  }

  .bb-mobile-footer-email {
    display: inline-block;
    color: #d6d6d6;
    font-size: 12px;
  }

  .bb-mobile-footer-email:hover,
  .bb-mobile-footer-email:focus {
    color: #fff;
  }

  .bb-mobile-footer-payments.rm-footer-payments-list {
    gap: 9px;
    margin: 17px 0 0;
  }

  .bb-mobile-footer-payments:empty {
    display: none !important;
  }

  .bb-mobile-footer-accordion {
    padding: 0;
    overflow: hidden;
    text-align: left;
  }

  .bb-mobile-footer-toggle {
    width: 100%;
    min-height: 62px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #e4e4e4;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
  }

  .bb-mobile-footer-toggle-icon {
    display: flex;
    width: 32px;
    height: 32px;
    margin-right: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #2b2b2b;
  }

  .bb-mobile-footer-toggle-icon img {
    filter: brightness(0) invert(1);
    opacity: .75;
  }

  .bb-mobile-footer-chevron {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    transform: rotate(45deg);
    transition: transform .25s ease;
  }

  .bb-mobile-footer-toggle.clicked .bb-mobile-footer-chevron {
    transform: rotate(225deg);
  }

  .bb-footer .bb-mobile-footer-links.rm-footer-links-list {
    margin: 0;
    padding: 0 58px;
    line-height: 1.4;
  }

  .bb-footer .bb-mobile-footer-links.rm-footer-links-list.expanded {
    padding-bottom: 20px;
  }

  .bb-footer .bb-mobile-footer-links.rm-footer-links-list li:first-child {
    margin-top: 18px;
  }

  .bb-footer .bb-mobile-footer-links.rm-footer-links-list li + li {
    margin-top: 13px;
  }

  .bb-footer .bb-mobile-footer-links.rm-footer-links-list a {
    color: #bdbdbd;
    font-size: 12px;
    text-decoration: none;
  }

  .bb-footer .bb-mobile-footer-links.rm-footer-links-list a:hover,
  .bb-footer .bb-mobile-footer-links.rm-footer-links-list a:focus {
    color: #fff;
  }

  .bb-footer-bottom {
    min-height: 0;
    margin-top: 4px;
    padding: 36px 8px 44px;
    flex-direction: column;
    justify-content: center;
    gap: 21px;
    text-align: center;
  }
}
