/*
 * Gap: no shared recipe arranges four icon-led trust cards, a results band and
 * a CTA strip. This file adds that layout (container-query grid), the tinted
 * icon chips, card padding (the shared card has none), and resets against
 * host-theme heading, paragraph and list margins. The LWC theme's
 * front_css.css sets `* { outline: 0 !important }`, which removes the shared
 * button focus ring, so the CTA re-pins that ring with the same tokens.
 */
.why-sellers-trust-us-v2-block {
  container-type: inline-size;
  display: grid;
  gap: var(--clvr-space-6);
}

.why-sellers-trust-us-v2-block h2,
.why-sellers-trust-us-v2-block h3 {
  margin: 0;
  padding: 0;
  border: 0;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__intro {
  margin: var(--clvr-space-2) 0 0;
}

/* Trust cards */
.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--clvr-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__grid > li {
  display: flex;
  margin: 0;
  padding: 0;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__grid > li::before {
  content: none;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--clvr-space-3);
  padding: var(--clvr-space-6);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__card .clvr-card__copy {
  margin: 0;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__icon {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: var(--clvr-radius-md);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__icon--info {
  background: var(--clvr-color-status-info-bg);
  color: var(--clvr-color-status-info-icon);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__icon--success {
  background: var(--clvr-color-status-success-bg);
  color: var(--clvr-color-status-success-icon);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__icon--primary {
  background: var(--clvr-color-surface-muted);
  color: var(--clvr-color-primary);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__icon--warning {
  background: var(--clvr-color-status-warning-bg);
  color: var(--clvr-color-status-warning-icon);
}

/* Results band */
.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__results {
  display: grid;
  gap: var(--clvr-space-6);
  align-items: center;
  padding: var(--clvr-space-6);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__stats dl {
  margin: 0;
}

/* CTA strip */
.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--clvr-space-4);
  align-items: center;
  justify-content: space-between;
  padding: var(--clvr-space-6);
  border-radius: var(--clvr-radius-md);
  background: var(--clvr-color-surface-muted);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta-text {
  flex: 1 1 18rem;
  margin: 0;
  color: var(--clvr-color-text);
  text-wrap: balance;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta-text strong {
  font-family: var(--clvr-font-heading);
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta-button {
  flex: none;
}

.why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta-button:focus-visible {
  outline: 2px solid var(--clvr-color-primary) !important;
  outline-offset: 2px !important;
}

@container (min-width: 40rem) {
  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 64rem) {
  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__results {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@container (max-width: 30rem) {
  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__card,
  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__results,
  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta {
    padding: var(--clvr-space-4);
  }

  .why-sellers-trust-us-v2-block .why-sellers-trust-us-v2-block__cta-button {
    width: 100%;
    justify-content: center;
  }
}
