/* Final trust-band sizing: loaded after legacy badge rules and external widget defaults. */
.trust-bar {
  min-height: 0 !important;
  padding: 16px 0 20px !important;
}

.trust-bar .trust-intro {
  margin: 0 auto 8px !important;
}

.trust-bar .trust-badge-marquee {
  width: 100% !important;
  min-height: 112px;
  margin-inline: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
}

.trust-badge-track {
  --trust-badge-gap: clamp(44px, 5vw, 82px) !important;
  min-height: 112px;
}

.trust-badge-set {
  width: max(100vw, 760px) !important;
  padding-inline: clamp(30px, 4vw, 64px) !important;
  gap: var(--trust-badge-gap) !important;
}

.trust-badge-item {
  height: 108px !important;
  overflow: visible !important;
  padding: 4px 0 !important;
}

.trust-badge-item > img {
  width: auto !important;
  height: 96px !important;
  max-width: 282px !important;
  max-height: 96px !important;
  object-fit: contain !important;
}

.trust-badge-bark {
  min-width: 176px !important;
}

.trust-badge-bark .bark-widget {
  min-height: 100px !important;
  transform: scale(1) !important;
  transform-origin: center !important;
}

.trust-badge-bark .bark-widget img,
.trust-badge-bark iframe {
  width: auto !important;
  height: auto !important;
  max-width: 260px !important;
  max-height: 104px !important;
}

.trust-badge-bark .bark-top-container img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
}

@media (max-width: 780px) {
  .trust-bar {
    padding: 14px 0 17px !important;
  }

  .trust-bar .trust-intro {
    margin-bottom: 7px !important;
  }

  .trust-bar .trust-badge-marquee,
  .trust-badge-track {
    min-height: 88px;
  }

  .trust-badge-set {
    width: max(100vw, 660px) !important;
    padding-inline: 24px !important;
  }

  .trust-badge-item {
    height: 84px !important;
  }

  .trust-badge-item > img {
    height: 76px !important;
    max-width: 220px !important;
    max-height: 76px !important;
  }

  .trust-badge-bark {
    min-width: 140px !important;
  }

  .trust-badge-bark .bark-widget {
    min-height: 78px !important;
    transform: scale(0.82) !important;
  }
}
