.roham-review-form-module,
.roham-review-list,
.roham-review-modal,
.roham-review-unavailable,
.roham-review-lazy {
	--roham-review-primary: var(--e-global-color-primary, #ff753b);
	--roham-review-secondary: var(--e-global-color-secondary, #e30a58);
	--roham-review-text: var(--e-global-color-text, #050505);
	--roham-review-accent: var(--e-global-color-accent, #444444);
	--roham-review-surface: var(--e-global-color-c161273c, var(--e-global-color-161273c, #f5f5f5));
	--roham-review-border: var(--e-global-color-1e77499, var(--e-global-color-1e77409, #eeeeee));
	--roham-review-green: var(--e-global-color-4ad75ec, #38c976);
	--roham-review-soft: var(--e-global-color-9907219, rgba(245, 245, 245, 0.6));
	--roham-review-font: var(--e-global-typography-primary-font-family, "iransans"), sans-serif;
	direction: rtl;
	font-family: var(--roham-review-font);
	font-feature-settings: "ss02";
}

.roham-review-form-module *,
.roham-review-form-module *::before,
.roham-review-form-module *::after,
.roham-review-list *,
.roham-review-list *::before,
.roham-review-list *::after,
.roham-review-modal *,
.roham-review-modal *::before,
.roham-review-modal *::after,
.roham-review-lazy *,
.roham-review-lazy *::before,
.roham-review-lazy *::after {
	box-sizing: border-box;
}

.roham-review-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.roham-review-form-module {
	display: block;
	width: 100%;
	min-width: 0;
	text-align: center;
}

.roham-review-open {
	position: relative !important;
	display: inline-flex !important;
	width: fit-content !important;
	min-width: min(180px, 100%) !important;
	max-width: 100% !important;
	height: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 auto !important;
	padding-block: 0 !important;
	padding-inline: 20px !important;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		var(--roham-review-primary),
		var(--roham-review-secondary)
	);
	box-shadow: none !important;
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	appearance: none;
	cursor: pointer;
}

.roham-review-open > span {
	display: inline-block;
	width: auto;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
}

.roham-review-open-icon {
	position: static !important;
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain;
	filter: brightness(0) invert(1);
	transform: none !important;
	pointer-events: none;
}

.roham-review-open:hover,
.roham-review-open:focus,
.roham-review-open:active {
	color: #fff !important;
	text-decoration: none !important;
}

.roham-review-submit,
.roham-review-success-close {
	position: relative;
	display: inline-flex;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		var(--roham-review-primary),
		var(--roham-review-secondary)
	);
	box-shadow: none !important;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	appearance: none;
	cursor: pointer;
}

.roham-review-open:focus-visible,
.roham-review-submit:focus-visible,
.roham-review-success-close:focus-visible,
.roham-review-close:focus-visible,
.roham-review-star:focus-visible,
.roham-review-load-more:focus-visible,
.roham-review-lazy-error button:focus-visible {
	outline: 2px solid var(--roham-review-primary);
	outline-offset: 2px;
}

body.roham-review-modal-open {
	overflow: hidden !important;
}

.roham-review-modal {
	position: fixed !important;
	inset: 0 !important;
	z-index: 1000001;
	display: flex !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 20px !important;
	overflow: hidden;
	background: rgba(5, 5, 5, 0.42);
	opacity: 0;
	transform: none !important;
	transition: opacity 180ms ease;
	isolation: isolate;
	box-sizing: border-box !important;
	direction: rtl;
}

.roham-review-modal[hidden],
.roham-review-form-view[hidden],
.roham-review-success[hidden] {
	display: none !important;
}

.roham-review-modal.is-open {
	opacity: 1;
}

.roham-review-dialog {
	position: relative !important;
	inset: auto !important;
	display: block;
	width: min(560px, 100%);
	min-width: 0;
	max-width: 100%;
	max-height: calc(100dvh - 40px);
	flex: 0 1 560px;
	margin: 0 auto !important;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 2px solid var(--roham-review-border);
	border-radius: 30px;
	background: #fff;
	box-shadow: none;
	color: var(--roham-review-text);
	scrollbar-width: thin;
	transform: translateY(8px) scale(0.985);
	transition: transform 180ms ease;
	box-sizing: border-box !important;
	direction: rtl;
}

.roham-review-modal.is-open .roham-review-dialog {
	transform: translateY(0) scale(1);
}

.roham-review-form-view,
.roham-review-form,
.roham-review-name-fields,
.roham-review-field,
.roham-review-rating-field,
.roham-review-success {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.roham-review-close {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 2;
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: var(--roham-review-surface);
	box-shadow: none !important;
	color: var(--roham-review-accent);
	appearance: none;
	cursor: pointer;
}

.roham-review-close svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.roham-review-close:hover {
	color: var(--roham-review-secondary);
}

.roham-review-dialog-title {
	margin: 0;
	padding-inline: 40px;
	color: var(--roham-review-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 2;
	text-align: center;
}

.roham-review-dialog-description {
	margin: 4px 0 20px;
	color: var(--roham-review-accent);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
	text-align: center;
}

.roham-review-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.roham-review-name-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.roham-review-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	color: var(--roham-review-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
	text-align: right;
}

.roham-review-field input,
.roham-review-field textarea {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	border: 2px solid var(--roham-review-border) !important;
	background: #fff;
	box-shadow: none !important;
	color: var(--roham-review-text);
	font: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;
	appearance: none;
	transition: border-color 160ms ease;
}

.roham-review-field input {
	height: 46px;
	padding: 8px 16px;
	border-radius: 999px;
}

.roham-review-field textarea {
	min-height: 126px;
	padding: 12px 16px;
	border-radius: 20px;
	resize: vertical;
}

.roham-review-field input:hover,
.roham-review-field textarea:hover {
	border-color: var(--roham-review-accent) !important;
}

.roham-review-field input:focus,
.roham-review-field textarea:focus {
	border-color: var(--roham-review-primary) !important;
	outline: 0;
}

.roham-review-field input::placeholder,
.roham-review-field textarea::placeholder {
	color: #8a8a8a;
}

.roham-review-rating-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	border: 2px solid var(--roham-review-border);
	border-radius: 20px;
}

.roham-review-rating-label {
	display: block;
	margin: 0;
	padding: 0;
	color: var(--roham-review-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.8;
}

.roham-review-rating-input {
	display: inline-flex;
	min-width: 0;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	direction: ltr;
}

.roham-review-star {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--roham-review-border);
	font-family: Arial, sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	appearance: none;
	cursor: pointer;
	transition: color 140ms ease;
}

.roham-review-star.is-filled,
.roham-review-star.is-preview {
	color: var(--roham-review-primary);
}

.roham-review-rating-input.has-error .roham-review-star {
	color: rgba(227, 10, 88, 0.4);
}

.roham-review-submit:disabled,
.roham-review-load-more:disabled {
	cursor: wait;
}

.roham-review-submit.is-loading {
	background: var(--roham-review-surface);
	color: var(--roham-review-text);
}

.roham-review-dots {
	display: none;
	align-items: center;
	gap: 4px;
	direction: ltr;
}

.roham-review-submit.is-loading .roham-review-dots,
.roham-review-load-more.is-loading .roham-review-dots {
	display: inline-flex;
}

.roham-review-dots i {
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--roham-review-primary);
	animation: roham-review-dot 900ms ease-in-out infinite;
}

.roham-review-dots i:nth-child(2) {
	animation-delay: 150ms;
}

.roham-review-dots i:nth-child(3) {
	animation-delay: 300ms;
}

@keyframes roham-review-dot {
	0%,
	100% {
		opacity: 0.25;
		transform: scale(0.75);
	}

	50% {
		opacity: 1;
		transform: scale(1);
	}
}

.roham-review-message {
	width: 100%;
	padding: 10px 14px;
	border: 0;
	border-radius: 16px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;
	text-align: center;
}

.roham-review-message[hidden] {
	display: none;
}

.roham-review-message.is-error {
	background: rgba(227, 10, 88, 0.1);
	color: var(--roham-review-secondary);
}

.roham-review-success {
	display: flex;
	min-height: 300px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	padding: 35px 10px 10px;
	text-align: center;
}

.roham-review-success:focus {
	outline: 0;
}

.roham-review-success-icon {
	display: inline-flex;
	width: 64px;
	height: 64px;
	align-items: center;
	justify-content: center;
	margin-block-end: 5px;
	border-radius: 50%;
	background: rgba(56, 201, 118, 0.1);
}

.roham-review-success-icon::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	background: var(--roham-review-green);
	-webkit-mask: url("/wp-content/uploads/2025/02/check-circle.svg") center / contain no-repeat;
	mask: url("/wp-content/uploads/2025/02/check-circle.svg") center / contain no-repeat;
}

.roham-review-success h2 {
	margin: 0;
	color: var(--roham-review-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.9;
}

.roham-review-success p {
	margin: 0 0 12px;
	color: var(--roham-review-accent);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
}

.roham-review-success-close {
	max-width: 240px;
	background: var(--roham-review-surface);
	color: var(--roham-review-text);
}

.roham-review-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.roham-review-list {
	width: 100%;
	min-width: 0;
	color: var(--roham-review-text);
}

.roham-review-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 15px;
}

.roham-review-list-header h2 {
	margin: 0;
	color: var(--roham-review-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.9;
}

.roham-review-list-header > span {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--roham-review-surface);
	color: var(--roham-review-accent);
	font-size: 13px;
	font-weight: 400;
}

.roham-review-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.roham-review-thread {
	min-width: 0;
}

.roham-review-entry {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	gap: 10px;
}

.roham-review-avatar {
	display: inline-flex;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		var(--roham-review-primary),
		var(--roham-review-secondary)
	);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.roham-review-avatar.is-small {
	width: 38px;
	height: 38px;
	flex-basis: 38px;
	font-size: 12px;
}

.roham-review-card {
	min-width: 0;
	min-height: 106px;
	flex: 1 1 auto;
	padding: 15px 20px;
	border: 1px solid var(--roham-review-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: none;
}

.roham-review-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 15px;
}

.roham-review-author-wrap {
	display: flex;
	min-width: 0;
	flex: 1 1 180px;
	flex-direction: column;
	gap: 2px;
}

.roham-review-author-line {
	display: flex;
	min-width: 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.roham-review-author {
	color: var(--roham-review-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.8;
}

.roham-review-author-wrap time {
	color: var(--roham-review-accent);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.7;
}

.roham-review-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 8px;
	border: 0;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.6;
}

.roham-review-badge.is-buyer {
	background: rgba(56, 201, 118, 0.1);
	color: var(--roham-review-green);
}

.roham-review-badge.is-manager {
	background: rgba(255, 117, 59, 0.1);
	color: var(--roham-review-primary);
}

.roham-review-rating {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	direction: rtl;
	color: var(--roham-review-border);
	font-family: Arial, sans-serif;
	font-size: 18px;
	line-height: 1;
}

.roham-review-rating .is-filled {
	color: #ffad00;
}

.roham-review-content {
	margin-block-start: 10px;
	color: var(--roham-review-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
	overflow-wrap: anywhere;
}

.roham-review-content p {
	margin: 0;
}

.roham-review-content p + p {
	margin-block-start: 8px;
}

.roham-review-replies {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
	margin-block-start: 10px;
	margin-inline-start: 58px;
	padding: 12px;
	border-inline-start: 3px solid var(--roham-review-primary);
	border-radius: 20px;
	background: var(--roham-review-soft);
}

.roham-review-replies-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 2px;
	color: var(--roham-review-accent);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.8;
}

.roham-review-replies-title::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--roham-review-primary);
}

.roham-review-replies .roham-review-card {
	min-height: 0;
	padding: 12px 15px;
}

.roham-review-replies .roham-review-replies {
	margin-inline-start: 30px;
	padding: 10px;
	border-inline-start-width: 2px;
	background: #fff;
}

.roham-review-entry.is-manager .roham-review-card {
	border-color: rgba(255, 117, 59, 0.4);
}

.roham-review-load-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	margin-block-start: 20px;
}

.roham-review-load-more {
	display: inline-flex;
	width: min(260px, 100%);
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 18px;
	border: 0 !important;
	border-radius: 999px;
	background: var(--roham-review-surface);
	box-shadow: none !important;
	color: var(--roham-review-text);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	appearance: none;
	cursor: pointer;
}

.roham-review-load-more[hidden] {
	display: none;
}

.roham-review-load-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.roham-review-load-status.is-error {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	padding: 8px 12px;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
	border-radius: 14px;
	background: rgba(227, 10, 88, 0.1);
	color: var(--roham-review-secondary);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;
	text-align: center;
}

.roham-review-empty {
	display: flex;
	width: 100%;
	min-height: 180px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid var(--roham-review-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: none;
	text-align: center;
}

.roham-review-empty-icon {
	display: block;
	width: 52px;
	height: 52px;
	margin-block-end: 2px;
	object-fit: contain;
}

.roham-review-empty strong {
	color: var(--roham-review-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
}

.roham-review-empty p,
.roham-review-unavailable {
	margin: 0;
	color: var(--roham-review-accent);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
}

.roham-review-unavailable {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--roham-review-border);
	border-radius: 20px;
	background: #fff;
	text-align: center;
}

.roham-review-lazy {
	position: relative;
	width: 100%;
	min-width: 0;
	color: var(--roham-review-text);
}

.roham-review-lazy--form {
	width: min(230px, 100%);
	min-width: min(200px, 100%);
	margin-inline: auto;
}

.roham-review-form-skeleton,
.roham-review-list-skeleton-card,
.roham-review-list-skeleton-head span,
.roham-review-list-skeleton-head i {
	position: relative;
	overflow: hidden;
}

.roham-review-form-skeleton::after,
.roham-review-list-skeleton-card::after,
.roham-review-list-skeleton-head span::after,
.roham-review-list-skeleton-head i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.2) 35%,
		rgba(255, 255, 255, 0.88) 50%,
		rgba(255, 255, 255, 0.2) 65%,
		transparent 100%
	);
	transform: translateX(100%);
	animation: roham-review-shimmer 1.5s ease-in-out infinite;
	pointer-events: none;
	will-change: transform;
}

.roham-review-form-skeleton {
	display: block;
	width: 100%;
	height: 44px;
	border-radius: 999px;
	background: var(--roham-review-surface);
}

.roham-review-list-skeleton {
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 15px;
}

.roham-review-list-skeleton-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.roham-review-list-skeleton-head span,
.roham-review-list-skeleton-head i,
.roham-review-list-skeleton-avatar,
.roham-review-list-skeleton-card > div i {
	display: block;
	background: var(--roham-review-surface);
}

.roham-review-list-skeleton-head span {
	width: 120px;
	height: 18px;
	border-radius: 999px;
}

.roham-review-list-skeleton-head i {
	width: 70px;
	height: 32px;
	border-radius: 999px;
}

.roham-review-list-skeleton-cards {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.roham-review-list-skeleton-card {
	display: flex;
	min-height: 106px;
	align-items: flex-start;
	gap: 10px;
	padding: 0;
	background: transparent;
}

.roham-review-list-skeleton-avatar {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
}

.roham-review-list-skeleton-card > div {
	display: flex;
	min-width: 0;
	min-height: 106px;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 15px 20px;
	border: 1px solid var(--roham-review-border);
	border-radius: 22px;
	background: #fff;
}

.roham-review-list-skeleton-card > div i {
	width: 32%;
	height: 12px;
	border-radius: 999px;
}

.roham-review-list-skeleton-card > div i:nth-child(2) {
	width: 82%;
	margin-block-start: 4px;
}

.roham-review-list-skeleton-card > div i:nth-child(3) {
	width: 58%;
}

.roham-review-lazy-error {
	display: flex;
	width: 100%;
	min-height: 80px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	border: 1px solid var(--roham-review-border);
	border-radius: 20px;
	background: #fff;
	color: var(--roham-review-accent);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;
	text-align: center;
}

.roham-review-lazy-error button {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	padding: 7px 16px;
	border: 0 !important;
	border-radius: 999px;
	background: var(--roham-review-surface);
	box-shadow: none !important;
	color: var(--roham-review-text);
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	appearance: none;
	cursor: pointer;
}

@keyframes roham-review-shimmer {
	to {
		transform: translateX(-100%);
	}
}

@media (max-width: 767px) {
	.roham-review-open {
		width: fit-content !important;
		min-width: min(170px, 100%) !important;
		max-width: 100% !important;
		height: 40px;
		min-height: 40px;
		gap: 7px;
		padding-inline: 18px !important;
		font-size: 12px;
	}

	.roham-review-open-icon {
		width: 14px;
		height: 14px;
		flex-basis: 14px;
	}

	.roham-review-submit,
	.roham-review-success-close {
		min-height: 44px;
		padding: 9px 15px;
		font-size: 13px;
	}

	.roham-review-modal {
		align-items: flex-end !important;
		justify-content: center !important;
		padding-top: 12px !important;
		padding-right: max(12px, env(safe-area-inset-right)) !important;
		padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
		padding-left: max(12px, env(safe-area-inset-left)) !important;
	}

	.roham-review-dialog {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 560px !important;
		max-height: calc(100dvh - 98px - env(safe-area-inset-bottom));
		flex: 0 1 auto;
		margin: 0 auto !important;
		padding: 15px 12px 12px;
		border-radius: 24px;
	}

	.roham-review-close {
		top: 10px;
		left: 10px;
		width: 32px;
		height: 32px;
	}

	.roham-review-close svg {
		width: 19px;
		height: 19px;
	}

	.roham-review-dialog-title {
		font-size: 13px;
	}

	.roham-review-dialog-description {
		margin-block-end: 15px;
		font-size: 11px;
	}

	.roham-review-success h2,
	.roham-review-list-header h2,
	.roham-review-empty strong {
		font-size: 13px;
	}

	.roham-review-author {
		font-size: 11px;
	}

	.roham-review-field,
	.roham-review-field input,
	.roham-review-field textarea,
	.roham-review-rating-label,
	.roham-review-message,
	.roham-review-success p,
	.roham-review-list-header > span,
	.roham-review-load-more,
	.roham-review-load-status.is-error,
	.roham-review-empty p,
	.roham-review-unavailable,
	.roham-review-lazy-error {
		font-size: 12px;
	}

	.roham-review-form {
		gap: 12px;
	}

	.roham-review-name-fields {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.roham-review-field input {
		height: 44px;
		padding: 8px 14px;
	}

	.roham-review-field textarea {
		min-height: 110px;
		padding: 10px 14px;
	}

	.roham-review-rating-field {
		padding: 10px;
	}

	.roham-review-star {
		width: 38px;
		height: 38px;
		font-size: 32px;
	}

	.roham-review-success {
		min-height: 260px;
		padding-inline: 5px;
	}

	.roham-review-success-icon {
		width: 58px;
		height: 58px;
	}

	.roham-review-success-icon::before {
		width: 30px;
		height: 30px;
	}

	.roham-review-cards {
		gap: 15px;
	}

	.roham-review-entry {
		gap: 8px;
	}

	.roham-review-avatar {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
		font-size: 13px;
	}

	.roham-review-avatar.is-small {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
		font-size: 11px;
	}

	.roham-review-card {
		min-height: 0;
		padding: 10px;
		border-radius: 18px;
	}

	.roham-review-author-wrap {
		flex-basis: 130px;
	}

	.roham-review-author-wrap time {
		font-size: 11px;
	}

	.roham-review-badge {
		font-size: 10px;
	}

	.roham-review-rating {
		font-size: 15px;
	}

	.roham-review-content {
		margin-block-start: 8px;
		font-size: 12px;
		line-height: 1.9;
	}

	.roham-review-replies {
		margin-inline-start: 18px;
		padding: 10px;
		border-radius: 16px;
	}

	.roham-review-replies-title {
		font-size: 11px;
	}

	.roham-review-replies .roham-review-card {
		padding: 10px;
	}

	.roham-review-replies .roham-review-replies {
		margin-inline-start: 10px;
		padding: 8px;
	}

	.roham-review-load-wrap {
		margin-block-start: 15px;
	}

	.roham-review-empty {
		min-height: 150px;
		padding: 10px;
		border-radius: 18px;
	}

	.roham-review-empty-icon {
		width: 46px;
		height: 46px;
	}

	.roham-review-lazy--form {
		width: min(210px, 100%);
		min-width: min(180px, 100%);
	}

	.roham-review-form-skeleton {
		height: 40px;
	}

	.roham-review-list-skeleton-card {
		min-height: 90px;
		gap: 8px;
	}

	.roham-review-list-skeleton-avatar {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.roham-review-list-skeleton-card > div {
		min-height: 90px;
		padding: 10px;
		border-radius: 18px;
	}
}

@media (max-width: 390px) {
	.roham-review-rating-field {
		align-items: flex-start;
		flex-direction: column;
	}

	.roham-review-rating-input {
		align-self: center;
	}

	.roham-review-card-head {
		gap: 6px;
	}

	.roham-review-rating {
		width: 100%;
		justify-content: flex-end;
	}

	.roham-review-replies {
		margin-inline-start: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.roham-review-modal,
	.roham-review-dialog,
	.roham-review-star,
	.roham-review-dots i,
	.roham-review-form-skeleton::after,
	.roham-review-list-skeleton-card::after,
	.roham-review-list-skeleton-head span::after,
	.roham-review-list-skeleton-head i::after {
		transition: none;
		animation: none;
	}
}
.roham-review-product-header {
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 64px;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	padding: 0 0 0 44px;
	direction: rtl;
	text-align: right;
}

.roham-review-product-thumb {
	position: relative;
	display: block;
	width: 64px;
	height: 64px;
	min-width: 64px;
	flex: 0 0 64px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--roham-review-border);
	border-radius: 16px;
	background: var(--roham-review-surface);
}

.roham-review-product-thumb img,
.roham-review-product-image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: inherit !important;
	object-fit: cover;
	object-position: center;
}

.roham-review-product-name {
	display: block;
	min-width: 0;
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--roham-review-text);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.9;
	text-align: right;
	overflow-wrap: anywhere;
	word-break: normal;
}

.roham-review-product-name > span:not(.roham-review-visually-hidden) {
	display: block;
	width: 100%;
	min-width: 0;
}

@media (max-width: 767px) {
	.roham-review-product-header {
		min-height: 54px;
		gap: 10px;
		margin-bottom: 15px;
		padding-left: 42px;
	}

	.roham-review-product-thumb {
		width: 54px;
		height: 54px;
		min-width: 54px;
		flex-basis: 54px;
		border-radius: 14px;
	}

	.roham-review-product-name {
		font-size: 13px;
		line-height: 1.8;
	}
}