/* Reviews ("Loved by hosts" on the home page + /reviews/). Shown only when the admin switch is on and there are enough reviews.
   Calm stationery look: paper cards, gold hairlines, Cormorant quotes. Mobile first (320 px up). */
.rv-wrap { --rv-gold: #b08a4c; --rv-ink: #2b2426; --rv-muted: #6e645d; --rv-line: #e3d9cc; --rv-card: #fffdf9; --rv-wine: #8c2b40; }
.rv-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 4px; font: 400 15px/1.4 'Inter', system-ui, sans-serif; color: var(--rv-muted); font-variant-numeric: lining-nums; }
.rv-sum b { font: 500 28px/1 'Cormorant Garamond', Georgia, serif; color: var(--rv-ink); }
.rv-stars { display: inline-flex; gap: 3px; vertical-align: middle; line-height: 0; }
.rv-stars svg { width: 16px; height: 16px; display: block; }
.rv-stars .on { fill: var(--rv-gold); stroke: var(--rv-gold); }
.rv-stars .off { fill: none; stroke: rgba(176, 138, 76, .55); }
.rv-stars svg path { stroke-width: 1.2; stroke-linejoin: round; }
.rv-avg { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.rv-avg .rv-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; max-width: 1080px; margin: 0 auto; }
.rv-card { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px 24px 22px; border-radius: 22px; background: linear-gradient(180deg, #fffdf8, #fbf6ee);
  box-shadow: 0 14px 34px rgba(60, 40, 30, .07), inset 0 0 0 1px rgba(176, 138, 76, .28), inset 0 0 0 6px #fffdf8, inset 0 0 0 7px rgba(176, 138, 76, .12); min-width: 0; }
.rv-card::before { content: ''; position: absolute; left: 50%; top: 0; width: 64px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--rv-gold), transparent); }
.rv-q { margin: 0; font: italic 400 20px/1.45 'Cormorant Garamond', Georgia, serif; color: #3d3437; overflow-wrap: anywhere; white-space: pre-line; text-wrap: pretty; }
.rv-q.none { font-size: 16px; color: var(--rv-muted); }
.rv-clamp .rv-q { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-by { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-top: 12px; border-top: 1px dashed var(--rv-line); }
.rv-name { font: 500 15px/1.3 'Inter', system-ui, sans-serif; color: var(--rv-ink); overflow-wrap: anywhere; }
.rv-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 400 12.5px/1.3 'Inter', system-ui, sans-serif; color: var(--rv-muted); font-variant-numeric: lining-nums; }
.rv-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 999px; font: 500 11px/1 'Inter', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.rv-badge.etsy { background: #fbefe4; color: #8a4a1f; box-shadow: inset 0 0 0 1px rgba(138, 74, 31, .18); }
a.rv-badge.etsy:hover { background: #f7e3d2; }
.rv-badge.site { background: #f3ead9; color: #6d5a3a; box-shadow: inset 0 0 0 1px rgba(176, 138, 76, .3); }
.rv-item { font: 400 12.5px/1.4 'Inter', system-ui, sans-serif; color: var(--rv-muted); margin-top: -6px; overflow-wrap: anywhere; }
.rv-item a { color: inherit; text-underline-offset: 3px; }
.rv-foot { text-align: center; margin-top: 34px; }
.rv-honest { max-width: 560px; margin: 16px auto 0; text-align: center; font: 400 13px/1.55 'Inter', system-ui, sans-serif; color: var(--rv-muted); text-wrap: balance; }
.rv-honest a { color: var(--rv-wine); text-underline-offset: 3px; }
a.rv-badge:focus-visible, .rv-item a:focus-visible, .rv-honest a:focus-visible { outline: 2px solid var(--rv-wine); outline-offset: 3px; }
/* /reviews/ page: the summary panel */
.rv-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 40px; align-items: center; max-width: 760px; margin: 0 auto 34px; padding: 28px 30px; border-radius: 26px; background: var(--rv-card);
  box-shadow: 0 18px 40px rgba(60, 40, 30, .07), inset 0 0 0 1px rgba(176, 138, 76, .3), inset 0 0 0 7px var(--rv-card), inset 0 0 0 8px rgba(176, 138, 76, .14); }
.rv-big { text-align: center; }
.rv-big b { display: block; font: 500 64px/1 'Cormorant Garamond', Georgia, serif; color: var(--rv-ink); font-variant-numeric: lining-nums; }
.rv-big .rv-stars svg { width: 20px; height: 20px; }
.rv-big .rv-avg { margin-top: 10px; }
.rv-big > span:last-child { display: block; margin-top: 8px; font: 400 13px/1.3 'Inter', system-ui, sans-serif; color: var(--rv-muted); }
.rv-dist { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.rv-dist li { display: grid; grid-template-columns: 54px minmax(0, 1fr) 32px; align-items: center; gap: 10px; font: 400 13px/1 'Inter', system-ui, sans-serif; color: var(--rv-muted); font-variant-numeric: lining-nums tabular-nums; }
.rv-dist i { display: block; height: 7px; border-radius: 7px; background: #efe6d8; overflow: hidden; }
.rv-dist i::after { content: ''; display: block; height: 100%; width: var(--w, 0%); border-radius: 7px; background: linear-gradient(90deg, #c9a568, var(--rv-gold)); }
.rv-dist li span:last-child { text-align: right; }
@media (max-width: 560px) {
  .rv-panel { grid-template-columns: 1fr; padding: 24px 18px; gap: 18px; border-radius: 22px; }
  .rv-card { padding: 22px 18px 18px; border-radius: 20px; }
  .rv-q { font-size: 19px; }
  .rv-sum b { font-size: 26px; }
}
@media (max-width: 340px) {
  .rv-card { padding: 20px 14px 16px; }
  .rv-q { font-size: 18px; }
  .rv-dist li { grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 8px; }
}
