/* GRO Review Widgets */
.gro-rw{--gro-rw-accent:#f5a524;--gro-rw-line:rgba(0,0,0,.1);--gro-rw-soft:rgba(0,0,0,.035)}
.gro-rw-stars{position:relative;display:inline-block;font-size:17px;line-height:1;letter-spacing:2px;vertical-align:middle;color:#d1d5db}
.gro-rw-stars::before{content:"★★★★★"}
.gro-rw-stars__fill{position:absolute;inset:0 auto 0 0;overflow:hidden;white-space:nowrap;color:var(--gro-rw-accent)}
.gro-rw-stars__fill::before{content:"★★★★★"}
.gro-rw-stars--lg{font-size:24px}
.gro-rw-stars--sm{font-size:14px}
.gro-rw-stars--xs{font-size:12px;letter-spacing:1px}

.gro-rw-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 18px}
.gro-rw-summary{display:flex;flex-wrap:wrap;gap:24px;align-items:center;flex:1 1 420px}
.gro-rw-summary__title{width:100%;margin:0}
.gro-rw-summary__score{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:140px}
.gro-rw-summary__avg{font-size:44px;font-weight:700;line-height:1}
.gro-rw-summary__count{font-size:13px;opacity:.75}
.gro-rw-summary__bars{flex:1 1 220px;display:flex;flex-direction:column;gap:5px;max-width:360px}
.gro-rw-bar{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;padding:2px 4px;border:0;background:none;font:inherit;color:inherit;font-size:13px;border-radius:6px;text-align:left}
button.gro-rw-bar{cursor:pointer}
button.gro-rw-bar:hover,button.gro-rw-bar.is-on{background:var(--gro-rw-soft)}
.gro-rw-bar__track{height:8px;border-radius:99px;background:rgba(0,0,0,.08);overflow:hidden}
.gro-rw-bar__track span{display:block;height:100%;background:var(--gro-rw-accent);border-radius:99px}
.gro-rw-bar__n{opacity:.7;text-align:right}
.gro-rw-summary__criteria{display:flex;flex-direction:column;gap:4px;font-size:13px}
.gro-rw-crit{display:grid;grid-template-columns:80px auto 30px;gap:8px;align-items:center}

.gro-rw-photos{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;margin:0 0 14px;scrollbar-width:thin}
.gro-rw-photos--grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));overflow:visible}
.gro-rw-photo{flex:0 0 auto;display:block;width:92px;height:92px;border-radius:8px;overflow:hidden;background:#f3f4f6}
.gro-rw-photos--grid .gro-rw-photo{width:auto;height:auto;aspect-ratio:1}
.gro-rw-photo img{width:100%;height:100%;object-fit:cover;display:block;margin:0!important;transition:transform .2s}
.gro-rw-photo:hover img{transform:scale(1.05)}

.gro-rw-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}
.gro-rw-chips{display:flex;flex-wrap:wrap;gap:6px}
.gro-rw-chip{padding:6px 12px;border:1px solid var(--gro-rw-line);border-radius:99px;background:#fff;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.gro-rw-chip.is-on{background:#111;border-color:#111;color:#fff}
.gro-rw.is-loading .gro-rw-list{opacity:.5;transition:opacity .2s}

.gro-rw-list{display:flex;flex-direction:column;gap:14px}
.gro-rw-review{position:relative}
.gro-rw--cards .gro-rw-review{padding:16px 18px;border:1px solid var(--gro-rw-line);border-radius:12px;background:#fff}
.gro-rw--clean .gro-rw-review{padding:14px 0;border-bottom:1px solid var(--gro-rw-line)}
.gro-rw-review__head{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.gro-rw-avatar{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--gro-rw-soft);font-weight:700;font-size:13px}
.gro-rw-review__who{display:flex;flex-direction:column;line-height:1.3;flex:1;min-width:0}
.gro-rw-verified{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:#15803d}
.gro-rw-review time{font-size:12px;opacity:.65;white-space:nowrap}
.gro-rw-review__product{display:block;font-size:13px;font-weight:600;margin:4px 0 0}
.gro-rw-review__criteria{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:6px 0 0}
.gro-rw-review__text{margin:8px 0 0}
.gro-rw-review__text p{margin:0 0 .6em}
.gro-rw-review__media{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.gro-rw-review__media .gro-rw-photo{width:76px;height:76px}
.gro-rw-review__media video{width:150px;max-height:110px;border-radius:8px;object-fit:cover}
.gro-rw-reply{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--gro-rw-accent);background:var(--gro-rw-soft);border-radius:0 8px 8px 0;font-size:14px}
.gro-rw-reply p{margin:.3em 0 0}
.gro-rw-helpful{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:13px}
.gro-rw-helpful button{padding:3px 9px;border:1px solid var(--gro-rw-line);border-radius:99px;background:none;cursor:pointer;font:inherit;font-size:12px;color:inherit}
.gro-rw-helpful.is-done button{cursor:default;opacity:.6}
.gro-rw-helpful button.is-on{opacity:1;border-color:#111}
.gro-rw-more-wrap{text-align:center;margin:16px 0}
.gro-rw-criteria-fields{display:flex;flex-wrap:wrap;gap:12px}
.gro-rw-criteria-field label{display:block}

.gro-rw-heading{margin:0 0 14px}
.gro-rw-widget .gro-rw-summary{margin:0 0 16px}
.gro-rw-carousel{position:relative}
.gro-rw-carousel__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 8px}
.gro-rw-carousel__track::-webkit-scrollbar{display:none}
.gro-rw-carousel__track .gro-rw-review{flex:0 0 min(320px,85%);scroll-snap-align:start}
.gro-rw-carousel__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:38px;border-radius:50%;border:0;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.2);font-size:24px;line-height:1;cursor:pointer;color:#111}
.gro-rw-carousel__nav--prev{left:-10px}
.gro-rw-carousel__nav--next{right:-10px}
@media (hover:none){.gro-rw-carousel__nav{display:none}}
.gro-rw-grid{columns:3 280px;column-gap:16px}
.gro-rw-grid .gro-rw-review{break-inside:avoid;margin:0 0 16px}
.gro-rw-inline{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
.gro-rw-inline__text{font-size:14px}
.gro-rw-loop{display:inline-flex;align-items:center;gap:4px}
.gro-rw-loop__n{font-size:12px;opacity:.7}

.gro-rw-viewer{position:fixed;inset:0;width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(10,10,10,.94);display:flex;align-items:center;justify-content:center}
.gro-rw-viewer:not([open]){display:none}
.gro-rw-viewer img{max-width:94vw;max-height:88vh;object-fit:contain}
.gro-rw-viewer button{position:absolute;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.gro-rw-viewer__close{top:16px;right:16px}
.gro-rw-viewer__prev{left:16px;top:50%;transform:translateY(-50%)}
.gro-rw-viewer__next{right:16px;top:50%;transform:translateY(-50%)}

.gro-rw-badge{position:fixed;bottom:18px;z-index:9980}
.gro-rw-badge--left{left:18px}
.gro-rw-badge--right{right:18px}
.gro-rw-badge__btn{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border:0;border-radius:99px;background:#fff;color:#111;box-shadow:0 2px 14px rgba(0,0,0,.18);font:inherit;font-size:14px;cursor:pointer}
.gro-rw-badge__star{color:var(--gro-rw-accent);font-size:17px}
.gro-rw-badge__panel{width:min(460px,calc(100vw - 24px));max-height:min(640px,calc(100vh - 40px));padding:0 16px 16px;border:0;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.3);overflow:auto}
.gro-rw-badge__panel::backdrop{background:rgba(0,0,0,.35)}
.gro-rw-badge__head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:14px 0 10px;background:#fff;z-index:1}
.gro-rw-badge__close{border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:inherit}
.gro-rw-badge__panel .gro-rw-summary{margin:0 0 14px}
@media (prefers-reduced-motion:reduce){.gro-rw-photo img{transition:none}}
