.footer {
  position: relative;
  background: #fff;
}

.footer ul {
  list-style: none !important;
}

.footer .footer-container {
  display: flex;
  width: 1158px;
  margin: 0 auto;
}

.footer .general {
  padding: 50px 0;
  background: #fff3ef;
}

.footer .general .general__logo-container {
  width: 261px;
  display: flex;
  flex-direction: column;
  row-gap: 41px;
  margin-right: 119px;
}

.footer .general .general__logo-container .logo {
  height: 60px;
  width: fit-content;
}

.footer .general .general__logo-container .payments {
  display: flex;
  flex-flow: row wrap;
  column-gap: 5px;
  row-gap: 5px;
}

.footer .general .general__logo-container .payments img {
  filter: grayscale(100%);
  height: 23px;
}

.footer .general .general__logo-container .c-p7 {
  text-decoration: underline;
}

.footer .general ul {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.footer .general ul + ul {
  margin-left: 119px;
  margin-right: 65px;
}

.footer .general .general__contacts {
  display: flex;
  flex-direction: column;
  width: 194px;
}

.footer .general .general__contacts .btn {
  margin: 31px 0 25px;
}

.footer .general .general__contacts .socials {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.footer .general .general__contacts .mb-10 {
  margin-bottom: 10px;
}

.footer .copyright {
  display: flex;
  padding: 10px 0;
  background: #ffeae7;
}

.footer .copyright .footer-container {
  justify-content: space-between;
  column-gap: 79px;
}

.footer .copyright [data-action="show-reqisites"] {
  margin-right: auto;
}

.footer .show-md {
  display: none;
}

.footer ~ .modal,
.footer ~ .modal-auth {
  display: none;
}

@media (hover: hover) {
  .footer .general .general__logo-container .payments img:hover {
    filter: grayscale(0);
  }
}

@media (max-width: 1439px) {
  .footer .footer-container {
    width: 1200px;
  }

  .footer .general {
    padding: 50px 0 40px;
  }

  .footer .general .general__logo-container {
    width: 235px;
    row-gap: 30px;
    margin-right: 160px;
  }

  .footer .general .general__logo-container .logo {
    height: 50px;
    margin-bottom: 10px;
  }

  .footer .general ul + ul {
    margin-left: 160px;
    margin-right: 105px;
  }

  .footer .general .general__contacts {
    width: 191px;
  }

  .footer .general .general__contacts .btn {
    margin: 24px 0 20px;
  }

  .footer .copyright .footer-container {
    column-gap: 166px;
  }
}

@media (max-width: 1279px) {
  .footer .footer-container {
    width: 700px;
  }

  .footer .general {
    padding: 40px 0;
  }

  .footer .general .general__logo-container {
    width: 235px;
    row-gap: 20px;
    margin-right: 159px;
  }

  .footer .general .general__logo-container .logo {
    height: 54px;
  }

  .footer .general .general__logo-container .c-p7 {
    font-size: 14px;
    color: var(--main-hover-color);
  }

  .footer .general ul {
    display: none;
  }

  .footer .general .general__contacts {
    align-items: center;
  }

  .footer .general .general__contacts .c-p4,
  .footer .general .general__contacts .c-p7 {
    font-size: 14px;
  }

  .footer .general .general__contacts .btn {
    width: 160px;
    margin: 25px 0;
  }

  .footer .copyright {
    padding-bottom: calc(10px + 84px);
  }

  .footer .copyright .footer-container {
    column-gap: 0;
  }

  .footer .copyright [data-action="show-reqisites"] {
    display: none;
  }

  .footer .show-md {
    display: block;
  }
}

@media (max-width: 767px) {
  .footer .footer-container {
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .footer .general .footer-container {
    row-gap: 40px;
  }

  .footer .general .general__logo-container {
    align-items: center;
    margin-right: 0;
  }

  .footer .copyright {
    padding-bottom: calc(10px + 60px);
  }

  .footer .copyright .footer-container {
    width: 285px;
    flex-flow: column-reverse wrap;
    row-gap: 10px;
  }

  .footer .copyright .footer-container .c-p5 {
    text-align: center;
  }
}
