.review-text [hidden] { display: none !important; }
.review-text-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; margin-top: 4px; }
.review-translate, .review-text .review-expand { min-height: 36px; padding: 5px 0; border: 0; color: var(--muted, #62606b); background: none; font-family: inherit; font-size: 12px; cursor: pointer; }
.review-translate { text-decoration: underline; text-underline-offset: 3px; }
.review-translate:disabled { opacity: .65; cursor: wait; }
.review-translation-status { color: var(--muted, #62606b); font-size: 12px; line-height: 1.5; }
.review-text p { white-space: pre-line; overflow-wrap: anywhere; }
.review-card-foot > span { color: var(--muted, #62606b); font-size: 11px; }
.review-video-placeholder { display: block; width: 100%; height: 100%; min-height: 90px; background: #eeedf1; }
.comment-reply-context { color: var(--quiet, #777); }
.review-media-item video, .detail-media-tile video { pointer-events: none; }
.review-video-play { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 30px; height: 30px; padding-left: 2px; transform: translate(-50%, -50%); border-radius: 50%; color: #fff; background: #17181db3; box-shadow: 0 1px 10px #0002; font: 12px/1 sans-serif; pointer-events: none; }
.detail-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.detail-media-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 0; border-radius: 0; background: transparent; color: inherit; }
.detail-media-tile[hidden] { display: none; }
.detail-media-tile img, .detail-media-tile video { width: 100%; height: 100%; aspect-ratio: auto; display: block; object-fit: contain; }
.detail-media-tile:focus-visible { outline: 2px solid #7922aa; outline-offset: 2px; }
.review-media-expand { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 40px; margin-top: 9px; padding: 8px 12px; border: 1px solid var(--line, #e8e7e4); border-radius: 10px; background: var(--paper, #f6f5f2); color: var(--ink, #171717); font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.review-media-expand[hidden] { display: none; }
html.review-media-locked { overflow: hidden !important; overscroll-behavior: none; }
body.review-media-locked { position: fixed !important; inset: var(--review-media-scroll-top, 0) 0 auto !important; width: 100% !important; overflow: hidden !important; overscroll-behavior: none; }
.review-media-viewer { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; color: #fff; background: #191a20; overscroll-behavior: none; }
.review-media-viewer[open] { display: grid; grid-template-rows: calc(54px + env(safe-area-inset-top, 0px)) minmax(0, 1fr) auto; }
.review-viewer-actions { padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; justify-content: center; align-items: center; background: #191a20; }
.review-viewer-step { flex: 0 0 44px; height: 44px; border: 1px solid #777; border-radius: 50%; color: #fff; background: transparent; font: 30px/1 sans-serif; cursor: pointer; }
.review-viewer-step:disabled { opacity: .3; cursor: default; }
.review-viewer-contact { min-height: 44px; width: min(100%, 420px); display: flex; justify-content: center; align-items: center; padding: 10px 20px; border-radius: 999px; background: #fff; color: #222; font: 600 14px/1.4 sans-serif; text-decoration: none; }
.review-video-error { position: absolute; inset: auto 12px 75px; padding: 12px; color: #fff; background: #222e; border-radius: 10px; text-align: center; font: 13px/1.5 sans-serif; }
.review-video-error[hidden] { display: none; }
.review-video-error button, .review-video-error a { display: inline-flex; align-items: center; min-height: 40px; margin: 4px 6px 0; padding: 4px 10px; color: white; border: 1px solid #aaa; border-radius: 6px; background: transparent; font: inherit; text-decoration: none; }
.review-media-viewer::backdrop { background: #191a20; }
.review-viewer-header { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: env(safe-area-inset-top, 0px) max(14px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); background: #191a20; }
.review-viewer-header { user-select: none; -webkit-user-select: none; }
.review-viewer-counter { font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: #eeeef0; }
.review-viewer-close { position: relative; display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 44px; padding: 0; color: #fff; background: transparent; border: 0; border-radius: 0; appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent; outline: none; box-shadow: none; cursor: pointer; }
.review-viewer-close:focus { outline: none; box-shadow: none; }
.review-viewer-close svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.review-viewer-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; box-sizing: border-box; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; pointer-events: none; }
.review-viewer-close:focus-visible::after { border-color: #fff; border-width: 2px; }
.review-viewer-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; touch-action: none; }
.review-viewer-track { display: flex; width: 100%; height: 100%; will-change: transform; }
.review-viewer-track.is-settling { transition: transform 300ms ease; }
.review-viewer-slide { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.review-viewer-slide img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; touch-action: none; transform-origin: center; pointer-events: auto; user-select: auto; -webkit-user-select: auto; -webkit-touch-callout: default; -webkit-user-drag: none; }
.review-viewer-slide video { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .review-viewer-track.is-settling { transition: none; } }

/* Review pagination remains separate from product pagination. */
.review-page-navigation { display: flex; justify-content: center; align-items: center; gap: 14px; }
.review-page-navigation a, .review-page-navigation > span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 104px; padding: 10px 18px; border: 1px solid var(--line, #e8e7e4); border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.review-page-navigation a { color: var(--ink, #171717); background: var(--surface, #fff); }
.review-page-navigation [aria-disabled="true"] { color: var(--muted, #62606b); opacity: .5; }
.review-page-navigation a:focus-visible { outline: 2px solid #7922aa; outline-offset: 3px; }
