/**
 * OrderGate Flagship Flash — Photo reviews (G8) frontend styles.
 * Review form input + thumbnails under review text + lightbox.
 */

.comment-form-review-photos {
	margin: 0 0 1em;
}

.comment-form-review-photos label {
	display: block;
	margin-bottom: 0.25em;
	font-weight: 600;
}

.comment-form-review-photos label small {
	font-weight: 400;
	color: #666;
}

.og-review-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-top: 0.75em;
}

.og-review-photo {
	padding: 0;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: none;
	cursor: zoom-in;
	overflow: hidden;
}

.og-review-photo img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.og-review-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba( 0, 0, 0, 0.85 );
	padding: 2em;
}

.og-review-lightbox img {
	max-width: 100%;
	max-height: 90vh;
	border-radius: 8px;
}

.og-review-lightbox-close {
	position: absolute;
	top: 1em;
	right: 1em;
	width: 2.5em;
	height: 2.5em;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 1.1em;
	cursor: pointer;
}

/* Comment edit screen (admin). */
.og-review-photos-admin {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

.og-review-photos-admin li {
	text-align: center;
}

.og-review-photos-admin img {
	display: block;
	border-radius: 4px;
	margin-bottom: 0.4em;
}
