/* Arvostelukaruselli ja tähtirivit. Ladataan design-v3.css:n jälkeen. */
html body .rv-carousel{position:relative;margin:36px 0 28px;background:var(--cream-2,#faf8f3);border:1px solid rgba(41,45,40,.08);border-radius:var(--r,8px);box-shadow:var(--shadow-s,none);padding:34px 72px 26px}
html body .rv-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
html body .rv-track::-webkit-scrollbar{display:none}
html body .rv-card{scroll-snap-align:center;margin:0;padding:0 4px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
html body .rv-card-stars{color:#d9a21b;letter-spacing:.12em;font-size:1.05rem;line-height:1}
html body .rv-card-stars .rv-off,html body .card-rating .rv-off{color:rgba(41,45,40,.22)}
html body .rv-card blockquote{margin:0;max-width:62ch}
html body .rv-card blockquote p{margin:0;font-family:var(--serif,Georgia,serif);font-size:clamp(1.12rem,1rem + .55vw,1.42rem);line-height:1.5;color:var(--ink,#292d28);text-wrap:pretty}
html body .rv-card figcaption{display:flex;align-items:center;gap:12px;text-align:left}
html body .rv-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--blue,#3154bd);color:#fff;font-weight:600;font-size:1rem;flex:none}
html body .rv-card figcaption strong{display:block;font-weight:600;color:var(--ink,#292d28)}
html body .rv-card figcaption small{display:block;color:var(--muted,#5d625a);font-size:.82rem}
html body .rv-nav{position:absolute;top:50%;translate:0 -50%;width:44px;height:44px;border-radius:50%;border:0;background:var(--blue,#3154bd);color:#fff;font-size:1.5rem;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 18px -10px rgba(49,84,189,.7);transition:transform .2s,background .2s}
html body .rv-nav:hover{transform:scale(1.06)}
html body .rv-nav:focus-visible,html body .rv-dots button:focus-visible{outline:3px solid var(--ink,#292d28);outline-offset:3px}
html body .rv-prev{left:16px}
html body .rv-next{right:16px}
html body .rv-dots{display:flex;justify-content:center;gap:4px;margin-top:22px}
html body .rv-dots button{width:24px;height:24px;border:0;background:none;padding:0;display:grid;place-items:center;cursor:pointer}
html body .rv-dots button::before{content:'';width:8px;height:8px;border-radius:50%;background:rgba(41,45,40,.22);transition:background .2s,width .25s}
html body .rv-dots button[aria-current=true]::before{background:var(--blue,#3154bd);width:20px;border-radius:4px}

/* Tähtirivi tuotekorteissa ja tuotesivulla */
html body .card-rating{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:.88rem;color:var(--muted,#5d625a);text-decoration:none}
html body .card-rating [data-rv-summary]{white-space:nowrap}
html body .card-rating .rv-stars{color:#d9a21b;letter-spacing:.08em}
html body .card-rating:hover [data-rv-summary]{color:var(--blue,#3154bd);text-decoration:underline}
html body .product-page-copy .card-rating{margin:0 0 14px}

@media (max-width:700px){
  html body .rv-carousel{padding:26px 18px 18px;margin:28px 0 22px}
  html body .rv-nav{top:auto;bottom:12px;translate:none;width:44px;height:44px;font-size:1.3rem}
  html body .rv-prev{left:12px}
  html body .rv-next{right:12px}
  html body .rv-dots{margin-top:18px;min-height:44px;align-items:center}
}
@media (prefers-reduced-motion:reduce){html body .rv-nav,html body .rv-dots button::before{transition:none}}
