/* DIPAYUDA - Product reviews (loaded on every page by frontend/layout.php).
   Product cards (.pc-*), public review block (.prv-block), review card (.prv-item), order review form (.prv-order),
   Ulasan Saya (.prv-mine), Dasbor Toko > Ulasan (.prv-dash-*), photo viewer (.prv-viewer).
   Stars: gold #f5a623, empty #d6e0dc. Mobile first; touch targets >= 40px. */

:root{--prv-star:#f5a623;--prv-star-off:#d6e0dc;--prv-radius:12px}

/* ---------------------------------------------------------------- product cards: price + small rating */
.pc-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;min-width:0}
.pc-price-row>strong,.pc-price-row>.price-line{min-width:0}
.pc-rate{display:inline-flex;align-items:center;gap:3px;flex:none;font-size:11.5px;line-height:1;color:var(--muted,#6f8580);white-space:nowrap}
.pc-rate svg{width:12px;height:12px;fill:var(--prv-star);stroke:var(--prv-star);stroke-width:1.2;stroke-linejoin:round;flex:none;transform:translateY(-.5px)}
.pc-rate b{font-weight:700;color:var(--ink,#173b4f)}
.pc-rate em{font-style:normal;color:#8a9c97}
.pc-rate.is-new{padding:3px 7px;border-radius:999px;background:var(--green3,#e7f6f1);color:var(--green-dark,#055a49);font-size:10.5px;font-weight:700;letter-spacing:.1px}

/* ---------------------------------------------------------------- precise stars */
.prv-stars{position:relative;display:inline-flex;vertical-align:middle;line-height:0;flex:none;width:max-content;justify-self:start;align-self:center}
.prv-stars-base,.prv-stars-fill{display:inline-flex;gap:2px;white-space:nowrap}
.prv-stars-fill{position:absolute;inset:0 auto 0 0;overflow:hidden}
.prv-stars svg{width:16px;height:16px;flex:none;stroke-width:1.2;stroke-linejoin:round}
.prv-stars-base svg{fill:var(--prv-star-off);stroke:var(--prv-star-off)}
.prv-stars-fill svg{fill:var(--prv-star);stroke:var(--prv-star)}
.prv-stars.is-sm svg{width:13px;height:13px}
.prv-stars.is-sm .prv-stars-base,.prv-stars.is-sm .prv-stars-fill{gap:1px}
.prv-stars.is-lg svg{width:20px;height:20px}

/* ---------------------------------------------------------------- public review block */
.prv-block{display:grid;gap:14px;min-width:0}
.prv-block.is-loading .prv-list{opacity:.45;transition:opacity .15s}
.prv-section-head{margin:0 0 14px}
.prv-section-head h2{margin:0;font-size:15px;font-weight:700;color:var(--ink,#173b4f);letter-spacing:-.15px}
.prv-section-head p{margin:4px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted,#6f8580)}

.prv-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:16px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:var(--tint,#f4faf8)}
.prv-score{display:grid;grid-template-columns:auto auto 1fr;grid-template-areas:"num max stars" "num max count";align-items:center;column-gap:6px;row-gap:4px;justify-content:start}
.prv-score strong{grid-area:num;font-size:38px;line-height:1;font-weight:800;letter-spacing:-1.2px;color:var(--ink,#173b4f)}
.prv-score .prv-score-max{grid-area:max;align-self:end;margin:0 8px 4px 0;font-size:13px;font-weight:600;color:#8a9c97}
.prv-score .prv-stars{grid-area:stars}
.prv-score small{grid-area:count;font-size:12px;color:var(--muted,#6f8580)}
.prv-bars{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.prv-bars a{display:grid;grid-template-columns:30px minmax(0,1fr) 32px;align-items:center;gap:10px;min-height:28px;padding:2px 6px;margin:0 -6px;border-radius:8px;color:var(--muted,#6f8580);font-size:12px;text-decoration:none}
.prv-bars a:hover{background:rgba(255,255,255,.75)}
.prv-bars a.is-active{background:#fff;box-shadow:inset 0 0 0 1px #cfeae1}
.prv-bars a:focus-visible{outline:2px solid var(--green,#087760);outline-offset:1px}
.prv-bar-label{display:inline-flex;align-items:center;gap:3px;font-weight:700;color:var(--ink,#173b4f)}
.prv-bar-label svg{width:12px;height:12px;fill:var(--prv-star);stroke:var(--prv-star);stroke-width:1.2}
.prv-bar-track{height:8px;border-radius:99px;background:#e3ece9;overflow:hidden}
.prv-bar-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f5a623,#f7b94d);min-width:0}
.prv-bar-count{text-align:right;font-variant-numeric:tabular-nums}

.prv-filters{display:flex;flex-direction:column;gap:10px;min-width:0}
.prv-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:2px 16px}
.prv-chips::-webkit-scrollbar{display:none}
.prv-chip{display:inline-flex;align-items:center;gap:5px;flex:none;min-height:40px;padding:0 14px;border:1px solid var(--line,#e3ece9);border-radius:999px;background:#fff;color:#46655d;font-size:12.5px;font-weight:600;text-decoration:none;white-space:nowrap;transition:border-color .15s,background .15s,color .15s}
.prv-chip:hover{border-color:#bcd8cf;color:var(--green,#087760)}
.prv-chip:focus-visible{outline:2px solid var(--green,#087760);outline-offset:2px}
.prv-chip.is-active{border-color:var(--green,#087760);background:var(--green3,#e7f6f1);color:var(--green-dark,#055a49)}
.prv-chip em{font-style:normal;font-size:11px;font-weight:700;color:#8a9c97}
.prv-chip.is-active em{color:var(--green,#087760)}
.prv-chip .ico{width:15px;height:15px}
.prv-chip-star{width:14px;height:14px;fill:var(--prv-star);stroke:var(--prv-star);stroke-width:1.2}
.prv-product-filter{margin:0}
.prv-product-filter select{width:100%;min-height:42px;padding:0 36px 0 12px;border:1px solid var(--line,#e3ece9);border-radius:10px;background:#fff;color:var(--ink,#173b4f);font:inherit;font-size:13px}
.prv-product-filter select:focus-visible{outline:2px solid var(--green,#087760);outline-offset:1px}
.prv-result{margin:-4px 0 0;font-size:12px;color:var(--muted,#6f8580)}
.prv-result:empty{display:none}

.prv-list{display:grid;min-width:0}
.prv-item{padding:16px 0;border-bottom:1px solid var(--tint-line,#e2eee9);min-width:0;scroll-margin-top:120px}
.prv-item:first-child{padding-top:4px}
.prv-item:last-child{border-bottom:0;padding-bottom:4px}
.prv-item:focus{outline:none}
.prv-item-head{display:flex;align-items:center;gap:10px;min-width:0}
.prv-avatar{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--green3,#e7f6f1);color:var(--green,#087760);font-weight:800;font-size:14px}
.prv-who{min-width:0}
.prv-who b{display:block;font-size:13px;font-weight:700;color:var(--ink,#173b4f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prv-meta{display:flex;align-items:center;gap:8px;margin-top:4px;flex-wrap:wrap}
.prv-meta time{font-size:11.5px;color:var(--muted,#6f8580)}
.prv-variant{display:inline-block;margin:10px 0 0;padding:3px 9px;border-radius:999px;background:var(--tint,#f4faf8);color:var(--muted,#6f8580);font-size:11.5px}
.prv-product{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:8px 10px;max-width:420px;border:1px solid var(--line,#e3ece9);border-radius:10px;background:#fff;color:inherit;text-decoration:none;min-width:0}
a.prv-product:hover{border-color:#bcd8cf;background:var(--tint,#f4faf8)}
a.prv-product:focus-visible{outline:2px solid var(--green,#087760);outline-offset:2px}
.prv-product img{width:40px;height:40px;flex:none;border-radius:8px;object-fit:cover;background:var(--tint,#f4faf8)}
.prv-product>span{min-width:0;flex:1}
.prv-product b{display:block;font-size:12.5px;font-weight:700;color:var(--ink,#173b4f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prv-product small{display:block;margin-top:2px;font-size:11.5px;color:var(--muted,#6f8580)}
.prv-product .prv-product-go{width:16px;height:16px;flex:none;color:#9fb5ae}
.prv-text{margin:10px 0 0;font-size:13.5px;line-height:1.65;color:#3f5c55;overflow-wrap:anywhere}
.prv-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.prv-photo{display:block;width:72px;height:72px;padding:0;border:1px solid var(--line,#e3ece9);border-radius:10px;overflow:hidden;background:var(--tint,#f4faf8);cursor:zoom-in}
.prv-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.prv-photo:hover img{transform:scale(1.04)}
.prv-photo:focus-visible{outline:2px solid var(--green,#087760);outline-offset:2px}
.prv-reply{margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--tint,#f4faf8);border:1px solid var(--tint-line,#e2eee9)}
.prv-reply-head{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--green-dark,#055a49)}
.prv-reply-head .ico{width:14px;height:14px}
.prv-reply-head b{font-weight:700}
.prv-reply-head time{margin-left:auto;font-size:11px;color:var(--muted,#6f8580)}
.prv-reply p{margin:6px 0 0;font-size:13px;line-height:1.6;color:#3f5c55;overflow-wrap:anywhere}

.prv-empty{display:grid;justify-items:center;gap:4px;padding:28px 16px;border:1px dashed #cfe0da;border-radius:var(--prv-radius);text-align:center;color:var(--muted,#6f8580);font-size:13px}
.prv-empty[hidden]{display:none}
.prv-empty>svg,.prv-empty>.ico{width:28px;height:28px;margin-bottom:4px;color:#b9c9c4}
.prv-empty>svg{fill:none;stroke:#b9c9c4;stroke-width:1.6;stroke-linejoin:round}
.prv-empty b{color:var(--ink,#173b4f);font-size:14px}
.prv-reset{margin-top:8px;font-weight:700;color:var(--green,#087760)}
.prv-pager{display:flex;flex-direction:column;gap:8px}
.prv-more,.prv-prev{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid var(--line,#e3ece9);border-radius:10px;background:#fff;font-size:13px;font-weight:700;color:var(--green,#087760);text-decoration:none}
.prv-more[hidden],.prv-prev[hidden]{display:none}
.prv-more:hover,.prv-prev:hover{background:var(--tint,#f4faf8);border-color:#cfeae1}
.prv-more:focus-visible,.prv-prev:focus-visible{outline:2px solid var(--green,#087760);outline-offset:2px}
.prv-more .ico{width:16px;height:16px;transform:rotate(90deg)}
.prv-more.is-loading{pointer-events:none;opacity:.6}
.prv-prev{color:var(--muted,#6f8580)}

/* store page: header rating as link */
a.sp-rating{color:inherit;text-decoration:none}
a.sp-rating:hover b{color:var(--green,#087760);text-decoration:underline}
.sp-rating.is-empty em{font-style:normal}

/* ---------------------------------------------------------------- photo viewer */
.prv-viewer{position:fixed;inset:0;z-index:9500;display:flex;align-items:center;justify-content:center}
.prv-viewer[hidden]{display:none}
.prv-viewer-backdrop{position:absolute;inset:0;background:rgba(8,20,17,.88)}
.prv-viewer-stage{position:relative;margin:0;max-width:min(92vw,960px);max-height:86vh;display:grid;justify-items:center;gap:10px}
.prv-viewer-stage img{max-width:100%;max-height:78vh;border-radius:10px;object-fit:contain;background:#111}
.prv-viewer-stage figcaption{color:#e6efec;font-size:12.5px;min-height:1em}
.prv-viewer-btn{position:absolute;z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer}
.prv-viewer-btn:hover{background:rgba(255,255,255,.26)}
.prv-viewer-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.prv-viewer-btn[hidden]{display:none}
.prv-viewer-close{top:14px;right:14px}
.prv-viewer-prev{left:12px;top:50%;transform:translateY(-50%)}
.prv-viewer-next{right:12px;top:50%;transform:translateY(-50%)}

/* ---------------------------------------------------------------- order detail: review per product */
.prv-order{margin-top:14px;padding:16px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:#fff;scroll-margin-top:90px}
.prv-order-head{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start}
.prv-order-ico{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#fff6e5;color:var(--prv-star)}
.prv-order-ico .ico{width:20px;height:20px}
.prv-order-ico svg{fill:currentColor}
.prv-order-head h3{margin:0;font-size:15px;font-weight:700;color:var(--ink,#173b4f)}
.prv-order-head p{margin:4px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted,#6f8580)}
.prv-progress{grid-column:2;justify-self:start;display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:var(--tint,#f4faf8);border:1px solid var(--tint-line,#e2eee9);font-size:11.5px;color:var(--muted,#6f8580)}
.prv-progress b{color:var(--green,#087760)}
.prv-order-form{display:grid;gap:12px;margin-top:14px}
.prv-oi{margin:0;padding:14px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:#fff;min-width:0;transition:border-color .15s,box-shadow .15s}
.prv-oi.is-filled{border-color:#cfeae1;box-shadow:0 0 0 3px rgba(8,119,96,.05)}
.prv-oi.has-error{border-color:#e9a39b;box-shadow:0 0 0 3px rgba(180,35,24,.06)}
.prv-oi-product{display:flex;align-items:center;gap:10px;min-width:0}
.prv-oi-product img{width:52px;height:52px;flex:none;border-radius:10px;object-fit:cover;background:var(--tint,#f4faf8);border:1px solid var(--line,#e3ece9)}
.prv-oi-product>div{min-width:0;flex:1}
.prv-oi-product b{display:block;font-size:13.5px;font-weight:700;color:var(--ink,#173b4f);overflow-wrap:anywhere}
.prv-oi-product b a{color:inherit;text-decoration:none}
.prv-oi-product b a:hover{color:var(--green,#087760);text-decoration:underline}
.prv-oi-product small{display:block;margin-top:2px;font-size:12px;color:var(--muted,#6f8580)}
.prv-oi-rate{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:12px 0 8px}
.prv-rate{display:inline-flex;gap:2px;margin-left:-4px}
.prv-rate label{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.prv-rate label svg{width:30px;height:30px;fill:var(--prv-star-off);stroke:var(--prv-star-off);stroke-width:1.2;stroke-linejoin:round;transition:transform .12s,fill .12s,stroke .12s}
.prv-rate label:hover svg{transform:scale(1.08)}
.prv-rate input:focus-visible+label{outline:2px solid var(--green,#087760);outline-offset:-2px}
/* filled stars: data-value (JS) or :has() without JS */
.prv-rate[data-value="1"] label:nth-of-type(-n+1) svg,.prv-rate[data-value="2"] label:nth-of-type(-n+2) svg,.prv-rate[data-value="3"] label:nth-of-type(-n+3) svg,
.prv-rate[data-value="4"] label:nth-of-type(-n+4) svg,.prv-rate[data-value="5"] label:nth-of-type(-n+5) svg,
.prv-rate:has(input[value="1"]:checked) label:nth-of-type(-n+1) svg,.prv-rate:has(input[value="2"]:checked) label:nth-of-type(-n+2) svg,
.prv-rate:has(input[value="3"]:checked) label:nth-of-type(-n+3) svg,.prv-rate:has(input[value="4"]:checked) label:nth-of-type(-n+4) svg,
.prv-rate:has(input[value="5"]:checked) label:nth-of-type(-n+5) svg{fill:var(--prv-star);stroke:var(--prv-star)}
/* hover preview */
.prv-rate[data-hover] label svg{fill:var(--prv-star-off);stroke:var(--prv-star-off)}
.prv-rate[data-hover="1"] label:nth-of-type(-n+1) svg,.prv-rate[data-hover="2"] label:nth-of-type(-n+2) svg,.prv-rate[data-hover="3"] label:nth-of-type(-n+3) svg,
.prv-rate[data-hover="4"] label:nth-of-type(-n+4) svg,.prv-rate[data-hover="5"] label:nth-of-type(-n+5) svg{fill:#f7c46c;stroke:#f7c46c}
.prv-rate-caption{font-size:12.5px;font-weight:600;color:var(--muted,#6f8580)}
.prv-oi.is-filled .prv-rate-caption{color:#b7791f}
.prv-oi-label{display:block;margin:0 0 6px;font-size:12px;font-weight:700;color:#35574f}
.prv-oi textarea{display:block;width:100%;box-sizing:border-box;min-height:88px;padding:10px 12px;border:1px solid #d3e1dd;border-radius:10px;background:#fff;font:inherit;font-size:13.5px;line-height:1.55;color:var(--ink,#173b4f);resize:vertical}
.prv-oi textarea:focus{outline:none;border-color:var(--green,#087760);box-shadow:0 0 0 3px rgba(8,119,96,.12)}
.prv-oi.has-error textarea{border-color:#e9a39b}
.prv-oi-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:5px;min-height:16px}
.prv-oi-error{font-size:12px;font-weight:600;color:#b42318}
.prv-count{margin-left:auto;font-size:11.5px;color:#8a9c97;font-variant-numeric:tabular-nums;white-space:nowrap}
.prv-count.is-near{color:#b7791f}
.prv-oi .rp-field{margin-top:10px}
.prv-oi .rp-add,.prv-oi .rp-thumb{width:68px;height:68px}
.prv-oi .rp-remove{width:26px;height:26px;font-size:16px}
.prv-order-foot{display:flex;flex-direction:column;gap:10px;align-items:stretch}
.prv-order-foot small{display:flex;gap:6px;align-items:flex-start;font-size:12px;line-height:1.45;color:var(--muted,#6f8580)}
.prv-order-foot small .ico{width:14px;height:14px;flex:none;margin-top:1px}
.prv-order-foot .btn{min-height:46px;font-size:14px;gap:8px}
.prv-order-foot .btn .ico{width:16px;height:16px}
.prv-order-foot .btn.is-loading{opacity:.7;pointer-events:none}
.prv-sub{margin:18px 0 10px;font-size:13.5px;font-weight:700;color:var(--ink,#173b4f)}
.prv-sent{display:grid;gap:10px}
.prv-sent-item{padding:14px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:var(--tint,#f4faf8);min-width:0;scroll-margin-top:90px}
.prv-sent-item>.prv-stars{margin-top:10px}
.prv-sent-actions{margin-top:10px;display:flex;justify-content:flex-end}
.prv-status{flex:none;display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap;background:#edf3f1;color:#728780}
.prv-status.is-approved{background:var(--green3,#e7f6f1);color:var(--green-dark,#055a49)}
.prv-status.is-pending{background:#fff3e0;color:#b66b24}
.prv-status.is-rejected{background:#fdeceb;color:#b45f56}
.prv-link-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--green,#087760);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;text-decoration:none}
.prv-link-btn:hover{background:var(--green3,#e7f6f1)}
.prv-link-btn:focus-visible{outline:2px solid var(--green,#087760);outline-offset:1px}
.prv-link-btn .ico{width:15px;height:15px}
.prv-link-btn.is-danger{color:#b42318}
.prv-link-btn.is-danger:hover{background:#fdeceb}
.prv-blocked{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}
.prv-blocked li{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:#f7f9f8;font-size:12px;line-height:1.45;color:var(--muted,#6f8580)}
.prv-blocked .ico{width:15px;height:15px;flex:none;margin-top:1px}
.prv-blocked b{color:var(--ink,#173b4f)}
.prv-store-link{display:inline-flex;align-items:center;gap:4px;margin-top:14px;font-size:12.5px;font-weight:700;color:var(--green,#087760);text-decoration:none}
.prv-store-link .ico{width:15px;height:15px}
.prv-store-link:hover{text-decoration:underline}

/* ---------------------------------------------------------------- Ulasan Saya */
.prv-sec-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}
.prv-sec-head .prv-sub{margin:0}
.prv-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:999px;background:var(--tint,#f4faf8);border:1px solid var(--tint-line,#e2eee9);font-size:11.5px;font-weight:700;color:var(--green,#087760);white-space:nowrap}
.prv-badge.is-warn{background:#fff3e0;border-color:#f6dfb8;color:#b66b24}
.prv-todo{display:grid;gap:8px}
.prv-todo-item{display:grid;grid-template-columns:52px minmax(0,1fr);gap:4px 12px;align-items:center;padding:12px;border:1px dashed #bfdcd3;border-radius:var(--prv-radius);background:var(--tint,#f4faf8)}
.prv-todo-item img{grid-row:span 2;width:52px;height:52px;border-radius:10px;object-fit:cover;background:#fff}
.prv-todo-main{min-width:0}
.prv-todo-main b{display:block;font-size:13px;color:var(--ink,#173b4f);overflow-wrap:anywhere}
.prv-todo-main small{display:block;margin-top:2px;font-size:12px;color:var(--muted,#6f8580)}
.prv-todo-btn{grid-column:2;justify-self:start;min-height:40px;padding:0 14px;gap:6px}
.prv-todo-btn .ico{width:14px;height:14px}
.prv-more-note{margin:8px 0 0;font-size:12px;color:var(--muted,#6f8580)}
.prv-more-note a{color:var(--green,#087760);font-weight:700}
.prv-mine{display:grid;gap:10px}
.prv-mine-item{padding:14px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:#fff;min-width:0;scroll-margin-top:90px}
.prv-mine-item:target{border-color:var(--green,#087760);box-shadow:0 0 0 3px rgba(8,119,96,.1)}
.prv-oi-product small a{color:var(--green,#087760)}
.prv-mine-rate{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.prv-mine-rate time{font-size:11.5px;color:var(--muted,#6f8580)}
.prv-mine-actions{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px;padding-top:6px;border-top:1px solid var(--tint-line,#e2eee9)}
.prv-mine-actions form{margin:0 0 0 auto}

/* ---------------------------------------------------------------- Dasbor Toko > Ulasan */
.prv-dash-card{margin-top:12px}
.prv-dash-products{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px}
.prv-dash-product{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 10px;border:1px solid var(--line,#e3ece9);border-radius:10px;background:#fff;color:inherit;text-decoration:none;min-width:0}
.prv-dash-product:hover{border-color:#bcd8cf;background:var(--tint,#f4faf8)}
.prv-dash-product.is-active{border-color:var(--green,#087760);background:var(--green3,#e7f6f1)}
.prv-dash-product.is-empty{opacity:.75}
.prv-dash-product img{width:40px;height:40px;flex:none;border-radius:8px;object-fit:cover;background:var(--tint,#f4faf8)}
.prv-dash-product-main{min-width:0;flex:1}
.prv-dash-product-main b{display:block;font-size:12.5px;color:var(--ink,#173b4f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prv-dash-product-rate{display:flex;align-items:center;gap:6px;margin-top:3px}
.prv-dash-product-rate em{font-style:normal;font-size:11.5px;color:var(--muted,#6f8580)}
.prv-dash-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:14px 0 6px;padding:12px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:var(--tint,#f4faf8)}
.prv-dash-filter label{display:grid;gap:5px;margin:0;font-size:11px;font-weight:600;color:#35574f}
.prv-dash-filter select{width:100%;height:40px;padding:0 10px;border:1px solid #d8e5e1;border-radius:7px;background:#fff;font:inherit;font-size:12px;font-weight:400;color:#34574f;outline:0;cursor:pointer}
.prv-dash-filter select option{font-weight:400}
.prv-dash-filter select:focus{border-color:var(--green,#087760);box-shadow:0 0 0 3px rgba(8,119,96,.1)}
.prv-dash-filter .prv-dash-check{display:flex;align-items:center;gap:8px;height:40px;font-size:12px;font-weight:500;color:#34574f;cursor:pointer;white-space:nowrap}
.prv-dash-filter .prv-dash-clear{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 14px;border:1px solid #d8e5e1;border-radius:7px;background:#fff;color:var(--green,#087760);font:inherit;font-size:12px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer}
.prv-dash-filter .prv-dash-clear:hover{background:var(--green3,#e7f6f1);border-color:#bfd9d1}
.prv-dash-filter .prv-dash-clear:focus-visible{outline:2px solid var(--green,#087760);outline-offset:1px}
.prv-dash-filter .prv-dash-clear .ico{width:14px;height:14px;flex:0 0 auto}
.prv-dash-check input{width:18px;height:18px;margin:0;accent-color:var(--green,#087760)}
.prv-dash-list{display:grid;gap:10px;margin-top:6px}
.prv-dash-item{padding:4px 14px 12px;border:1px solid var(--line,#e3ece9);border-radius:var(--prv-radius);background:#fff;min-width:0}
.prv-dash-item .prv-item{border-bottom:0;padding-top:12px}
.prv-dash-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;font-size:12px;color:var(--muted,#6f8580)}
.prv-dash-reply{border-top:1px solid var(--tint-line,#e2eee9);padding-top:8px;scroll-margin-top:100px}
.prv-dash-reply .prv-reply{margin:4px 0 8px}
.prv-reply-form summary{list-style:none;width:max-content}
.prv-reply-form summary::-webkit-details-marker{display:none}
.prv-reply-form form{margin-top:8px}
.prv-reply-form textarea{display:block;width:100%;box-sizing:border-box;min-height:84px;padding:10px 12px;border:1px solid #d3e1dd;border-radius:10px;font:inherit;font-size:13px;line-height:1.55;resize:vertical}
.prv-reply-form textarea:focus{outline:none;border-color:var(--green,#087760);box-shadow:0 0 0 3px rgba(8,119,96,.12)}
.prv-reply-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px}
.prv-reply-actions small{font-size:11.5px;color:var(--muted,#6f8580)}
.prv-reply-actions .btn{min-height:40px;gap:6px}
.prv-reply-actions .btn .ico{width:14px;height:14px}
.prv-pages{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.prv-pages a{display:grid;place-items:center;min-width:40px;height:40px;padding:0 10px;border:1px solid var(--line,#e3ece9);border-radius:9px;background:#fff;font-size:13px;font-weight:700;color:#46655d;text-decoration:none}
.prv-pages a.is-active{background:var(--green,#087760);border-color:var(--green,#087760);color:#fff}

/* ---------------------------------------------------------------- wider screens */
@media(min-width:640px){
  .prv-summary{grid-template-columns:200px minmax(0,1fr);align-items:center;gap:28px;padding:18px 22px}
  .prv-score{grid-template-columns:auto auto;grid-template-areas:"num max" "stars stars" "count count";row-gap:8px}
  .prv-chips{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
  .prv-filters{flex-direction:row;align-items:flex-start;justify-content:space-between}
  .prv-product-filter{flex:0 0 260px}
  .prv-pager{flex-direction:row;justify-content:center}
  .prv-more,.prv-prev{min-width:260px;padding:0 20px}
  .prv-order{padding:18px 20px}
  .prv-oi{padding:16px 18px}
  .prv-order-head{grid-template-columns:40px minmax(0,1fr) auto}
  .prv-progress{grid-column:auto;align-self:start}
  .prv-order-foot{flex-direction:row;align-items:center;justify-content:space-between}
  .prv-order-foot .btn{min-width:200px}
  .prv-todo-item{grid-template-columns:52px minmax(0,1fr) auto}
  .prv-todo-item img{grid-row:auto}
  .prv-todo-btn{grid-column:auto;justify-self:end}
  .prv-dash-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prv-dash-filter{grid-template-columns:repeat(2,minmax(0,1fr)) auto auto;align-items:end;column-gap:14px}
  .prv-photo{width:84px;height:84px}
}
@media(min-width:1024px){
  .prv-dash-products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:420px){
  .pc-rate{font-size:11px}
  .pc-rate em{display:none}
  .prv-rate label{width:42px;height:44px}
  .prv-rate label svg{width:28px;height:28px}
}
@media(prefers-reduced-motion:reduce){
  .prv-rate label svg,.prv-photo img,.prv-chip{transition:none}
}

/* v2 (mobile): no card inside a card - the order-review block becomes a flat section with a divider line,
   same pattern as "Produk dipesan" (order-premium.css v11). */
@media(max-width:820px){
  .order-card .prv-order{margin-top:14px;padding:14px 0 0;border:0;border-top:1px solid var(--line,#e3ece9);border-radius:0;background:none;box-shadow:none}
  .order-card .prv-order-head{grid-template-columns:36px minmax(0,1fr);gap:10px}
  .order-card .prv-order-ico{width:36px;height:36px;border-radius:10px}
  .order-card .prv-order-head h3{font-size:14.5px}
  .order-card .prv-order-form{gap:0;margin-top:10px}
  .order-card .prv-oi{padding:14px 0;border:0;border-top:1px solid #eef4f2;border-radius:0;background:none;box-shadow:none}
  .order-card .prv-oi:first-of-type{border-top:0;padding-top:4px}
  .order-card .prv-oi.is-filled,.order-card .prv-oi.has-error{box-shadow:none;border-color:#eef4f2}
  .order-card .prv-sent{gap:0}
  .order-card .prv-sent-item{padding:14px 0;border:0;border-top:1px solid #eef4f2;border-radius:0;background:none}
  .order-card .prv-sent-item:first-child{border-top:0;padding-top:4px}
  .order-card .prv-order-foot{margin-top:4px;padding-top:12px;border-top:1px dashed #d5e4df}
  .order-card .prv-blocked li{padding:8px 0;background:none;border-top:1px solid #eef4f2;border-radius:0}
}
