/* Review spotlight (RP Home v2): why merchants choose the app, by category; sized to fit one screen */
.rp-root .hv-spot { overflow: clip; }
.rp-root .hv-spot::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 40%; width: min(1100px, 100%); height: 70%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(45% 55% at 30% 50%, rgba(6, 101, 246, .08), transparent 70%), radial-gradient(40% 50% at 75% 45%, rgba(47, 211, 189, .09), transparent 70%); filter: blur(8px); }

/* heading row: heading left, rating + link right */
.rp-root .hv-spot-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 26px; }
.rp-root .hv-spot-tx { display: grid; justify-items: center; gap: 12px; max-width: 760px; margin-inline: auto; }
.rp-root.rp-root .hv-spot-tx :is(.hv-h2, .hv-h2--left, .hv-sub, .hv-sub--left) { text-align: center; margin-inline: auto; }
.rp-root .hv-spot-tx .hv-sub { font-size: var(--hv-sub, 17px); max-width: 52ch; }
.rp-root .hv-spot-side { display: grid; justify-items: center; gap: 10px; }
.rp-root .hv-spot-rate { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 15px/1.3 var(--rp-font-body); color: var(--rp-ink-soft); }
.rp-root .hv-spot-rate .hv-stars svg { width: 17px; height: 17px; }
.rp-root .hv-spot-all { font: 600 15px/1.2 var(--rp-font-body); color: var(--hv-accent, var(--rp-blue)); text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--hv-accent, var(--rp-blue)) 30%, transparent); padding-bottom: 2px; transition: border-color .25s; }
.rp-root .hv-spot-all:hover { border-bottom-color: var(--hv-accent, var(--rp-blue)); }

/* "Read all reviews" button under the cards (same button as the reviews section) */
.rp-root .hv-spot-foot { display: flex; justify-content: center; margin-top: 34px; }

/* category tabs: one segmented row */
.rp-root .hv-spot-tabs { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 1px rgba(16, 20, 46, .07), 0 12px 30px -24px rgba(16, 30, 80, .4); }
.rp-root .hv-spot-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding: 6px 14px; gap: 7px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 600 13px/1.2 var(--rp-font-body); color: var(--rp-ink-soft); text-align: center; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.rp-root .hv-spot-tab:hover { color: var(--rp-ink); background: rgba(16, 20, 46, .03); }
.rp-root .hv-spot-tab:focus-visible { box-shadow: 0 0 0 3px rgba(6, 101, 246, .35); }
.rp-root .hv-spot-tab.is-on { color: #fff; background: #10142e; box-shadow: 0 12px 24px -14px rgba(16, 20, 46, .6); }
.rp-root .hv-spot-tabs { position: relative; isolation: isolate; }
.rp-root .hv-spot-pill { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 999px; background: #10142e; box-shadow: 0 12px 24px -14px rgba(16, 20, 46, .6); pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), width .6s cubic-bezier(.22, 1, .36, 1), height .6s cubic-bezier(.22, 1, .36, 1); }
.rp-root.rp-root .hv-spot-tabs.has-pill .hv-spot-tab.is-on { background: transparent; box-shadow: none; }
.rp-root .hv-spot-tabs.has-pill .hv-spot-tab { transition: color .45s ease; }

.rp-root .hv-spot-tab-ic { display: grid; place-items: center; width: 16px; height: 16px; flex: none; }
.rp-root .hv-spot-tab-ic svg { width: 15px; height: 15px; fill: none; stroke: var(--hv-accent, var(--rp-blue)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.rp-root .hv-spot-tab.is-on .hv-spot-tab-ic svg { stroke: #7fb5ff; }
.rp-root .hv-spot-tab { position: relative; overflow: hidden; }
/* thin line filling along the bottom of the chosen tab until the next category comes in */
.rp-root .hv-spot-prog { position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .16); pointer-events: none; }
.rp-root .hv-spot-prog::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #7fb5ff; transform: scaleX(0); transform-origin: left center; }
.rp-root .hv-spot-prog.is-run::after { animation: hv-spot-fill var(--spot-auto, 3s) linear forwards; }
@keyframes hv-spot-fill { to { transform: none; } }
.rp-root .hv-spot-bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.rp-root .hv-spot-nav { display: flex; align-items: center; justify-content: center; gap: 10px; }
.rp-root .hv-spot-nav .hv-spot-tabs { margin-inline: 0; min-width: 0; }
.rp-root .hv-spot-pause { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 20, 46, .14); color: var(--rp-ink-soft); transition: box-shadow .25s, color .25s; }
.rp-root .hv-spot-pause:hover { color: var(--rp-ink); box-shadow: inset 0 0 0 1px rgba(16, 20, 46, .34); }
.rp-root .hv-spot-pause:focus-visible { box-shadow: inset 0 0 0 1px var(--rp-blue), 0 0 0 3px rgba(6, 101, 246, .25); }
.rp-root .hv-spot-pause svg { width: 12px; height: 12px; fill: currentColor; }
@keyframes hv-spot-in { from { opacity: 0; transform: translate3d(0, 4px, 0); } }
.rp-root .hv-spot-bar .hv-spot-blurb { animation: hv-spot-in .6s cubic-bezier(.22, 1, .36, 1) both; }
.rp-root .hv-spot-blurb { margin: 0; text-align: center; font: 400 15.5px/1.5 var(--rp-font-body); color: var(--rp-ink-faint); }

/* panels share one grid cell so switching never changes the height */
.rp-root .hv-spot-stage { display: grid; align-items: start; margin-top: 24px; transition: height .6s cubic-bezier(.22, 1, .36, 1); }
.rp-root .hv-spot-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch;
  visibility: hidden; pointer-events: none; opacity: 0; transform: scale(.985); transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .7s; }
.rp-root .hv-spot-panel.is-on { visibility: visible; pointer-events: auto; opacity: 1; transform: none; transition: opacity .7s ease .1s, transform .9s cubic-bezier(.22, 1, .36, 1) .1s, visibility 0s; }

/* cards: plain white, soft shadow */
.rp-root .hv-spot-card { position: relative; margin: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 18px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 20, 46, .06), 0 1px 2px rgba(16, 20, 46, .04), 0 22px 44px -34px rgba(16, 30, 80, .4); }
.rp-root .hv-spot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rp-root .hv-spot-q { width: 28px; height: 21px; fill: color-mix(in srgb, var(--hv-accent, var(--rp-blue)) 22%, #fff); }
.rp-root .hv-spot-card .hv-stars svg { width: 15px; height: 15px; }
.rp-root .hv-spot-card blockquote { margin: 0; flex: 0 0 auto; font: 400 15px/1.6 var(--rp-font-body); color: var(--rp-ink); text-wrap: pretty;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--spot-lines, 7); overflow: hidden; }
.rp-root .hv-spot-card.is-open blockquote { -webkit-line-clamp: unset; display: block; }
.rp-root .hv-spot-more { all: unset; cursor: pointer; align-self: flex-start; margin-top: -6px; font: 600 14px/1.2 var(--rp-font-body); color: var(--hv-accent, var(--rp-blue)); }
.rp-root .hv-spot-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.rp-root .hv-spot-more:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.rp-root .hv-spot-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rp-line); margin-top: auto; }
.rp-root .hv-spot-card figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #f4f6fb; box-shadow: 0 0 0 1px rgba(16, 20, 46, .06); }
.rp-root .hv-spot-card figcaption b { display: block; font: 600 15px/1.25 var(--rp-font-body); color: var(--rp-ink); }
.rp-root .hv-spot-card figcaption small { font: 400 13px/1.3 var(--rp-font-body); color: var(--rp-ink-faint); }

/* the highlighted review: light, minimal gradient (same family as the closing CTA panel) with a thin gradient edge */
.rp-root .hv-spot-card.is-feat { isolation: isolate; overflow: hidden; color: var(--rp-ink);
  background: radial-gradient(70% 60% at 100% 0%, rgba(47, 211, 189, .12), transparent 70%), radial-gradient(70% 70% at 0% 100%, rgba(6, 101, 246, .10), transparent 70%), radial-gradient(90% 80% at 50% 0%, #eef4ff, #ffffff 75%);
  box-shadow: 0 0 0 1px rgba(16, 20, 46, .05), 0 26px 50px -34px rgba(6, 80, 220, .45); }
.rp-root .hv-spot-card.is-feat::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, rgba(6, 101, 246, .55), rgba(47, 211, 189, .45) 45%, rgba(6, 101, 246, 0) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.rp-root .hv-spot-card.is-feat .hv-spot-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px; background: rgba(6, 101, 246, .08); box-shadow: inset 0 0 0 1px rgba(6, 101, 246, .18);
  font: 600 12px/1 var(--rp-font-body); color: var(--hv-accent, var(--rp-blue)); }
.rp-root .hv-spot-card.is-feat blockquote { font-weight: 500; }
.rp-root .hv-spot-card.is-feat .hv-spot-q { fill: color-mix(in srgb, var(--hv-accent, var(--rp-blue)) 35%, #fff); }

/* the other reviews: a slow, endless sideways glide; pauses on hover / focus / an opened review */
.rp-root .hv-spot-rail { position: relative; min-width: 0; overflow: hidden; border-radius: 24px; padding: 8px 0 14px; margin: -8px 0 -14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.rp-root .hv-spot-track { display: flex; width: max-content; height: 100%; animation: hv-spot-glide var(--spot-dur, 60s) linear infinite; }
.rp-root .hv-spot-rail.is-paused .hv-spot-track { animation-play-state: paused; }
.rp-root .hv-spot-set { display: flex; gap: 18px; padding-right: 18px; align-items: stretch; }
.rp-root .hv-spot-set .hv-spot-card { width: 300px; flex: none; }
.rp-root .hv-spot-set .hv-spot-card.is-open { width: 340px; }
.rp-root .hv-spot-set .hv-spot-card.is-feat { width: 380px; }
.rp-root .hv-spot-set .hv-spot-card.is-feat.is-open { width: 420px; }
@keyframes hv-spot-glide { to { transform: translate3d(-50%, 0, 0); } }
/* reduced motion: no glide, a row you can scroll */
.rp-root .is-still .hv-spot-rail { overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: none; mask-image: none; }
.rp-root .is-still .hv-spot-track { animation: none; }
.rp-root .is-still .hv-spot-set[aria-hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .rp-root .hv-spot-stage, .rp-root .hv-spot-panel, .rp-root .hv-spot-pill, .rp-root .hv-spot-bar .hv-spot-blurb { transition: none !important; animation: none !important; } }

@container rp (max-width: 991px) {
  .rp-root .hv-spot-panel { grid-template-columns: 1fr; gap: 16px; }
  .rp-root .hv-spot-card.is-feat blockquote { --spot-lines: 6; }
  .rp-root .hv-spot-rail { margin-inline: calc(-1 * var(--pr-side, 16px)); border-radius: 0; }
  .rp-root .hv-spot-set { padding-left: 0; }
}
@container rp (max-width: 860px) {
  .rp-root .hv-spot-head { margin-bottom: 20px; }
}
@container rp (max-width: 478px) {
}

/* "Show more reviews" only exists on the tablet / phone grid */
.rp-root .hv-spot-showall { display: none; }

/* ---------------- tablet and phone: a grid instead of the glide ---------------- */
@container rp (max-width: 991px) {
  /* heading, text, rating and link centred */
  .rp-root .hv-spot-head { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .rp-root .hv-spot-tx { justify-items: center; margin-inline: auto; }
  .rp-root.rp-root .hv-spot-tx :is(.hv-h2, .hv-h2--left, .hv-sub, .hv-sub--left) { text-align: center; margin-inline: auto; }
  .rp-root .hv-spot-side, .rp-root .hv-spot-head .hv-spot-side { justify-items: center; padding-bottom: 0; }
  .rp-root .hv-spot-blurb, .rp-root .hv-spot-blurb.hv-r { text-align: center; }
  /* category tabs: 2 x 2 grid */
  .rp-root .hv-spot-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 520px); overflow: visible; gap: 4px; border-radius: 16px; }
  .rp-root .hv-spot-pill { border-radius: 12px; }
  .rp-root .hv-spot-tab { flex: initial; white-space: normal; min-height: 38px; justify-content: flex-start; text-align: left; padding: 7px 12px; border-radius: 12px; }
  /* highlighted review full width, the others in a grid under it */
  .rp-root .hv-spot-panel { grid-template-columns: 1fr; gap: 14px; align-content: start; }
  .rp-root .hv-spot-rail, .rp-root .is-still .hv-spot-rail { overflow: visible; margin: 0; padding: 0; border-radius: 0; -webkit-mask-image: none; mask-image: none; }
  .rp-root .hv-spot-track, .rp-root .is-still .hv-spot-track { display: block; width: auto; height: auto; animation: none; transform: none; }
  .rp-root .hv-spot-set[aria-hidden] { display: none; }
  .rp-root .hv-spot-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; }
  .rp-root .hv-spot-set .hv-spot-card, .rp-root .hv-spot-set .hv-spot-card.is-open { width: auto; }
  .rp-root .hv-spot-card.is-feat blockquote { --spot-lines: 7; }
  .rp-root .hv-spot-panel:not(.is-all) .hv-spot-set .hv-spot-card:nth-child(n+7) { display: none; }
  .rp-root .hv-spot-set .hv-spot-card.is-feat, .rp-root .hv-spot-set .hv-spot-card.is-feat.is-open { width: auto; }
  .rp-root .hv-spot-showall { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 46px; margin: 4px auto 0; padding: 0 22px; border-radius: 999px;
    background: #fff; box-shadow: inset 0 0 0 1px rgba(16, 20, 46, .16); font: 600 14.5px/1 var(--rp-font-body); color: var(--rp-ink); }
  .rp-root .hv-spot-showall:hover { box-shadow: inset 0 0 0 1px rgba(16, 20, 46, .4); }
  .rp-root .hv-spot-showall:focus-visible { box-shadow: inset 0 0 0 1px var(--rp-blue), 0 0 0 3px rgba(6, 101, 246, .25); }
}
@container rp (max-width: 767px) {
  .rp-root .hv-spot-foot { margin-top: 22px; }
  .rp-root .hv-spot-nav { flex-direction: column; gap: 10px; }
  .rp-root .hv-spot-nav .hv-spot-tabs { width: 100%; }
  .rp-root .hv-spot-tabs { margin-inline: 0; padding: 5px; }
  .rp-root .hv-spot-tab { padding: 7px 10px; gap: 6px; border-radius: 12px; font-size: 12.5px; box-shadow: none; background: transparent; }
  .rp-root .hv-spot-tab.is-on { background: #10142e; color: #fff; box-shadow: 0 10px 20px -14px rgba(16, 20, 46, .6); }
  .rp-root .hv-spot-set { grid-template-columns: 1fr; gap: 12px; }
  .rp-root .hv-spot-panel:not(.is-all) .hv-spot-set .hv-spot-card:nth-child(n+5) { display: none; }
  .rp-root .hv-spot-showall { width: 100%; }
}

