/* Reviews from Amazon, eBay and more, by Gravity Host. Copyright (c) 2026 GK Tools Ltd. All rights reserved. Licensed for one live shop per licence, see LICENSE.txt; sharing or reselling is not allowed. Download ID: marketplace */
/* Reviews: the score line, the section on the product page and the score on product cards. Colours
   follow the theme's own text and link colours; stars are a mask, so they take any colour, and
   switch with Fresh's dark mode. */
:root { --gk-rv-star: #b86e00; --gk-rv-star-off: #c9d3d5; --gk-rv-line: rgba(0, 0, 0, .12); --gk-rv-soft: inherit; }
:root[data-theme="dark"] { --gk-rv-star: #ffb627; --gk-rv-star-off: #4e6e78; --gk-rv-line: rgba(255, 255, 255, .16); }
.gk-rv-stars { position: relative; display: inline-block; width: 85px; height: 16px; vertical-align: -2px; flex: none; background: var(--gk-rv-star-off); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 16'%3E%3Cpath d='M8.5 0.6l2.3 4.9 5.3.6-3.9 3.6 1.1 5.3-4.8-2.7-4.8 2.7 1.1-5.3L.9 6.1l5.3-.6z'/%3E%3C/svg%3E") repeat-x 0 0 / 17px 16px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 16'%3E%3Cpath d='M8.5 0.6l2.3 4.9 5.3.6-3.9 3.6 1.1 5.3-4.8-2.7-4.8 2.7 1.1-5.3L.9 6.1l5.3-.6z'/%3E%3C/svg%3E") repeat-x 0 0 / 17px 16px; }
.gk-rv-stars > span { position: absolute; inset: 0 auto 0 0; background: var(--gk-rv-star); }
/* Between the price and the Add to Cart box, with the same 12px those blocks keep (D1691). */
.gk-rv-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 12px 0; line-height: 1.25; }
.gk-rv-line a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gk-rv-card { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 2px 0 6px; font-size: 13px; line-height: 1.3; }
/* Slightly smaller stars on cards, so "4.4 on Amazon UK (103)" stays on one line in a narrow card. */
.gk-rv-card .gk-rv-stars { width: 72px; height: 14px; -webkit-mask-size: 14.4px 14px; mask-size: 14.4px 14px; }
/* Themes that push the price to the foot of the card and order its parts (Fresh puts the rating
   third and the price fourth): the stars take the rating's place and go down with the price. */
.product-thumb .caption > .gk-rv-card { order: 3; margin-top: auto; }
.product-thumb .caption > .gk-rv-card + .price { margin-top: 0; }
.gk-rv { clear: both; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--gk-rv-line); }
.gk-rv h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.2; }
.gk-rv-scores { display: grid; gap: 10px; margin-bottom: 20px; }
.gk-rv-score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.gk-rv-checked { opacity: .8; font-size: 13px; }
.gk-rv-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gk-rv-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gk-rv-tools label { margin: 0; font-weight: 600; }
.gk-rv-tools select, .gk-rv-tools .form-control { display: inline-block; width: auto; max-width: 100%; min-height: 44px; }
.gk-rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.gk-rv-item { padding: 16px 0; border-bottom: 1px solid var(--gk-rv-line); }
.gk-rv-item[hidden] { display: none; }
.gk-rv-item > p { margin: 8px 0 0; max-width: 70ch; overflow-wrap: anywhere; }
.gk-rv-item details { margin-top: 6px; font-size: 14px; }
.gk-rv-item summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.gk-rv-item details p { margin: 6px 0 0; max-width: 70ch; }
.gk-rv-meta { font-size: 13px; opacity: .85; }
.gk-rv-more { margin-top: 16px; min-height: 44px; }
