/**
 * Rating
 */
.star-rating {
	width: $wc-rating-width;
	height: $wc-rating-height;
	font-size: $wc-rating-fz;
	color: $wc-rating-rated-color;
	margin:  10px 0;
	position: relative;
	display: block;
	overflow: hidden;

	&::before {
		content: $wc-rating-icon + $wc-rating-icon + $wc-rating-icon + $wc-rating-icon + $wc-rating-icon;
		letter-spacing: $wc-rating-ls;
		color: $wc-rating-color;
		float: left;
		top: 0;
		left: 0;
		position: absolute;
		@extend %icon-font-default;
	}

	span {
		padding-top: 19px;
		overflow: hidden;
		float: left;
		top: 0;
		left: 0;
		position: absolute;

		&::before {
			letter-spacing: $wc-rating-ls;
			content: $wc-rating-icon + $wc-rating-icon + $wc-rating-icon + $wc-rating-icon + $wc-rating-icon;
			top: 0;
			position: absolute;
			left: 0;
			@extend %icon-font-default;
		}
	}

	// Single product rating
	.single-product .summary & {
		display: inline-block;
		margin: 0;
	}
}

// Single Product Reviews rating
.stars {
	display: inline-block;
	width: calc(#{$wc-rating-width} + 1em);
	height: $wc-rating-height;
	font-size: $wc-rating-fz;
	overflow: hidden;
	margin-bottom: 0;
	padding-left: 15px;

	span {
		display: block;
		line-height: 16px;
	}

	a {
		position: relative;
		height: 1em;
		width: 1em;
		text-indent: -999em;
		display: inline-block;
		text-decoration: none;
		color: $wc-rating-color;

		&:hover,
		&.active {
			color: $wc-rating-rated-color;
		}
		
		& + a {
		}

		&::before {
			letter-spacing: $wc-rating-ls;
			content: $wc-rating-icon + $wc-rating-icon + $wc-rating-icon + $wc-rating-icon + $wc-rating-icon;
			top: 0;
			position: absolute;
			left: 0;
			@extend %icon-font-default;
			display: block;
			width: 1em;
			height: 1em;
			line-height: 1;
			text-indent: 0;
		}
	}
	
	&:hover{
		a{
			color: $wc-rating-rated-color;
			
			&:hover ~ a {
				color: $wc-rating-color;
			}
		}
	}
	
	&.selected{
		a{
			&:not(.active) {
				color: $wc-rating-rated-color;
			}
			
			&.active ~ a {
				color: $wc-rating-color;
			}
		}
	}
}

.single-product{
	.woocommerce-product-rating{
		margin-bottom: 32px;
	}
}

.woocommerce-review-link{
	font-size: 16px;
	vertical-align: text-bottom;
	margin-left: 15px;
}