.footer {
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
}

.footer .page-width {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__group {
  display: flex;
  width: 100%;
}

.footer__email-subscribe,
.footer__navigation,
.footer__custom-text,
.footer__social-media,
.footer__payment-icons,
.footer__localization-form,
.footer__copyright {
  min-width: 0;
}

.footer__email-subscribe-title,
.footer__navigation-title,
.footer__custom-text-title,
.footer__social-media-title {
  margin: 0 0 6px;
  color: inherit;
}

.footer__navigation-title,
.footer__custom-text-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.footer__navigation-title .icon__arrow,
.footer__navigation-title .icon__minus,
.footer__custom-text-title .icon__arrow,
.footer__custom-text-title .icon__minus {
  display: none;
  flex: 0 0 auto;
}

.footer__navigation-content,
.footer__custom-text-content {
  color: rgba(var(--color-foreground), 0.78);
}

.footer__navigation-content,
.footer__custom-text-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__navigation-item + .footer__navigation-item,
.footer__custom-text-content li + li {
  margin-top: 8px;
}

.footer__navigation-content a,
.footer__custom-text-content a {
  color: inherit;
  text-decoration: none;
}

.footer__navigation-content a:hover,
.footer__custom-text-content a:hover {
  opacity: 0.72;
}

.footer__custom-text-content p {
  margin: 0 0 10px;
}

.footer__custom-text-content p:last-child {
  margin-bottom: 0;
}

.footer__custom-text-content img {
  display: block;
  width: 92px;
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.footer__social-media-content,
.footer__social-media-content ul,
.footer__social-media-content .footer__list-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__social-media-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__social-media-content svg {
  width: 20px;
  height: 20px;
}

.footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer__payment-icons svg {
  width: 40px;
  height: auto;
}

.footer__localization-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  color: rgba(var(--color-foreground), 0.72);
}

@media screen and (max-width: 749px) {
  .footer .page-width {
    gap: 12px;
  }

  .footer__navigation,
  .footer__custom-text,
  .footer__email-subscribe,
  .footer__social-media,
  .footer__localization-form,
  .footer__payment-icons,
  .footer__copyright {
    width: 100% !important;
  }

  .footer__navigation-title,
  .footer__custom-text-title {
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
    cursor: pointer;
  }

  .footer__navigation-title .icon__arrow,
  .footer__custom-text-title .icon__arrow {
    display: inline-flex;
  }

  .footer__navigation-title .icon__minus,
  .footer__custom-text-title .icon__minus {
    display: none;
  }

  theme-footer-navigation .footer__navigation-content,
  .footer__custom-text .footer__custom-text-content {
    display: none;
    padding: 8px 0 0;
  }

  theme-footer-navigation[open] .footer__navigation-content,
  .footer__custom-text[open] .footer__custom-text-content {
    display: block;
  }

  theme-footer-navigation[open] .icon__arrow,
  .footer__custom-text[open] .icon__arrow {
    display: none;
  }

  theme-footer-navigation[open] .icon__minus,
  .footer__custom-text[open] .icon__minus {
    display: inline-flex;
  }

  .footer__social-media-title,
  .footer__email-subscribe-title {
    margin-bottom: 12px;
  }

  .footer__social-media-content,
  .footer__social-media-content ul,
  .footer__social-media-content .footer__list-social,
  .footer__payment-icons {
    justify-content: flex-start;
  }

  .footer__localization-form form {
    width: 100%;
  }
}
.footer .page-width {
  gap: 12px;
}
.footer__email-subscribe-title {
  max-width: 320px;
  line-height: 1.8;
}
.footer__email-subscribe,
.footer__custom-text,
.footer__social-media {
  align-self: flex-start;
}
.footer__custom-text-content,
.footer__navigation-content {
  font-size: 14px;
  line-height: 1.9;
}
.footer__contact-text .footer__custom-text-content,
.footer__custom-text:last-of-type .footer__custom-text-content {
  line-height: 1.9;
}
.footer__contact-text .footer__custom-text-content img,
.footer__custom-text-content img {
  width: 98px;
  margin-bottom: 10px;
}
.footer__social-media-title:empty,
.footer__custom-text-title:empty {
  display: none;
}
.footer__social-media-content,
.footer__social-media-content ul,
.footer__social-media-content .footer__list-social {
  gap: 14px;
}
.footer__payment-icons {
  justify-content: flex-end;
}
.footer__payment-icons svg {
  width: 34px;
}
.footer__copyright {
  font-size: 13px;
}
@media screen and (min-width: 750px) {
  .footer__information-group-main .footer__custom-text-title,
  .footer__information-group-main .footer__social-media-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 749px) {
  .footer__email-subscribe-title {
    max-width: none;
    line-height: 1.6;
  }
  .footer__payment-icons {
    justify-content: flex-start;
  }
  .footer__payment-icons svg {
    width: 32px;
  }
}
.footer__information-group-contact {
  align-items: flex-start;
}
.footer__information-group-contact .footer__custom-text {
  align-self: flex-start;
}
.footer__information-group-contact .footer__custom-text-content {
  margin-top: 0;
  padding-top: 0;
}
.footer__information-group-contact .footer__custom-text-content p:first-child {
  margin-top: 0;
}
.footer__information-group-contact .footer__custom-text-content img:first-child {
  margin-top: 0;
}
