/* Estilos extraidos de receitas/index.php */
.recomendacoes-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.recomendacoes-scroll::-webkit-scrollbar {
    height: 6px;
}
.recomendacoes-scroll::-webkit-scrollbar-thumb {
    background: #cdcdcd;
    border-radius: 10px;
}
.recomendacoes-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease;
}
.recomendacoes-card:hover {
    transform: scale(1.02);
    color: #b00;
}
.recomendacoes-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.recomendacoes-card h6 {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Componente de Estrelas (Ratings) */
.rating-box {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    border-radius: 12px;
    padding: 20px 25px;
    display: inline-flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    margin: 25px 0;
    width: 100%;
    max-width: 380px;
}
.rating-display {
    font-size: 1.6rem;
    color: #ffca28;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.rating-display i {
    margin-right: 3px;
}
.rating-text {
    font-size: 0.90rem;
    color: #777;
    font-weight: 500;
}
.rating-interactive {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-top: 15px;
    gap: 10px;
}
.rating-interactive input {
    display: none; /* Esconde os Radio Buttons do navegador */
}
.rating-interactive label {
    cursor: pointer;
    font-size: 2rem;
    color: #e4e5e9;
    transition: color 0.2s, transform 0.2s;
}
.rating-interactive input:checked ~ label,
.rating-interactive label:hover,
.rating-interactive label:hover ~ label {
    color: #ffca28;
}
.rating-interactive label:hover {
    transform: scale(1.18);
}
