/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  padding-block: var(--space-24);
  border-bottom: var(--border);
  .trust-list:not(.slick-slider) {
    display: flex;
    justify-content: space-between;
    > li {
      width: auto;
      &:not(:nth-child(-n + 5)) {
        display: none;
      }
    }
  }
}

.about-page .trust-bar {
  position: relative;
  border-top: none;
  border-bottom: none;
}

.about-page .trust-bar::before,
.about-page .trust-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--container-padding) * 2);
  max-width: var(--container-width);
  height: 1px;
  background-color: var(--border-color);
}

.about-page .trust-bar::before {
  top: 0;
}

.about-page .trust-bar::after {
  bottom: 0;
}

.trust-list .slick-track {
  display: flex;
  align-items: center;
}

.trust-item {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-10);
  padding-inline: var(--space-12);
}

.trust-item img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.trust-item img[src$="trust-shipping.svg"] {
  width: 43px;
}

.trust-item span {
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--dark);
  text-transform: capitalize;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .trust-item span {
    white-space: normal;
  }
  .trust-bar {
    padding-block: var(--space-20);
  }
  .trust-list:not(.slick-slider) {
    > li {
      &:not(:nth-child(-n + 4)) {
        display: none !important;
      }
    }
  }
}
@media (max-width: 991.98px) {
  .trust-list:not(.slick-slider) {
    > li {
      &:not(:nth-child(-n + 3)) {
        display: none !important;
      }
    }
  }
}
@media (max-width: 767.98px) {
  .trust-list:not(.slick-slider) {
    > li {
      &:not(:nth-child(-n + 2)) {
        display: none !important;
      }
    }
  }
}
@media (max-width: 576.98px) {
  .trust-list:not(.slick-slider) {
    > li {
      &:not(:nth-child(-n + 1)) {
        display: none !important;
      }
    }
  }
  .trust-item {
    justify-content: center;
  }
}
