:root {
  --comment-gap: 4rem;
  --comment-padding: 2rem;
  --comment-border-color: var(--color-grey-300);
  --comment-background: var(--color-turqoise-100);
  --comment-button-background: var(--button-background);
}

/**
 * Review
 */

.woocommerce-Reviews {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {

.woocommerce-Reviews {
    flex-direction: row
}
  }

/* Meta */

.woocommerce-Reviews p.meta {
    margin-bottom: 0;
  }

/**
 * Comment List
 */

.commentlist {
  display: flex;
  flex-direction: column;
  grid-gap: 4rem;
  gap: 4rem;
  grid-gap: var(--comment-gap);
  gap: var(--comment-gap);
}

.commentlist li::before {
    display: none;
  }

/**
 * Comment Container
 */

.comment_container {
  position: relative;
}

.review:not(:last-child) .comment_container::after {
    content: '';
    width: 100%;
    height: 1px;
    background: var(--color-grey-300);
    background: var(--comment-border-color);
    position: absolute;
    bottom: -2rem;
    bottom: calc(var(--comment-gap)/-2);
  }

/**
 * Comment Text
 */

.comment-text {
  display: flex;
  flex-direction: column;
  grid-gap: 0.4rem;
  gap: 0.4rem;
  grid-gap: calc(var(--comment-gap)/10);
  gap: calc(var(--comment-gap)/10);
}

.comment-text .star-rating-wrapper {
    justify-content: flex-start;
  }

/**
 * Comment children
 */

.commentlist .children {
  margin-top: 4rem !important;
  margin-top: var(--comment-gap) !important;
}

/**
 * Reviews
 **/

.woocommerce-Reviews .comment-respond .comment-form > p {
      display: block;
    }

.woocommerce-Reviews .comment-respond .comment-form label {
      display: block;
    }

.woocommerce-Reviews .comment-respond .comment-form input,
    .woocommerce-Reviews .comment-respond .comment-form textarea,
    .woocommerce-Reviews .comment-respond .comment-form select {
      background: var(--color-turqoise-100);
      background: var(--comment-background);
      width: 100%;
      padding: 0.5rem;
    }

.woocommerce-Reviews .comment-respond .comment-form .button {
      background: var(--button-background);
      background: var(--comment-button-background);
    }

.woocommerce-Reviews .comment-respond .comment-form .stars > span {
        display: inline-flex;
        background: var(--rating-background);
        padding: calc(var(--rating-padding)/2);
      }

.woocommerce-Reviews .comment-respond .comment-form .stars a {
        position: relative;
        height: 1.5rem;
        width: 1.5rem;
        font-size: 1.5rem;
        font-weight: 400 !important;
        text-indent: -999rem;
        display: inline-block;
        text-decoration: none;
      }

.woocommerce-Reviews .comment-respond .comment-form .stars a::before {
          display: block;
          position: absolute;
          top: 0;
          left: 0;
          width: 1.5rem;
          height: 1.5rem;
          line-height: 1;
          content: "\2606";
          text-indent: 0;
        }

.woocommerce-Reviews .comment-respond .comment-form .stars:hover a::before {
        content: "\2605";
      }

.woocommerce-Reviews .comment-respond .comment-form .stars.selected a.active::before {
        content: "\2605";
      }

.woocommerce-Reviews .comment-respond .comment-form .stars.selected a:not(.active)::before {
        content: "\2605";
      }

.woocommerce-Reviews .comment-respond .comment-form .stars.selected a.active ~ a::before {
        content: "\2606";
      }

.woocommerce-Reviews .comment-respond .comment-form .stars a:hover ~ a::before {
        content: "\2606";
      }

