.cg-reviews-shell {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 56px;
}

.cg-reviews-shell__viewport {
	position: relative;
}

.cg-reviews-shell__track-wrap {
	overflow: hidden;
}

.cg-reviews-shell__track {
	display: flex;
	gap: 20px;
	transition: transform .35s ease;
	will-change: transform;
}

.cg-review-card {
	flex: 0 0 calc(20% - 16px);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(0,0,0,.08);
	overflow: hidden;
	cursor: pointer;
}

.cg-review-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
	background: #f3f3f3;
}

.cg-review-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cg-review-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: rgba(255,255,255,.86);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #666;
}

.cg-review-card__stars {
	width: fit-content;
	margin: -18px auto 0;
	position: relative;
	z-index: 2;
	background: #fff;
	border-radius: 14px;
	padding: 12px 18px;
	box-shadow: 0 8px 22px rgba(0,0,0,.10);
	font-size: 18px;
	color: #e2b117;
	letter-spacing: 2px;
}

.cg-review-card__body {
	padding: 22px 22px 24px;
	text-align: center;
}

.cg-review-card__name-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 22px;
	font-weight: 600;
	color: #111;
	margin-bottom: 12px;
}

.cg-review-card__verified {
	font-size: 16px;
}

.cg-review-card__text {
	font-size: 18px;
	line-height: 1.45;
	color: #222;
}

.cg-reviews-shell__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 64px;
	height: 64px;
	border: none;
	border-radius: 999px;
	background: rgba(255,255,255,.95);
	box-shadow: 0 8px 20px rgba(0,0,0,.1);
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
}

.cg-reviews-shell__arrow--prev {
	left: -30px;
}

.cg-reviews-shell__arrow--next {
	right: -30px;
}

.cg-review-modal[hidden] {
	display: none;
}

.cg-review-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.cg-review-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.55);
}

.cg-review-modal__dialog {
	position: relative;
	width: min(1180px, calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	margin: 24px auto;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	z-index: 2;
}

.cg-review-modal__close {
	position: absolute;
	left: 18px;
	top: 18px;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 8px;
	background: rgba(0,0,0,.18);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
}

.cg-review-modal__main {
	display: grid;
	grid-template-columns: 58% 42%;
	min-height: 620px;
}

.cg-review-modal__left {
	background: #ddd;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.cg-review-modal__media-main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d9d9d9;
	min-height: 520px;
}

.cg-review-modal__media-main img,
.cg-review-modal__media-main video {
	max-width: 100%;
	max-height: 520px;
	display: block;
	object-fit: contain;
	background: #000;
}

.cg-review-modal__thumbs {
	display: flex;
	gap: 12px;
	padding: 16px 20px 20px;
	justify-content: center;
	background: #d9d9d9;
}

.cg-review-modal__thumb {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	background: #fff;
	padding: 0;
}

.cg-review-modal__thumb.is-active {
	border-color: #999;
}

.cg-review-modal__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cg-review-modal__right {
	padding: 34px 30px 26px;
	display: flex;
	flex-direction: column;
}

.cg-review-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 10px;
}

.cg-review-modal__name-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 600;
	color: #111;
}

.cg-review-modal__date {
	font-size: 16px;
	color: #777;
}

.cg-review-modal__stars {
	font-size: 18px;
	color: #e2b117;
	letter-spacing: 2px;
	margin-bottom: 18px;
}

.cg-review-modal__content {
	font-size: 18px;
	line-height: 1.55;
	color: #222;
	flex: 1;
}

.cg-review-modal__product {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
	display: flex;
	gap: 16px;
	align-items: center;
}

.cg-review-modal__product-image {
	width: 82px;
	height: 82px;
	object-fit: cover;
	border-radius: 8px;
	background: #f2f2f2;
}

.cg-review-modal__product-title {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 12px;
}

.cg-review-modal__product-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 10px;
	background: #f1f1f1;
	color: #111;
	text-decoration: none;
	font-size: 16px;
}

@media (max-width: 1024px) {
	.cg-review-card {
		flex: 0 0 calc(33.333% - 14px);
	}

	.cg-review-modal__main {
		grid-template-columns: 1fr;
	}

	.cg-review-modal__media-main {
		min-height: 420px;
	}
}

@media (max-width: 767px) {
	.cg-reviews-shell {
		padding: 0 20px;
	}

	.cg-review-card {
		flex: 0 0 calc(100% - 8px);
	}

	.cg-reviews-shell__arrow {
		width: 48px;
		height: 48px;
		font-size: 34px;
	}

	.cg-reviews-shell__arrow--prev {
		left: -8px;
	}

	.cg-reviews-shell__arrow--next {
		right: -8px;
	}

	.cg-review-modal__dialog {
		width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
		margin: 10px auto;
	}

	.cg-review-modal__right {
		padding: 22px 18px;
	}

	.cg-review-modal__content {
		font-size: 16px;
	}
}