.dp-site-footer-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dp-site-footer {
  width: 100%;
  margin-top: auto;
  background: #0e100f;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

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

.dp-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(380px, 0.9fr);
  grid-template-areas:
    "brand connect"
    "links links"
    "payments payments"
    "bottom bottom";
  gap: 12px 100px;
  width: min(calc(100% - 108px), 1200px);
  margin: 0 auto;
  padding: 66px 0 28px;
}

.dp-site-footer__brand { grid-area: brand; }

.dp-site-footer__logo {
  display: inline-flex;
  align-items: center;
  max-width: 230px;
  padding: 9px 13px;
  border-radius: 12px;
  background: #fff;
  color: #fff;
  text-decoration: none;
}

.dp-site-footer__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.dp-site-footer__summary {
  max-width: 380px;
  margin: 14px 0 0;
  color: #aeb5ae;
  font-size: 15px;
  line-height: 1.55;
}

.dp-site-footer__connect { grid-area: connect; }

.dp-site-footer__newsletter {
  position: relative;
  display: flex;
  min-height: 57px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.dp-site-footer__newsletter input[type="email"] {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 12px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: 0;
}

.dp-site-footer__newsletter input::placeholder {
  color: #aeb5ae;
  opacity: 0.6;
}

.dp-site-footer__newsletter button {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: #b9ed65;
  color: #18301f;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.dp-site-footer__social { margin-top: 12px; }

.dp-site-footer__social a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 6px 12px 6px 7px;
  color: #aeb5ae;
  font-size: 14px;
  text-decoration: none;
}

.dp-site-footer__social a:hover,
.dp-site-footer__social a:focus-visible {
  border-color: rgba(185, 237, 101, 0.34);
  color: #fff;
  outline: 0;
}

.dp-site-footer__social a > span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: end center;
  border-radius: 10px;
  background: #1877f2;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 0.88;
}

.dp-site-footer__social strong { font-weight: 750; }
.dp-site-footer__social i { color: rgba(255, 255, 255, 0.32); font-style: normal; }

.dp-site-footer__links {
  grid-area: links;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 34px;
}

.dp-site-footer__links nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 16px 28px;
}

.dp-site-footer__links h2 {
  flex: 0 0 100%;
  margin: 0;
  color: #b9ed65;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.dp-site-footer__links a {
  width: fit-content;
  color: #aeb5ae;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.dp-site-footer__links a:hover,
.dp-site-footer__links a:focus-visible {
  color: #fff;
  outline: 0;
}

.dp-site-footer__payments {
  grid-area: payments;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
}

.dp-site-footer__payments > strong {
  margin-right: auto;
  color: #aeb5ae;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dp-site-footer__payment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.dp-site-footer__payment-list > span {
  display: grid;
  min-width: 48px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 3px 6px;
  background: #fff;
  color: #1d2b21;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.dp-site-footer__payment-list .is-visa { color: #1434cb; font-style: italic; }
.dp-site-footer__payment-list .is-amex { background: #2877b8; color: #fff; }
.dp-site-footer__payment-list .is-paypal { color: #123d82; font-size: 10px; }
.dp-site-footer__payment-list .is-shop { background: #5a31f4; color: #fff; }
.dp-site-footer__payment-list .is-mastercard { display: flex; gap: 0; min-width: 48px; }
.dp-site-footer__payment-list .is-mastercard i { width: 12px; height: 12px; border-radius: 50%; background: #eb001b; }
.dp-site-footer__payment-list .is-mastercard i + i { margin-left: -4px; background: rgba(255, 153, 0, 0.9); }
.dp-site-footer__payment-list .is-mastercard b { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.dp-site-footer__bottom {
  grid-area: bottom;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  color: #aeb5ae;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.48;
}

.dp-site-footer__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 899px) {
  .dp-site-footer__inner {
    display: block;
    width: auto;
    padding: 49px 20px 24px;
  }

  .dp-site-footer__logo { max-width: 190px; }
  .dp-site-footer__logo img { max-height: 34px; }
  .dp-site-footer__summary { max-width: 305px; font-size: 14px; }
  .dp-site-footer__connect { margin-top: 26px; }
  .dp-site-footer__newsletter input[type="email"] { font-size: 14px; }
  .dp-site-footer__social a { font-size: 13px; }

  .dp-site-footer__links {
    gap: 28px;
    margin-top: 39px;
    padding-top: 32px;
  }

  .dp-site-footer__links nav { display: block; }
  .dp-site-footer__links h2 { margin: 0 0 17px; font-size: 12px; }
  .dp-site-footer__links a { display: block; margin-top: 12px; font-size: 13px; }

  .dp-site-footer__payments {
    display: block;
    margin-top: 29px;
    padding-top: 21px;
  }

  .dp-site-footer__payments > strong { display: block; margin: 0 0 9px; }
  .dp-site-footer__payment-list { justify-content: flex-start; }
  .dp-site-footer__payment-list > span { min-width: 42px; height: 27px; padding: 3px 5px; }
  .dp-site-footer__bottom { margin-top: 37px; font-size: 11px; }
}

@media (max-width: 380px) {
  .dp-site-footer__inner { padding-right: 16px; padding-left: 16px; }
  .dp-site-footer__links { gap: 20px; }
  .dp-site-footer__newsletter input[type="email"] { padding: 0 9px; }
}
