/* REVIEWS-MIX-2 (owner 2026-11-10): compact customer reviews. One sideways row on home, the quote wizard
   page, sport hubs and product pages; a short grid on the reviews page. The customer's own photo as a small
   square thumb, 3 lines of their words, "Read more" opens the whole review in a small dialog.
   Site colours and fonts (inherit). Plain: no quote marks, no gradients. Simple gold stars (owner 2026-11-10),
   visual only; the Trustpilot logo is the official file, unaltered. */
.rvm-section { padding: 24px 0 18px; background: #F8F9FA; }
.rvm-section--selected { background: #FFFFFF; }
/* Width: the page's own shared .container (SC-009; REVIEWS-MIX-1 fix list r1 item 1). */
/* Centred like the site's own section headers (.section-header / .section-title: text-align center), REVIEWS-MIX-4
   (owner 2026-11-10 "we need consistency"); compact spacing kept. */
.rvm-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 0 0 12px; }
.rvm-head__title { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.rvm-total { margin: 0; font-size: 0.95rem; color: #374151; white-space: nowrap; }
.rvm-total strong { color: #111111; }
.rvm-total__star { color: #E8A317; font-size: 1.1em; }
.rvm-stars { display: inline-flex; flex: 0 0 auto; font-size: 0.9rem; line-height: 1; letter-spacing: 1px; }
.rvm-stars__on { color: #E8A317; }
.rvm-stars__off { color: #D1D5DB; }
.rvm-who__top { display: flex; align-items: center; gap: 8px; }
.rvm-who__id { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvm-who__top .rvm-stars { margin-left: auto; }
.rvm-full__inner > .rvm-stars { margin: 0 0 8px; font-size: 1.05rem; }
.rvm-heading { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; color: #111111; text-align: center; }
/* Links row (REVIEWS-MIX-3, owner 2026-11-10 "not properly equal ... showing up n down"): one row, every item centred
   on the same 20 px line, even 24 px spacing, both links the same size and weight; phones: 2 clean lines. */
.rvm-actions { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0 24px; font-size: 0.92rem; line-height: 20px; }
.rvm-actions > * { flex: 0 0 auto; }
.rvm-all-link, .rvm-trustpilot__link { display: inline-flex; align-items: center; height: 20px; margin: 0; padding: 0; color: #111111; font-size: inherit; font-weight: 600; line-height: 20px; white-space: nowrap; text-decoration: none; }
.rvm-all-link, .rvm-trustpilot__text { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rvm-trustpilot { display: inline-flex; align-items: center; height: 20px; margin: 0; }
.rvm-trustpilot__link { gap: 10px; border: 0; background: none; border-radius: 0; }
.rvm-trustpilot__logo { display: block; flex: 0 0 auto; height: 20px; width: auto; margin: 0; }
.rvm-trustpilot__score { color: #374151; font-weight: 600; text-decoration: none; }
.rvm-trustpilot__score::after { content: "\00B7"; margin-left: 10px; color: #9CA3AF; }
.rvm-trustpilot__link:hover .rvm-trustpilot__text, .rvm-all-link:hover { text-decoration-thickness: 2px; }
.rvm-all-link:focus-visible, .rvm-trustpilot__link:focus-visible { outline: 3px solid #111111; outline-offset: 3px; }
.rvm-arrows { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; }
.rvm-section .rvm-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #D1D5DB; background: #FFFFFF; color: #111111; font-size: 24px; line-height: 1; padding: 0 0 3px; cursor: pointer; }
.rvm-arrow:disabled { opacity: 0.35; cursor: default; }
.rvm-arrow:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }
/* The row: swipes sideways inside itself; the page never scrolls sideways */
.rvm-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 2px 2px 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.rvm-row:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }
.rvm-row > .rvm-card { flex: 0 0 372px; scroll-snap-align: start; }
.rvm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; align-items: start; }
/* The card */
.rvm-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "thumb body" "who who"; column-gap: 12px; row-gap: 6px; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 10px; padding: 12px; box-sizing: border-box; min-width: 0; }
.rvm-card:not(.rvm-card--photo) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "body" "who"; }
.rvm-thumb { grid-area: thumb; position: relative; display: block; width: 84px; height: 84px; border-radius: 6px; overflow: hidden; background: #F3F4F6; cursor: zoom-in; }
.rvm-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rvm-thumb:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }
.rvm-thumb__more { position: absolute; right: 4px; bottom: 4px; padding: 1px 6px; border-radius: 4px; background: rgba(17, 17, 17, 0.72); color: #FFFFFF; font-size: 0.75rem; font-weight: 600; line-height: 1.4; }
.rvm-body { grid-area: body; min-width: 0; }
.rvm-text { color: #374151; font-size: 0.9rem; line-height: 1.4; overflow-wrap: anywhere; }
.rvm-text p { margin: 0; display: inline; }
.rvm-text p + p::before { content: " "; }
.rvm-js .rvm-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-height: 4.2em; }
.rvm-more { display: inline-block; margin-top: 2px; padding: 0; background: none; border: 0; color: #111111; font: inherit; font-size: 0.86rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.rvm-more[hidden] { display: none; }
.rvm-more:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }
.rvm-who { grid-area: who; min-width: 0; padding-top: 6px; border-top: 1px solid #F1F2F4; }
.rvm-who__line { margin: 0; font-size: 0.84rem; line-height: 1.45; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rvm-name { color: #111111; font-weight: 700; }
.rvm-team::before, .rvm-who__meta > .rvm-meta-item + .rvm-meta-item::before, .rvm-full__who > span + span::before { content: "\00A0\00B7\00A0"; }
.rvm-who__meta { display: flex; align-items: center; gap: 0; }
.rvm-who__meta .review-source-badge { margin-left: auto; }
/* Small neutral "Verified order" badge (same words as the reviews page badge, quieter look here) */
.rvm-card .review-source-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; line-height: 1.5; font-weight: 600; color: #374151; background: #F3F4F6; border: 1px solid #E5E7EB; flex: 0 0 auto; }
.rvm-card .review-source-badge__icon { width: 12px; height: 12px; flex: 0 0 12px; }
/* Dialog: the whole review, the customer's photos large */
.rvm-dialog { position: fixed; inset: 0; margin: auto; width: min(720px, 94vw); height: fit-content; max-height: 90vh; padding: 0; border: 0; border-radius: 12px; background: #FFFFFF; color: #111111; box-sizing: border-box; }
.rvm-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.rvm-dialog__scroll { max-height: 90vh; overflow-y: auto; padding: 18px 18px 20px; box-sizing: border-box; }
.rvm-dialog .rvm-dialog__close { position: sticky; top: 0; float: right; width: 40px; height: 40px; margin: -6px -6px 0 8px; border-radius: 50%; border: 1px solid #D1D5DB; background: #FFFFFF; color: #111111; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.rvm-dialog .rvm-dialog__close:hover { background: #F3F4F6; color: #111111; }
.rvm-dialog .rvm-dialog__close:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }
.rvm-full__photos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 14px; }
.rvm-full__photos img { display: block; flex: 0 0 auto; max-width: 100%; max-height: 62vh; width: auto; height: auto; border-radius: 8px; scroll-snap-align: start; }
.rvm-full__text { color: #374151; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.rvm-full__text p { margin: 0 0 10px; }
.rvm-full__who { margin: 12px 0 0; color: #6B7280; font-size: 0.9rem; }
/* Phones */
@media (max-width: 640px) {
  .rvm-section { padding: 22px 0 18px; }
  .rvm-head { margin-bottom: 10px; }
  .rvm-arrows { display: none; }
  /* phones: line 1 the reviews link, line 2 the Trustpilot logo and score (the whole line is the Trustpilot link) */
  .rvm-actions { display: grid; grid-template-columns: auto; justify-items: center; row-gap: 8px; font-size: 0.9rem; }
  .rvm-trustpilot__text { display: none; }
  .rvm-trustpilot__score::after { content: none; }
  .rvm-row { gap: 10px; }
  .rvm-row > .rvm-card { flex-basis: 84%; }
  .rvm-grid { grid-template-columns: 1fr; gap: 10px; }
  .rvm-card { grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; padding: 10px; }
  .rvm-thumb { width: 76px; height: 76px; }
  .rvm-dialog__scroll { padding: 14px 14px 18px; }
}
/* Reviews page: one list (REVIEWS-MIX-3); the old on-site reviews show in batches, the sport buttons filter cards */
.rvm-js .rvm-card--later:not(.rvm-card--shown) { display: none; }
.rvm-card.rvm-card--filtered-out { display: none; }
.rvm-more-wrap { margin-top: 18px; text-align: center; }
.rvm-more-reviews { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border: 1px solid #111111; border-radius: 999px; background: #FFFFFF; color: #111111; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; }
.rvm-more-reviews:hover { background: #111111; color: #FFFFFF; }
.rvm-more-reviews:focus-visible { outline: 3px solid #111111; outline-offset: 3px; }
.rvm-more-reviews[hidden] { display: none; }
/* Slow auto-run of the row (REVIEWS-MIX-3, owner "the reviews should keep running slowly"): JS turns snapping off
   while it runs; copies made for the seamless loop are hidden from screen readers. */
.rvm-row.rvm-row--auto { scroll-snap-type: none; scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { .rvm-row { scroll-behavior: auto; } }
