/* =========================
   REVIEW FORM
========================= */

.comment-respond {
	margin-top: 24px;
	padding: 20px;
	border: 1px solid #eef2f7;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

/* =========================
   FORM TITLE
========================= */

.comment-reply-title {
	display: block;
	font-size: 18px;
	font-weight: 900;
	color: #07121d;
	margin-bottom: 16px;
	letter-spacing: -0.3px;
}

/* =========================
   FORM LABELS
========================= */

.comment-form label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #07121d;
	margin-bottom: 6px;
}

/* =========================
   TEXTAREA
========================= */

.comment-form textarea {
	width: 100%;
	min-height: 130px;
	padding: 14px;
	border: 1px solid #dbe3eb;
	border-radius: 14px;
	background: #ffffff;
	font-size: 13px;
	line-height: 1.7;
	color: #07121d;
	resize: vertical;
	outline: none;
	transition: 0.2s ease;
}

.comment-form textarea:focus {
	border-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08);
}

/* =========================
   SUBMIT BUTTON
========================= */

.comment-form .submit {
	height: 42px;
	padding: 0 22px;
	border: none;
	border-radius: 999px;
	background: #16a34a;
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: 0.2s ease;
}

.comment-form .submit:hover {
	transform: translateY(-1px);
	background: #15803d;
}

/* =========================
   REVIEW FORM WRAPPER
========================= */

.tubuy-review-form-wrapper {
	margin-top: 28px;
	padding: 24px;
	border: 1px solid #eef2f7;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

/* =========================
   FORM TITLE
========================= */

.tubuy-review-form-title {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -1px;
	color: #07121d;
	margin: 0 0 26px;
}

/* =========================
   FORM
========================= */

.tubuy-review-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* =========================
   FORM GROUP
========================= */

.tubuy-review-form-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* =========================
   LABEL
========================= */

.tubuy-review-form-label {
	font-size: 14px;
	font-weight: 800;
	color: #07121d;
}

/* =========================
   STARS WRAPPER
========================= */

.tubuy-review-form-stars {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* =========================
   STAR BUTTON
========================= */

.tubuy-review-form-stars button {
	width: 46px;
	height: 46px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	color: #cbd5e1;
	font-size: 22px;
	cursor: pointer;
	transition: 0.2s ease;
}

/* =========================
   STAR HOVER
========================= */

.tubuy-review-form-stars button:hover {
	transform: translateY(-2px);
	border-color: #f59e0b;
	color: #f59e0b;
	box-shadow: 0 8px 20px rgba(245, 158, 11, 0.12);
}

/* =========================
   ACTIVE STAR
========================= */

.tubuy-review-form-stars button.is-active {
	background: #fff7ed;
	border-color: #fdba74;
	color: #f59e0b;
}

/* =========================
   TEXTAREA
========================= */

.tubuy-review-form-textarea {
	width: 100%;
	min-height: 150px;
	padding: 18px;
	border: 1px solid #dbe3eb;
	border-radius: 18px;
	background: #ffffff;
	font-size: 14px;
	line-height: 1.8;
	color: #07121d;
	outline: none;
	resize: vertical;
	transition: 0.2s ease;
}

/* =========================
   TEXTAREA FOCUS
========================= */

.tubuy-review-form-textarea:focus {
	border-color: #16a34a;
	box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}

/* =========================
   UPLOAD BUTTON
========================= */

.tubuy-review-upload {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 48px;
	padding: 0 22px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	font-size: 14px;
	font-weight: 700;
	color: #475569;
	cursor: pointer;
	transition: 0.2s ease;
}

/* =========================
   UPLOAD HOVER
========================= */

.tubuy-review-upload:hover {
	background: #f0fdf4;
	border-color: #22c55e;
	color: #16a34a;
}

/* =========================
   IMAGES PREVIEW
========================= */

.tubuy-review-images-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

/* =========================
   IMAGE ITEM
========================= */

.tubuy-review-image-item {
	position: relative;
	width: 74px;
	height: 74px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	cursor: pointer;
	transition: 0.2s ease;
}

.tubuy-review-image-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

/* =========================
   IMAGE PREVIEW
========================= */

.tubuy-review-image-preview {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================
   REMOVE BUTTON
========================= */

.tubuy-review-image-remove {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	border: none;
	border-radius: 50%;
	background: #ef4444;
	color: #ffffff;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s ease;
	z-index: 2;
}

.tubuy-review-image-remove:hover {
	transform: scale(1.08);
	background: #dc2626;
}

/* =========================
   LIGHTBOX
========================= */

.tubuy-review-lightbox {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: rgba(2, 6, 23, 0.86);
	backdrop-filter: blur(8px);
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: 0.25s ease;
}

/* =========================
   LIGHTBOX ACTIVE
========================= */

.tubuy-review-lightbox.is-active {
	opacity: 1;
	visibility: visible;
}

/* =========================
   LIGHTBOX CONTENT
========================= */

.tubuy-review-lightbox-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 980px;
}

/* =========================
   LIGHTBOX IMAGE
========================= */

.tubuy-review-lightbox-image {
	max-width: 100%;
	max-height: 82vh;
	border-radius: 22px;
	object-fit: contain;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	animation: tubuyLightboxZoom 0.25s ease;
}

/* =========================
   LIGHTBOX CLOSE
========================= */

.tubuy-review-lightbox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: #ef4444;
	color: #ffffff;
	font-size: 24px;
	font-weight: 900;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 30px rgba(239, 68, 68, 0.35);
	transition: 0.2s ease;
	z-index: 5;
}

.tubuy-review-lightbox-close:hover {
	transform: scale(1.08);
	background: #dc2626;
}

/* =========================
   LIGHTBOX ARROWS
========================= */

.tubuy-review-lightbox-prev,
.tubuy-review-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	color: #ffffff;
	font-size: 34px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s ease;
}

.tubuy-review-lightbox-prev:hover,
.tubuy-review-lightbox-next:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-50%) scale(1.06);
}

.tubuy-review-lightbox-prev {
	left: -80px;
}

.tubuy-review-lightbox-next {
	right: -80px;
}

/* =========================
   LIGHTBOX ANIMATION
========================= */

@keyframes tubuyLightboxZoom {

	from {
		transform: scale(0.92);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}

}

/* =========================
   SUBMIT BUTTON
========================= */

.tubuy-review-submit {
	height: 52px;
	padding: 0 28px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		#16a34a,
		#22c55e
	);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: 0.2s ease;
	width: fit-content;
}

/* =========================
   SUBMIT HOVER
========================= */

.tubuy-review-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

	.tubuy-review-form-wrapper {
		padding: 18px;
		border-radius: 18px;
	}

	.tubuy-review-form-title {
		font-size: 22px;
		margin-bottom: 22px;
	}

	.tubuy-review-form-stars {
		gap: 6px;
	}

	.tubuy-review-form-stars button {
		width: 40px;
		height: 40px;
		font-size: 18px;
		border-radius: 12px;
	}

	.tubuy-review-form-textarea {
		min-height: 130px;
		padding: 16px;
		border-radius: 16px;
	}

	.tubuy-review-image-item {
		width: 64px;
		height: 64px;
		border-radius: 14px;
	}

	.tubuy-review-lightbox {
		padding: 18px;
	}

	.tubuy-review-lightbox-close {
		top: -14px;
		right: -14px;
		width: 42px;
		height: 42px;
		font-size: 20px;
	}

	.tubuy-review-lightbox-prev,
	.tubuy-review-lightbox-next {
		width: 46px;
		height: 46px;
		font-size: 28px;
	}

	.tubuy-review-lightbox-prev {
		left: 10px;
	}

	.tubuy-review-lightbox-next {
		right: 10px;
	}

	.tubuy-review-submit {
		width: 100%;
	}

}