.product-reviews,
.product-reviews *,
.product-reviews *::before,
.product-reviews *::after {
	box-sizing: border-box;
}

.product-reviews {
	width: 100%;
	font-family: "Roboto", sans-serif;
}

.product-reviews__layout {
	display: flex;
	align-items: flex-start;
	gap: 96px;
}

.product-reviews__main {
	flex: 1 1 auto;
	width: 926px;
	max-width: 100%;
	min-width: 0;
}

.product-reviews__sidebar {
	flex: 1 1 458px;
	min-width: 280px;
	max-width: 458px;
}

.product-reviews__header {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 24px;
}

.product-reviews__title {
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	line-height: 32px;
	color: #1c2126;
}

.product-reviews__count {
	font-weight: 500;
	font-size: 20px;
	line-height: 32px;
	color: #888;
}

.product-reviews__toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 40px;
}

.product-reviews__sort {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-reviews__sort-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 12px;
	border: 2px solid #e7e8ea;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	line-height: 20px;
	color: #888;
	cursor: pointer;
}

.product-reviews__sort-btn.is-active {
	border-color: #ff5a00;
	color: #1c2126;
}

.product-reviews__platforms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.product-reviews__platform {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	height: 38px;
	padding: 8px 16px 6px;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #f2f4f9;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #888;
	cursor: pointer;
}

.product-reviews__platform img {
	display: block;
	flex-shrink: 0;
}

.product-reviews__platform.is-active {
	border-color: #ff5a00;
	color: #1c2126;
	background: #fff;
}

.product-reviews__platform--all.is-active {
	color: #1c2126;
}

.product-reviews__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-reviews__item.is-hidden {
	display: none;
}

.product-reviews__card {
	padding: 24px;
	background: #fff;
	border: 1px solid #e7e8ea;
	border-bottom: 0;
}

.product-reviews__card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
}

.product-reviews__author {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.product-reviews__avatar {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 32px;
	overflow: hidden;
	background: #f2f4f9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 20px;
	color: #1c2126;
}

.product-reviews__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-reviews__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.product-reviews__name {
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	color: #000;
}

.product-reviews__date {
	font-size: 14px;
	line-height: 20px;
	color: #888;
}

.product-reviews__stars {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.product-reviews__stars img {
	display: block;
}

.product-reviews__text-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-reviews__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: #000;
}

.product-reviews__text--full[hidden] {
	display: none;
}

.product-reviews__text-wrap.is-expanded .product-reviews__text[data-short] {
	display: none;
}

.product-reviews__text-wrap.is-expanded .product-reviews__text--full {
	display: block;
}

.product-reviews__more {
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 16px;
	line-height: 24px;
	color: #888;
	cursor: pointer;
	text-align: left;
}

.product-reviews__text-wrap.is-expanded .product-reviews__more {
	color: #ff5a00;
}

.product-reviews__card-footer {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 8px 24px 24px;
	border: 0 solid #e7e8ea;
	border-width: 0 1px 1px;
	background: #fff;
}

.product-reviews__utile-label {
	font-size: 14px;
	line-height: 20px;
	color: #888;
}

.product-reviews__reactions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.product-reviews__reaction {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	background: #f7f7f7;
	font-size: 14px;
	line-height: 20px;
	color: #888;
}

.product-reviews__reaction svg {
	display: block;
}

.product-reviews__reaction-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: inherit;
}

.product-reviews__reaction--active {
	background: #fff0e8;
	color: #ff5a00;
}

.product-reviews__reaction--active svg {
	color: #ff5a00;
}

.product-reviews__show-more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 16px;
	padding: 14px 24px;
	border: 0;
	background: #f7f7f7;
	font-weight: 500;
	font-size: 16px;
	font-family: "Roboto", sans-serif;
	line-height: 24px;
	color: #1c2126;
	cursor: pointer;
}

.product-reviews__show-more.is-hidden {
	display: none;
}

.product-reviews__summary {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.product-reviews__summary-score {
	font-weight: 500;
	font-size: 64px;
	line-height: 64px;
	color: #1c2126;
}

.product-reviews__summary-count {
	font-size: 16px;
	line-height: 24px;
	color: #888;
}

.product-reviews__breakdown {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-reviews__breakdown-row {
	display: grid;
	grid-template-columns: 108px 110px 1fr;
	align-items: center;
	gap: 32px;
}

.product-reviews__breakdown-stars .product-reviews__stars {
	gap: 2px;
}

.product-reviews__breakdown-count {
	font-size: 14px;
	line-height: 20px;
	color: #888;
	white-space: nowrap;
	min-width: 0;
}

.product-reviews__breakdown-bar {
	height: 8px;
	background: #e7e8ea;
	overflow: hidden;
}

.product-reviews__breakdown-fill {
	height: 100%;
	background: #ff5a00;
}

.product-reviews__leave-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 24px;
	background: #f7f7f7;
	color: #1c2126;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
}

.product-reviews__leave-btn:hover {
	color: #1c2126;
	background: var(--Borders-Border-1, #E7E8EA);
}

@media (max-width: 1200px) {
	.product-reviews__layout {
		flex-direction: column;
		gap: 40px;
	}

	.product-reviews__main,
	.product-reviews__sidebar {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.product-reviews__toolbar {
		flex-direction: column;
		gap: 16px;
		margin-bottom: 0;
	}

	.product-reviews__platforms {
		overflow-x: auto;
		flex-wrap: wrap;
		width: 100%;
		gap: 8px;
	}

	.product-reviews__card-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.product-reviews__breakdown-row {
		grid-template-columns: auto 1fr;
		gap: 8px 16px;
	}

	.product-reviews__breakdown-bar {
		display: none;
	}
}

@media all and (max-width: 767px) {
	.product-detail-v2__section--reviews {
		background: #f7f7f7;
	}

	.product-reviews__layout {
		display: flex;
		flex-direction: column;
		gap: 32px;
		width: 100%;
	}

	.product-reviews__main {
		display: contents;
	}

	.product-reviews__sidebar {
		display: contents;
	}

	.product-reviews__header {
		order: 1;
		margin-bottom: 0;
		width: 100%;
	}

	.product-reviews__toolbar {
		order: 2;
		width: 100%;
	}

	.product-reviews__summary {
		order: 3;
		gap: 24px;
		width: 100%;
	}

	.product-reviews__leave-btn {
		order: 4;
		align-self: stretch;
		width: auto;
		max-width: none;
		margin-top: 0;
		padding: 12px 24px;
		text-align: center;
		box-sizing: border-box;
	}

	.product-reviews__list {
		order: 5;
		gap: 24px;
	}

	.product-reviews__show-more {
		order: 6;
		margin-top: 0;
	}

	.product-reviews__sort {
		gap: 10px;
	}

	.product-reviews__sort-btn {
		padding: 9px 12px;
	}

	.product-reviews__platform {
		height: auto;
		min-height: 38px;
		gap: 8px;
		padding: 8px 16px 6px;
	}

	.product-reviews__platform--all {
		font-weight: 600;
	}

	.product-reviews__item {
		display: flex;
		flex-direction: column;
		background: #fff;
		border: 2px solid #e7e8ea;
	}

	.product-reviews__card {
		padding: 20px 16px 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.product-reviews__card-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		margin-bottom: 24px;
	}

	.product-reviews__author {
		gap: 16px;
	}

	.product-reviews__avatar {
		width: 48px;
		height: 48px;
	}

	.product-reviews__name {
		font-family: "Roboto", sans-serif;
		font-size: 18px;
		line-height: 24px;
		font-weight: 500;
		color: #111827;
	}

	.product-reviews__date {
		font-family: "Roboto", sans-serif;
		font-size: 13px;
		line-height: 20px;
		color: #555b66;
	}

	.product-reviews__stars img {
		width: 20px;
		height: 20px;
	}

	.product-reviews__text-wrap {
		gap: 16px;
	}

	.product-reviews__text {
		font-size: 15px;
		line-height: 22px;
	}

	.product-reviews__more {
		font-size: 15px;
		line-height: 22px;
	}

	.product-reviews__card-footer {
		padding: 24px 16px 20px;
		border: 0;
		gap: 16px;
		background: transparent;
	}

	.product-reviews__summary-score {
		font-size: 64px;
		line-height: 64px;
	}

	.product-reviews__breakdown-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.product-reviews__breakdown-count {
		margin-left: auto;
	}
}
