.footer {
  padding: 70px 0 90px 0;
  margin: 0;
  border: none;
  box-shadow: none;
}
footer h5{
  color: #f4991a;
}
.footer__socials-payments {
  padding: 0;
  background: transparent;
}
.footer_logo {
  margin-top: 130px;
  position: relative;
}
.footer-logo-img-top {
  position: absolute;
  left: 0;
  bottom: calc(100% - 5px);
}
.footer-logo-img,
.footer-logo-img-top {
  max-width: 100%;
}
.footer_phones,
.footer-info,
.footer-socials {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.footer-info,
.footer-socials {
  margin: 0;
  margin-top: 15px;
}
.footer-address {
  margin-bottom: 0;
}
.footer-contacts-title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-address,
.footer_phone-link,
.footer-info-link,
.footer-socials a.footer-socials-link {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}
.footer-socials-img{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-socials-link img{
  width: 55px;
}

.footer-info-link:hover,
.footer_phones .footer_phone-link:hover {
  color: #f4991a !important;
}
.footer-socials a.footer-socials-link {
  line-height: 30px;
}
.footer-socials a.footer-socials-link:hover {
  color: #f4991a !important;
}
.footer_phones .footer_phone-link:not(:last-child) {
  margin-bottom: 10px;
}
.footer_phone-link a:hover{
  color: #f4991a !important;
}
.footer-info .footer-info-link:not(:last-child) {
  margin-bottom: 15px;
}
.footer-info-link {
  text-transform: uppercase;
}
.footer__text {
  border: none;
}
.footer-rights {
  font-size: 16px;
  line-height: 22px;
  color: #020203;
}
.footer__text--mob {
  display: none;
}

.how-works-container {
  background-color: #f4991a;
  padding-top: 55px;
  padding-bottom: 45px;
}
.how-works-container.rent-page {
  background: url('/catalog/view/theme/unishop2/image/rent-coffe-back.svg');
  background-repeat: no-repeat;
  background-position: left top;
  background-color: #f0e5db;
}
.how-works-title {
  text-transform: none;
  margin-bottom: 45px;
  text-align: center;
  color: #ffffff;
}
.how-works-title ~ .custom-text {
  text-align: center;
  color: #ffffff !important;
}
.how-works-button {
  background-color: #639f00;
  margin: auto;
  padding: 13px 40px;
}
.how-works-button:hover,
.how-works-button:active,
.how-works-button:focus {
  color: #ffffff;
  border-color: #ffffff;
}
.how-works-items-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 50px;
  margin: 50px 0;
}
.how-works-item-image {
  width: 115px;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.how-works-item-image > img {
  max-width: 100%;
  object-fit: contain;
}
.how-works-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how-works-item-title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 25px;
}
.how-works-item-title span {
  display: block;
}
.how-works-item-description {
  line-height: 17px;
  color: #ffffff;
}

@media (max-width: 1384px) {
  .footer__text--pc {
    display: none;
  }
  .footer__text--mob {
    display: block;
    margin-top: 40px;
    text-align: center;
  }
}
@media (max-width: 1199px) {
  .footer {
    padding: 50px 0;
  }
  .footer-address,
  .footer_phone-link,
  .footer-info-link,
  .footer-socials a.footer-socials-link {
    font-size: 16px;
    line-height: 18px;
  }
  .footer-contacts-title {
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 15px;
  }
  .footer-info,
  .footer-socials {
    margin: 0;
  }
  .footer-socials a.footer-socials-link {
    line-height: 22px;
    margin-bottom: 7px;
  }
  .footer-rights {
    font-size: 14px;
  }
  .how-works-items-wrapper {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin: 30px 0;
  }
  .how-works-button {
    padding: 13px 20px;
  }
  .how-works-item-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .footer-socials-img{
    gap: 15px;
  }
  .footer-socials-link img{
    width: 42px;
  }
}
@media (max-width: 991px) {
  .footer-socials-img{
    justify-content: center;
    margin-top: 20px;
  }
  .footer {
    padding: 50px 0 30px 0;
  }
  .footer-socials {
    text-align: center;
    padding: 0;
    margin-top: 60px;
  }
  .footer_logo {
    margin-top: 5px;
  }
  .footer-logo-img-top {
    display: none;
  }  
  .how-works-container {
    padding: 40px 0;
  }
  .how-works-title {
    margin-bottom: 30px;
  }
}
@media (max-width: 767px) {
  .footer {
    padding: 30px 0;
  }
  .footer__column:not(:first-child) {
    border: none;
    text-align: center;
  }
  .footer-socials {
    margin-top: 0;
  }
  .footer__text {
    padding-bottom: 0;
  }
  .footer_logo {
    text-align: center;
  }
  .footer-logo-img {
    padding-right: 25px;
  }
  .footer__text--mob {
    margin-top: 15px;
  }
  .how-works-button{
    padding: 10px 15px;
  }
}
@media (max-width: 575px) {
  .how-works-items-wrapper {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
    margin: 20px 0;
  }
  .how-works-title {
    margin-bottom: 15px;
  }
  .how-works-item-image {
    width: 80px;
    height: 80px;
  }
  .how-works-item-title {
    font-size: 20px;
    line-height: 25px;
  }
  .how-works-item-description {
    text-align: center;
  }

}
@media (min-width: 1385px) {
  .footer .container .row .footer__column:first-child,
  .footer .container .row .footer__column:nth-child(4) {
    width: 24%;
  }
  .footer .container .row .footer__column:nth-child(2),
  .footer .container .row .footer__column:nth-child(3) {
    width: 26%;
  }
  footer .container .row {
    display: flex;
  }
  .footer .container .row .footer__column:nth-child(4) {
    display: flex;
    flex-direction: column;
  }
  .footer__text {
    margin-top: auto;
    padding: 0;
  }
}
