.featured-reviews-not-first-tab {
  [id*="__junip_junip_reviews_"],
  .featured-reviews-first-tab-only {
    display: none;
  }
}

.featured-reviews {
  .tab-container-content {
    border: none;
    padding: 0;
  }

  .featured-reviews__tab-button {
    border: 1px solid rgb(var(--border-color));
    border-radius: 8px;
  }

  .tab-container-navigation__interactable--active {
    background: rgb(var(--text-color) / 0.05);
    border-color: rgb(var(--text-color));
  }

  .featured-reviews__title-block {
    text-align: center;
    margin-inline: auto;

    @media screen and (min-width: 1000px) {
      max-width: 60%;
    }

    .featured-reviews__description {
      font-size: 16px;
    }
  }

  .featured-reviews__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-3);
  }

  .featured-reviews__grid {
    margin-top: var(--spacing-5);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-5);

    @media screen and (min-width: 1000px) {
      margin-top: var(--spacing-12);
    }
  }

  .featured-reviews__grid>* {
    width: 100%;

    @media screen and (min-width: 1000px) {
      width: calc(25% - var(--spacing-5) * 3 / 4);
    }
  }

  .featured-review-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    border: 1px solid rgb(var(--text-color));
    background-color: rgb(var(--text-color) / 0.03);
    border-radius: var(--rounded);

    .rating__star {
      width: 20px;
      height: 20px;
    }

    .rating__star--empty {
      filter: none;
      opacity: 0.3;
    }
  }

  .featured-review-card__author-line {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
  }

  .featured-review-card__verified {
    opacity: 0.6;
  }

  .featured-review-card__product {
    margin-top: auto;
  }

  .featured-review-card__product a {
    text-decoration: underline;
  }
}
