/* =========================================================
   MARRY ME SHARED TRUST STRIP V8
   One assurance component for all public inner pages.
   Homepage intentionally excluded.
   ========================================================= */

.mm-trust-strip {
  --trust-bg: #f6f1ea;
  --trust-line: #ded2c7;
  --trust-ink: #4b4039;
  --trust-muted: #736759;
  --trust-teal: #0b6b63;

  width: 100%;
  margin: clamp(44px, 7vw, 84px) 0 24px;
  padding: 27px clamp(22px, 4vw, 48px);
  border-top: 1px solid var(--trust-line);
  border-bottom: 1px solid var(--trust-line);
  background: var(--trust-bg);
  box-sizing: border-box;
}

.mm-trust-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.mm-trust-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.mm-trust-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  opacity: .68;
  filter: grayscale(1) sepia(.16);
}

.mm-trust-copy {
  min-width: 0;
}

.mm-trust-title {
  margin: 0 0 4px;
  color: var(--trust-ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: .62rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mm-trust-text {
  margin: 0;
  color: var(--trust-muted);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Tablet: same visual language, simply wraps 2 × 2. */
@media (max-width: 900px) {
  .mm-trust-strip {
    width: min(100% - 34px, 900px);
    padding: 24px 28px;
  }

  .mm-trust-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }
}

/* Phone: all four fit in one real row, no scrolling - icon stacked over a
   short label, description line dropped (no room for it at this width). */
@media (max-width: 560px) {
  .mm-trust-strip {
    width: 100%;
    margin-top: 40px;
    padding: 14px 0;
  }

  .mm-trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 0 10px;
  }

  .mm-trust-item {
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .mm-trust-copy {
    min-width: 0;
    width: 100%;
  }

  .mm-trust-text {
    display: none;
  }

  .mm-trust-title {
    margin: 0;
    font-size: .52rem;
    line-height: 1.25;
    letter-spacing: .06em;
  }

  .mm-trust-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}

/* Keep the strip clear of the fixed phone purchase bar. */
@media (max-width: 700px) {
  body.product-detail-page.mm-has-mobile-buybar .mm-trust-strip {
    margin-bottom: 86px;
  }
}
