.comment-form-review-image {
	margin: 1.6em 0;
	padding: 1.1em 1.2em;
	background: #f7f7f7;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
}

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

.comment-form-review-image input[type="file"] {
	display: block;
	font-size: 0.9em;
}

/* The rest of the form's tail (cookie-consent checkbox, Submit button)
   sat jammed directly against the photo field and each other with no
   breathing room — space them out consistently. */
.comment-form-cookies-consent {
	margin: 0 0 1.4em;
}

.form-submit {
	margin-top: 0.4em;
}

/* `display: block` (not inline-block) is what matters here — the photo
   link sits right inside the same <p> as the review text with no line
   break, so without it the thumbnail jams up against the last word of the
   review instead of dropping to its own line. */
.bigbaa-review-photo {
	display: block;
	width: 84px;
	margin-top: 0.85em;
}

.bigbaa-review-photo img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bigbaa-review-photo:hover img {
	transform: scale(1.04);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.bigbaa-review-photo {
	cursor: zoom-in;
}

/* ---- Lightbox ---- */

body.bigbaa-lightbox-open {
	overflow: hidden;
}

.bigbaa-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 32px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.bigbaa-lightbox.is-open {
	display: flex;
	opacity: 1;
}

.bigbaa-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.bigbaa-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.bigbaa-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 576px) {
	.bigbaa-lightbox {
		padding: 16px;
	}

	.bigbaa-lightbox__close {
		top: 10px;
		right: 10px;
		width: 38px;
		height: 38px;
		font-size: 24px;
	}
}
