/* Рейтинг звёздами — визуал как у bitrix:iblock.vote / red_stars */

.wsm_reviews_rating_custom {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 10px;
	gap: 0 10px;
}

.wsm_reviews_rating_custom .rating-label {
	color: #000;
	font-size: 12px;
	line-height: 30px;
	margin: 0;
	padding: 0 10px 0 0;
}

.wsm_reviews_rating_custom .bx_item_rating {
	text-align: left;
}

.wsm_reviews_rating_custom .bx_stars_container {
	position: relative;
	width: 98px;
	height: 30px;
	background: #bababa;
	background-size: 100% 100%;
}

.wsm_reviews_rating_custom .bx_stars_bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 101;
	background: url(images/stars.png) no-repeat center;
}

.wsm_reviews_rating_custom .bx_stars_progres {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	background: #cd2027;
	max-width: 100%;
}

.wsm_reviews_rating_custom .bx_stars_rating_votes {
	color: #7c7c7c;
	font-size: 12px;
	line-height: 12px;
	vertical-align: middle;
}

.wsm_reviews_rating_custom--short .bx_stars_container {
	width: 34px;
	height: 15px;
	margin: 4px 0;
}

.wsm_reviews_rating_custom--short .rating-label {
	line-height: 15px;
}

.wsm_reviews_rating_custom--short .bx_stars_rating_votes {
	font-size: 7px;
	line-height: 7px;
}

@media (max-width: 530px) {
	.bx-touch .wsm_reviews_rating_custom .bx_stars_container {
		width: 34px;
		height: 15px;
		margin: 4px 0;
	}

	.bx-touch .wsm_reviews_rating_custom .bx_stars_rating_votes {
		font-size: 7px;
		line-height: 7px;
	}
}
