.ot-site-footer {
  --otf-green: var(--e-global-color-accent, #52A43E);
  --otf-text: var(--e-global-color-text, #1b1f22);
  --otf-bg: #f5f5f5;
  background: var(--otf-bg);
  color: var(--otf-text);
  font-family: "Poppins", sans-serif;
}

.ot-site-footer *,
.ot-site-footer *::before,
.ot-site-footer *::after {
  box-sizing: border-box;
}

.ot-site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.ot-site-footer a:hover,
.ot-site-footer a:focus {
  color: var(--otf-green);
}

.ot-site-footer img,
.ot-site-footer svg {
  display: block;
}

.ot-site-footer__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.ot-site-footer__top {
  padding: 65px 0 56px;
}

.ot-site-footer__columns {
  display: grid;
  grid-template-columns: 1.05fr .9fr 1fr .95fr;
  justify-content: space-between;
  gap: 64px;
}

.ot-site-footer__column h2 {
  position: relative;
  margin: 0 0 31px;
  color: #162025;
  font-family: "Poppins 700", "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.ot-site-footer__column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 80px;
  height: 4px;
  background: var(--otf-green);
}

.ot-site-footer__column ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-site-footer__column li,
.ot-site-footer__column li a,
.ot-site-footer__column li span {
  color: var(--otf-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.ot-site-footer__social {
  display: flex;
  gap: 20px;
  margin-top: 22px;
}

.ot-site-footer__social a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: #000;
  color: #fff;
}

.ot-site-footer__social a:hover,
.ot-site-footer__social a:focus {
  background: var(--otf-green);
  color: #fff;
}

.ot-site-footer__social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.ot-site-footer__brands {
  padding: 20px 0;
}

.ot-site-footer__styrobud {
  display: flex;
  justify-content: center;
}

.ot-site-footer__styrobud img {
  width: 200px;
  height: 50px;
  object-fit: contain;
}

.ot-site-footer__brands p {
  margin: 6px 0;
  text-align: center;
  color: var(--otf-text);
  font-size: 16px;
  line-height: 1.5;
}

.ot-site-footer__divider {
  width: 100%;
  max-width: 1200px;
  height: 50px;
  object-fit: fill;
}

.ot-site-footer__brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-content: space-between;
}

.ot-site-footer__brand-grid a {
  display: flex;
  align-items: center;
}

.ot-site-footer__brand-grid a:nth-child(1) {
  justify-content: flex-start;
}

.ot-site-footer__brand-grid a:nth-child(2) {
  justify-content: center;
}

.ot-site-footer__brand-grid a:nth-child(3) {
  justify-content: flex-end;
}

.ot-site-footer__brand-grid img {
  width: 245px;
  max-width: 100%;
  object-fit: contain;
}

.ot-site-footer__brand-grid a:nth-child(1) img,
.ot-site-footer__brand-grid a:nth-child(3) img {
  height: 45px;
}

.ot-site-footer__brand-grid a:nth-child(2) img {
  height: 60px;
}

.ot-site-footer__bottom {
  padding: 20px 0;
}

.ot-site-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.ot-site-footer__copyright,
.ot-site-footer__credit {
  margin: 0;
  color: var(--otf-text);
  font-size: 14px;
  line-height: 1.5;
}

.ot-site-footer__credit {
  text-align: right;
}

.ot-site-footer__payments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ot-site-footer__payment-raty {
  width: 40px;
  height: auto;
}

.ot-site-footer__payment-main {
  width: 160px;
  height: auto;
}

.ot-site-footer__payment-paypo {
  width: 155px;
  height: auto;
}

@media (max-width: 1024px) {
  .ot-site-footer__top {
    padding: 48px 0 40px;
  }

  .ot-site-footer__columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ot-site-footer__bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .ot-site-footer__credit {
    text-align: center;
  }

  .ot-site-footer__payments {
    order: -1;
  }
}

@media (max-width: 767px) {
  .ot-site-footer__inner {
    width: min(100% - 32px, 1200px);
  }

  .ot-site-footer__top {
    padding: 40px 0 28px;
  }

  .ot-site-footer__brands {
    padding: 20px 0;
  }

  .ot-site-footer__brands p {
    margin-bottom: 12px;
  }

  .ot-site-footer__divider {
    display: none;
  }

  .ot-site-footer__brand-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
  }

  .ot-site-footer__brand-grid a:nth-child(n) {
    justify-content: center;
  }

  .ot-site-footer__brand-grid a:nth-child(1) img,
  .ot-site-footer__brand-grid a:nth-child(2) img,
  .ot-site-footer__brand-grid a:nth-child(3) img {
    width: 200px;
  }

  .ot-site-footer__brand-grid a:nth-child(1) img {
    height: 50px;
  }

  .ot-site-footer__brand-grid a:nth-child(2) img {
    height: 58px;
  }

  .ot-site-footer__brand-grid a:nth-child(3) img {
    height: 54px;
  }

  .ot-site-footer__bottom {
    padding: 20px 0;
  }

  .ot-site-footer__bottom-inner {
    gap: 8px;
  }

  .ot-site-footer__payments {
    width: 100%;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
  }

  .ot-site-footer__payment-raty {
    width: 40px;
  }

  .ot-site-footer__payment-main {
    width: 160px;
  }

  .ot-site-footer__payment-paypo {
    width: 155px;
  }
}
