/*
 * trustoo-runtime.css — as regras que o Trustoo injeta por JavaScript.
 *
 * Os arquivos .css do Trustoo trazem só a base. As dimensões e cores reais vêm
 * de um <style> que o seal-review.min.js monta em runtime a partir das
 * configurações da loja. Como esse JS não roda na vitrine (o backend deles
 * valida domínio), essas regras sumiam — e sem elas a estrela do card renderiza
 * no tamanho bruto do SVG (24px em vez de 14px) e a miniatura de foto vai a
 * 488px em vez de 100px.
 *
 * Extraído do site de referência em 17/08/2026 lendo as folhas inline do
 * documento renderizado. Verbatim, só com a URL do sprite trocada por local.
 */

.vstar-star.tt-right { text-align: right; }
.vstar-star.tt-center { text-align: center; }
.vstar-star > * { display: inline-block; vertical-align: middle; }
.vstar-star .star-item { height: auto; margin-right: 2px; font-size: 0px; line-height: normal; }
.vstar-star .star-item.nostar .trustoo-rating-icon path { fill: var(--nostar-color); }
.vstar-star .star-item.half-star > .item-nostar .trustoo-rating-icon path { fill: var(--nostar-color); }
.vstar-star .star-item .trustoo-rating-icon path { fill: var(--star-color); }
.vstar-star .star-item.half-star { position: relative; }
.vstar-star .item-star { position: absolute; inset: 0px; overflow: hidden; width: 100%; height: 100%; font-size: 0px; }
.vstar-star .item-nostar { font-size: 0px; }
.vstar-star i.trustoo-icon-star,
.vstar-star i.trustoo-icon-nostar { display: inline; }
.vstar-star.collection-icon-list,
.vstar-star.product-icon-list { max-inline-size: inherit; }
.vstar-star { --star-color: #ffa500; --nostar-color: #E6E6E6; }

#vstar-reviews:not(.page-width, .wrapper, .site-wrapper) {
  max-width: 1440px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  margin: 0px auto;
}

#vstar-reviews #reviews-body .trustoo-badge-icon { width: 14px; height: 14px; }
#vstar-reviews .user-verified .trustoo-badge-icon { margin-right: 4px; }

/* tamanhos de estrela por contexto — a origem das divergências de altura */
.product-icon-list.vstar-star .star-item,
.product-icon-list.vstar-star .trustoo-rating-icon { width: 14px; height: 14px; max-width: none; stroke: none; }
.collection-icon-list .star-item,
.collection-icon-list .trustoo-rating-icon { width: 16px; height: 16px; }
#vstar-reviews > #reviews-head .star-item,
#vstar-reviews > #reviews-head .trustoo-rating-icon { width: 20px; height: 20px; }
.trustoo-widget #reviews-body .star-item,
.trustoo-widget #reviews-body .trustoo-rating-icon { width: 14px; height: 14px; }
.noreviews-nostar .star-item,
.noreviews-nostar .trustoo-rating-icon { width: 20px; height: 20px; }

#vstar-reviews #reviews-head { display: flex; }
#vstar-reviews .head-sort { width: 40px; height: 40px; box-sizing: border-box; }
#vstar-reviews .head-sort .sort-content { position: relative; width: 100%; height: 100%; }
#vstar-reviews #reviews-body { position: relative; }

/* miniatura de foto dentro do card */
#vstar-reviews .list-review .img-item,
#vstar-reviews .list-review .resource-item { overflow: hidden; width: 100px; height: 100px; }

#vstar-reviews #reviews-body .reviews-text { line-height: 140%; }
#vstar-reviews #reviews-body svg { vertical-align: middle; }
.trustoo-widget #reviews-body .reviews-text { font-size: 14px; }
.trustoo-widget .resource-item { border-radius: 4px; }
#vstar-reviews .tt-reviews-album .review-item > img { border-radius: 4px; }
#reviews-head i { font-size: 20px; }

/* paleta da loja */
#reviews-wrapper,
#noreviews-wrapper {
  background-color: rgb(255, 255, 255);
  --font-color: #303030;
  --font-color-o4: rgba(48, 48, 48, 0.4);
  --font-color-o7: rgba(48, 48, 48, 0.7);
  --font-color-o8: rgba(48, 48, 48, 0.8);
  --font-size: 14px;
  --bg-color: #FFFFFF;
  --badge-text-color: #303030;
  --badge-color: #303030;
  --card-color: #FFFFFF;
  --box-bg-color: #FFFFFF;
  --button-radius: 2px;
  --button-color: #303030;
  --button-bd-color: #FFFFFF;
  --button-border-color: #303030;
  --line-color: #D9D9D9;
  --reply-bg-color: #F2F2F2;
  --avatar-text-color: #303030;
  --avatar-bg-color: #EEEEEE;
  --attr-bg-color: #f2f2f2;
  --attr-color: #303030;
  --star-color: #ffa500;
  --nostar-color: #E6E6E6;
}

.trustoo-widget {
  /* sprite servido localmente (no original vem do cdn.vstar.app) */
  --sprites-image-url: url(../images/trustoo/trustoo_sprites.webp);
  --tab-title-color: #303030;
  --tab-title-line-color: #E6E6E6;
  --question-color: #303030;
  --question-color-o8: rgba(48, 48, 48, 0.8);
}

/* widget de estrelas inline, ao lado do preço */
#seal-star-rating-widget { display: flex; }
#seal-star-rating-widget > .product-icon-list { margin: 0px !important; }
.product-icon-list .nostar .trustoo-rating-icon path { fill: var(--nostar-color); }
.product-icon-list .item-nostar > .trustoo-rating-icon path { fill: var(--nostar-color); }
.product-icon-list .trustoo-rating-icon path { fill: var(--star-color); }
.product-icon-list.vstar-star .star-item { margin-right: 2px; }
.product-icon-list .product-reviews-num,
.product-icon-list .tt-rating-text {
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  line-height: 14px;
  margin: 2px 6px 0px;
  color: rgb(88, 88, 88);
  font-size: 12px;
}

.shopify-block.shopify-app-block:has(> [data-app="trustoo"]) { width: 100%; }
