/* Verified purchase reviews: shared by the homepage and customer order page. */
.customer-reviews-band {
  margin: 42px 0 12px;
  padding: 44px 0 36px;
  background: #f1f7fc;
  border-block: 1px solid #e3edf5;
}
.customer-reviews-section { min-width: 0; }
.customer-reviews-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 24px; }
.customer-reviews-kicker { margin: 0 0 7px; color: #075b91; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.customer-reviews-heading h2 { margin: 0; color: var(--ink, #1c202b); font-size: clamp(24px, 2.8vw, 32px); font-weight: 750; line-height: 1.45; }
.customer-reviews-intro { margin: 10px 0 0; color: #5d5f61; font-size: 14px; line-height: 1.8; }
.customer-reviews-summary { flex: 0 0 auto; padding-left: 24px; border-left: 1px solid #d5e3ef; text-align: right; }
.customer-reviews-summary > div { display: flex; gap: 8px; justify-content: flex-end; align-items: baseline; color: #5d5f61; }
.customer-reviews-summary strong { color: #075b91; font-size: 42px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.customer-reviews-summary span { font-size: 15px; }
.customer-reviews-summary p { margin: 6px 0 0; color: #5d5f61; font-size: 13px; }
.customer-reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; padding: 3px 3px 14px; margin: -3px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 3px; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #afcddd transparent; }
.customer-review-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 24px; border: 1px solid #dce8f1; border-radius: 16px; background: #fff; scroll-snap-align: start; }
.customer-review-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.customer-review-stars { display: inline-flex; gap: 3px; color: #b65c04; font-size: 20px; line-height: 1.4; letter-spacing: 0; white-space: nowrap; }
.customer-review-stars .is-empty { color: #cbd3db; }
.customer-review-verified { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 5px; background: #edf7ff; color: #075b91; font-size: 11px; line-height: 1.5; font-weight: 650; white-space: nowrap; }
.customer-review-comment { flex: 1; max-height: 15em; overflow-y: auto; margin: 20px 0 24px; color: #333d49; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; white-space: pre-wrap; scrollbar-width: thin; }
.customer-review-comment:focus-visible { outline: 3px solid #087ac1; outline-offset: 3px; border-radius: 2px; }
.customer-review-card-footer { padding-top: 16px; border-top: 1px solid #e9eef4; }
.customer-review-person { display: flex; align-items: center; gap: 10px; }
.customer-review-avatar { position: relative; overflow: hidden; display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid #dce8f1; border-radius: 50%; color: #075b91; background: #f1f7fc; font-size: 13px; font-weight: 700; }
.customer-review-person strong { display: block; color: #333d49; font-size: 13px; overflow-wrap: anywhere; }
.customer-review-person time { display: block; margin-top: 3px; color: #65717b; font-size: 12px; }
.customer-review-product { margin: 12px 0 0; color: #65717b; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.customer-reviews-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; align-items: center; margin-top: 16px; }
.customer-reviews-controls { display: flex; gap: 8px; align-items: center; }
.customer-reviews-controls[hidden] { display: none; }
.customer-reviews-controls .customer-reviews-arrow, .customer-reviews-controls .customer-reviews-play { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; margin: 0; padding: 8px 12px; border: 1px solid #c7d9e8; border-radius: 10px; color: #075b91; background: #fff; font-size: 18px; font-weight: 600; box-shadow: none; cursor: pointer; }
.customer-reviews-controls .customer-reviews-play { margin-right: 4px; font-size: 12px; }
.customer-reviews-controls button:hover { background: #e3f1fd; }
.customer-reviews-track:focus-visible, .customer-reviews-controls button:focus-visible { outline: 3px solid #087ac1; outline-offset: 3px; }
.customer-reviews-empty { display: flex; align-items: center; gap: 20px; padding: 26px; border: 1px solid #dce8f1; border-radius: 16px; background: #fff; }
.customer-reviews-empty-icon { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border-radius: 50%; color: #075b91; background: #edf7ff; font-size: 34px; }
.customer-reviews-empty h3 { margin: 0 0 6px; color: #333d49; font-size: 17px; }
.customer-reviews-empty p { margin: 0; color: #5d5f61; font-size: 14px; line-height: 1.8; }
.customer-reviews-empty > a { margin-left: auto; flex: 0 0 auto; }
.order-review-panel { scroll-margin-top: 110px; }
.order-review-heading { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; }
.order-review-panel .order-review-heading .order-card-title { margin-bottom: 12px; }
.order-review-panel .customer-review-verified { font-size: 12px; }
.order-review-copy { margin: 0 0 20px; color: var(--ink-soft, #5d5f61); font-size: 14px; line-height: 1.8; }
.order-review-form { margin: 0; }
.order-review-rating { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.order-review-rating legend, .order-review-comment-label { display: block; margin: 0 0 10px; padding: 0; color: #333d49; font-size: 14px; font-weight: 650; }
.order-review-rating legend span, .order-review-comment-label span { color: #65717b; font-size: 12px; font-weight: 400; }
.order-review-stars { display: flex; flex-wrap: wrap; gap: 10px; }
.order-review-star { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 48px; margin: 0; padding: 8px; border: 1px solid #dce4ed; border-radius: 10px; background: #fff; cursor: pointer; }
.order-review-star input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; }
.order-review-star-icon { color: #8a949e; font-size: 30px; line-height: 1.2; }
.order-review-star-label { color: #5d5f61; font-size: 11px; line-height: 1.5; }
.order-review-star:has(input:checked), .order-review-star.is-selected { border-color: #bc650e; background: #fff7ec; }
.order-review-star:has(input:checked) .order-review-star-icon, .order-review-star.is-filled .order-review-star-icon { color: #b65c04; }
.order-review-star:has(input:focus-visible) { outline: 3px solid #087ac1; outline-offset: 3px; }
.order-review-rating-hint { margin: 9px 0 0; color: #65717b; font-size: 12px; }
.order-review-form textarea { box-sizing: border-box; display: block; width: 100%; min-height: 130px; margin: 0; padding: 12px; border: 1px solid #b6c4cf; border-radius: 10px; background: #fff; color: #333d49; font-family: inherit; font-size: 16px; line-height: 1.8; resize: vertical; }
.order-review-form textarea:focus-visible { outline: 3px solid #087ac1; outline-offset: 2px; }
.order-review-comment-meta { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; margin: 8px 0 18px; }
.order-review-comment-meta p, .order-review-comment-meta > span { margin: 0; color: #65717b; font-size: 12px; line-height: 1.7; }
.order-review-comment-meta > span { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.order-review-note { margin: 12px 0 0; color: #65717b; font-size: 12px; line-height: 1.8; }
.order-review-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 14px; }
.order-review-status { color: #65717b; font-size: 12px; }
.order-review-comment { margin: 0 0 12px; color: #333d49; font-size: 15px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-review-date { margin: 0; color: #65717b; font-size: 12px; }
@media (max-width: 1000px) {
  .customer-reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .customer-reviews-band { margin-top: 30px; padding: 30px 0; }
  .customer-reviews-heading { gap: 18px; align-items: flex-start; flex-direction: column; }
  .customer-reviews-heading h2 { font-size: 24px; }
  .customer-reviews-summary { display: flex; align-items: baseline; gap: 12px; padding: 0; border: 0; text-align: left; }
  .customer-reviews-summary strong { font-size: 30px; }
  .customer-reviews-summary p { margin: 0; }
  .customer-reviews-track { grid-auto-columns: 88%; gap: 14px; }
  .customer-review-card { padding: 20px; }
  .customer-reviews-bottom { gap: 12px; }
  .customer-reviews-controls { margin-left: auto; }
  .customer-reviews-empty { flex-wrap: wrap; gap: 14px; padding: 20px; }
  .customer-reviews-empty-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 28px; }
  .customer-reviews-empty > div { flex: 1 1 180px; }
  .customer-reviews-empty > a { margin: 0; }
  .order-review-stars { gap: 6px; }
  .order-review-star { flex: 1; min-width: 36px; padding: 8px 4px; }
  .order-review-star-icon { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-reviews-track { scroll-behavior: auto; }
}

.customer-review-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.customer-review-avatar img[hidden] { display: none; }
