.mp-trustindex-wrapper {
  & ::-webkit-scrollbar {
    width: 3px;
    border-radius: 30px;
  }
  & ::-webkit-scrollbar-track {
    background: rgba(85, 85, 85, 0.1);
  }
  & ::-webkit-scrollbar-thumb {
    background: rgba(85, 85, 85, 0.6);
  }
  & .mp-grw-list.is-grid {
    --mp-cols: 3;
    --mp-gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(var(--mp-cols), minmax(0, 1fr));
    gap: var(--mp-gap);
  }
  &:has(.mp-grw-list.is-carousel.swiper) {
    & .swiper-wrapper {
      & .swiper-slide {
        position: relative;
      }
    }
  }

  & .mp-grw-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    padding: var(--mp-grw-card-padding, 1rem);
    box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.05);
  }

  & .mp-grw-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    & .mp-grw-head-inner {
      overflow: clip;
    }
  }

  & .mp-grw-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    & .mp-grw-pagination {
      width: auto;
      margin-top: 0.625rem;
    }
  }

  & .mp-grw-badge {
    display: inline-block;
    /* top: var(--mp-grw-badge-top, 0.75rem);
    right: var(--mp-grw-badge-right, 0.75rem);
    bottom: var(--mp-grw-badge-bottom, auto);
    left: var(--mp-grw-badge-left, auto); */
    width: calc(var(--mp-grw-badge-size, 1.75rem) + var(--mp-grw-badge-padding, 0rem));
    height: calc(var(--mp-grw-badge-size, 1.75rem) + var(--mp-grw-badge-padding, 0rem));
    transform: translateX(calc(var(--mp-grw-badge-top, 0.75rem) + var(--mp-grw-badge-size, 1.75rem)));
    border-radius: var(--mp-grw-badge-border-radius, 0rem);

    & i,
    & svg {
      font-size: var(--mp-grw-badge-size, 1.75rem);
      width: calc(var(--mp-grw-badge-size, 1.75rem) + var(--mp-grw-badge-padding, 0rem));
      height: calc(var(--mp-grw-badge-size, 1.75rem) + var(--mp-grw-badge-padding, 0rem));
      padding: var(--mp-grw-badge-padding, 0rem);
    }
  }

  & .mp-grw-rating {
    & i,
    & svg {
      font-size: var(--rating-icon-size, 1rem);
      width: calc(var(--rating-icon-size, 1rem));
      height: calc(var(--rating-icon-size, 1rem));
    }
  }

  & .mp-grw-photo {
    width: 3rem;
    height: 3rem;
    border-radius: 999rem;
    object-fit: cover;
    flex: 0 0 auto;
  }

  & .mp-grw-head-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  & .mp-grw-user {
    font-weight: 600;
  }

  & .mp-grw-subline {
    font-size: 0.875rem;
    opacity: 0.9;
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  & .mp-grw-text {
    margin-top: 0.75rem;
    line-height: 1.6;

    &.clipped-text {
      overflow: clip;
    }
    &.scroll-text {
      overflow-y: scroll;
      padding-inline-end: 0.75rem;
    }
  }

  & .mp-grw-empty,
  & .mp-grw-missing-table {
    padding: 0.75rem 1rem;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    background: #fafafa;
  }

  & .mp-grw-list.is-carousel.swiper {
    overflow: hidden;
  }

  & .mp-grw-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999rem;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    cursor: pointer;

    &::after {
      content: '';
      position: absolute;
      inset: 0;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 0.875rem 0.875rem;
    }

    &.mp-grw-nav-prev {
      left: 0.5rem;
      &::after {
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 4L6.5 10l6 6' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      }
    }

    &.mp-grw-nav-next {
      right: 0.5rem;
      &::after {
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 4l6 6-6 6' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      }
    }
  }
}

/* Shortcode-based layout styles */
.mp-grw-reviews-list {
  display: grid;
  gap: 1.5rem;
}

.mp-grw-review-item {
  /* Individual review item styles - can be customized via template */
}

.mp-grw-carousel-wrapper {
  position: relative;
  margin: 1.5rem 0;

  /* SwiperJS styles */
  & .swiper {
    overflow: hidden;
  }

  & .swiper-slide {
    height: auto;
  }

  & .swiper-pagination {
    position: relative;
    margin-top: 1rem;
    text-align: center;
  }

  & .swiper-button-prev,
  & .swiper-button-next {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;

    &::after {
      font-size: 0.875rem;
    }

    &:hover {
      background: rgba(0, 0, 0, 0.6);
    }
  }

  & .swiper-button-prev {
    left: 0.5rem;
  }

  & .swiper-button-next {
    right: 0.5rem;
  }

  /* SplideJS styles */
  & .splide {
    overflow: hidden;
  }

  & .splide__slide {
    height: auto;
  }

  & .splide__pagination {
    margin-top: 1rem;
    text-align: center;
  }

  & .splide__arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;

    &:hover {
      background: rgba(0, 0, 0, 0.6);
    }

    &--prev {
      left: 0.5rem;
    }

    &--next {
      right: 0.5rem;
    }

    &:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
  }

  & .splide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 2;

    & .splide__arrow {
      position: absolute;
      pointer-events: all;
    }
  }
}

.mp-grw-error,
.mp-grw-empty {
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  background: #fafafa;
  color: #666;
}

/* Badge styles */
/*
.mp-grw-badge-wrapper {
  display: inline-block;
}

.mp-grw-badge-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.05);
}

.mp-grw-badge-logo {
  flex: 0 0 auto;
}

.mp-grw-badge-logo-img {
  max-width: 60px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mp-grw-badge-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mp-grw-badge-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

.mp-grw-badge-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mp-grw-badge-rating-number {
  font-weight: 600;
  font-size: 1.125rem;
  color: #333;
}

.mp-grw-badge-rating-stars {
  display: inline-flex;
  align-items: center;
}

.mp-grw-badge-reviews {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}
*/
