
/*
*   Stars Rating Styles
*/
#rate-it {
	display: none !important;
}

.rating-stars {
	font-size: 15px;
}

.rating-stars i {
	margin-right: 2px;
	color: #d2d2d2;
}

.rating-stars i.rated:after {
	color: #edb867;
}

.stars-avg-rating {
	text-align: center;
	font-size: 18px;
	margin: 20px 0;
	clear: both;
}

.stars-avg-rating .rating-stars {
	font-size: 18px;
	margin-right: 10px;
}

/*** Settings Preferences Style ***/
.rating-stars i:after {
	content: "";
	/* FontAwesome: outline star (fa-star-o) */
	color: #d2d2d2;
	font-family: FontAwesome;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}

/* Style class is on the <span> wrapper, so use a descendant selector. */
.rating-stars.stars-style-solid i:after {
	content: "";
}

/*** Disabling the rating bar for reply comment form ***/
.comment #respond #stars-rating-review {
	display: none;
}

/*** Lower Rating Alert ***/
.low-rating-alert-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
}

.low-rating-alert-wrap {
	max-width: 500px;
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .3);
	text-align: center;
	font-size: 16px;
}

.low-rating-alert-wrap p {
	margin: 0 0 30px;
}

.low-rating-alert-wrap a {
	padding: 8px 14px;
	margin: 0 5px;
	cursor: pointer;
	background: #1dbf73;
	border-radius: 4px;
	text-decoration: none;
	color: white;
}

.low-rating-alert-wrap a:hover {
	background: #00a32a;
}

.low-rating-alert-wrap #post-rating {
	background: #b94a48;
}

.low-rating-alert-wrap #contact-before-rating:hover {
	background: #be3631;
}

.low-rating-alert-wrap i {
	font-size: 50px;
	color: orange;
	margin-bottom: 20px;
}

/*** Inline rating validation error ***/
.sr-rating-error {
	color: #d63638;
	font-size: 13px;
	margin: 6px 0 0;
	padding: 0;
	display: none;
}

/*** Review photo upload widget ***/
.sr-photo-upload-wrap {
	margin: 10px 0 4px;
}

.sr-photo-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1.5px dashed #cbd5e1;
	border-radius: 7px;
	background: #f8fafc;
	cursor: pointer;
	font-size: 13px;
	color: #64748b;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
	user-select: none;
}

.sr-photo-label:hover {
	border-color: #494ced;
	background: #eef2ff;
	color: #494ced;
}

.sr-photo-icon {
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
	line-height: 1 !important;
	vertical-align: middle;
	margin-right: 2px;
}

/* Hide the native file input — label acts as the click target */
.sr-photo-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Photo thumbnail preview strip (before upload) */
.sr-photo-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.sr-photo-thumb {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 5px;
	border: 1px solid #e2e8f0;
}

/* Photo grid displayed inside approved comments */
.sr-review-photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.sr-review-photos .sr-lb-trigger {
	display: block;
	flex-shrink: 0;
	line-height: 0;
	cursor: zoom-in;
	padding: 0;
	margin: 0;
	background: none;
	border: none;
	outline: none;
}

.sr-review-photos .sr-lb-trigger img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	display: block;
	transition: opacity .15s ease, transform .15s ease;
}

.sr-review-photos .sr-lb-trigger:hover img {
	opacity: .82;
	transform: scale(1.04);
}

.sr-review-photos .sr-lb-trigger:focus-visible {
	outline: 2px solid #494ced;
	outline-offset: 2px;
	border-radius: 7px;
}

/* Hide the upload widget on reply (nested) comment forms */
.comment #respond .sr-photo-upload-wrap {
	display: none;
}

/* ==========================================================================
   Review Photo Lightbox
   ========================================================================== */

/* Fullscreen fixed container — hidden by default */
.sr-lb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.sr-lb[hidden] {
	display: none !important;
}

/* Semi-transparent backdrop */
.sr-lb-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .92);
	cursor: zoom-out;
}

/* Close button — top-right corner */
.sr-lb-close {
	position: fixed;
	top: 18px;
	right: 22px;
	z-index: 2;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, transform .12s ease;
	padding: 0;
}

.sr-lb-close:hover {
	background: rgba(255, 255, 255, .22);
	transform: scale(1.1);
}

/* Row: prev arrow + image + next arrow */
.sr-lb-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 96vw;
	max-height: 88vh;
	padding: 0 6px;
}

/* Prev / Next arrow buttons */
.sr-lb-prev, .sr-lb-next {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, transform .12s ease;
	padding: 0;
	padding-bottom: 2px;
}

.sr-lb-prev:hover, .sr-lb-next:hover {
	background: rgba(255, 255, 255, .22);
	transform: scale(1.08);
}

/* Image wrapper — constrains the image to the viewport */
.sr-lb-img-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: calc(96vw - 140px);
	max-height: 88vh;
}

.sr-lb-img {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, .7);
	transition: opacity .18s ease;
}

/* Loading spinner */
.sr-lb-spinner {
	position: absolute;
	width: 34px;
	height: 34px;
	border: 3px solid rgba(255, 255, 255, .15);
	border-top-color: rgba(255, 255, 255, .85);
	border-radius: 50%;
	animation: sr-lb-spin .65s linear infinite;
	display: none;
}

@keyframes sr-lb-spin {
	to {
		transform: rotate(360deg);
	}
}

/* "1 / 3" counter at the bottom */
.sr-lb-counter {
	position: fixed;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: rgba(255, 255, 255, .65);
	font-size: 13px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: .08em;
	pointer-events: none;
}

/* Mobile: smaller arrows (swipe handles navigation) */
@media ( max-width: 600px ) {
	.sr-lb-content {
		gap: 6px;
	}
	
	.sr-lb-prev, .sr-lb-next {
		width: 38px;
		height: 38px;
		font-size: 22px;
	}
	
	.sr-lb-img-wrap {
		max-width: calc(96vw - 96px);
	}
}
