/* Shared customer-review cards; native track layout lives in card-carousels.css. */
.av-reviews [data-card-carousel="review"] > .review-card-customer {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  padding: 14px;
  border-radius: var(--av-browse-radius, 14px);
  background: var(--avs-surface);
  color: var(--avs-ink);
  overflow-wrap: anywhere;
  scroll-snap-align: start;
}
/* Short reviews do not inherit the height of long/off-screen neighbours. */
.review-card-customer .review-card-header { flex-direction: row; align-items: flex-start; gap: 10px; }
.review-card-customer .review-card-identity { display: block; flex: 1; min-width: 0; }
.review-card-customer .review-card-name-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.review-card-customer .review-card-header strong { flex: 1; min-width: 5ch; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--avs-ink); }
.review-card-customer .review-avatar { width: 42px; height: 42px; background: var(--avs-surface-alt); color: var(--avs-blue-dark); font-size: 13px; font-weight: 700; }
.review-card-customer :is(.av-review-badge, .review-verified) {
  flex: 0 1 auto;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid var(--avs-border);
  border-radius: 6px;
  background: var(--avs-surface-alt);
  color: var(--avs-text-muted);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}
.review-card-customer .review-verified { color: var(--avs-blue-dark); }
.review-card-customer .review-card-stars { margin-top: 4px; line-height: 1; }
.review-card-customer .review-stars { font-size: 16px; color: var(--avs-text-muted); }
.review-card-customer .review-stars .filled { color: var(--avs-blue-dark); }
.review-card-customer h3 { color: var(--avs-ink); font-size: 14px; line-height: 1.4; font-weight: 600; }
.review-card-customer .review-photo { width: 72px; height: 72px; object-fit: contain; }
.av-reviews [data-card-carousel="review"] .home-review-text { margin: 0; color: var(--avs-ink-soft); font-size: 14px; line-height: 1.55; white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.av-reviews [data-card-carousel="review"] .home-review-text.is-expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-card-customer .review-card-meta { align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; color: var(--avs-text-muted); font-size: 12px; line-height: 1.4; font-weight: 400; }
.review-card-customer .review-card-details { display: grid; flex: 1; min-width: 0; gap: 3px; }
.review-card-customer .review-card-product { font-size: 11px; }
.av-reviews [data-card-carousel="review"]:has(> .review-empty) { grid-auto-columns: 100%; }
.av-reviews .home-review-more { flex-shrink: 0; justify-self: start; border: 0; border-radius: 6px; background: transparent; color: var(--avs-blue-dark); font: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; min-height: 44px; padding: 8px; cursor: pointer; }
.av-reviews .home-review-more:hover { background: var(--avs-menu-hover-bg); color: var(--avs-menu-hover-text); text-decoration: underline; }
.av-reviews .home-review-more[hidden] { display: none; }
.av-reviews .home-review-more:focus-visible { outline: 2px solid var(--avs-blue-dark); outline-offset: -2px; }

.av-reviews .trust-subsection-header { align-items: center; margin-bottom: 10px; gap: 12px; }
.av-reviews .trust-subsection-label { flex: 1; min-width: 0; color: var(--avs-text-muted); font-size: 11px; line-height: 1.35; font-weight: 700; letter-spacing: .04em; margin: 0; }
.av-reviews .reviews-sort-label { display: flex; align-items: center; width: auto; min-width: 0; color: var(--avs-text-muted); font-size: 11px; gap: 6px; }
.av-reviews .reviews-sort-label select { font-size: 12px; min-height: 44px; }
.av-reviews .review-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--avs-border); border-radius: 12px; background: var(--avs-surface); }
.av-reviews .review-score-card { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0; border: 0; box-shadow: none; }
.av-reviews .review-score-card strong { color: var(--avs-ink); font-size: 24px; }
.av-reviews .review-score-card .review-score-max { color: var(--avs-text-muted); font-size: 12px; }
.av-reviews .review-score-card :is(.review-count-line, .review-verified-count) { margin: 0; color: var(--avs-text-muted); font-size: 12px; line-height: 1.4; font-weight: 400; }
.av-reviews .review-score-card .review-stars { font-size: 16px; }
.av-reviews .review-score-card .review-stars .filled { color: var(--avs-blue-dark); }
.av-reviews .review-rating-breakdown { flex: 0 0 auto; }
.av-reviews .review-rating-breakdown[open] { flex: 1 0 100%; }
.av-reviews .review-rating-breakdown summary { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--avs-blue-dark); font-size: 12px; cursor: pointer; }
.av-reviews .review-rating-breakdown summary::before { content: '▸'; }
.av-reviews .review-rating-breakdown[open] summary::before { content: '▾'; }
.av-reviews .review-rating-breakdown summary:focus-visible { outline: 2px solid var(--avs-blue-dark); outline-offset: -2px; }
.av-reviews .review-rating-bars { gap: 6px; padding: 12px; box-shadow: none; }
.av-reviews .review-bar-row { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 6px; }
.av-reviews .review-bar-row :is(span, strong) { font-size: 11px; }
.av-reviews .review-load-row { margin-top: 12px; }
.av-reviews .review-load-row:not(:has(> button:not([hidden]))) { display: none; }
.home-page #reviews .trust-summary-top { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.home-page #reviews .trusted-players-heading { text-align: start; }
.home-page #reviews .section-heading h2 { font-weight: 700; }

.av-reviews.trust-subsection { margin-top: 14px; }
.shop-page-container .av-reviews.trust-subsection { max-width: 1200px; margin-inline: auto; }
@media (max-width: 767px) {
  .av-reviews .trust-subsection-header { flex-wrap: nowrap; }
  .av-reviews .reviews-sort-label > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .review-card-customer .review-avatar { width: 38px; height: 38px; }
  .review-card-customer .review-card-header strong { font-size: 15px; }
  .av-reviews [data-card-carousel="review"] .home-review-text { font-size: 13px; }
  .review-card-customer .review-card-meta { font-size: 11px; }
  /* Put expansion targets left of the floating contact controls on mobile. */
  .review-card-customer .home-review-more { order: -1; margin-inline-end: auto; }
  .review-card-customer .review-card-details { text-align: end; }
  .home-page #reviews .trusted-players-heading { justify-content: space-between; }
}
@media (max-width: 1023px) {
  .shop-page-container .av-reviews.trust-subsection { width: calc(100% + 8px); max-width: none; margin-inline: -4px; }
}
