.container {
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.product-header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.avg-rating {
    font-size: 1.4em;
    color: #ffa41c;
}

.star-summary .bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.star-summary .progress {
    flex: 1;
    background: #ddd;
    height: 8px;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
}

.star-summary .progress div {
    height: 100%;
    background: #ffa41c;
}

.add-review textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 5px;
}

.add-review button {
    background: #ffa41c;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

.reviews-list .review {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.reviews-list .review strong {
    color: #000;
}

.reviews-list .review .stars {
    color: #ffa41c;
}

.rating-stars {
    display: flex;
    gap: 5px;
    font-size: 30px;
    cursor: pointer;
}

.rating-stars .star {
    color: #ccc;
    /* Unfilled star color */
    transition: color 0.2s ease;
}

.rating-stars .star.filled {
    color: #FFD700;
    /* Gold for filled stars */
}