/* Trustpilot trust badge (rendered by services/trustpilotBadge.js). The logo is
   Trustpilot's own artwork, unmodified; never recolour or crop it. */
.tp-trust { display: flex; justify-content: center; min-width: 0; }
.tp-trust .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Selectors are scoped (.tp-trust a.tp-badge ...) so host cards such as the
   country buy card, whose "img" and "a" rules style flags and links, can never
   crop, recolour or underline the badge or the logo. */
.tp-trust a.tp-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 9px;
  max-width: 100%; min-height: 36px; padding: 6px 12px; box-sizing: border-box;
  border: 1px solid #e3e5ee; border-radius: 999px; background: #fff;
  color: #344054; font-size: 13px; font-weight: 600; line-height: 1.25; text-decoration: none;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.tp-trust a.tp-badge:hover { border-color: #00b67a; background: #f3fbf7; color: #1c1c1c; text-decoration: none; }
.tp-trust a.tp-badge:focus-visible { outline: 3px solid #4338ca; outline-offset: 2px; }
.tp-trust .tp-badge-text { margin: 0; white-space: normal; text-align: center; text-decoration: none; }
/* Trustpilot's logo, shown unaltered with clear space (brand guidelines). */
.tp-trust a.tp-badge img.tp-badge-logo {
  display: block; flex: 0 0 auto; float: none; width: 78px; height: 19px; max-width: none; min-width: 0;
  margin: 0; padding: 0 2px; box-sizing: content-box; border: 0; border-radius: 0; box-shadow: none;
  background: none; object-fit: contain; filter: none; opacity: 1;
}
.tp-trust a.tp-badge svg.tp-badge-ext { flex: 0 0 auto; width: 14px; height: 14px; margin: 0; color: #667085; }
.tp-trust a.tp-badge:hover svg.tp-badge-ext { color: #00875a; }

/* Optional live TrustBox: the height is reserved before the iframe arrives so
   the badge it replaces and the widget occupy the same box (no layout shift). */
.tp-trust.has-box .trustpilot-widget { width: 100%; min-height: max(36px, var(--tp-box-h, 24px)); display: flex; align-items: center; justify-content: center; }
.tp-trust.has-box .trustpilot-widget iframe { display: block; }

/* Placements */
.tp-trust--inline { margin-top: 12px; }
.tp-trust--checkout { margin-top: 16px; }
.tp-trust--hero { justify-content: flex-start; margin-top: 14px; }
.tp-trust--hero a.tp-badge { background: rgb(255 255 255 / .92); }
.tp-trust--footer { margin-top: 0; }
.tp-trust--footer a.tp-badge { min-height: 40px; padding: 8px 16px; }

.ce-buy-reviews .tp-trust--inline { margin-top: 12px; }
.ul-hero-reviews .tp-trust--inline { margin-top: 14px; }
.site-footer-reviews { display: flex; justify-content: center; margin-top: 14px; }

@media (max-width: 420px) {
  .tp-trust a.tp-badge { font-size: 12.5px; padding: 6px 10px; }
  .tp-trust--hero { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tp-trust a.tp-badge { transition: none; } }
