/* Product-review presentation. Customer Reviews for WooCommerce owns the data and controls. */
body.single-product #reviews .cr-ajax-search input.cr-input-text {
  padding-left: 38px !important;
}

body.single-product #reviews .cr-count-row {
  background: #fff;
}

body.single-product #reviews #comments.cr-reviews-ajax-comments {
  float: none;
  width: 100%;
  padding: 0;
}

body.single-product #reviews #comments .woocommerce-Reviews-title {
  margin: 0 0 28px;
  font-size: clamp(20px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

body.single-product #reviews #comments .av-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  width: 100%;
}

body.single-product #reviews #comments .av-review-side,
body.single-product #reviews #comments .av-review-main {
  min-width: 0;
}

body.single-product #reviews #comments .cr-summaryBox-wrap {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.single-product #reviews #comments .cr-overall-rating-wrap,
body.single-product #reviews #comments .ivole-summaryBox {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.single-product #reviews #comments .cr-overall-rating-wrap {
  align-items: flex-start;
  padding: 0 0 22px;
}

body.single-product #reviews #comments .ivole-summaryBox {
  padding: 0;
}

body.single-product #reviews #comments .cr-ajax-reviews-cus-images-div {
  width: 100%;
  margin: 24px 0 0;
}

body.single-product #reviews #comments .cr-ajax-reviews-cus-images-div2 {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

body.single-product #reviews #comments .cr-ajax-search,
body.single-product #reviews #comments .cr-review-tags-filter,
body.single-product #reviews #comments .cr-count-row,
body.single-product #reviews #comments .cr-ajax-reviews-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.single-product #reviews #comments .cr-ajax-reviews-list > li.review {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e7e6e1;
}

body.single-product #reviews #comments .cr-ajax-reviews-list > li.review:last-of-type {
  border-bottom: 0;
}

body.single-product #reviews #comments .description.av-review-collapsed {
  max-height: 7.5em;
  overflow: hidden;
}

body.single-product #reviews #comments .av-review-toggle {
  display: inline-flex;
  align-items: center;
  margin: 9px 0 16px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #252522;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.single-product #reviews #comments .av-review-toggle:focus-visible {
  outline: 2px solid #252522;
  outline-offset: 4px;
}

@media (max-width: 759px) {
  body.single-product #reviews #comments .av-review-layout {
    display: block;
  }

  body.single-product #reviews #comments .av-review-side {
    margin-bottom: 24px;
  }

  body.single-product #reviews #comments .cr-overall-rating-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px 14px;
    padding-bottom: 12px;
  }

  body.single-product #reviews #comments .cr-ajax-reviews-cus-images-div {
    margin-top: 16px;
  }

  body.single-product #reviews #comments .cr-ajax-reviews-list > li.review {
    padding-bottom: 22px;
    margin-bottom: 22px;
  }
}
