/* ════════════════════════════════════════════════════════════════════════
 * WMW Product Reviews — star ratings + review cards
 * ════════════════════════════════════════════════════════════════════════ */

.wmw-stars { display: inline-flex; gap: 2px; line-height: 1; }
.wmw-star { color: rgb(var(--wmw-orange-rgb)); }
.wmw-star.empty { color: rgb(var(--steel-500-rgb)); }
.wmw-star.half {
  background: linear-gradient(90deg, rgb(var(--wmw-orange-rgb)) 50%, rgb(var(--steel-500-rgb)) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Aggregate rating strip on product cards */
.wmw-rating-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11px/1 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--steel-200-rgb));
}
.wmw-rating-strip .wmw-stars { font-size: 13px; }

/* Review section on single-product pages */
.wmw-reviews-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed rgb(var(--wmw-orange-rgb) / 0.25);
}
.wmw-reviews-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
}
.wmw-reviews-title {
  font: 400 24px/1.1 'Bebas Neue', system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--steel-50-rgb));
}
.wmw-reviews-avg {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wmw-reviews-avg-number {
  font: 400 36px/1 'Bebas Neue', system-ui, sans-serif;
  color: rgb(var(--wmw-orange-rgb));
  letter-spacing: 0.02em;
}
.wmw-reviews-avg-meta {
  font: 500 12px/1.4 'Rajdhani', system-ui, sans-serif;
  color: rgb(var(--steel-200-rgb));
}

/* Individual review card */
.wmw-review-card {
  background: rgb(var(--steel-800-rgb));
  border: 1px solid rgb(var(--steel-600-rgb));
  border-left: 2px solid rgb(var(--steel-500-rgb));
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-left-color 0.12s;
}
.wmw-review-card:hover { border-left-color: rgb(var(--wmw-orange-rgb)); }
.wmw-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.wmw-review-author {
  font: 700 13px/1 'Chakra Petch', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--steel-50-rgb));
}
.wmw-review-date {
  font: 500 11px/1 'Rajdhani', system-ui, sans-serif;
  color: rgb(var(--steel-200-rgb));
  margin-left: auto;
}
.wmw-review-text {
  font: 500 14px/1.6 'Rajdhani', system-ui, sans-serif;
  color: rgb(var(--steel-100-rgb));
}

/* Review submission form */
.wmw-review-form {
  background: rgb(var(--steel-800-rgb));
  border: 1px solid rgb(var(--steel-600-rgb));
  padding: 20px 24px;
  margin-top: 24px;
}
.wmw-review-form-title {
  font: 400 20px/1 'Bebas Neue', system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--steel-50-rgb));
  margin-bottom: 16px;
}
.wmw-star-selector {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.wmw-star-selector button {
  background: transparent;
  border: 0;
  padding: 2px;
  cursor: pointer;
  font-size: 24px;
  color: rgb(var(--steel-500-rgb));
  transition: color 0.08s;
}
.wmw-star-selector button.selected,
.wmw-star-selector button:hover { color: rgb(var(--wmw-orange-rgb)); }

/* Reviews mount on product pages sat outside the content container (full-bleed). */
#wmw-reviews-mount, .single-product .wmw-reviews-section { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
