.om-review-rating-fields {
	margin: 0 0 20px;
	padding: 14px;
	border: 1px solid #e2e5e9;
	border-radius: 12px;
	background: #fafbfc;
}

.om-review-rating-fields h3 {
	margin: 0 0 5px;
	font-size: 16px;
}

.om-review-rating-help {
	margin: 0 0 14px;
	color: #6c757d;
	font-size: 13px;
}

.om-review-rating-field {
	margin: 0;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid #eceff2;
}

.om-review-rating-field:last-child {
	border-bottom: 0;
}

.om-review-rating-field legend {
	margin: 0 0 7px;
	font-weight: 600;
}

.om-review-rating-field .required {
	color: #d63638;
}

.om-review-stars {
	display: inline-flex;
	direction: ltr;
}

.om-review-stars input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.om-review-stars label {
	color: #c3c4c7;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: color .15s ease, transform .15s ease;
}

.om-review-stars label:hover,
.om-review-stars label:hover ~ label,
.om-review-stars input:checked ~ label {
	color: #f4b400;
}

.om-review-stars label:hover {
	transform: scale(1.08);
}

.om-review-stars input:focus-visible + label {
	outline: 2px solid #2271b1;
	outline-offset: 3px;
	border-radius: 2px;
}

.om-store-rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	direction: rtl;
	font-weight: 700;
	white-space: nowrap;
}

.om-store-rating-star {
	color: #f4b400;
	font-size: 1.15em;
	line-height: 1;
}

.om-store-rating-value {
	line-height: 1;
}

.om-store-rating-count {
	color: #7b838c;
	font-size: .85em;
	font-weight: 500;
	line-height: 1;
}

.om-review-cards {
	display: grid;
	gap: 14px;
}

.om-review-card {
	padding: 18px;
	border: 1px solid #e2e5e9;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .04);
}

.om-review-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.om-review-store {
	display: block;
	margin-top: 3px;
	color: #6c757d;
	font-size: 12px;
}

.om-review-status {
	flex: 0 0 auto;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}

.om-review-status.is-approved {
	color: #087f5b;
	background: #d3f9d8;
}

.om-review-status.is-pending {
	color: #a61e4d;
	background: #fff0f6;
}

.om-review-card-rating {
	margin-bottom: 8px;
	color: #f4b400;
	letter-spacing: 1px;
	direction: ltr;
	text-align: right;
}

.om-review-card-criteria {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 10px;
}

.om-review-card-criteria span {
	padding: 5px 8px;
	border-radius: 7px;
	background: #f1f3f5;
	color: #495057;
	font-size: 11px;
}

.om-review-content p,
.om-review-reply p {
	margin: 0;
}

.om-review-card time {
	display: block;
	margin-top: 9px;
	color: #868e96;
	font-size: 11px;
}

.om-review-replies {
	display: grid;
	gap: 7px;
	margin-top: 13px;
}

.om-review-reply {
	padding: 10px 12px;
	border-radius: 9px;
	background: #f8f9fa;
	font-size: 13px;
}

.om-review-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 15px;
}

.om-review-action {
	padding: 7px 14px;
	border: 1px solid #d8dde2;
	border-radius: 8px;
	background: #f8f9fa;
	color: #212529;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.om-review-action:hover {
	background: #e9ecef;
}

.om-review-action:disabled {
	opacity: .45;
	cursor: default;
}

.om-review-approve:not(:disabled) {
	color: #087f5b;
}

.om-review-reject:not(:disabled) {
	color: #c92a2a;
}

.om-review-reply-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .55);
}

.om-review-reply-modal {
	width: min(480px, 100%);
	padding: 22px;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.om-review-reply-modal h3 {
	margin: 0 0 14px;
}

.om-review-reply-modal label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.om-review-reply-modal textarea {
	display: block;
	width: 100%;
	min-height: 130px;
	padding: 10px;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	resize: vertical;
	font: inherit;
}

.om-review-reply-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 14px;
}

.om-review-reply-modal button {
	padding: 8px 15px;
	border: 1px solid #d8dde2;
	border-radius: 8px;
	font: inherit;
	cursor: pointer;
}

.om-review-submit-reply {
	border-color: #EFB419 !important;
	background: #EFB419;
}

@media (max-width: 520px) {
	.om-review-card-header {
		flex-direction: column;
	}

}
