.puante-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 19px max(20px, env(safe-area-inset-bottom));
  color: #fff;
  background: linear-gradient(180deg, #ff980d 0%, #ff6418 100%);
}

.puante-footer .puante-footer__inner {
  width: min(100%, 640px);
  margin: 0 auto;
}

.puante-footer .puante-footer__brand {
  text-align: center;
}

.puante-footer .puante-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.puante-footer .puante-footer__logo img {
  display: block;
  width: 138px;
  height: auto;
}

.puante-footer .puante-footer__brand > p {
  max-width: 320px;
  margin: 16px auto 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 1.75;
}

.puante-footer .puante-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.puante-footer .puante-footer__social-item {
  position: relative;
}

.puante-footer .puante-footer__social-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transition: opacity 180ms ease, transform 180ms ease;
}

.puante-footer .puante-footer__social-trigger img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.puante-footer .puante-footer__social-trigger:active {
  opacity: 0.9;
  transform: scale(0.96);
}

.puante-footer .puante-footer__social-trigger:focus-visible {
  outline: 3px solid #fff3b5;
  outline-offset: 3px;
}

.puante-footer .puante-footer__qrcode {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100vw - 48px), 280px);
  padding: 18px;
  color: #4a3325;
  pointer-events: none;
  visibility: hidden;
  background: #fffdf9;
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(70, 31, 6, 0.3);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.puante-footer .puante-footer__qrcode.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.puante-footer .puante-footer__qrcode-title {
  margin-bottom: 10px;
  color: #f56a13;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.puante-footer .puante-footer__qrcode > img {
  display: block;
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.puante-footer .puante-footer__qrcode-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
  cursor: pointer;
  background: rgba(43, 25, 14, 0.58);
  border: 0;
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.puante-footer.has-qrcode-open .puante-footer__qrcode-backdrop {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

body.puante-footer-qrcode-open {
  overflow: hidden;
}

.puante-footer .puante-footer__links {
  display: block;
  padding: 76px 0 34px;
}

.puante-footer .puante-footer__links section {
  min-width: 0;
}

.puante-footer .puante-footer__links section + section {
  margin-top: 28px;
}

.puante-footer .puante-footer__links h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.puante-footer .puante-footer__links h2::after {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 5px;
  content: "";
  background: rgba(255, 255, 255, 0.72);
}

.puante-footer .puante-footer__links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.puante-footer .puante-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.puante-footer a:focus-visible {
  outline: 3px solid #fff3b5;
  outline-offset: 3px;
  border-radius: 4px;
}

.puante-footer .puante-footer__copyright {
  width: min(100%, 640px);
  margin: 0 auto;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.75;
  text-align: center;
}

.puante-footer .puante-footer__copyright p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 3px 0;
}

.puante-footer .puante-footer__copyright a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: inherit;
  text-decoration: none;
}

.puante-footer .puante-footer__legacy-hooks {
  display: none !important;
}

@media (max-width: 360px) {
  .puante-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .puante-footer .puante-footer__links ul {
    column-gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .puante-footer .puante-footer__social-trigger,
  .puante-footer .puante-footer__qrcode,
  .puante-footer .puante-footer__qrcode-backdrop {
    transition: none;
  }
}
