/* reviews-marquee.css — #163 the homepage reviews marquee (spec 2026-10-31 §15): edge-to-edge rows of review cards on the dark page, faded at the sides;
   cards on the product card's ground (--color-placeholder, no line — Artem 2026-10-31), lime stars, the bought product as a pill chip with a round
   photo (Artem 2026-10-31: round like the pill). Behaviour — reviews-marquee.js. */
.ext-reviews .title-wrapper { margin-block-end: var(--sp-10); }
.ext-reviews__rating { font-size: var(--text-lg); color: rgb(var(--color-foreground) / .7); }
.ext-reviews__rating .icon { color: rgb(var(--color-highlight)); fill: currentColor; }
.ext-reviews__navs { display: none; }
.ext-reviews__row { overflow: hidden; padding-block: var(--sp-1); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ext-reviews__row + .ext-reviews__row { margin-block-start: var(--sp-4); }
.ext-reviews__row.is-dragging { cursor: grabbing; }
.ext-reviews__track { position: relative; display: flex; gap: var(--sp-4); width: max-content; will-change: transform; }
.ext-reviews__card { flex: 0 0 clamp(300px, 24vw, 420px); display: flex; flex-direction: column; gap: var(--sp-5); padding: var(--sp-7); border-radius: var(--rounded-card);
  background: rgb(var(--color-placeholder)); }
.ext-reviews__stars { display: flex; gap: var(--sp-1); }
.ext-reviews__star .icon { width: 16px; height: 16px; fill: currentColor; }
.ext-reviews__star--on { color: rgb(var(--color-highlight)); }
.ext-reviews__star--off { color: rgb(var(--color-foreground) / .2); }
.ext-reviews__quote { margin: 0; flex: 1; color: rgb(var(--color-foreground)); }
.ext-reviews__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.ext-reviews__author { display: grid; gap: 2px; margin: 0; font-size: var(--text-sm); }
.ext-reviews__author span { color: rgb(var(--color-foreground) / .6); }
.ext-reviews__product { display: inline-flex; align-items: center; gap: var(--sp-2d5); max-width: 60%; padding: 4px var(--sp-4) 4px 4px; border-radius: var(--rounded-button);
  background: rgb(var(--color-foreground) / .06); font-size: var(--text-sm); line-height: 1.2; color: rgb(var(--color-foreground)); }
.ext-reviews__product img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; background: rgb(var(--color-placeholder)); flex: none; }
.ext-reviews__product span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-ext-rows="1"] .ext-reviews__row[data-dir="1"] { display: none; }
/* #192 (Artem 2026-11-06): Heading alignment «Center» — heading and rating line in the middle, one under the other; the arrows (where shown) under the marquee */
.ext-reviews__navs--below { display: none; }
.ext-reviews .ext-reviews__foot-navs { display: none; margin-block-start: var(--sp-6); }
[data-ext-align="center"] .ext-reviews .title-wrapper { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
[data-ext-align="center"] .ext-reviews .title-wrapper > .grid { justify-items: center; }
[data-ext-align="center"] .ext-reviews__rating { justify-content: center; }
@media screen and (max-width: 767px) {
  .ext-reviews__card { flex-basis: 80vw; padding: var(--sp-6); }
}
@media (prefers-reduced-motion: reduce) {
  .ext-reviews__navs { display: flex; }
  .ext-reviews__navs--below { display: none; }
  [data-ext-align="center"] .ext-reviews__navs:not(.ext-reviews__navs--below) { display: none; }
  [data-ext-align="center"] .ext-reviews__navs--below { display: flex; }
  [data-ext-align="center"] .ext-reviews .ext-reviews__foot-navs { display: flex; justify-content: center; }
  .ext-reviews__row { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: auto; user-select: auto; -webkit-user-select: auto; touch-action: auto; mask-image: none; -webkit-mask-image: none; padding-inline: var(--page-padding); scroll-padding-inline: var(--page-padding); }
  .ext-reviews__row::-webkit-scrollbar { display: none; }
  .ext-reviews__track { transform: none !important; }
  .ext-reviews__card { scroll-snap-align: start; }
  .ext-reviews__card[data-ext-clone] { display: none; }
}
