.footer {
  position: relative;
  margin-top: 60px;
  border-top: 1px solid #E2EBF1;
  padding: 50px 0px;
  padding-bottom: 94px;
}
.footer a {
  text-decoration: none;
}
.footer button {
  margin-top: 10px;
}
.footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer .footer-first-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer .footer-first-block .location {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer .footer-first-block .location .location__title {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  color: #212324;
}
.footer .footer-first-block .location a {
  display: block;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  text-align: left;
  color: #212324;
}
.footer .footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer .footer-social a {
  display: block;
  width: 36px;
  height: 36px;
}
.footer .footer-social a img {
  display: block;
  width: 100%;
  height: 100%;
}
.footer .footer-second-block {
  display: flex;
  flex-direction: row;
  gap: 70px;
}
.footer .footer-second-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 0;
}
.footer .footer-second-block ul a {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  text-decoration: none;
  color: #212324;
}
.footer .footer-third-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer .footer-third-block .logo {
  display: block;
  width: 128px;
  height: 60px;
}
.footer .footer-third-block .logo img {
  display: block;
  width: 100%;
  height: 100%;
}
.footer .footer-third-block .footer__descr {
  margin-top: 10px;
  width: 387px;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
}
.footer .footer-third-block .footer-payments {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.footer .footer-third-block .footer-payments .payment-icon {
  width: 70px;
  height: 49px;
}
.footer .footer-third-block .footer-payments .payment-icon img {
  width: 100%;
  height: 100%;
}
.footer .footer-bot {
  width: 100%;
  height: 44px;
  background-color: #F3F8FC;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  color: #647079;
}
.footer .footer-bot p {
  color: #647079;
}
.footer .footer-bot a {
  color: #647079;
}
.footer .footer-bot .link-wrapper {
  display: flex;
  gap: 40px;
}
.footer .footer-bot .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 475px) {
  .footer {
    margin-top: 40px;
    padding: 30px 0px;
    padding-bottom: 173px;
  }
  .footer button {
    margin-top: 0px;
  }
  .footer .container {
    flex-direction: column;
    gap: 30px;
  }
  .footer .footer-social {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  .footer .footer-social a {
    display: block;
    width: 36px;
    height: 36px;
  }
  .footer .footer-social a img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .footer .footer-second-block {
    gap: 22px;
  }
  .footer .footer-third-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .footer .footer-third-block .footer__descr {
    margin-top: 0px;
    width: 100%;
  }
  .footer .footer-bot {
    height: auto;
    padding: 20px 0px;
    font-size: 14px;
    line-height: 21px;
  }
  .footer .footer-bot a {
    color: #647079;
    text-align: center;
  }
  .footer .footer-bot p {
    order: 2;
  }
  .footer .footer-bot .link-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer .footer-bot .container {
    flex-direction: column;
    justify-content: unset;
    gap: 20px;
  }
}
.button_pink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 167px;
  height: 55px;
  border-radius: 7px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background-color: #E42DC7;
}

.footer_pink {
  width: 194px;
}

@media (max-width: 475px) {
  .button_pink {
    width: 151px;
    height: 47px;
  }
  .footer_pink {
    height: 56px;
    width: 100%;
  }
}