.wc-block-layout {
	.wc-block-components-product-rating {
		display: block;
		margin-top: 0;
		margin-bottom: $gap-small;

		&__stars {
			overflow: hidden;
			position: relative;
			width: 5.3em;
			height: 1.618em;
			line-height: 1.618;
			font-size: 1em;
			/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
			font-family: star;
			font-weight: 400;
			margin: 0 auto;
			text-align: left;

			&::before {
				content: "\53\53\53\53\53";
				top: 0;
				left: 0;
				right: 0;
				position: absolute;
				opacity: 0.5;
				color: #aaa;
				white-space: nowrap;
			}
			span {
				overflow: hidden;
				top: 0;
				left: 0;
				right: 0;
				position: absolute;
				padding-top: 1.5em;
			}
			span::before {
				content: "\53\53\53\53\53";
				top: 0;
				left: 0;
				right: 0;
				position: absolute;
				color: #000;
				white-space: nowrap;
			}
		}
	}
	.wc-block-single-product {
		.wc-block-components-product-rating__stars {
			margin: 0;
		}
	}
}
