/* Поля форми відгуку */
.ctr-media-fields {
	margin: 16px 0;
	padding: 14px 16px;
	border: 1px dashed #ccc;
	border-radius: 8px;
	background: #fafafa;
}

.ctr-field {
	margin-bottom: 12px;
}

.ctr-hint {
	display: block;
	font-size: 12px;
	color: #777;
	margin-top: 4px;
}

.ctr-field-notice .ctr-hint {
	color: #999;
	font-style: italic;
}

.ctr-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.ctr-preview img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.ctr-preview video {
	max-width: 160px;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.ctr-field-error {
	color: #c0392b;
	font-size: 12px;
	margin-top: 4px;
	display: block;
}

/* Позначка підтвердженої покупки */
.ctr-verified-badge {
	display: inline-block;
	background: #eafaf1;
	color: #1e8449;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	margin: 0 0 8px 0;
}

/* Галерея фото у відгуку */
.ctr-review-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.ctr-review-photos img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.15s ease;
	border: 1px solid #e2e2e2;
}

.ctr-review-photos img:hover {
	transform: scale(1.05);
}

/* Відео у відгуку */
.ctr-review-video {
	margin-top: 10px;
}

.ctr-review-video video {
	max-width: 320px;
	border-radius: 8px;
	display: block;
}

/* Кнопка "Корисно" */
.ctr-helpful {
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ctr-helpful-btn {
	background: #f2f2f2;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ctr-helpful-btn:hover {
	background: #e6e6e6;
}

.ctr-helpful-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.ctr-helpful-count {
	font-size: 13px;
	color: #555;
	font-weight: 600;
}

/* Лайтбокс для фото */
.ctr-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
}

.ctr-lightbox-overlay img {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 6px;
}

.ctr-lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
}
