/* Product review list */
body.single-product #reviews {
	color: #f6f4f4;
}

body.single-product #reviews #comments .woocommerce-Reviews-title {
	margin: 0 0 20px;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.3;
}

body.single-product #reviews #comments ol.commentlist {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.single-product #reviews #comments ol.commentlist > li {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body.single-product #reviews #comments ol.commentlist .comment_container > .avatar {
	display: none !important;
}

body.single-product #reviews #comments ol.commentlist .comment-text {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 17px 20px;
	border: 1px solid rgba(246, 244, 244, .18);
	border-radius: 8px;
	background: transparent;
	text-align: left;
	overflow-wrap: anywhere;
}

body.single-product #reviews #comments ol.commentlist .comment-text .meta {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
}

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

body.single-product #reviews .woocommerce-review__dash {
	font-size: 0;
}

body.single-product #reviews .woocommerce-review__dash::before {
	content: '·';
	font-size: 14px;
	color: #aaa3a5;
}

body.single-product #reviews .woocommerce-review__published-date {
	font-size: 13px;
	color: #aaa3a5;
}

body.single-product #reviews #comments .description {
	color: #e9e5e6;
	font: inherit;
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}

body.single-product #reviews #comments .description > :first-child { margin-top: 0; }
body.single-product #reviews #comments ol.commentlist .comment-text .description > :last-child { margin-bottom: 0; }

body.single-product #reviews #comments .description p > em:last-child,
body.single-product #reviews #comments .description p > i:last-child {
	font-size: .88em;
	color: #aaa3a5;
}

body.single-product #reviews #comments .star-rating {
	float: none;
	margin: 0 0 8px;
	font-size: 14px;
	color: #e2c489;
}

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

body.single-product #reviews #comments .cr-comment-images {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	margin-top: 12px;
}

body.single-product #reviews #comments .cr-comment-images .iv-comment-image {
	float: none;
	margin: 0;
	border: 0;
}

body.single-product #reviews #comments .cr-comment-images .iv-comment-image a {
	display: block;
}

body.single-product #reviews #comments .cr-comment-images .iv-comment-image img {
	display: block;
	box-sizing: border-box;
	width: 76px;
	height: 76px;
	max-width: none;
	max-height: 76px;
	object-fit: cover;
	border-radius: 6px;
}

body.single-product #reviews #comments .cr-comment-images > div[style*="clear"] {
	display: none;
}

/* Product review form */
body.single-product #reviews #review_form_wrapper {
	margin-top: 32px;
}

body.single-product #reviews #review_form {
	max-width: 760px;
}

body.single-product #reviews #reply-title {
	display: block;
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

body.single-product #reviews #commentform label {
	color: #e9e5e6;
	font-size: 14px;
}

body.single-product #reviews #commentform p.stars {
	margin: 6px 0 18px;
}

body.single-product #reviews #commentform p.stars span {
	display: inline-flex;
	gap: 4px;
}

body.single-product #reviews #commentform p.stars a {
	box-sizing: border-box;
	width: 38px;
	height: 38px;
	margin: 0;
	font-size: 28px;
	line-height: 38px;
}

body.single-product #reviews #commentform p.stars a::before {
	font-size: 28px;
	line-height: 38px;
	color: #aaa3a5;
}

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

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

body.single-product #reviews #commentform p.stars a:focus-visible {
	outline: 2px solid #e2c489;
	outline-offset: 2px;
}

body.single-product #reviews #commentform textarea#comment,
body.single-product #reviews #commentform input[type="text"],
body.single-product #reviews #commentform input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid rgba(246, 244, 244, .27);
	border-radius: 7px;
	background: #221b1c;
	color: #f6f4f4;
	font: inherit;
	font-size: 15px;
	line-height: 1.55;
}

body.single-product #reviews #commentform textarea#comment {
	min-height: 150px;
	resize: vertical;
}

body.single-product #reviews #commentform textarea#comment:focus,
body.single-product #reviews #commentform input[type="text"]:focus,
body.single-product #reviews #commentform input[type="email"]:focus {
	border-color: #e2c489;
	outline: 2px solid rgba(226, 196, 137, .25);
	outline-offset: 1px;
}

body.single-product #reviews .zhabei-review-upload-heading {
	display: block;
	margin: 2px 0 4px;
	font-size: 14px;
	font-weight: 700;
}

body.single-product #reviews #commentform .cr-upload-images-status {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #aaa3a5;
	overflow-wrap: anywhere;
}

body.single-product #reviews #commentform .cr-upload-images-status-error {
	padding: 8px 10px;
	border: 1px solid #c96060;
	border-radius: 6px;
	background: #3b2225;
	color: #ffe5e5;
}

body.single-product #reviews #commentform #cr_review_image {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 16px;
	padding: 10px;
	border: 1px dashed rgba(246, 244, 244, .27);
	border-radius: 7px;
	background: #221b1c;
	color: #aaa3a5;
	font: inherit;
	font-size: 13px;
}

body.single-product #reviews #commentform #cr_review_image::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;
	border: 1px solid rgba(246, 244, 244, .45);
	border-radius: 5px;
	background: transparent;
	color: #f6f4f4;
	font: inherit;
	cursor: pointer;
}

body.single-product #reviews #commentform #cr_review_image:hover::file-selector-button,
body.single-product #reviews #commentform #cr_review_image:focus-visible::file-selector-button {
	border-color: #f6f4f4;
	background: rgba(246, 244, 244, .08);
}

body.single-product #reviews #commentform #submit {
	min-height: 46px;
	padding: 9px 18px;
	border: 2px solid #f6f4f4;
	border-radius: 7px;
	background: transparent;
	color: #f6f4f4;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

body.single-product #reviews #commentform #submit:hover,
body.single-product #reviews #commentform #submit:focus-visible {
	background: #f6f4f4;
	color: #181112;
}

@media (max-width: 600px) {
	body.single-product #reviews #comments ol.commentlist .comment-text {
		padding: 15px;
	}

	body.single-product #reviews #comments .cr-comment-images .iv-comment-image img {
		width: 72px;
		height: 72px;
		max-height: 72px;
	}

	body.single-product #reviews #review_form_wrapper {
		margin-top: 28px;
	}
}
