.avrSecaoResumoAvaliacoes {
  background: #ffffff;
  padding: 12px 10px 18px;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

.avrCabecalhoResumoAvaliacoes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.avrTituloResumoAvaliacoes {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.avrTotalResumoAvaliacoes {
  color: #667085;
  font-weight: 500;
}

.avrBotaoVerMaisAvaliacoes {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.avrSetaVerMaisAvaliacoes {
  font-size: 18px;
  line-height: 1;
}

.avrLinhaNotaResumo {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
}

.avrNotaNumeroResumo {
  font-size: 13px;
  font-weight: 700;
}

.avrNotaBarraResumo {
  font-size: 13px;
  color: #667085;
}

.avrEstrelasResumo,
.avrEstrelasComTexto,
.avrEstrelasReview {
  color: #f59e0b;
  letter-spacing: 1px;
  line-height: 1;
}

.avrEstrelaResumo {
  font-size: 15px;
}

.avrListaPreviewAvaliacoes,
.avrListaCompletaAvaliacoes {
  display: flex;
  flex-direction: column;
}

.avrListaPreviewAvaliacoes {
  margin-top: 16px;
}

.avrCardReview {
  padding: 13px 0 15px;
  border-bottom: 1px solid #eef2f6;
}

.avrCardReview:first-child {
  padding-top: 0;
}

.avrCardReview:last-child {
  border-bottom: none;
}

.avrLinhaClienteReview {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.avrNomeClienteReview {
  color: #111827;
  font-size: 14px;
  font-weight: 650;
}

.avrBadgeCompraReview {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #99f0cf;
  background: #ecfff7;
  color: #10b981;
  font-size: 12px;
  font-weight: 500;
}

.avrEstrelasReview {
  margin-top: 7px;
  font-size: 15px;
}

.avrTextoReview {
  margin-top: 9px;
  color: #172033;
  font-size: 13px;
  line-height: 1.52;
}

.avrFotosReview {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.avrFotosReview::-webkit-scrollbar {
  display: none;
}

.avrFotosReview img {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
}

.avrVideoThumb {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
}

.avrVideoThumb img {
  width: 100%;
  height: 100%;
  flex: none;
  border-radius: 0;
}

.avrVideoThumbPlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
}

.avrVideoThumbPlay svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.avrTelaCompletaAvaliacoes {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #ffffff;
  display: none;
  color: #111827;
}

.avrTelaCompletaAvaliacoes.avrTelaAberta {
  display: block;
}

body.avrTravaRolagemAvaliacoes {
  overflow: hidden;
}

.avrCabecalhoTelaCompleta {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 40px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
}

.avrBotaoVoltarTelaCompleta {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}

.avrBotaoVoltarTelaCompleta svg {
  width: 22px;
  height: 22px;
}

.avrCabecalhoTelaCompleta h2 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.avrCorpoTelaCompleta {
  height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
}

.avrResumoCompleto {
  padding: 18px 12px 14px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  border-bottom: 1px solid #eef2f6;
}

.avrNotaGrandeCompleta strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: #111827;
}

.avrEstrelasComTexto {
  margin-top: 8px;
  font-size: 15px;
}

.avrNotaGrandeCompleta span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 11px;
}

.avrDistribuicaoNotas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avrLinhaDistribuicao {
  display: grid;
  grid-template-columns: 28px 1fr 34px;
  gap: 8px;
  align-items: center;
  color: #667085;
  font-size: 12px;
}

.avrLinhaDistribuicao div {
  height: 7px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}

.avrLinhaDistribuicao i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
}

.avrLinhaDistribuicao b {
  font-weight: 500;
  text-align: right;
}

.avrBadgesResumoCompleto {
  padding: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid #eef2f6;
  scrollbar-width: none;
}

.avrBadgesResumoCompleto::-webkit-scrollbar {
  display: none;
}

.avrBadgesResumoCompleto span {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #b8f1d9;
  background: #ecfff7;
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
}

.avrBadgesResumoCompleto span:nth-child(2) {
  border-color: #d8e1ea;
  background: #f7fafc;
  color: #64748b;
}

.avrFiltrosAvaliacoes {
  padding: 10px 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  scrollbar-width: none;
}

.avrFiltrosAvaliacoes::-webkit-scrollbar {
  display: none;
}

.avrFiltrosAvaliacoes button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid #dbe3ec;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.avrFiltrosAvaliacoes .avrFiltroAtivo {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.avrListaCompletaAvaliacoes {
  padding: 14px 12px 32px;
}

.avrListaCompletaAvaliacoes .avrFotosReview img {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
}

/* ── Lightbox ── */
.avrLightbox {
  position: fixed;
  inset: 0;
  z-index: 50000;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.avrLightbox.avrLightboxAberto {
  display: flex;
}

body.avrTravaLightbox {
  overflow: hidden;
}

.avrLightboxFechar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.avrLightboxFechar svg {
  width: 20px;
  height: 20px;
}

.avrLightboxConteudo {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avrLightboxConteudo img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
}

.avrLightboxConteudo video {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  background: #000000;
}

@media (min-width: 641px) {
  .avrSecaoResumoAvaliacoes {
    max-width: 768px;
    margin: 0 auto;
  }

  .avrTelaCompletaAvaliacoes {
    left: 50%;
    right: auto;
    width: 420px;
    transform: translateX(-50%);
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
  }
}
