/* Shop review cards in category listings */
.products-block .product.product__review-card {
  display: flex;
  min-height: 420px;
  padding: 12px !important;
}

.shop-reviews-below-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 28px 0 35px;
}

.shop-reviews-below-products .product__review-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
}

.product__review-card-link {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  color: #17251f;
  text-decoration: none;
  background: linear-gradient(145deg, #eff9f3 0%, #fff 100%);
  border: 1px solid #cfe5d8;
  border-radius: 10px;
  transition: border-color .2s ease, transform .2s ease;
}

.product__review-card-link::before {
  position: absolute;
  top: -24px;
  right: -12px;
  color: rgba(0, 121, 63, .09);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  content: "\201c";
}

.product__review-card-link:hover {
  color: #17251f;
  text-decoration: none;
  border-color: #75b493;
  transform: translateY(-2px);
}

.product__review-card-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 24px;
  color: #00793f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product__review-card-label::before {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #00793f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 121, 63, .1);
  content: "";
}

.product__review-card .shop-reviews-stars {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.product__review-card blockquote {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  margin: 0 0 22px;
  overflow: hidden;
  color: #17251f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.product__review-card-author {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin-top: auto;
  color: #5b6d65;
  font-size: 13px;
}

.product__review-card-author strong { color: #17251f; font-size: 14px; }
.product__review-card-author span + span::before { margin-right: 10px; color: #9bb1a7; content: "\2022"; }

.product__review-card-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  color: #00793f;
  font-size: 15px;
  font-weight: 700;
  border-top: 1px solid #cfe5d8;
}

.product__review-card-cta::after { font-size: 22px; font-weight: 400; content: "\2192"; }

/* Dedicated shop review page */
.shop-reviews-breadcrumbs { margin-bottom: 18px; }
.shop-reviews-page { max-width: 1180px; margin-bottom: 55px; }

.shop-reviews-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 55px;
  padding: 44px;
  background: linear-gradient(135deg, #f1faf5 0%, #fff 68%);
  border: 1px solid #d8eadf;
  border-radius: 14px;
}

.shop-reviews-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #00793f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shop-reviews-hero h1 { margin: 0 0 16px; font-size: 40px; line-height: 1.15; }
.shop-reviews-intro { max-width: 600px; margin: 0; color: #4f6159; font-size: 17px; line-height: 1.6; }
.shop-reviews-intro p:last-child { margin-bottom: 0; }

.shop-reviews-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.shop-reviews-trust span { padding: 7px 11px; color: #315544; font-size: 12px; font-weight: 600; background: #fff; border: 1px solid #d6e8dd; border-radius: 20px; }
.shop-reviews-trust span::before { margin-right: 6px; color: #00793f; content: "\2713"; }

.shop-reviews-summary {
  display: grid;
  grid-template-columns: 118px minmax(180px, 1fr);
  gap: 22px 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e0e9e4;
  border-radius: 12px;
}

.shop-reviews-summary__score strong { display: block; color: #17251f; font-size: 48px; line-height: 1; }
.shop-reviews-summary__score > span { color: #75847d; font-size: 13px; }
.shop-reviews-summary__score small { display: block; margin-top: 8px; color: #617169; font-size: 12px; }

.shop-reviews-stars { display: flex; gap: 3px; align-items: center; margin-top: 8px; }
.shop-reviews-stars > span { width: 18px; height: 18px; color: #edb600; font-size: 20px; line-height: 18px; }
.shop-reviews-stars > span::before { content: "\2605"; }
.shop-reviews-stars > span.is-empty { color: #d9dfdc; }

.shop-reviews-summary__bars { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.shop-reviews-bar { display: grid; grid-template-columns: 30px minmax(80px, 1fr) 36px; gap: 8px; align-items: center; color: #5c6d65; font-size: 12px; }
.shop-reviews-bar > span span { color: #edb600; }
.shop-reviews-bar i { display: block; height: 7px; overflow: hidden; background: #edf1ef; border-radius: 4px; }
.shop-reviews-bar i b { display: block; height: 100%; background: #00793f; border-radius: 4px; }
.shop-reviews-bar em { font-style: normal; text-align: right; }

.shop-reviews-summary__recommend { display: flex; grid-column: 1 / -1; gap: 6px 14px; align-items: center; padding-top: 18px; border-top: 1px solid #e4ebe7; }
.shop-reviews-summary__recommend strong { color: #00793f; font-size: 23px; }
.shop-reviews-summary__recommend span { flex: 1 1 160px; color: #52635b; font-size: 12px; }
.shop-reviews-summary__recommend a { color: #00793f; font-size: 13px; font-weight: 700; }

.shop-reviews-list__head { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.shop-reviews-list__head h2 { margin: 0; font-size: 30px; }
.shop-reviews-list__head p { max-width: 430px; margin: 0; color: #627169; font-size: 14px; text-align: right; }
.shop-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.shop-review { display: flex; min-width: 0; min-height: 260px; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #dfe7e3; border-radius: 9px; }
.shop-review__top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.shop-review__top .shop-reviews-stars { margin: 0; }
.shop-review__top .shop-reviews-stars > span { width: 16px; height: 16px; font-size: 18px; line-height: 16px; }
.shop-review__top > strong { color: #394b42; font-size: 13px; }
.shop-review__source { margin-left: auto; padding: 4px 7px; color: #3c6551; font-size: 11px; font-weight: 600; background: #eef7f2; border-radius: 4px; }
.shop-review blockquote { margin: 0 0 22px; color: #26362f; font-size: 15px; line-height: 1.55; }
.shop-review__negative { display: flex; flex-direction: column; gap: 4px; margin: -5px 0 20px; padding: 10px 12px; color: #6b594a; font-size: 12px; background: #fffaf2; border-left: 3px solid #e2b15e; }
.shop-review footer { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: center; margin-top: auto; padding-top: 16px; color: #6b7972; font-size: 12px; border-top: 1px solid #edf1ef; }
.shop-review footer strong { color: #26362f; font-size: 13px; }
.shop-review footer time { margin-left: auto; }
.shop-reviews-empty { padding: 30px; text-align: center; background: #f7f9f8; border-radius: 8px; }

.shop-reviews-pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 32px; }
.shop-reviews-pagination a,
.shop-reviews-pagination span { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 10px; color: #25372e; text-decoration: none; background: #fff; border: 1px solid #dbe5e0; border-radius: 5px; }
.shop-reviews-pagination span { color: #fff; font-weight: 700; background: #00793f; border-color: #00793f; }
.shop-reviews-pagination a:hover { border-color: #00793f; }
.shop-reviews-pagination .shop-reviews-pagination__direction { padding-right: 15px; padding-left: 15px; }

.shop-reviews-assurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; padding: 27px; background: #f3f8f5; border-radius: 10px; }
.shop-reviews-assurance div { display: flex; flex-direction: column; gap: 6px; padding-left: 38px; }
.shop-reviews-assurance div::before { position: absolute; margin-left: -38px; color: #00793f; font-size: 23px; content: "\2713"; }
.shop-reviews-assurance strong { color: #20342a; font-size: 15px; }
.shop-reviews-assurance span { color: #5b6c64; font-size: 13px; line-height: 1.45; }

@media (max-width: 1200px) {
  .products-block .product.product__review-card { min-height: 390px; }
  .shop-reviews-below-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-reviews-hero { grid-template-columns: 1fr; }
  .shop-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .products-block .product.product__review-card { width: 100%; min-height: 360px; padding: 8px 0 !important; }
  .shop-reviews-below-products { grid-template-columns: 1fr; margin-top: 20px; }
  .shop-reviews-below-products .product__review-card { min-height: 0; }
  .product__review-card-link { padding: 22px; }
  .product__review-card blockquote { font-size: 17px; -webkit-line-clamp: 5; }
  .shop-reviews-page { margin-bottom: 35px; }
  .shop-reviews-hero { gap: 28px; margin-bottom: 38px; padding: 24px 18px; border-radius: 9px; }
  .shop-reviews-hero h1 { font-size: 30px; }
  .shop-reviews-summary { grid-template-columns: 1fr; padding: 22px 18px; }
  .shop-reviews-summary__score { text-align: center; }
  .shop-reviews-summary__score .shop-reviews-stars { justify-content: center; }
  .shop-reviews-summary__recommend { align-items: flex-start; }
  .shop-reviews-list__head { display: block; }
  .shop-reviews-list__head p { margin-top: 12px; text-align: left; }
  .shop-reviews-grid { grid-template-columns: 1fr; }
  .shop-review { min-height: 0; }
  .shop-reviews-assurance { grid-template-columns: 1fr; }
  .shop-reviews-pagination__direction { width: 100%; }
}
