#site-footer .footer-official-trust {
  --trust-ink: #123c34;
  --trust-muted: #3c5650;
  --trust-accent: #006451;
  --trust-border: #9dc3b8;
  --trust-surface: #edf8f4;
  --trust-hover: #e2f3ed;
  --trust-qr-size: 108px;
  display: grid;
  grid-template-columns: var(--trust-qr-size) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 420px);
  box-sizing: border-box;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--trust-border);
  border-radius: 16px;
  background: var(--trust-surface);
  color: var(--trust-ink);
  text-align: start;
  text-decoration: none;
}

html[data-theme="dark"] #site-footer .footer-official-trust {
  --trust-ink: #f1faf7;
  --trust-muted: #c0d9d0;
  --trust-accent: #a9f0d7;
  --trust-border: #528b7e;
  --trust-surface: #153831;
  --trust-hover: #1b473e;
}

#site-footer .footer-official-trust:hover {
  background: var(--trust-hover);
}

#site-footer .footer-official-trust:focus-visible {
  outline: 2px solid var(--trust-accent);
  outline-offset: 3px;
}

#site-footer .footer-official-trust-qr {
  display: block;
  inline-size: var(--trust-qr-size);
  block-size: var(--trust-qr-size);
  background: #fff;
  border-radius: 8px;
}

#site-footer .footer-official-trust-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--trust-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

#site-footer .footer-official-trust-copy strong {
  color: var(--trust-ink);
  font-size: 0.875rem;
  font-weight: 800;
}

#site-footer .footer-official-trust-copy small {
  font-size: inherit;
}

#site-footer .footer-official-trust-copy bdi {
  color: var(--trust-ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#site-footer .footer-official-trust-link {
  color: var(--trust-accent);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (max-width: 768px) {
  body.mobile-web-parity.home-mobile-layout #site-footer.footer-with-store-trust {
    display: block !important;
    margin: 0;
    padding: 0 0 calc(var(--bottom-nav-height, 64px) + 20px);
    background: transparent;
    border: 0;
  }

  #site-footer.footer-with-store-trust .footer-inner {
    display: block;
    padding-bottom: 0;
  }

  #site-footer.footer-with-store-trust .footer-inner > :not(.footer-brand),
  #site-footer.footer-with-store-trust .footer-brand > :not(.footer-official-trust),
  #site-footer.footer-with-store-trust .footer-bottom {
    display: none;
  }

  #site-footer.footer-with-store-trust .footer-official-trust {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  #site-footer .footer-official-trust {
    --trust-qr-size: 96px;
    gap: 10px;
    padding: 10px;
  }
}
