/* امتیاز و نظر خریداران روی صفحهٔ کالا (و فهرست مدیریت) */
.rv-stars{display:inline-flex;gap:1px;color:#d6d3d1;font-size:1.1rem;line-height:1;letter-spacing:0}
.rv-stars i{display:inline-block;font-style:normal}
.rv-stars .is-on{color:#f59e0b}
.rv-stars .is-half{background:linear-gradient(to left,#f59e0b 50%,#d6d3d1 50%);-webkit-background-clip:text;background-clip:text;color:transparent}
.rv-stars.is-sm{font-size:.9rem}
.rv-summary{display:inline-flex;align-items:center;gap:.5rem;margin-top:-.5rem;font-size:.9rem;color:#57534e;text-decoration:none}
.rv-summary b{color:#1c1917}
.rv-summary:hover span:last-child{text-decoration:underline}

.rv-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;margin-bottom:.9rem}
.rv-avg{display:flex;align-items:center;gap:.45rem;margin:0;color:#78716c;font-size:.8rem}
.rv-avg b{color:#1c1917;font-size:1.2rem;font-weight:800;line-height:1}
.rv-msg{margin:0 0 1rem;border-radius:.75rem;padding:.6rem .9rem;font-size:.9rem}
.rv-msg.is-ok{background:#ecfdf5;color:#065f46}
.rv-msg.is-err{background:#fef2f2;color:#991b1b}

.rv-form{display:grid;gap:.6rem;margin-bottom:1rem;border-radius:.9rem;background:#fafaf9;padding:.8rem}
.rv-form .btn{justify-self:stretch;justify-content:center}
.rv-pick{margin:0;border:0;padding:0}
.rv-pick{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem}
.rv-q{flex:1 1 0;min-width:0;font-size:.85rem;font-weight:600;color:#44403c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-pick .rv-ferr{flex-basis:100%}
@media(max-width:640px){.rv-pick{flex-direction:column;align-items:flex-start;gap:.4rem}.rv-q{flex:none}}
/* DOM order is 5→1 so «checked ~ label» lights the lower stars; row-reverse puts star 1 at the start in RTL */
.rv-input{flex:none;display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:.15rem}
.rv-input label{cursor:pointer;color:#d6d3d1;font-size:1.6rem;line-height:1;transition:color .12s,transform .12s}
.rv-input label i{font-style:normal}
.rv-input input:checked~label{color:#f59e0b}
.rv-input:hover label{color:#d6d3d1}
.rv-input label:hover,.rv-input label:hover~label{color:#fbbf24}
.rv-input label:hover{transform:scale(1.12)}
.rv-input input:focus-visible+label{outline:2px solid #1f7a66;outline-offset:2px;border-radius:.3rem}
.rv-ferr{margin:.25rem 0 0;font-size:.8rem;color:#dc2626}
.rv-login{margin:0 0 1rem}
.rv-login .btn-ghost{width:100%;justify-content:center}
/* desktop: the card sits under the gallery, beside the long info column */
@media(min-width:1024px){.pg-grid{grid-template-rows:auto 1fr;align-items:start}.pg-info{grid-row:1/span 2}.pg-grid>.rv{grid-column:1/span 2;grid-row:2}}

.rv-list{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.rv-list li{border-top:1px solid #f5f5f4;padding-top:.75rem}
.rv-list li:first-child{border-top:0;padding-top:0}
.rv-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .75rem;font-size:.85rem}
.rv-meta time{color:#a8a29e;font-size:.78rem}
.rv-list p{margin:.35rem 0 0;font-size:.9rem;line-height:1.9;color:#44403c;white-space:pre-line}
.rv-empty{margin:0;font-size:.9rem;color:#78716c}
.rv-admin-body{max-width:28rem;font-size:.85rem;line-height:1.8;white-space:pre-line}

/* لوگو در «ظاهر و محتوای سایت» */
.site-logo-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem}
.site-logo-row p{flex:1;min-width:16rem;margin:0}
.site-logo-box{display:grid;place-items:center;width:5.5rem;height:5.5rem;flex:none;border:1px solid #e7e5e4;border-radius:1rem;background:#fafaf9 repeating-conic-gradient(#f5f5f4 0 25%,#fff 0 50%) 0 0/16px 16px}
.site-logo-box img{max-width:80%;max-height:80%}
