/* Verified reviews on the product page (ck-reviews.js). Palette tokens only. */
.ck-stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.ck-stars svg { width: 18px; height: 18px; flex: none; }
.ck-stars.is-sm svg { width: 14px; height: 14px; }
.ck-stars-empty, .ck-stars-full { display: inline-flex; gap: 2px; }
.ck-stars-empty svg { fill: #E6ECE9; stroke: #C8A86E; stroke-width: 1.2; }
.ck-stars-full svg { fill: #B8955A; }
.ck-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }

/* Under the product title */
.pdp-rating[hidden] { display: none !important; }
.pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
  color: #161A1B;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.pdp-rating-count { color: #5A615F; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pdp-rating:hover .pdp-rating-count { color: #123E44; }
.pdp-rating:focus-visible { outline: 2px solid #B8955A; outline-offset: 3px; border-radius: 6px; }

/* Section */
.pdp-reviews[hidden] { display: none !important; }
.pdp-reviews {
  margin: 28px 0;
  padding: clamp(18px, 3vw, 32px);
  background: #fff;
  border: 1px solid rgba(18, 62, 68, .10);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(11, 43, 48, .06);
  scroll-margin-top: 110px;
}
.ck-reviews-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title title" "score hist";
  gap: 14px 28px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 62, 68, .10);
}
.ck-reviews-head h2 { grid-area: title; margin: 0; font: 800 1.35rem/1.2 Manrope, Inter, sans-serif; color: #0B2B30; }
.ck-reviews-score { grid-area: score; display: grid; grid-template-columns: auto auto; gap: 2px 12px; align-items: center; justify-content: start; }
.ck-reviews-score strong { grid-row: span 2; font: 800 2.6rem/1 Manrope, Inter, sans-serif; color: #161A1B; }
.ck-reviews-score span:last-child { font-size: .85rem; color: #5A615F; }
.ck-hist { grid-area: hist; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 220px; }
.ck-hist li { display: grid; grid-template-columns: 10px 12px 1fr 24px; gap: 6px; align-items: center; font-size: .78rem; color: #5A615F; }
.ck-hist svg { width: 12px; height: 12px; fill: #B8955A; }
.ck-hist-bar { height: 6px; border-radius: 3px; background: #E6ECE9; overflow: hidden; }
.ck-hist-bar span { display: block; height: 100%; background: #B8955A; border-radius: 3px; }
.ck-hist-n { text-align: right; }

.ck-review-list { list-style: none; margin: 0; padding: 0; }
.ck-review { padding: 18px 0; border-bottom: 1px solid rgba(18, 62, 68, .08); }
.ck-review:last-child { border-bottom: 0; }
.ck-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ck-review-head strong { font-size: .92rem; color: #161A1B; }
.ck-review-verified { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: #1F5A61; }
.ck-review-verified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ck-review-text { margin: 8px 0 0; max-width: 70ch; line-height: 1.6; color: #161A1B; white-space: pre-line; }
.ck-review-photo { display: inline-block; margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(18, 62, 68, .10); }
.ck-review-photo img { display: block; width: 112px; height: 112px; object-fit: cover; transition: transform .3s ease; }
.ck-review-photo:hover img { transform: scale(1.04); }
.ck-review-date { display: block; margin-top: 8px; font-size: .78rem; color: #5A615F; }
.ck-reviews-more {
  margin-top: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #123E44;
  border-radius: 12px;
  background: transparent;
  color: #123E44;
  font: 700 .9rem/1 Inter, sans-serif;
  cursor: pointer;
}
.ck-reviews-more:hover { background: #E6ECE9; }
.ck-reviews-more:focus-visible { outline: 2px solid #B8955A; outline-offset: 2px; }

@media (max-width: 640px) {
  .ck-reviews-head { grid-template-columns: 1fr; grid-template-areas: "title" "score" "hist"; }
  .ck-hist { min-width: 0; }
}
