/* ==========================================================================
   Review page (review.php) — builds on checkout.css (.ck, .ck-sec, .ck-f)
   ========================================================================== */
.rv { max-width: 760px; margin: 0 auto; box-sizing: content-box; }
.rv-lead { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-opt { font-weight: 400; color: var(--muted); }

.rv-prod { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rv-prod img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--cream-2); flex: none; }
.rv-name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.rv-prod small { font-size: 13px; color: var(--text-3); }
.rv-done { margin: 0; font-size: 15px; color: var(--clarity-ink); font-weight: 600; }
.rv-item.is-done { opacity: .75; }

/* star picker: radios in reverse order so "this star and the ones before it" light up with plain CSS */
.rv-stars { border: 0; padding: 0; margin: 0 0 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rv-stars-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rv-stars label { cursor: pointer; line-height: 0; padding: 2px; border-radius: 8px; transition: transform .15s; }
.rv-stars label svg { width: 38px; height: 38px; fill: #e4ddd2; transition: fill .15s; }
.rv-stars label:hover { transform: scale(1.08); }
.rv-stars-row:not(:hover) input:checked ~ label svg,
.rv-stars-row label:hover svg, .rv-stars-row label:hover ~ label svg { fill: var(--star); }
.rv-stars input:focus-visible + label { box-shadow: 0 0 0 3px rgba(28,26,24,.15); }
.rv-word { font-size: 14px; font-weight: 600; color: var(--text-3); min-width: 110px; }
.rv-stars.is-set .rv-word { color: var(--ink); }
.rv-stars.is-err .rv-word { color: #c0392b; }

/* order with several products: the text boxes open once a product has stars */
.js .rv-item .rv-more { display: none; }
.js .rv-item.has-rating .rv-more, .js .rv-item .rv-more.has-text { display: block; }

.rv-submit { width: 100%; margin-top: 6px; }

.rv-thanks { text-align: center; padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); margin-top: clamp(10px, 3vw, 30px); }
.rv-thanks-ic { display: inline-flex; gap: 6px; margin-bottom: 18px; }
.rv-thanks-ic svg { width: 28px; height: 28px; fill: var(--star); }
.rv-thanks p { max-width: 460px; margin: 16px auto 0; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.rv-thanks .rv-sorry { font-size: 15px; padding: 14px 16px; background: var(--cream); border-radius: 12px; }
.rv-thanks-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 720px) {
  .rv-stars label svg { width: 40px; height: 40px; }
  .rv .ck-2 { grid-template-columns: 1fr; }
  .rv-thanks-btns .sh-btn { width: 100%; }
}
