.pdp-review-attachments { margin: 12px 0 16px; }
.pdp-review-attachments[hidden] { display: none; }
.pdp-review-attachments > button { display: block; width: 128px; height: 128px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--ng-surface,#fafafa); cursor: zoom-in; }
.pdp-review-attachments img { display: block; width: 128px; height: 128px; object-fit: contain; mix-blend-mode: normal; }
.pdp-review-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: var(--ng-muted,#666); font-size: 16px; line-height: 24px; }
.pdp-review-helpful, .pdp-review-secondary { display: flex; align-items: center; gap: 8px; }
.pdp-review-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; padding: 0; border: 0; background: transparent; color: var(--ng-link,#3475bf); font: inherit; cursor: pointer; }
.pdp-review-actions .pdp-review-vote { min-height: 34px; padding: 4px 12px; border: 1px solid var(--ng-border,#f0f0f0); border-radius: 32px; color: var(--ng-text-black,#000); font-weight: 700; }
.pdp-review-vote svg { color: var(--ng-text-body,#333); }
.pdp-review-vote[aria-pressed="false"] > span { color: var(--ng-text-body,#333); }
.pdp-review-icon--close path { stroke: none; }
.pdp-review-actions .pdp-review-vote[aria-pressed="true"] { border-color: var(--ng-primary,#458500); background: var(--ng-surface,#f0f7e9); color: var(--ng-primary-386d00,#386d00); }
.pdp-review-helpful > span { color: var(--ng-text-body,#333); }
.pdp-review-secondary { gap: 0; }
.pdp-review-secondary > button { color: var(--ng-link,#126cc5); }
.pdp-review-secondary [data-review-action="report"] { padding: 1px 8px; }
.pdp-review-secondary [data-review-action="share"] { position: relative; margin-left: 25px; padding: 0 4px 0 0; font-family: 'NatGard Noto Sans', Arial, sans-serif; line-height: 16px; }
.pdp-review-secondary [data-review-action="share"]::before { content: ''; position: absolute; left: -17px; top: calc(50% - 8px); width: 1px; height: 16px; background: var(--ng-surface,#e0e0e0); }
.pdp-review-secondary [data-review-action="share"] svg { display: none; }
.pdp-review-dialog { width: min(600px, calc(100% - 32px)); max-width: calc(100% - 32px); max-height: calc(100dvh - 48px); margin: auto; padding: 24px; box-sizing: border-box; border: 0; border-radius: 8px; overflow: auto; background: var(--ng-surface-white,#fff); color: var(--ng-text-body,#333); font: 400 16px/24px var(--locale-font, 'NatGard Lato'), Arial, sans-serif; }
.pdp-review-dialog::backdrop { background: rgb(0 0 0 / .5); }
body:has(.pdp-review-dialog[open]) { overflow: hidden; }
.pdp-review-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pdp-review-dialog h2 { margin: 0; font: 700 20px/28px var(--locale-font, 'NatGard Lato'), Arial, sans-serif; }
.pdp-review-dialog button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ng-border,#ddd); border-radius: 8px; background: var(--ng-surface-white,#fff); color: var(--ng-text-body,#333); font: inherit; cursor: pointer; }
.pdp-review-dialog header button { min-width: 44px; padding: 8px; border: 0; }
.pdp-review-dialog .pdp-review-dialog-primary { border-color: var(--ng-primary,#458500); background: var(--ng-primary,#458500); color: var(--ng-on-primary,#FFFFFF); font-weight: 700; }
.pdp-review-dialog button:disabled { border-color: #e0e0e0; background: #e0e0e0; color: #666; cursor: default; }
.pdp-review-dialog label { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.pdp-review-dialog input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--ng-primary,#458500); flex: 0 0 20px; }
.pdp-review-dialog fieldset { display: grid; gap: 4px; margin: 20px 0 24px; padding: 0; border: 0; }
.pdp-review-dialog p { margin: 0 0 16px; }
.pdp-review-dialog-buttons { display: flex; align-items: center; gap: 16px; }
.pdp-review-dialog--share { width: min(440px, calc(100% - 32px)); }
.pdp-review-dialog--share label { display: grid; gap: 8px; margin-bottom: 20px; }
.pdp-review-dialog--share input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--ng-muted-faint,#999); border-radius: 8px; font: inherit; color: var(--ng-text-body,#333); }
.pdp-review-dialog--photo { width: min(1008px, calc(100% - 32px)); }
.pdp-review-photo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pdp-review-photo-large { width: 100%; height: auto; max-width: 600px; max-height: 70dvh; object-fit: contain; }
.pdp-review-photo-layout h3 { margin: 0 0 16px; font-size: 18px; line-height: 24px; }
.pdp-review-feedback:empty { display: none; }
.pdp-review-feedback { position: fixed; z-index: 10020; right: 20px; bottom: 24px; max-width: min(380px, calc(100vw - 40px)); padding: 12px 16px; border: 1px solid var(--ng-border,#ccd6c5); border-radius: 8px; background: var(--ng-surface,#f0f7e9); color: var(--ng-primary-deep,#284d0d); font: 400 14px/21px var(--locale-font, 'NatGard Lato'), Arial, sans-serif; }
.pdp-review-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pdp-review-actions button:focus-visible, .pdp-review-attachments button:focus-visible, .pdp-review-dialog :is(button,input):focus-visible { outline: 2px solid var(--ng-focus,#1266c3); outline-offset: 3px; }
.pdp-lower .pdp-review-actions .pdp-review-vote:focus-visible { outline: 1px auto var(--ng-focus,#005fcc); outline-offset: 0; }
@media (hover: hover) and (pointer: fine) { .pdp-review-secondary button:hover { text-decoration: underline; } .pdp-review-actions .pdp-review-vote:hover { background: var(--ng-surface,#f7f8f7); } }
html[data-device="phone"] .pdp-review-actions { gap: 12px; }
html[data-device="phone"] .pdp-review-actions button { min-height: 44px; }
html[data-device="phone"] .pdp-review-secondary { margin-left: auto; }
html[data-device="phone"] .pdp-review-dialog { padding: 16px; }
html[data-device="phone"] .pdp-review-photo-layout { grid-template-columns: minmax(0, 1fr); }
html[data-device="phone"] .pdp-review-feedback { bottom: 80px; }
.pdp-review-actions .pdp-review-mobile-menu { display: none; }
.pdp-review-menu-items { display: grid; }
.pdp-review-menu-items button { background: transparent; justify-content: flex-start; gap: 12px; width: 100%; min-height: 64px; padding: 12px 4px; border: 0; border-radius: 0; }
.pdp-review-menu-items button + button { border-top: 1px solid var(--ng-border-strong,#ccc); }
html[data-device="phone"] .pdp-review-attachments > button, html[data-device="phone"] .pdp-review-attachments img { width: 104px; height: 104px; }
html[data-device="phone"] .pdp-review-helpful > span, html[data-device="phone"] .pdp-review-secondary { display: none; }
html[data-device="phone"] .pdp-review-actions .pdp-review-vote { min-height: 40px; border-color: transparent; padding: 4px 8px; background: transparent; color: var(--ng-text-body,#333); }
html[data-device="phone"] .pdp-review-actions .pdp-review-vote[aria-pressed="true"] { border-color: var(--ng-primary,#458500); background: var(--ng-surface,#f0f7e9); color: var(--ng-primary-386d00,#386d00); }
html[data-device="phone"] .pdp-review-actions .pdp-review-mobile-menu { display: inline-flex; width: 40px; height: 40px; margin-left: auto; color: var(--ng-muted,#666); }
html[data-device="phone"] .pdp-review-dialog--menu { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 80px); margin: 0; padding: 0; border-radius: 8px 8px 0 0; background: var(--ng-surface-soft,#f5f5f5); }
html[data-device="phone"] .pdp-review-dialog--menu > header { box-sizing: border-box; min-height: 56px; margin: 0; padding: 4px; }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items { padding: 0 20px; }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items button { min-height: 0; padding: 20px 0; gap: 8px; }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items button svg { width: 24px; height: 24px; flex: none; }
html[data-device="phone"] .pdp-review-dialog--menu [data-menu-share] { border-bottom: 1px solid var(--ng-border-strong,#ccc); line-height: 1.66; }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items button + button { border-top: 0; }
html[data-device="phone"] .pdp-review-actions .pdp-review-vote { min-width: 64px; min-height: 32px; padding: 3px 4px; gap: 8px; font-size: 16px; font-weight: 400; line-height: 24px; }
html[data-device="phone"] .pdp-review-vote svg { width: 24px; height: 24px; }
html[data-device="phone"] .pdp-review-actions .pdp-review-vote { position: relative; overflow: hidden; border-radius: 8px; }
html[data-device="phone"] .pdp-review-helpful { gap: 4px; }
html[data-device="phone"] .pdp-review-vote svg { margin-left: -4px; }
html[data-device="phone"] .pdp-review-actions .pdp-review-vote:focus-visible { outline: none; }
html[data-device="phone"] .pdp-review-vote:focus-visible::after { content: ''; position: absolute; pointer-events: none; width: 55.4256px; height: 55.4256px; left: calc(50% - 27.7128px); top: calc(50% - 27.7128px); border-radius: 50%; background: rgb(var(--ng-primary-rgb,84 163 0)/0.3); animation: pdp-review-focus-pulse 2.5s cubic-bezier(.4, 0, .2, 1) .2s infinite; }
@keyframes pdp-review-focus-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92); } }
@media (prefers-reduced-motion: reduce) { html[data-device="phone"] .pdp-review-vote:focus-visible::after { animation: none; } }
html[data-device="phone"] .pdp-review-actions .pdp-review-mobile-menu { min-height: 40px; }
html[data-device="phone"] .pdp-review-dialog--menu h2 { padding: 0 12px; line-height: 32px; }
html[data-device="phone"] .pdp-review-dialog--menu > header button { width: 48px; height: 48px; min-width: 48px; min-height: 48px; margin-right: 0; padding: 12px; background: transparent; }
.pdp-review-report-detail[hidden] { display: none; }
.pdp-review-report-detail { display: grid; gap: 8px; margin-bottom: 24px; }
.pdp-review-report-detail label { min-height: 0; }
.pdp-review-report-detail textarea { box-sizing: border-box; width: 100%; min-height: 100px; padding: 12px; border: 1px solid var(--ng-muted-faint,#999); border-radius: 8px; background: var(--ng-surface-white,#fff); color: var(--ng-text-body,#333); font: inherit; resize: vertical; }
.pdp-review-report-detail > span { justify-self: end; color: var(--ng-muted,#666); font-size: 12px; line-height: 16px; }
.pdp-review-report-detail textarea:focus-visible { outline: 2px solid var(--ng-focus,#1266c3); outline-offset: 2px; }
.pdp-review-dialog--report { padding: 0; border-radius: 16px; }
.pdp-review-dialog--report > header { margin: 0; padding: 20px 24px; }
.pdp-review-dialog--report h2 { line-height: 1.42857; }
.pdp-review-dialog--report header button { width: 24px; height: 24px; min-width: 24px; min-height: 24px; padding: 0; color: var(--ng-muted,#666); }
.pdp-review-dialog--report form { padding: 0 24px 24px; }
.pdp-review-dialog--report fieldset { gap: 16px; margin: 0 0 24px; }
.pdp-review-dialog--report form:has(.pdp-review-report-detail:not([hidden])) fieldset { margin-bottom: 16px; }
.pdp-review-dialog--report fieldset label { min-height: 24px; gap: 8px; }
.pdp-review-dialog--report input[type="radio"] { appearance: none; width: 24px; height: 24px; flex-basis: 24px; border: 1px solid var(--ng-input-border,#8D8D8D); border-radius: 50%; background: var(--ng-surface-white,#fff); cursor: pointer; }
.pdp-review-dialog--report input[type="radio"]:checked { border: 6px solid var(--ng-primary,#458500); }
.pdp-review-dialog--report .pdp-review-report-detail { position: relative; gap: 4px; }
.pdp-review-dialog--report .pdp-review-report-detail label { position: absolute; z-index: 1; top: 16px; left: 14px; display: block; margin: 0; color: var(--ng-muted,#666); line-height: 24px; pointer-events: none; }
.pdp-review-dialog--report .pdp-review-report-detail:has(textarea:focus) label,
.pdp-review-dialog--report .pdp-review-report-detail:has(textarea:not(:placeholder-shown)) label { top: -8px; padding-inline: 4px; background: var(--ng-surface-white,#fff); font-size: 12px; line-height: 16px; }
.pdp-review-dialog--report textarea { height: 99px; min-height: 99px; padding: 16px 14px 0; border-color: var(--ng-input-border,#8D8D8D); font-size: 16px; line-height: 1.42857; resize: none; }
.pdp-review-dialog--report .pdp-review-report-detail > span { line-height: 1.42857; }
.pdp-review-dialog--report .pdp-review-dialog-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pdp-review-dialog--report .pdp-review-dialog-buttons button { height: 48px; padding: 1px 8px; font-weight: 700; line-height: 1.42857; }
.pdp-review-dialog--report .pdp-review-dialog-buttons [type="submit"] { grid-column: 2; grid-row: 1; }
.pdp-review-dialog--report .pdp-review-dialog-buttons [data-review-close] { grid-column: 1; grid-row: 1; border-color: var(--ng-primary-hover,#2c7500); color: var(--ng-primary-hover,#2c7500); }
.pdp-review-dialog--report .pdp-review-dialog-buttons button:disabled { border-color: transparent; background: #f0f0f0; color: #ccc; }
html[data-device="phone"] .pdp-review-dialog--report { padding: 0; }

/* Secondary review actions: preserve the row geometry and keep feedback on the control. */
@media (hover: hover) and (pointer: fine) {
  .pdp-review-secondary [data-review-action="report"]:hover { background: var(--ng-surface-soft,#f5f5f5); text-decoration: none; }
  .pdp-review-dialog--report .pdp-review-dialog-buttons [data-review-close]:hover { background: var(--ng-surface-soft,#f5f5f5); }
  html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items button:hover { background: rgb(0 0 0 / .04); }
}
.pdp-review-secondary [data-review-action="report"]:active { background: var(--ng-surface-soft,#f5f5f5); text-decoration: none; }
.pdp-review-dialog--report .pdp-review-dialog-buttons [data-review-close]:active { background: var(--ng-surface-soft,#f5f5f5); }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items button { position: relative; box-sizing: border-box; height: 48px; min-height: 48px; margin-block: 8px; padding: 12px 0; }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items button:active { background: rgb(0 0 0 / .04); }
html[data-device="phone"] .pdp-review-dialog--menu [data-menu-share] { border-bottom: 0; }
html[data-device="phone"] .pdp-review-dialog--menu [data-menu-share]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--ng-surface,#ccc); pointer-events: none; }
/* Settled hold color measured on the public mobile review menu. */
html[data-device="phone"] .pdp-review-dialog--menu [data-menu-report] { border-radius: 8px; }
html[data-device="phone"] .pdp-review-dialog--menu .pdp-review-menu-items [data-menu-report]:active { background: var(--ng-surface,#adadad); }
