/**
 * Single-product review block only.
 * Every rule is scoped to #reviews on a product page so shop, home,
 * checkout order review, and the star rating beside the product title stay unchanged.
 */

body.single-product #reviews.woocommerce-Reviews {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	column-gap: 48px;
	row-gap: 22px;
	align-items: start;
	width: 100%;
	margin: 0;
}

body.single-product #reviews.woocommerce-Reviews > #comments {
	display: contents;
}

body.single-product #reviews.woocommerce-Reviews > .clear {
	display: none;
}

body.single-product .elementor-element-27bc864 .elementor-heading-title {
	text-align: left;
}

body.single-product #reviews .cr-summaryBox-wrap {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
}

body.single-product #reviews #review_form_wrapper {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	float: none;
}

body.single-product #reviews .woocommerce-Reviews-title {
	display: block;
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 8px 0 0;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a1a;
}

body.single-product #reviews .commentlist {
	grid-column: 1 / -1;
	grid-row: 3;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.single-product #reviews .woocommerce-pagination {
	grid-column: 1 / -1;
	grid-row: 4;
	margin: 0;
}

body.single-product #reviews .woocommerce-noreviews {
	grid-column: 1;
	grid-row: 1;
	align-self: center;
	margin: 0;
	color: #6b6b6b;
}

body.single-product #reviews .cr-summaryBox-wrap .cr-overall-rating-wrap,
body.single-product #reviews .cr-summaryBox-wrap .ivole-summaryBox {
	width: 100%;
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.single-product #reviews .cr-summaryBox-wrap .cr-overall-rating-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

body.single-product #reviews .cr-summaryBox-wrap .cr-average-rating {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	color: #1a1a1a;
}

body.single-product #reviews .cr-summaryBox-wrap .cr-average-rating-stars {
	margin: 8px 0 0;
	line-height: 0;
}

body.single-product #reviews .cr-summaryBox-wrap .cr-total-rating-count {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.4;
	color: #6b6b6b;
}

body.single-product #reviews .crstar-rating-svg .cr-rating-icon-base .cr-rating-icon-bg {
	stroke: #f5b400;
}

body.single-product #reviews .crstar-rating-svg .cr-rating-icon-frnt .cr-rating-icon {
	fill: #f5b400;
}

body.single-product #reviews .cr-summaryBox-wrap .cr-histogramTable {
	width: 100%;
	max-width: none;
	margin: 18px 0 0;
}

body.single-product #reviews .cr-histogramTable .ivole-histogramRow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
}

body.single-product #reviews .cr-histogramTable .ivole-histogramRow:last-child {
	margin-bottom: 0;
}

body.single-product #reviews .cr-histogramTable .ivole-histogramRow .ivole-histogramCell1,
body.single-product #reviews .cr-histogramTable .ivole-histogramRow .ivole-histogramCell2,
body.single-product #reviews .cr-histogramTable .ivole-histogramRow .ivole-histogramCell3 {
	padding: 0;
}

body.single-product #reviews .cr-histogramTable .ivole-histogramRow .ivole-histogramCell1 {
	flex: 0 0 86px;
	width: 86px;
	min-width: 86px;
}

body.single-product #reviews .cr-histogramTable .ivole-histogramRow .ivole-histogramCell2 {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

body.single-product #reviews .cr-histogramTable .ivole-histogramRow .ivole-histogramCell3 {
	flex: 0 0 24px;
	width: 24px;
	min-width: 24px;
	font-size: 14px;
	line-height: 1;
	color: #3a3a3a;
	text-align: right;
}

body.single-product #reviews .cr-histogram-rating-icon {
	display: none;
}

body.single-product #reviews .cr-histogram-rating-label {
	justify-content: flex-start;
}

body.single-product #reviews .cr-histogram-rating-value {
	font-size: 0;
	line-height: 1;
	letter-spacing: 1px;
	color: #f5b400;
}

body.single-product #reviews .ivole-histogramRow:nth-child(1) .cr-histogram-rating-value::before {
	content: "★★★★★";
	font-size: 13px;
}

body.single-product #reviews .ivole-histogramRow:nth-child(2) .cr-histogram-rating-value::before {
	content: "★★★★";
	font-size: 13px;
}

body.single-product #reviews .ivole-histogramRow:nth-child(3) .cr-histogram-rating-value::before {
	content: "★★★";
	font-size: 13px;
}

body.single-product #reviews .ivole-histogramRow:nth-child(4) .cr-histogram-rating-value::before {
	content: "★★";
	font-size: 13px;
}

body.single-product #reviews .ivole-histogramRow:nth-child(5) .cr-histogram-rating-value::before {
	content: "★";
	font-size: 13px;
}

body.single-product #reviews .ivole-meter {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #ececec;
	box-shadow: none;
}

body.single-product #reviews .ivole-meter .ivole-meter-bar {
	height: 100%;
	border-radius: 999px;
	background: #f5b400;
	box-shadow: none;
	color: transparent;
	font-size: 0;
}

body.single-product #reviews .ivole-meter .ivole-meter-bar::before {
	display: none;
}

body.single-product #reviews #review_form {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.single-product #reviews #reply-title {
	display: block;
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a1a;
}

body.single-product #reviews #commentform {
	margin: 0;
	padding: 0;
}

body.single-product #reviews #commentform p {
	float: none;
	clear: both;
	width: 100%;
	margin: 0 0 14px;
}

body.single-product #reviews #commentform .comment-notes {
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b6b6b;
}

body.single-product #reviews #commentform label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a1a;
}

body.single-product #reviews #commentform .required {
	color: #d23b3b;
}

body.single-product #reviews .comment-form-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

body.single-product #reviews .comment-form-rating > label {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	white-space: nowrap;
}

body.single-product #reviews .comment-form-rating > label::after {
	content: " *";
	color: #d23b3b;
}

body.single-product.woocommerce #reviews #commentform .comment-form-rating p.stars {
	float: none;
	display: inline-block;
	width: auto;
	margin: 0;
}

body.single-product #reviews #commentform input[type="text"],
body.single-product #reviews #commentform input[type="email"],
body.single-product #reviews #commentform textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #e4e4e4;
	background: #fff;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: none;
}

body.single-product #reviews #commentform input[type="text"],
body.single-product #reviews #commentform input[type="email"] {
	height: 44px;
	padding: 0 16px;
	border-radius: 999px;
}

body.single-product #reviews #commentform textarea {
	min-height: 148px;
	padding: 12px 16px;
	border-radius: 16px;
	resize: vertical;
}

body.single-product #reviews #commentform input[type="text"]:focus,
body.single-product #reviews #commentform input[type="email"]:focus,
body.single-product #reviews #commentform textarea:focus {
	border-color: #f5b400;
	outline: none;
}

body.single-product #reviews p.stars {
	margin: 0;
	line-height: 1;
}

body.single-product #reviews p.stars a {
	color: #f5b400;
}

body.single-product #reviews p.stars a::before {
	color: #e6e6e6;
}

body.single-product #reviews p.stars:hover a::before,
body.single-product #reviews p.stars.selected a::before {
	color: #f5b400;
}

body.single-product #reviews p.stars a:hover ~ a::before,
body.single-product #reviews p.stars.selected a.active ~ a::before {
	color: #e6e6e6;
}

body.single-product #reviews .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

body.single-product #reviews .comment-form-cookies-consent input {
	flex: 0 0 auto;
	width: auto;
	margin: 3px 0 0;
}

body.single-product #reviews .comment-form-cookies-consent label {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: #3a3a3a;
}

body.single-product #reviews #commentform .form-submit {
	margin: 4px 0 0;
}

body.single-product #reviews #commentform #submit {
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 11px 28px;
	border: 0;
	border-radius: 999px;
	background: #f5a623;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
}

body.single-product #reviews #commentform #submit:hover,
body.single-product #reviews #commentform #submit:focus {
	background: #e39b12;
	color: #fff;
}

body.single-product #reviews #comments ol.commentlist li {
	float: none;
	width: auto;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid #ededed;
	border-radius: 12px;
	background: #fff;
	list-style: none;
	box-sizing: border-box;
}

body.single-product #reviews #comments ol.commentlist li .comment_container {
	display: block;
}

body.single-product #reviews #comments ol.commentlist li img.avatar {
	display: none;
}

body.single-product #reviews #comments ol.commentlist li .comment-text {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.single-product #reviews #comments ol.commentlist li .meta {
	order: 1;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.4;
}

body.single-product #reviews .woocommerce-review__author {
	color: #1a1a1a;
	font-weight: 700;
}

body.single-product #reviews .woocommerce-review__dash {
	display: none;
}

body.single-product #reviews .woocommerce-review__published-date {
	flex: 0 0 auto;
	color: #8a8a8a;
	font-size: 13px;
	font-weight: 400;
}

body.single-product #reviews .star-rating {
	order: 2;
	float: none;
	margin: 0 0 10px;
	font-size: 14px;
}

body.single-product #reviews .star-rating::before {
	color: #e6e6e6;
}

body.single-product #reviews .star-rating span::before {
	color: #f5b400;
}

body.single-product #reviews #comments ol.commentlist li .description {
	order: 3;
	margin: 0;
	color: #3a3a3a;
	font-size: 14px;
	line-height: 1.6;
}

body.single-product #reviews #comments ol.commentlist li .description p {
	margin: 0;
}

@media (max-width: 900px) {
	body.single-product #reviews.woocommerce-Reviews {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
		row-gap: 20px;
	}

	body.single-product #reviews .cr-summaryBox-wrap,
	body.single-product #reviews .woocommerce-noreviews {
		grid-column: 1;
		grid-row: 1;
	}

	body.single-product #reviews #review_form_wrapper {
		grid-column: 1;
		grid-row: 2;
	}

	body.single-product #reviews .woocommerce-Reviews-title {
		grid-column: 1;
		grid-row: 3;
	}

	body.single-product #reviews .commentlist {
		grid-column: 1;
		grid-row: 4;
		grid-template-columns: minmax(0, 1fr);
	}

	body.single-product #reviews .woocommerce-pagination {
		grid-column: 1;
		grid-row: 5;
	}
}
