.box-estrelas-foto {
    display: flex;
    flex-direction: row; /* Mudamos de 'column' para 'row' para ficar lado a lado */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Cria um espaço bem alinhado entre as estrelas e os números */
    margin: 15px auto;
    padding: 5px 10px; /* Deixei as laterais um pouquinho mais largas para respirar */
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px; /* Borda mais arredondada fica mais elegante lado a lado */
    border: 1px solid #333;
    width: fit-content;
    transition: transform 0.2s ease;
}

.modern-star-rating {
    position: relative;
    display: inline-block;
    font-size: 18px;
    color: #444; /* Cor das estrelas vazias */
    cursor: pointer;
    line-height: 1;
    user-select: none;
    touch-action: none; /* Melhora o toque no celular */
}

.stars-bg {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

.stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffd700; /* Ouro */
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 5px rgba(255, 215, 0, 0.5); /* Brilho Neon */
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stars-hover {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #f39c12; /* Laranja suave para o hover */
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
    transition: width 0.1s, opacity 0.2s;
}

.rating-text {
    color: #ccc;
    font-size: 10px;
    font-weight: bold;
    margin-top: 0; /* Tiramos a margem de cima que empurrava para baixo */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    display: flex;
    align-items: baseline; /* Alinha os números perfeitamente pela base */
    gap: 6px;
}

.rating-text .destaque {
    color: #ffd700;
    font-size: 12px; /* Deixei a nota um pouquinho maior para dar destaque */
}

.rating-text .votos-txt {
    font-size: 12px;
    color: #888;
    font-weight: normal;
}