.av-plp-footer {
  border-top: 1px solid rgb(200, 203, 217);
  margin-top: 40px;
  /* vertical only — page-width on __inner handles horizontal (avoid double padding) */
  padding: 60px 0;
}

.av-plp-footer__inner {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 30px;
}

@media (max-width: 959px) {
  .av-plp-footer__inner {
    padding-inline: 16px;
  }
}

.av-plp-footer__heading {
  margin-bottom: 40px;
  text-transform: capitalize;
}

.av-plp-footer__items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.av-plp-footer__items > * {
  flex: 1 1 0;
  padding: 0 24px;
  text-align: center;
}

.av-plp-footer__items > *:not(:first-child) {
  border-left: 1px solid #e0e0e0;
}

.av-plp-footer__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: block;
}

.av-plp-footer__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.av-plp-footer__text {
  margin-top: 16px;
  color: var(--color-text);
}

/* Mobile (max-width: 959px) — ported from live CH (.plp-trusted-items) */
@media (max-width: 959px) {
  .av-plp-footer {
    padding-top: 0;
    /* hide the section top border (rgb 200,203,217) on mobile */
    border-top: none;
  }

  /* full-bleed grid on mobile — override page-width padding */
  .av-plp-footer__inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* heading outside the full-bleed grid needs its own breathing room */
  .av-plp-footer__heading {
    padding-inline: 16px;
  }

  /* grid frame: top + bottom line (#e0e0e0) — live .plp-trusted-items */
  .av-plp-footer__items {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    gap: 0;
  }

  .av-plp-footer__items > * {
    flex: 1 1 45%;
    padding: 15px;
  }

  /* edge columns need outer breathing room (container is full-bleed) */
  .av-plp-footer__items > *:nth-child(odd) {
    padding-left: 20px;
  }

  .av-plp-footer__items > *:nth-child(even) {
    padding-right: 20px;
  }

  /* override desktop border-left leak — no left/edge bars on mobile */
  .av-plp-footer__items > *:not(:first-child) {
    border-left: none;
  }

  /* vertical center divider (2 segments aligned) */
  .av-plp-footer__items > *:nth-child(2n+1) {
    border-right: 1px solid #e0e0e0;
  }

  /* horizontal center divider */
  .av-plp-footer__items > *:nth-child(-n+2) {
    border-bottom: 1px solid #e0e0e0;
  }
}
