/* Reviews: the private review page, the Reviews page and the reviews under each piece */
body[data-view=review] #vReview,body[data-view=reviews] #vReviews{display:block}
.rvw{max-width:760px;padding-top:18px;padding-bottom:60px}
.rv-load,.rv-empty{text-align:center;color:var(--soft);padding:40px 0}
.rv-st{color:#c98f5a;letter-spacing:2px}

/* the private page */
.rv-card{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:clamp(20px,4vw,34px);display:grid;gap:16px;box-shadow:0 24px 60px -36px rgba(94,47,51,.35)}
.rv-card h1{font:400 clamp(34px,6vw,44px)/1.05 var(--serif);font-style:italic;color:#6e5038;margin:0}
.rv-card .eyebrow{letter-spacing:.2em;text-transform:uppercase;font-size:11px}
.rv-lead{margin:-6px 0 0;color:var(--soft)}
.rv-its{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.rv-its li{display:flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;border:1px solid var(--line);border-radius:99px;background:var(--bg2);font-size:13px}
.rv-its img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.rv-its li:not(:has(img)){padding-inline-start:12px}
.rv-stars{display:flex;gap:6px;justify-content:center;padding:6px 0}
.rv-stars button{border:0;background:none;padding:4px;width:56px;height:56px;color:#e2cfbd;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer;transition:transform .15s,color .15s}
.rv-stars svg{width:100%;height:100%;fill:currentColor;pointer-events:none}
.rv-stars button.on{color:#d39a5f}.rv-stars button:active{transform:scale(1.2)}
.rv-up{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.rv-up figure{margin:0;position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.rv-up img{width:100%;height:100%;object-fit:cover}
.rv-up figure button{position:absolute;top:4px;inset-inline-end:4px;width:26px;height:26px;border-radius:50%;border:0;background:#fffe;color:var(--wine);font-size:16px;line-height:1}
.rv-add{position:relative;aspect-ratio:1;border:1.5px dashed #dcbfb0;border-radius:14px;display:grid;place-items:center;align-content:center;gap:2px;color:var(--rose2);font-size:11.5px;text-align:center;background:#fffaf6;cursor:pointer;padding:4px}
.rv-add>span:first-child{font-size:22px;line-height:1}
.rv-add input,.rv-vfile input{position:absolute;width:1px;height:1px;opacity:0}
.rv-spin{width:20px;height:20px;border-radius:50%;border:2px solid #ecd3c6;border-top-color:var(--rose2);animation:rvsp 1s linear infinite}
@keyframes rvsp{to{transform:rotate(360deg)}}
.rv-vbtns{display:grid;gap:8px;justify-items:start}
.rv-vfile{position:relative;font-size:13px;cursor:pointer}
.rv-recb{gap:10px}
.rv-recb.on{background:#a8344a;border-color:#a8344a}
.rv-dot{width:10px;height:10px;border-radius:50%;background:#fff;animation:rvbl 1s ease-in-out infinite}
@keyframes rvbl{50%{opacity:.25}}
.rv-vn{display:flex;align-items:center;gap:12px}.rv-vn audio{flex:1;height:40px;min-width:0}
.rv-err{color:var(--bad);font-size:14.5px;margin:0;min-height:1em;font-weight:500}.rv-err:not(:empty){background:#fbe6e6;border-radius:12px;padding:10px 14px}
.rv-note{font-size:12.5px;color:var(--soft);text-align:center;margin:-6px 0 0}
.rv-done{text-align:center;justify-items:center;padding:clamp(34px,7vw,56px) 24px}
.rv-done p{color:var(--soft);max-width:420px;margin:0}
.rv-heart{font-size:40px}

/* cards */
.rvc{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px;display:grid;gap:10px;align-content:start}
.rvc header{display:flex;align-items:center;gap:10px}
.rvc header>span:nth-child(2){flex:1;display:grid;line-height:1.25}.rvc header small{color:var(--soft);font-size:12px}
.rv-av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f3d6c8,#f9e8de);color:var(--rose2);font:500 17px var(--serif)}
.rvc p{margin:0;white-space:pre-line;font-size:14.5px;line-height:1.6}
.rv-pics{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.rv-pics button{border:0;padding:0;background:none;flex:none}
.rv-pics img{width:86px;height:86px;object-fit:cover;border-radius:12px;display:block}
.rv-voice{display:grid;gap:4px;font-size:12.5px;color:var(--soft)}.rv-voice audio{width:100%;height:38px}
.rv-items{color:var(--soft);font-size:12px}

/* under a product */
.rvs{margin-top:clamp(36px,5vw,60px);padding-top:clamp(20px,3vw,30px);border-top:1px solid var(--qp-line,var(--line));display:grid;gap:14px}
.rvs-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rvs h2{font-family:var(--serif);font-weight:400;font-size:clamp(20px,2vw,24px);margin:0;color:var(--qp-ink,var(--ink))}
.rv-sum{font-size:13px;color:var(--soft)}.rv-sum b{font-size:16px;color:var(--ink);font-weight:500}
.rv-rail{display:grid;grid-auto-flow:column;grid-auto-columns:min(86%,340px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;scrollbar-width:none}
.rv-rail>*{scroll-snap-align:start}

/* the Reviews page */
.rvs-top{text-align:center;display:grid;gap:6px;margin:6px 0 22px}
.rvs-top h1{font:400 clamp(38px,6vw,52px)/1 var(--serif);font-style:italic;color:#6e5038;margin:0}
.rv-sum.big{font-size:14px}.rv-sum.big b{font-size:20px}
.rv-grid{columns:2 300px;column-gap:14px}.rv-grid .rvc{break-inside:avoid;margin-bottom:14px}

.rv-lb{position:fixed;inset:0;z-index:200;background:#1c1012e6;display:grid;place-items:center;padding:20px;cursor:zoom-out}
.rv-lb img{max-width:100%;max-height:100%;border-radius:14px}
.rv-rated{text-align:center;margin:-8px 0 0;color:var(--rose2);font-size:14px;min-height:1.2em}
