/* Product detail: compact summary (concept A). Full reviews remain in the dialog. */
.detail-social { margin-top:20px; padding:14px 0 0; border-top:1px solid #e7e8df; scroll-margin-top:calc(var(--detail-header,66px) + 64px); }
.review-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.review-section-head h2, .review-summary-empty h2 { margin:0; font-size:16px; line-height:1.5; font-weight:750; color:#23473c; }
.review-section-head h2>span { font-size:12px; font-weight:400; color:#667267; }
.review-section-head button { display:inline-flex; align-items:center; gap:4px; min-height:44px; margin-block:-7px; padding:7px 0 7px 12px; border:0; background:transparent; color:var(--orange-dark,#c2410c); font-size:12px; cursor:pointer; white-space:nowrap; }
.review-arrow { width:14px; height:14px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.review-summary-score { display:flex; align-items:center; gap:7px; margin:5px 0 10px; color:#667267; font-size:12px; }
.review-summary-score strong { color:var(--orange-dark,#c2410c); font-size:14px; font-variant-numeric:tabular-nums; }
.review-peek + .review-peek { margin-top:12px; }
.review-peek header { display:flex; align-items:center; gap:7px; }
.review-peek header>strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#56675b; font-size:12px; font-weight:500; }
.review-peek .review-avatar { width:24px; height:24px; }
.review-peek .review-stars { margin-left:auto; }
.review-peek>p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; white-space:normal; margin:5px 0 0; font-size:14px; line-height:1.65; color:#374a3f; }
.review-peek .review-stars svg, .review-summary-score .review-stars svg { width:11px; height:11px; }
.purchase-summary-link { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:44px; padding:8px 0; margin-top:10px; border:0; border-top:1px solid #e8e9e1; background:transparent; color:#667267; text-align:left; font-size:12px; line-height:1.6; cursor:pointer; }
.purchase-summary-link:hover, .review-section-head button:hover { color:#9a3412; }
.review-summary-empty { display:flex; flex-wrap:wrap; align-items:center; column-gap:18px; row-gap:5px; min-height:40px; padding-block:3px; }
.review-summary-empty p { margin:0; font-size:13px; line-height:1.7; color:#667267; }
.review-summary-empty button, .review-empty button { border:0; padding:8px 3px; background:transparent; color:var(--orange-dark,#c2410c); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.review-avatar { width:38px; height:38px; flex-shrink:0; border-radius:50%; object-fit:cover; }
.review-stars { display:inline-flex; align-items:center; gap:2px; color:#b95514; flex-shrink:0; white-space:nowrap; }
.review-stars>span { display:flex; }
.review-stars svg { width:14px; height:14px; fill:currentColor; stroke:currentColor; stroke-width:1; }
.review-stars .review-star-empty { color:#788370; }
.review-stars .review-star-empty svg { fill:none; }
.purchase-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #eceee7; font-size:13px; }
.purchase-row strong { min-width:0; overflow-wrap:anywhere; font-size:13px; }
.purchase-row>span { color:#637865; }
.purchase-row small { color:#626d60; font-size:12px; text-align:right; }
.review-empty { margin:0; padding:18px 0; font-size:13px; line-height:1.9; color:#626d60; }
.review-card { padding:20px 0; border-bottom:1px solid #eceee5; }
.review-card header { display:flex; align-items:center; gap:10px; }
.review-card header>div { flex:1; min-width:0; }
.review-card header strong { font-size:14px; overflow-wrap:anywhere; }
.review-card small { display:block; color:#626d60; font-size:12px; line-height:1.8; }
.review-card>p, .review-followup p, .review-reply p { font-size:14px; line-height:1.85; white-space:pre-wrap; overflow-wrap:anywhere; margin:12px 0; }
.review-photos { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.review-photos button { border:0; background:none; padding:0; cursor:zoom-in; }
.review-photos img { display:block; width:80px; height:80px; border-radius:7px; object-fit:cover; }
.review-reply, .review-followup { background:#f5f7f2; padding:10px 12px; border-radius:7px; font-size:12px; margin-top:12px; color:#52634e; }
.review-followup { background:#fcf6ec; }
.review-reply summary { cursor:pointer; min-height:24px; line-height:24px; }
.review-reply p, .review-followup p { margin:8px 0 0; font-size:13px; }
.review-filters { display:flex; gap:7px; flex-wrap:wrap; margin:14px 0 6px; }
.review-filters button { border:1px solid #e4e7db; border-radius:6px; background:#f6f7f2; color:#526647; padding:8px 11px; min-height:40px; font-size:12px; cursor:pointer; }
.review-filters [aria-pressed=true] { color:#a43b0b; border-color:#edb08b; background:#fff2e8; font-weight:700; }
.review-dialog { width:min(640px,calc(100% - 32px)); max-height:85dvh; border:0; padding:0; border-radius:16px; color:#344d3f; background:#fff; box-shadow:0 18px 80px #233d3333; overflow:hidden; }
.review-dialog[open] { display:flex; flex-direction:column; }
.review-dialog::backdrop, .review-photo-dialog::backdrop { background:#1e302c77; }
.review-dialog>header { display:flex; justify-content:space-between; align-items:center; padding:14px 22px; flex-shrink:0; background:#fff; border-bottom:1px solid #eceee7; }
.review-dialog h2 { font-size:19px; margin:0; }
.review-dialog>header button { border:0; background:#f5f6f1; border-radius:50%; width:44px; height:44px; font-size:24px; color:#50614f; cursor:pointer; }
.review-dialog-body { min-height:0; overflow-y:auto; padding:16px 22px 24px; scrollbar-width:thin; scrollbar-color:#c6cec0 transparent; }
.review-dialog-score { display:flex; align-items:center; gap:9px; color:#626d60; font-size:12px; }
.review-dialog-score>strong { font-size:28px; color:var(--orange-dark,#c2410c); font-variant-numeric:tabular-nums; }
.review-explainer { display:block; font-size:12px; color:#626d60; line-height:1.8; }
.purchase-labels { display:grid; grid-template-columns:1fr 70px 110px; background:#f5f7f1; padding:10px; font-size:12px; color:#626d60; }
.review-pages { display:flex; align-items:center; justify-content:center; gap:20px; margin-top:20px; font-size:12px; }
.review-pages button { border:1px solid #dfe5d7; background:#fff; border-radius:6px; padding:9px 15px; min-height:40px; color:#54704e; cursor:pointer; }
.review-pages button:disabled { opacity:.4; cursor:default; }
.review-photo-dialog { border:0; background:#fff; border-radius:12px; padding:12px; max-width:95vw; max-height:95dvh; }
.review-photo-dialog img { display:block; max-width:85vw; max-height:80dvh; object-fit:contain; }
.review-photo-dialog button { display:block; margin-left:auto; width:44px; height:44px; color:#345b47; background:none; border:0; font-size:28px; cursor:pointer; }
.review-dialog, .review-dialog-body, .review-photo-dialog { overscroll-behavior:contain; }
.detail-social button:focus-visible, .review-dialog button:focus-visible, .review-dialog summary:focus-visible, .review-photo-dialog button:focus-visible { outline:3px solid #23816d; outline-offset:3px; }
.detail-tabs>div { gap:28px; }
@media(max-width:650px) {
  .detail-social { margin-top:16px; padding-top:12px; }
  .review-summary-empty { display:block; padding:2px 0; }
  .review-summary-empty p { margin-top:5px; }
  .review-peek>p { font-size:13px; }
  .purchase-summary-label { display:none; }
  .purchase-row { gap:8px; grid-template-columns:28px minmax(0,1fr) auto auto; }
  .purchase-row .review-avatar { width:28px; height:28px; }
  .purchase-row small { max-width:104px; font-size:11px; }
  .review-card header { gap:8px; }
  .review-card header .review-stars svg { width:11px; height:11px; }
  .review-photos img { width:72px; height:72px; }
  .review-dialog { width:100%; max-width:100%; margin:auto 0 0; max-height:84dvh; border-radius:18px 18px 0 0; }
  .review-dialog>header { padding:12px 18px; }
  .review-dialog-body { padding:12px 18px max(24px,env(safe-area-inset-bottom)); }
  .detail-tabs>div { gap:16px; }
  .detail-tabs button { font-size:12px; }
  .purchase-labels { grid-template-columns:1fr 64px 100px; }
}
