// single product rating
.woocommerce-product-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;


	.woocommerce-review-link {
		font-size: 12px;
		--theme-link-initial-color: var(--theme-text-color);
	}
}


// comment form rating
.comment-form-rating {
	display: flex;
	align-items: center;

	label {
		margin-bottom: 0;
		font-size: 12px;
		font-weight: 500;
		text-transform: uppercase;
	}

	.stars {
		color: var(--star-rating-initial-color, #fda256);

		span {
			display: flex;
			margin-inline-start: 4px;
		}

		a {
			font-size: 0;
			text-decoration: none;
			color: currentColor;
			padding-inline: 4px;

			&:before {
				display: block;
				font-family: 'star';
				font-size: 14px;
				content: '\73';
				line-height: 1;
			}
		}

		&:has(a:hover) a:before,
		&.selected a:before {
			content: '\53';
		}

		a:hover ~ a:before,
		&.selected a.active ~ a:before {
			content: '\73';
		}
	}
}
