/*
 * Product page → Reviews (resources/views/catalog/partials/reviews.blade.php). Phones first.
 */
.tp-rv {
    --rv-ink: var(--td-navy, #2c4265);
    --rv-muted: var(--td-muted, #6b788d);
    --rv-line: var(--td-border, #e2e7ef);
    --rv-soft: var(--td-surface-2, #f6f8fb);
    --rv-teal: var(--td-teal, #2c7f83);
    --rv-star: #ffb800;
    color: var(--rv-ink);
}
.tp-rv [hidden] { display: none !important; }
.tp-rv__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tp-rv__head h2 { margin: 0; }

/* Buttons */
.tp-rv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.tp-rv-btn:hover { transform: translateY(-1px); }
.tp-rv-btn--sun { background: var(--rv-star); color: #1f2f4a; }
.tp-rv-btn--sun:hover { box-shadow: 0 6px 16px rgba(255, 184, 0, .35); }
.tp-rv-btn--line { background: #fff; color: var(--rv-ink); box-shadow: inset 0 0 0 1.5px #cfd7e3; }
.tp-rv-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--rv-ink); }
.tp-rv-btn:disabled { opacity: .6; cursor: progress; transform: none; }

.tp-rv-flash { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #e9f7ef; color: #0a6b3b; font-size: 14px; font-weight: 500; }
.tp-rv-flash--error { background: #fdecea; color: #b42318; }
.tp-rv-note, .tp-rv-info { margin: 0 0 16px; font-size: 14px; color: var(--rv-muted); }
.tp-rv-info { padding: 12px 16px; border-radius: 12px; background: var(--rv-soft); }
.tp-rv-info a { color: var(--rv-teal); font-weight: 600; text-decoration: underline; }

/* Stars */
.tp-rv-stars { display: inline-flex; gap: 1px; font-size: 15px; line-height: 1; letter-spacing: 0; }
.tp-rv-stars i { font-style: normal; color: #d8dee8; }
.tp-rv-stars i.is-on { color: var(--rv-star); }
.tp-rv-stars--lg { font-size: 22px; gap: 2px; }

/* Score + breakdown */
.tp-rv-top { display: grid; gap: 18px; padding: 18px; margin-bottom: 16px; border: 1px solid var(--rv-line); border-radius: 18px; background: #fff; }
.tp-rv-score { display: flex; align-items: center; gap: 16px; }
.tp-rv-score__num { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.tp-rv-score__num small { font-size: 18px; font-weight: 600; color: var(--rv-muted); margin-left: 2px; }
.tp-rv-score__word { margin: 6px 0 0; font-size: 16px; font-weight: 700; }
.tp-rv-score__count { margin: 2px 0 0; font-size: 13px; color: var(--rv-muted); }
.tp-rv-dist { display: grid; gap: 4px; }
.tp-rv-dist__row { display: grid; grid-template-columns: 34px 1fr 32px; align-items: center; gap: 10px; padding: 4px 8px; margin: 0 -8px; border: 0; border-radius: 8px; background: none; font: 500 13px/1 inherit; font-family: inherit; color: var(--rv-ink); cursor: pointer; text-align: left; }
.tp-rv-dist__row:hover:not(:disabled), .tp-rv-dist__row[aria-pressed="true"] { background: var(--rv-soft); }
.tp-rv-dist__row[aria-pressed="true"] .tp-rv-dist__label { font-weight: 700; }
.tp-rv-dist__row:disabled { cursor: default; opacity: .55; }
.tp-rv-dist__bar { height: 8px; border-radius: 99px; background: #edf0f5; overflow: hidden; }
.tp-rv-dist__bar span { display: block; height: 100%; border-radius: inherit; background: var(--rv-star); }
.tp-rv-dist__n { text-align: right; color: var(--rv-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) and (max-width: 991.98px) { .tp-rv-top { grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 22px 26px; } }

/* Write-a-review prompt */
.tp-rv-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, #fff8e6, #ffefe6); border: 1px solid #ffe2c4; }
.tp-rv-cta__text { display: grid; gap: 2px; }
.tp-rv-cta__text strong { font-size: 16px; }
.tp-rv-cta__text span { font-size: 14px; color: var(--rv-muted); }
.tp-rv-cta__stars { display: flex; flex-direction: row-reverse; gap: 2px; }
.tp-rv-cta__stars button { border: 0; background: none; padding: 2px; font-size: 32px; line-height: 1; color: #e6c9a8; cursor: pointer; transition: transform .12s, color .12s; }
.tp-rv-cta__stars button:hover, .tp-rv-cta__stars button:hover ~ button { color: var(--rv-star); transform: scale(1.12); }

/* Tools */
.tp-rv-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tp-rv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-rv-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--rv-line); border-radius: 999px; background: #fff; font: 600 13px/1.2 inherit; font-family: inherit; color: var(--rv-ink); cursor: pointer; }
.tp-rv-chips button span { color: var(--rv-muted); font-weight: 500; }
.tp-rv-chips button.is-on { background: var(--rv-ink); border-color: var(--rv-ink); color: #fff; }
.tp-rv-chips button.is-on span { color: rgba(255, 255, 255, .75); }
.tp-rv-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--rv-muted); }
.tp-rv-sort select { height: 38px; padding: 0 34px 0 12px; border: 1.5px solid var(--rv-line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232c4265' d='M7.4 8.6L12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 8px center / 18px; font: 600 13px inherit; font-family: inherit; color: var(--rv-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }

/* Cards */
.tp-rv-list { display: grid; gap: 12px; }
.tp-rv-card { padding: 16px; border: 1px solid var(--rv-line); border-radius: 16px; background: #fff; transition: box-shadow .2s; }
.tp-rv-card:hover { box-shadow: 0 8px 24px rgba(26, 43, 72, .06); }
.tp-rv-card.is-mine { border-color: #ffd27a; background: #fffdf6; }
@media (min-width: 768px) { .tp-rv-card { padding: 18px 20px; } }
.tp-rv-card__head { display: flex; align-items: flex-start; gap: 12px; }
.tp-rv-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: hsl(var(--h) 55% 92%); color: hsl(var(--h) 45% 32%); font-size: 15px; font-weight: 700; }
.tp-rv-card__who { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.tp-rv-card__who strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-rv-card__who span { font-size: 13px; color: var(--rv-muted); }
.tp-rv-card__when { display: grid; justify-items: end; gap: 4px; flex: none; font-size: 12.5px; color: var(--rv-muted); }
.tp-rv-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tp-rv-badges:empty { display: none; }
.tp-rv-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tp-rv-badge--ok { background: #e9f7ef; color: #0a7a43; }
.tp-rv-badge--wait { background: #fff4d6; color: #8a5300; }
.tp-rv-badge--off { background: #f1f3f6; color: var(--rv-muted); }
.tp-rv-body { margin-top: 10px; }
.tp-rv-card__title { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--rv-ink); }
.tp-rv-text { margin: 0; font-size: 15px; line-height: 1.6; color: #39465c; white-space: pre-line; overflow-wrap: anywhere; }
/* Long reviews: 3 lines, then "Show more" */
.tp-rv-body.is-clamped .tp-rv-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-rv-more { margin-top: 4px; padding: 0; border: 0; background: none; font: 600 14px/1.4 inherit; font-family: inherit; color: var(--rv-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tp-rv-more:hover { color: var(--rv-teal); }
.tp-rv-translated { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 8px 0 0; font-size: 12.5px; color: var(--rv-muted); }
.tp-rv-translated svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.tp-rv-translated button { padding: 0; border: 0; background: none; font: 600 12.5px/1.4 inherit; font-family: inherit; color: var(--rv-teal); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.tp-rv-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tp-rv-photo { width: 84px; height: 84px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--rv-soft); cursor: zoom-in; }
.tp-rv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.tp-rv-photo:hover img { transform: scale(1.06); }
.tp-rv-reply { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--rv-teal); border-radius: 0 12px 12px 0; background: #f2f9f9; font-size: 14px; }
.tp-rv-reply strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.tp-rv-reply time { margin-left: 6px; font-size: 12px; color: var(--rv-muted); }
.tp-rv-reply p { margin: 4px 0 0; line-height: 1.55; white-space: pre-line; color: #39465c; }
.tp-rv-card__foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rv-line); }
.tp-rv-card__foot form { margin: 0; }
.tp-rv-helpful { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1.5px solid var(--rv-line); border-radius: 999px; background: #fff; font: 600 13px/1 inherit; font-family: inherit; color: var(--rv-ink) !important; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; }
.tp-rv-helpful:hover { border-color: #c7d0dd; }
.tp-rv-helpful.is-on { border-color: var(--rv-teal); background: #f2f9f9; color: var(--rv-teal) !important; }
.tp-rv-link { padding: 0; border: 0; background: none; font: 600 13px/1.4 inherit; font-family: inherit; color: var(--rv-ink); cursor: pointer; }
.tp-rv-link:hover { text-decoration: underline; }
.tp-rv-link--danger { color: #b42318; }
.tp-rv-empty { margin: 8px 0; padding: 18px; border-radius: 12px; background: var(--rv-soft); text-align: center; color: var(--rv-muted); font-size: 14px; }
.tp-rv-all { margin-top: 14px; width: 100%; }
@media (min-width: 768px) { .tp-rv-all { width: auto; } }

/* Photo viewer */
.tp-rv-lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 22, .94); }
.tp-rv-lightbox::backdrop { background: rgba(10, 14, 22, .94); }
.tp-rv-lightbox[open] { display: grid; place-items: center; }
.tp-rv-lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); border-radius: 12px; object-fit: contain; }
.tp-rv-lightbox button { position: absolute; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tp-rv-lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 18px !important; }
.tp-rv-lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px !important; }
.tp-rv-lightbox__nav--prev { left: 12px; }
.tp-rv-lightbox__nav--next { right: 12px; }

/* Form (dialog): a sheet from the bottom on phones, a centred card on bigger screens */
.tp-rv-form { width: 100%; max-width: 640px; max-height: 92dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: #fff; color: var(--rv-ink); box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); overflow: hidden; }
.tp-rv-form::backdrop { background: rgba(16, 26, 44, .55); backdrop-filter: blur(2px); }
.tp-rv-form[open] { animation: tp-rv-up .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes tp-rv-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 768px) { .tp-rv-form { margin: auto; border-radius: 20px; max-height: 88vh; } }
.tp-rv-form form { display: flex; flex-direction: column; max-height: inherit; margin: 0; }
.tp-rv-form__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--rv-line); }
.tp-rv-form__head h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--rv-ink); }
.tp-rv-form__head p { margin: 2px 0 0; font-size: 13.5px; color: var(--rv-muted); }
.tp-rv-form__close { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--rv-soft); font-size: 15px; color: var(--rv-ink); cursor: pointer; }
.tp-rv-form__body { flex: 1; overflow-y: auto; padding: 16px 20px 6px; overscroll-behavior: contain; }
.tp-rv-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; padding: 12px 20px 16px; border-top: 1px solid var(--rv-line); background: #fff; }
.tp-rv-form__foot p { flex: 1 1 240px; margin: 0; font-size: 12px; line-height: 1.45; color: var(--rv-muted); }
.tp-rv-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.tp-rv-field legend, .tp-rv-field > label, .tp-rv-label { display: block; float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; color: var(--rv-ink); }
.tp-rv-field legend + *, .tp-rv-field > label + *, .tp-rv-label + * { clear: both; }
.tp-rv-req { color: #d0342c; }
.tp-rv-opt { font-weight: 400; color: var(--rv-muted); font-size: 13px; }
.tp-rv-field input[type=text], .tp-rv-field textarea { display: block; width: 100%; padding: 12px 14px; border: 1.5px solid #d3dae5; border-radius: 12px; background: #fff; font: 400 15px/1.5 inherit; font-family: inherit; color: var(--rv-ink); transition: border-color .15s, box-shadow .15s; }
.tp-rv-field textarea { resize: vertical; min-height: 130px; }
.tp-rv-field input[type=text]:focus, .tp-rv-field textarea:focus { outline: none; border-color: var(--rv-teal); box-shadow: 0 0 0 3px rgba(44, 127, 131, .18); }
.tp-rv-field__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.tp-rv-hint { font-size: 12.5px; color: var(--rv-muted); }
.tp-rv-hint.is-ok { color: #0a7a43; }
.tp-rv-err { margin: 6px 0 0; font-size: 13px; color: #b42318; }

/* Star picker: radios 5→1 in reverse, so ~ lights up the lower stars */
.tp-rv-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 2px; }
.tp-rv-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-rv-rate label { margin: 0; font-size: 40px; line-height: 1; color: #d8dee8; cursor: pointer; transition: transform .12s, color .12s; float: none !important; width: auto !important; }
.tp-rv-rate label:hover, .tp-rv-rate label:hover ~ label, .tp-rv-rate input:checked ~ label { color: var(--rv-star); }
.tp-rv-rate label:hover { transform: scale(1.12); }
.tp-rv-rate input:focus-visible + label { outline: 3px solid rgba(44, 127, 131, .35); outline-offset: 2px; border-radius: 6px; }
.tp-rv-rate__word { order: -1; margin-left: 12px; font-size: 15px; font-weight: 700; color: var(--rv-ink); }

.tp-rv-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-rv-pick label { position: relative; margin: 0; cursor: pointer; }
.tp-rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-rv-pick span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1.5px solid var(--rv-line); border-radius: 999px; font-size: 13.5px; font-weight: 500; transition: border-color .15s, background .15s; }
.tp-rv-pick input:checked + span { border-color: var(--rv-ink); background: var(--rv-ink); color: #fff; }
.tp-rv-pick input:focus-visible + span { outline: 3px solid rgba(44, 127, 131, .35); outline-offset: 2px; }

.tp-rv-upload { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-rv-upload__item, .tp-rv-upload__add { position: relative; width: 86px; height: 86px; margin: 0; border-radius: 12px; overflow: hidden; }
.tp-rv-upload__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-rv-upload__item input { position: absolute; opacity: 0; }
.tp-rv-upload__item:has(input:not(:checked)) { opacity: .35; }
.tp-rv-upload__x { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; cursor: pointer; }
.tp-rv-upload__add { display: grid; place-items: center; border: 1.5px dashed #c7d0dd; background: var(--rv-soft); text-align: center; font-size: 12px; font-weight: 600; color: var(--rv-muted); cursor: pointer; line-height: 1.4; }
.tp-rv-upload__add:hover { border-color: var(--rv-ink); color: var(--rv-ink); }
.tp-rv-upload__add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tp-rv-upload__add.is-full { display: none; }
.tp-rv-tips { display: grid; gap: 2px; margin: 4px 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--rv-soft); font-size: 13px; color: var(--rv-muted); }
.tp-rv-tips strong { color: var(--rv-ink); font-size: 13.5px; }

@media (max-width: 480px) {
    .tp-rv-score__num { font-size: 42px; }
    .tp-rv-card__when { font-size: 12px; }
    .tp-rv-tools { flex-direction: column; align-items: stretch; }
    .tp-rv-sort { justify-content: space-between; }
    .tp-rv-cta__stars button { font-size: 36px; }
    .tp-rv__head .tp-rv-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tp-rv *, .tp-rv-form { animation: none !important; transition: none !important; } }

/* ── Full section (below "You might also like"): summary on the left, list on the right ── */
.tp-rv__title { margin: 0 0 16px; }
.tp-rv__grid { display: grid; gap: 18px; align-items: start; }
.tp-rv__side { display: grid; gap: 14px; min-width: 0; }
.tp-rv__side .tp-rv-top, .tp-rv__side .tp-rv-cta, .tp-rv__side .tp-rv-info { margin: 0; }
.tp-rv__main { min-width: 0; }
@media (min-width: 992px) {
    .tp-rv__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 36px; }
    .tp-rv__side { position: sticky; top: 96px; }
    .tp-rv__side .tp-rv-cta { flex-direction: column; align-items: stretch; }
    .tp-rv__side .tp-rv-cta__stars { justify-content: flex-end; }
}
.tp-rv-cta__btn { width: 100%; }
.tp-rv-trust { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--rv-muted); }
.tp-rv-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.tp-rv-pager__count { font-size: 13px; color: var(--rv-muted); }
.tp-rv-pager .tp-rv-btn { min-width: 220px; }
@media (max-width: 575px) { .tp-rv-pager { flex-direction: column-reverse; } .tp-rv-pager .tp-rv-btn { width: 100%; } }
.tp-rv.is-loading .tp-rv-list { opacity: .45; pointer-events: none; transition: opacity .15s; }
.tp-rv-photos--sm .tp-rv-photo { width: 56px; height: 56px; border-radius: 10px; }

/* ── Featured reviews (top of the page) ── */
.tp-rvf { --rv-ink: var(--td-navy, #2c4265); --rv-muted: var(--td-muted, #6b788d); --rv-line: var(--td-border, #e2e7ef); --rv-star: #ffb800; --rv-teal: var(--td-teal, #2c7f83); color: var(--rv-ink); }
.tp-rvf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tp-rvf__head h2 { margin: 0 0 6px; }
.tp-rvf__score { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--rv-ink) !important; text-decoration: none; font-size: 14px; }
.tp-rvf__score strong { font-size: 20px; font-weight: 700; }
.tp-rvf__score span:last-child { color: var(--rv-muted); }
.tp-rvf__score:hover span:last-child { text-decoration: underline; }
.tp-rvf__nav { display: none; gap: 6px; flex: none; }
.tp-rvf__nav button { width: 38px; height: 38px; border: 1.5px solid var(--rv-line); border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; color: var(--rv-ink); cursor: pointer; }
.tp-rvf__nav button:hover { border-color: var(--rv-ink); }
@media (min-width: 768px) { .tp-rvf__nav { display: flex; } }
.tp-rvf__track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; }
.tp-rvf__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .tp-rvf__track { grid-auto-columns: calc(50% - 8px); gap: 16px; } }
.tp-rvf__track:has(> :only-child) { grid-auto-columns: 100%; }
.tp-rvf-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border: 1px solid #f0e3c6; border-radius: 18px; background: linear-gradient(160deg, #fffaf0 0%, #fff 60%); scroll-snap-align: start; overflow: hidden; }
.tp-rvf-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tp-rvf-card__quote { position: absolute; bottom: 26px; right: 16px; font: 700 72px/1 Georgia, serif; color: rgba(255, 184, 0, .22); pointer-events: none; }
.tp-rvf-card .tp-rv-body { margin: 0; flex: 1; }
.tp-rvf-card .tp-rv-text { font-size: 15px; color: #2f3b52; }
.tp-rvf-card .tp-rv-body.is-clamped .tp-rv-text { -webkit-line-clamp: 5; }
.tp-rvf-card .tp-rv-translated { margin: 0; }
.tp-rvf-card__who { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid #f3ead6; }
.tp-rvf-card__who .tp-rv-avatar { width: 36px; height: 36px; font-size: 13px; }
.tp-rvf-card__who strong { display: block; font-size: 14px; line-height: 1.3; }
.tp-rvf-card__who small { display: block; font-size: 12.5px; color: var(--rv-muted); }
.tp-rv-badge--feat { background: #fff1c7; color: #8a5a00; }
.tp-rvf__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 575px) { .tp-rvf__foot .tp-rv-btn { flex: 1 1 100%; } }

/* Arriving from "See all reviews": the section sits just below the sticky header; the title gets a soft sun underline. */
#reviews { scroll-margin-top: 96px; }
.tp-rv__title { position: relative; display: inline-block; outline: none; }
.tp-rv__title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ffb800, #f15a24); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tp-rv.is-arrived .tp-rv__title::after { animation: tp-rv-arrive 2.2s cubic-bezier(.2, .8, .2, 1) .45s both; }
@keyframes tp-rv-arrive { 0% { transform: scaleX(0); opacity: 1; } 35% { transform: scaleX(1); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tp-rv.is-arrived .tp-rv__title::after { animation: none; } }
