/* Product reviews share the storefront palette and stay within their own scope. */
.product-reviews {
  --pr-paper:var(--cream,#fffcf1);
  --pr-soft:var(--sand,#f1eddf);
  --pr-ink:var(--ink,#193c30);
  --pr-text:var(--text,#344e42);
  --pr-muted:var(--muted,#6b776b);
  --pr-line:var(--line,#dce2d7);
  --pr-star:#f5b301;
  --pr-vote-muted:#849188;
  --pr-avatar:#857744;
  --pr-error:var(--botanical-error,#973d2f);
  min-width:0;
  color:var(--pr-text);
  background:var(--pr-paper);
  padding-block:clamp(54px,6vw,88px);
  scroll-margin-top:148px;
}
.product-reviews *,
.product-reviews *::before,
.product-reviews *::after { box-sizing:border-box; }
.product-reviews :is(h2,h3,h4,p,figure) { margin:0; }
.product-reviews :is(h2,h3,h4) { color:var(--pr-ink); }
.product-reviews h2 { font-size:clamp(28px,3vw,38px);line-height:1.3;font-weight:600;letter-spacing:-.025em; }
.product-reviews :is(p,label,legend) { line-height:1.65; }
.product-reviews :is(a,button,input,textarea,select,summary):focus-visible {
  outline:3px solid var(--pr-ink);
  outline-offset:4px;
}
.product-reviews :is(button,input,textarea,select) { font:inherit; }
.product-reviews button { touch-action:manipulation; }
.product-reviews :is(button,input,textarea,select):disabled,
.product-reviews button[aria-disabled="true"] { opacity:.55;cursor:not-allowed; }
.product-reviews [hidden],
.product-reviews[hidden],
.pr-header-link[hidden] { display:none!important; }

/* Review loading keeps this line above the title stable, including the share action. */
body .product-heading-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  height:36px;
  min-height:36px;
  margin:0 0 12px;
}
body .product-heading-tools .pr-header-slot { flex:1;min-width:0;margin:0; }
body .product-heading-tools .product-share {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  min-height:36px;
  margin:0;
  padding:7px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:var(--ink,#193c30);
  cursor:pointer;
  touch-action:manipulation;
}
body .product-heading-tools .product-share svg { display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
body .product-heading-tools .product-share:hover { background:transparent;color:var(--ink-deep,#184832); }
body .product-heading-tools .product-share:focus-visible { outline:2px solid var(--ink,#193c30);outline-offset:3px; }
.pr-header-slot {
  display:flex;
  align-items:center;
  height:36px;
  min-height:36px;
  min-width:0;
  margin-block:4px 12px;
}
.pr-header-link {
  display:inline-flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:8px;
  max-width:100%;
  min-height:36px;
  margin:0;
  color:var(--ink,#193c30);
  font-size:14px;
  line-height:1.6;
  text-decoration:none;
  white-space:nowrap;
  animation:none;
  transition:none;
}
.pr-header-link > span:last-child { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.pr-header-link:is(:hover,:active,:visited,:focus) { text-decoration:none;border-bottom:0;box-shadow:none; }
.pr-header-link .pr-stars { display:inline-flex;flex:none;align-items:center;gap:2px;color:#f5b301;line-height:1;text-decoration:none; }
.pr-header-link .pr-star-icon { display:block;flex:none;width:18px;height:18px; }
.pr-header-link .pr-header-average { flex:none;font-weight:600;font-variant-numeric:tabular-nums; }
.pr-header-link .pr-header-count { color:var(--muted,#6b776b); }
.pr-header-link .pr-star-icon,
.product-reviews .pr-star-icon { fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
.pr-header-link .pr-star-icon.is-filled,
.product-reviews .pr-star-icon.is-filled { fill:currentColor; }
.pr-header-link:focus-visible { outline:3px solid var(--ink,#193c30);outline-offset:4px; }

/* Summary and rating distribution retain enough space for either language. */
.product-reviews .pr-summary-row { display:grid;grid-template-columns:minmax(0,790px) auto;align-items:center;justify-content:space-between;gap:30px 48px;padding-block:30px 34px;border-bottom:1px solid var(--pr-line); }
.product-reviews .pr-summary {
  display:grid;
  grid-template-columns:minmax(150px,.7fr) minmax(230px,1fr);
  align-items:center;
  gap:30px 64px;
  min-width:0;
}
.product-reviews .pr-summary-actions { display:flex;align-items:center;justify-content:flex-end; }
.product-reviews .pr-write-button { display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;white-space:nowrap; }
.product-reviews .pr-write-icon { flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
.product-reviews .pr-average { display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;font-size:15px;line-height:1.6; }
.product-reviews .pr-average > strong { color:var(--pr-ink);font-size:56px;font-weight:500;line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums; }
.product-reviews .pr-average > strong small { font-size:20px;letter-spacing:0;font-weight:400; }
.product-reviews .pr-average :is(p,small) { color:var(--pr-muted);font-size:14px; }
.product-reviews .pr-stars { display:inline-flex;align-items:center;gap:2px;color:var(--pr-star);font-size:24px;letter-spacing:1px;line-height:1.1;white-space:nowrap; }
.product-reviews .pr-stars svg { flex:none;width:22px;height:22px; }
.product-reviews .pr-histogram { display:grid;gap:10px;min-width:0;width:100%; }
.product-reviews .pr-histogram-row { display:grid;grid-template-columns:98px minmax(0,1fr) 32px;align-items:center;gap:12px;color:var(--pr-muted);font-size:13px;line-height:1.6; }
.product-reviews .pr-histogram-row .pr-stars { gap:3px; }
.product-reviews .pr-histogram-row .pr-star-icon { width:16px;height:16px; }
.product-reviews .pr-histogram-row > :last-child { text-align:right;font-variant-numeric:tabular-nums; }
.product-reviews .pr-histogram-bar { display:block;min-width:0;height:8px;overflow:hidden;border-radius:2px;background:var(--pr-soft); }
.product-reviews .pr-histogram-bar > span { display:block;width:var(--pr-fill,0%);height:100%;max-width:100%;background:var(--pr-star);border-radius:inherit; }
.product-reviews .pr-toolbar { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;padding-block:20px 24px;border-bottom:1px solid var(--pr-line); }
.product-reviews .pr-toolbar > p { color:var(--pr-muted);font-size:14px; }
.product-reviews .pr-toolbar :is(button,select) { min-height:46px;max-width:100%; }
.product-reviews .pr-toolbar select { border:1px solid var(--pr-line);padding:10px 34px 10px 12px;color:var(--pr-text);background-color:var(--pr-paper); }
.product-reviews .pr-list-toolbar { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-block:22px 0;padding-bottom:22px;border-bottom:1px solid #dfe4e0; }
.product-reviews .pr-list-toolbar .pr-status { margin:0; }
.product-reviews .pr-filter-control { display:flex;align-items:center;gap:10px;margin-inline-start:auto;color:var(--pr-muted);font-size:13px; }
.product-reviews .pr-filter-control select { min-height:44px;max-width:100%;padding:9px 34px 9px 12px;border:1px solid var(--pr-line);border-radius:4px;background-color:var(--pr-paper);color:var(--pr-text);font-size:14px;cursor:pointer; }
.product-reviews .pr-status { margin-block:22px;color:var(--pr-muted);font-size:15px;line-height:1.7;overflow-wrap:anywhere; }
.product-reviews .pr-status:empty { display:none; }
.product-reviews .pr-status:is([role="alert"],.is-error) { color:var(--pr-error); }
.product-reviews .pr-status button { min-height:44px;margin-inline-start:8px;text-decoration:underline;text-underline-offset:4px; }

/* Spacious, flat rows echo the reference: author/date, stars, copy, then media. */
.product-reviews .pr-review { min-width:0;padding-block:36px 30px;border-bottom:1px solid var(--pr-line);overflow-wrap:anywhere; }
.product-reviews .pr-review > header,
.product-reviews .pr-review-header { display:flex;align-items:center;justify-content:space-between;gap:18px 24px;margin-bottom:23px; }
.product-reviews .pr-author { display:flex;align-items:center;gap:15px;min-width:0;color:var(--pr-text);font-size:16px;font-weight:500;line-height:1.5; }
.product-reviews .pr-author > :not(.pr-avatar) { min-width:0; }
.product-reviews .pr-author strong { font-weight:500; }
.product-reviews .pr-avatar { display:inline-flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--pr-avatar);color:#fff;font-size:22px;font-weight:400;line-height:1;letter-spacing:-.02em;overflow:hidden; }
.product-reviews .pr-date { flex:none;align-self:flex-start;padding-top:8px;color:var(--pr-muted);font-size:14px;line-height:1.6;white-space:nowrap;font-variant-numeric:tabular-nums; }
.product-reviews .pr-review > .pr-stars { margin-bottom:17px; }
.product-reviews .pr-review-title { margin-bottom:12px;color:var(--pr-text);font-size:21px;font-weight:600;line-height:1.5;letter-spacing:-.01em; }
.product-reviews .pr-review-body { color:var(--pr-text);font-size:16px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere; }
.product-reviews .pr-review-body > p + p { margin-top:12px; }
.product-reviews .pr-media { display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:25px; }
.product-reviews .pr-media-thumb { position:relative;display:block;flex:0 0 124px;width:124px;height:160px;max-width:100%;padding:0;border:1px solid var(--pr-line);border-radius:7px;background:var(--pr-soft);overflow:hidden;cursor:zoom-in; }
.product-reviews .pr-media-thumb :is(img,video) { display:block;width:100%;height:100%;object-fit:cover; }
.product-reviews .pr-media-thumb > span { position:absolute;inset:auto 7px 7px;display:flex;align-items:center;justify-content:center;min-height:27px;padding:4px 7px;background:var(--pr-ink);color:var(--pr-paper);border-radius:3px;font-size:11px;line-height:1.5; }
.product-reviews .pr-media-thumb:hover { border-color:var(--pr-star); }
.product-reviews .pr-media > video { display:block;flex:0 1 320px;width:320px;min-width:0;max-width:100%;height:180px;border:1px solid var(--pr-line);border-radius:7px;background:var(--ink-deep,#102e25);object-fit:contain; }
.product-reviews .pr-media-error { display:flex;align-items:center;justify-content:center;min-height:118px;max-width:100%;padding:18px;border:1px solid var(--pr-line);border-radius:5px;background:var(--pr-soft);color:var(--pr-muted);font-size:13px;line-height:1.6;text-align:center;overflow-wrap:anywhere; }
.product-reviews .pr-media-thumb > .pr-media-error { inset:0;min-height:0;padding:12px;border:0;border-radius:inherit;background:var(--pr-soft);color:var(--pr-muted);font-size:12px;line-height:1.6; }
.product-reviews .pr-lightbox-content > .pr-media-error { width:100%;min-height:200px; }
.product-reviews .pr-helpful { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 10px;margin-top:22px;color:var(--pr-muted);font-size:14px;line-height:1.6; }
.product-reviews .pr-helpful > :is(p,span):first-child { margin-inline-end:5px; }
.product-reviews .pr-vote { display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:46px;min-height:44px;padding:7px 6px;border:0;border-radius:0;background:transparent;color:var(--pr-vote-muted);font-size:14px;line-height:1.2;font-variant-numeric:tabular-nums;transition:color .15s ease; }
.product-reviews .pr-vote svg { display:block;flex:none;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round; }
.product-reviews .pr-vote:is(:hover,:active,:focus,[aria-pressed="true"]) { background:transparent;border:0;box-shadow:none; }
.product-reviews .pr-vote:hover { color:var(--pr-text); }
.product-reviews .pr-vote[aria-pressed="true"] { color:var(--pr-ink); }
.product-reviews .pr-vote[aria-pressed="true"] svg { stroke-width:1.9; }
.product-reviews .pr-load-more { display:flex;align-items:center;justify-content:center;min-height:48px;width:fit-content;max-width:100%;margin:34px auto 0;padding:12px 28px;border:1px solid var(--pr-ink);border-radius:4px;color:var(--pr-ink);background:transparent;font-size:15px;line-height:1.5; }
.product-reviews .pr-load-more:hover:not(:disabled) { background:var(--pr-soft); }

/* Native dialogs keep their own scrolling and their closed-state behavior. */
.product-reviews dialog { width:min(620px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--pr-line);border-radius:8px;background:var(--pr-paper);color:var(--pr-text);overscroll-behavior:contain;overflow-y:auto; }
.product-reviews dialog:not([open]) { display:none; }
.product-reviews dialog::backdrop { background:rgb(16 46 37 / 60%);backdrop-filter:blur(3px); }
.product-reviews dialog > header { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px; }
.product-reviews dialog > header h2 { font-size:24px;line-height:1.4; }
.product-reviews dialog > header button { display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-height:44px;margin:-8px -8px 0 0;font-size:25px;line-height:1; }
.product-reviews .pr-form { min-width:0; }
.product-reviews .pr-form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.product-reviews .pr-form :is(label,fieldset) { display:block;min-width:0;margin:0 0 12px;font-size:14px;line-height:1.5; }
.product-reviews .pr-form-grid > label { margin-bottom:0; }
.product-reviews .pr-form-grid + :is(label,fieldset) { margin-top:12px; }
.product-reviews .pr-form fieldset { border:0;padding:0; }
.product-reviews .pr-form legend { padding:0;margin-bottom:4px;font-size:14px; }
.product-reviews .pr-form :is(input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),textarea,select) { display:block;width:100%;min-width:0;min-height:40px;margin-top:6px;padding:8px 11px;border:1px solid var(--pr-line);border-radius:4px;background:var(--white,#fff);color:var(--pr-text);font-size:16px;line-height:1.4; }
.product-reviews .pr-form :is(input,textarea)::placeholder { color:var(--pr-muted);opacity:1; }
.product-reviews .pr-form textarea { min-height:88px;max-height:180px;resize:vertical; }
.product-reviews .pr-file-input { display:none; }
.product-reviews .pr-form :is(input,textarea,select)[aria-invalid="true"] { border-color:var(--pr-error); }
.product-reviews .pr-form :is(small,.fine) { display:block;margin-top:6px;color:var(--pr-muted);font-size:12px;line-height:1.5; }
.product-reviews .pr-rating-input { display:flex;align-items:center;gap:0;min-width:0;margin-top:0; }
.product-reviews .pr-rating-input .pr-rating-choice { position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;min-width:44px;min-height:44px;margin:0;padding:4px;border:0;border-radius:2px;color:var(--pr-star);background:transparent;line-height:1;cursor:pointer; }
.product-reviews .pr-rating-input .pr-star-icon { display:block;width:31px;height:31px; }
.product-reviews .pr-rating-input input { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0; }
.product-reviews .pr-rating-input .pr-rating-choice.is-filled .pr-star-icon { fill:currentColor; }
.product-reviews .pr-rating-input label:has(input:focus-visible) { outline:3px solid var(--pr-ink);outline-offset:3px; }
.product-reviews .pr-form .pr-status { margin-block:10px 0;font-size:12px;line-height:1.5; }
.product-reviews .pr-form-actions { display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--pr-line); }
.product-reviews .pr-form-actions button { min-height:42px;max-width:100%;padding:9px 20px;border:1px solid var(--pr-ink);border-radius:4px;line-height:1.5; }
.product-reviews .pr-form-actions button[type="submit"] { background:var(--pr-ink);color:var(--pr-paper); }
.product-reviews .pr-form-actions button[type="submit"]:hover:not(:disabled) { background:var(--ink-deep,#102e25); }
.product-reviews .pr-form-actions button:not([type="submit"]):hover:not(:disabled) { background:var(--pr-soft); }
.product-reviews .pr-upload-row { display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-top:7px; }
.product-reviews .pr-upload-label { font-size:14px;line-height:1.5; }
.product-reviews .pr-upload-list { display:contents;margin:0;padding:0;list-style:none; }
.product-reviews .pr-upload-preview { position:relative;flex:0 0 68px;width:68px;height:68px;padding:0;border:1px solid var(--pr-line);border-radius:5px; }
.product-reviews .pr-upload-preview img { display:block;width:100%;height:100%;object-fit:cover;border-radius:4px; }
.product-reviews .pr-upload-preview > span { display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:6px;font-size:10px;line-height:1.3;overflow-wrap:anywhere;overflow:hidden; }
.product-reviews .pr-upload-remove { position:absolute;inset:-7px -7px auto auto;display:flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;padding:3px;border:1px solid var(--pr-line);border-radius:50%;background:var(--pr-paper);color:var(--pr-text);box-shadow:0 2px 5px rgb(16 46 37 / 8%);font-size:17px;line-height:1; }
.product-reviews .pr-upload-remove::after { content:"";position:absolute;inset:-5px; }
.product-reviews .pr-upload-remove svg { width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8; }
.product-reviews .pr-upload-add { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 0 68px;width:68px;height:68px;min-height:68px;padding:8px;border:1px dashed #9aa89d;border-radius:5px;background:transparent;color:var(--pr-muted); }
.product-reviews .pr-upload-add svg { flex:none;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round; }
.product-reviews .pr-upload-add > span { font-size:10px;line-height:1.2;white-space:nowrap; }
.product-reviews .pr-upload-add:hover:not(:disabled) { border-color:var(--pr-ink);color:var(--pr-ink); }
.product-reviews dialog.pr-lightbox { width:min(1040px,calc(100% - 40px));padding:18px; }
.product-reviews .pr-lightbox-content { display:flex;align-items:center;justify-content:center;min-width:0;min-height:160px; }
.product-reviews .pr-lightbox-content :is(img,video) { display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 170px);margin:auto;object-fit:contain; }
.product-reviews .pr-lightbox-content video { width:100%;background:#102e25; }

@media (max-width:900px) {
  .product-reviews .pr-summary-row { grid-template-columns:minmax(0,1fr);gap:24px; }
  .product-reviews .pr-summary-actions { justify-content:center; }
}
@media (max-width:700px) {
  .product-reviews { padding-block:48px;scroll-margin-top:118px; }
  .product-reviews .pr-summary-row { padding-block:25px 28px; }
  .product-reviews .pr-summary { grid-template-columns:minmax(0,1fr);gap:22px; }
  .product-reviews .pr-average { align-items:center;text-align:center; }
  .product-reviews .pr-histogram { max-width:380px;margin-inline:auto; }
  .product-reviews .pr-average > strong { font-size:45px; }
  .product-reviews .pr-histogram-row { grid-template-columns:92px minmax(0,1fr) 25px;gap:10px;font-size:12px; }
  .product-reviews .pr-review { padding-block:29px 24px; }
  .product-reviews .pr-review > header,
  .product-reviews .pr-review-header { gap:12px;margin-bottom:21px; }
  .product-reviews .pr-author { gap:11px;font-size:15px; }
  .product-reviews .pr-avatar { flex-basis:48px;width:48px;height:48px;font-size:20px; }
  .product-reviews .pr-date { padding-top:3px;font-size:12px; }
  .product-reviews .pr-review-title { font-size:19px; }
  .product-reviews .pr-review-body { font-size:15px;line-height:1.8; }
  .product-reviews .pr-media { gap:10px;margin-top:21px; }
  .product-reviews .pr-media-thumb { flex-basis:100px;width:100px;height:132px; }
  .product-reviews .pr-helpful { margin-top:19px;font-size:13px;gap:4px 7px; }
  .product-reviews dialog { width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:18px; }
  .product-reviews dialog > header h2 { font-size:22px; }
  .product-reviews .pr-form-grid { gap:10px; }
  .product-reviews dialog.pr-lightbox { width:calc(100% - 24px);padding:12px; }
}
@media (max-width:420px) {
  .product-reviews .pr-summary { grid-template-columns:minmax(0,1fr);gap:24px; }
  .product-reviews .pr-average { align-items:center;text-align:center; }
  .product-reviews .pr-histogram { max-width:320px;margin-inline:auto; }
  .product-reviews .pr-toolbar { align-items:stretch; }
  .product-reviews .pr-write-top,
  .product-reviews .pr-write-top > button { width:100%; }
  .product-reviews .pr-filter-control { width:100%;margin-inline-start:0; }
  .product-reviews .pr-filter-control select { flex:1;min-width:0; }
  .product-reviews .pr-review > header,
  .product-reviews .pr-review-header { align-items:flex-start;flex-wrap:wrap;gap:8px 12px; }
  .product-reviews .pr-author { flex:1 1 150px; }
  .product-reviews .pr-date { margin-inline-start:auto; }
  .product-reviews .pr-media-thumb { flex-basis:90px;width:90px;height:118px; }
  .product-reviews .pr-helpful { gap:4px; }
  .product-reviews .pr-form-actions { align-items:stretch; }
  .product-reviews .pr-form-actions button { flex:1 1 0;padding-inline:12px; }
  .product-reviews .pr-load-more { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .product-reviews *,
  .product-reviews *::before,
  .product-reviews *::after { scroll-behavior:auto;animation:none;transition:none; }
}
@media (forced-colors:active) {
  .product-reviews .pr-avatar { border:1px solid CanvasText; }
  .product-reviews .pr-histogram-bar { border:1px solid CanvasText; }
  .product-reviews .pr-histogram-bar > span { background:Highlight;forced-color-adjust:none; }
  .product-reviews .pr-vote[aria-pressed="true"],
  .product-reviews .pr-rating-input :is([aria-checked="true"],[aria-pressed="true"],label:has(input:checked)) { outline:2px solid Highlight; }
}
