/**
 * NexaShop Product Reviews Widget Styles
 * Exact Digikala layout based on user screenshots
 */

.nexashop-reviews-widget-wrap {
	direction: rtl;
	font-family: inherit;
	color: #0f172a;
	margin: 30px 0;
	scroll-margin-top: 80px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: clip;
}

/* Header */
.nexashop-reviews-widget-header {
	margin-bottom: 24px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.nexashop-reviews-section-title {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 4px 0;
	color: #0f172a;
}

.nexashop-reviews-subtitle {
	font-size: 12.5px;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 8px;
	display: block;
}

.nexashop-reviews-title-bar {
	width: 48px;
	height: 3px;
	background-color: #ef394e;
	border-radius: 2px;
}

/* Main Grid */
.nexashop-reviews-main-grid {
	display: flex;
	flex-direction: row; /* In RTL, summary is naturally on the right, list on the left */
	gap: 32px;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.nexashop-reviews-main-grid {
		flex-direction: column;
		gap: 24px;
	}
}

/* Summary Column (Right) */
.nexashop-reviews-summary-col {
	width: 280px;
	flex-shrink: 0;
	position: sticky;
	top: 100px;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
}

@media (max-width: 991px) {
	.nexashop-reviews-summary-col {
		width: 100%;
		position: static;
	}
}

.nexashop-score-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px 20px;
	text-align: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.nexashop-score-line {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	margin-bottom: 8px;
}

.nexashop-score-big {
	font-size: 38px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1;
}

.nexashop-score-label {
	font-size: 14px;
	color: #64748b;
}

.nexashop-score-stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 8px;
}

.nexashop-star-icon {
	fill: #cbd5e1;
	color: #cbd5e1;
}

.nexashop-star-icon.is-filled {
	fill: #f59e0b;
	color: #f59e0b;
}

.nexashop-score-count {
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 16px;
}

/* Criteria Bars matching media_1789918335018.png */
.nexashop-criteria-bars {
	margin: 18px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: right;
}

.nexashop-criteria-item .crit-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11.5px;
	color: #64748b;
	font-weight: 600;
	margin-bottom: 4px;
}

.nexashop-criteria-item .crit-val {
	font-weight: 700;
	color: #1e293b;
}

.nexashop-criteria-item .crit-bar-track {
	width: 100%;
	height: 5px;
	background: #f1f5f9;
	border-radius: 4px;
	overflow: hidden;
}

.nexashop-criteria-item .crit-bar-fill {
	height: 100%;
	background: #ef4056;
	border-radius: 4px;
}

.nexashop-score-prompt {
	font-size: 12px;
	color: #475569;
	margin: 0 0 14px 0;
	line-height: 1.5;
}

.nexashop-btn-open-review-modal {
	width: 100%;
	padding: 10px 16px;
	border: 1px solid #ef394e;
	background: #ffffff;
	color: #ef394e;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexashop-btn-open-review-modal:hover {
	background: #ef394e;
	color: #ffffff;
}

/* Reviews Content Column (Left) */
.nexashop-reviews-content-col {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

/* Smart Buyer Opinions Summary Box */
.nexashop-smart-buyer-card {
	background-color: #faf5ff;
	border: 1px solid #f3e8ff;
	border-radius: 16px;
	padding: 18px 20px;
	margin-bottom: 22px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	box-shadow: 0 2px 10px rgba(147, 51, 234, 0.04);
}

.smart-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	width: 100%;
	box-sizing: border-box;
}

.smart-icon-wrap {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background-color: #e9d5ff;
	color: #7e22ce;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(126, 34, 206, 0.15);
}

.smart-titles {
	flex: 1;
	min-width: 0;
	text-align: right;
}

.smart-title {
	font-size: 14.5px;
	font-weight: 800;
	color: #581c87;
	margin: 0 0 3px 0;
	line-height: 1.35;
}

.smart-subtitle {
	font-size: 11.5px;
	color: #9333ea;
	font-weight: 500;
	display: block;
	line-height: 1.4;
}

.smart-text {
	font-size: 13px;
	line-height: 1.95;
	color: #334155;
	margin: 0 0 14px 0;
	text-align: justify;
	word-break: break-word;
	overflow-wrap: break-word;
	box-sizing: border-box;
}

.smart-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.smart-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	box-sizing: border-box;
	max-width: 100%;
	line-height: 1.4;
	transition: all 0.2s ease;
}

.smart-pill span {
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
}

.smart-pill svg {
	flex-shrink: 0;
}

.smart-pill-pos {
	background-color: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.smart-pill-neg {
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.smart-feedback-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid #f3e8ff;
	padding-top: 12px;
	font-size: 12px;
	color: #6b7280;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

.smart-feedback-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.smart-feedback-btn {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s;
	flex-shrink: 0;
}

.smart-feedback-btn:hover {
	color: #7e22ce;
	border-color: #c084fc;
	background-color: #f5f3ff;
}

.smart-feedback-btn.is-active {
	background-color: #7e22ce;
	color: #ffffff;
	border-color: #7e22ce;
}

/* Toolbar & Sorting */
.nexashop-reviews-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}

.nexashop-sort-tabs {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 13px;
}

.nexashop-sort-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #475569;
	font-weight: 700;
}

.nexashop-sort-tab-btn {
	background: none;
	border: none;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 0;
	transition: all 0.2s ease;
}

.nexashop-sort-tab-btn.is-active,
.nexashop-sort-tab-btn:hover {
	color: #ef394e;
	font-weight: 700;
}

.nexashop-total-reviews-count {
	font-size: 13px;
	color: #64748b;
}

.nexashop-total-reviews-count .count-num {
	font-weight: 700;
	color: #0f172a;
}

/* Topic Pills */
.nexashop-topic-pills-wrap {
	margin-bottom: 24px;
}

.nexashop-topic-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 10px;
}

.nexashop-topic-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.nexashop-pill-btn {
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	font-size: 12px;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexashop-pill-btn.is-active,
.nexashop-pill-btn:hover {
	border-color: #ef394e;
	color: #ef394e;
	background: #fff5f5;
}

/* Review Item */
.nexashop-review-item {
	padding: 20px 0;
	border-bottom: 1px solid #f1f5f9;
}

.nexashop-review-item:last-child {
	border-bottom: none;
}

.nexashop-review-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.nexashop-review-author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nexashop-review-avatar {
	width: 32px;
	height: 32px;
	background: #fef3c7;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nexashop-review-author-meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nexashop-review-author-name {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
}

.nexashop-badge-buyer {
	background: #dcfce7;
	color: #15803d;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
}

.nexashop-review-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nexashop-review-date {
	font-size: 12px;
	color: #94a3b8;
}

.nexashop-review-more-btn {
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 0;
}

.nexashop-review-stars {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 10px;
}

.nexashop-review-recommend-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #10b981;
	font-weight: 600;
	margin-right: 12px;
}

.nexashop-review-recommend-badge svg {
	fill: #10b981;
}

.nexashop-review-title {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px 0;
}

.nexashop-review-text {
	font-size: 13px;
	line-height: 1.8;
	color: #334155;
	margin-bottom: 14px;
}

.nexashop-review-text p {
	margin: 0 0 8px 0;
}

.nexashop-review-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.nexashop-variant-info {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #64748b;
}

.nexashop-variant-info svg {
	fill: #94a3b8;
}

.nexashop-review-reactions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nexashop-vote-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: #64748b;
	font-size: 12px;
	cursor: pointer;
	transition: color 0.2s ease;
	padding: 4px;
}

.nexashop-vote-btn svg {
	fill: currentColor;
}

.nexashop-vote-btn:hover {
	color: #ef394e;
}

.nexashop-vote-btn.is-voted {
	color: #ef394e;
	font-weight: 700;
}

/* Load More Button */
.nexashop-reviews-loadmore-wrap {
	text-align: center;
	margin-top: 24px;
}

.nexashop-btn-loadmore-reviews {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexashop-btn-loadmore-reviews:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

/* Empty State for Reviews List */
.nexashop-empty-reviews {
	background-color: #ffffff;
	border: 1px dashed #e2e8f0;
	border-radius: 16px;
	padding: 48px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 12px 0 24px 0;
	width: 100%;
	box-sizing: border-box;
}

.nexashop-empty-reviews-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background-color: #f8fafc;
	border: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	margin-bottom: 18px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.nexashop-empty-reviews-icon svg {
	width: 36px;
	height: 36px;
}

.nexashop-empty-reviews-title {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 8px 0;
	line-height: 1.5;
}

.nexashop-empty-reviews-desc {
	font-size: 13.5px;
	color: #64748b;
	margin: 0 0 22px 0;
	max-width: 440px;
	line-height: 1.7;
	text-align: center;
}

.nexashop-empty-reviews-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #ef394e;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 11px 24px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 14px rgba(239, 57, 78, 0.22);
	font-family: inherit;
	text-decoration: none;
}

.nexashop-empty-reviews-btn:hover {
	background-color: #dc2626;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(239, 57, 78, 0.32);
}

.nexashop-empty-reviews-btn svg {
	stroke: #ffffff;
}

/* Modal Styles */
.nexashop-review-modal-wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nexashop-review-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(4px);
}

.nexashop-review-modal-card {
	position: relative;
	background: #ffffff;
	border-radius: 20px;
	width: 94%;
	max-width: 860px;
	max-height: 92vh;
	overflow-y: auto;
	box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.32);
	animation: modalFadeIn 0.25s ease-out;
	direction: rtl;
}

@keyframes modalFadeIn {
	from { opacity: 0; transform: scale(0.96) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.nexashop-review-modal-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row-reverse;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid #f1f5f9;
}

.nexashop-review-modal-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
}

.nexashop-modal-close-arrow,
.nexashop-modal-close-author-step {
	background: none;
	border: none;
	font-size: 20px;
	color: #64748b;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
}

.nexashop-modal-close-arrow svg {
	fill: currentColor;
}

.nexashop-review-modal-body {
	padding: 20px;
}

.nexashop-modal-product-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 16px;
}

.modal-product-title h4 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.5;
}

.modal-product-img img {
	width: 50px;
	height: 50px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.nexashop-modal-rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.nexashop-interactive-stars {
	display: flex;
	gap: 4px;
	cursor: pointer;
}

.nexashop-interactive-stars .star-clickable {
	fill: #cbd5e1;
	transition: fill 0.15s ease;
}

.nexashop-interactive-stars .star-clickable.is-active {
	fill: #f59e0b;
}

.nexashop-form-group {
	margin-bottom: 16px;
}

.nexashop-form-group label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 6px;
}

.nexashop-modal-input,
.nexashop-modal-textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	font-family: inherit;
	color: #1e293b;
	transition: border-color 0.2s ease;
}

.nexashop-modal-input:focus,
.nexashop-modal-textarea:focus {
	outline: none;
	border-color: #ef394e;
}

.nexashop-btn-author-select {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	color: #334155;
	font-family: inherit;
	cursor: pointer;
}

.nexashop-recommend-options {
	display: flex;
	gap: 16px;
}

.nexashop-recommend-options .radio-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #475569;
	cursor: pointer;
}

.nexashop-review-modal-footer {
	padding: 16px 20px;
	border-top: 1px solid #f1f5f9;
}

.nexashop-btn-submit-review {
	width: 100%;
	background: #ef394e;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 12px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease;
}

.nexashop-btn-submit-review:hover {
	background: #dc2626;
}

.nexashop-btn-submit-review:disabled {
	background: #e2e8f0;
	color: #94a3b8;
	cursor: not-allowed;
}

.nexashop-modal-terms {
	font-size: 11px;
	color: #94a3b8;
	text-align: center;
	margin: 10px 0 0 0;
}

/* Submodal: Author Display Mode (Screenshot 3) */
.nexashop-author-picker-body {
	padding: 20px;
}

.nexashop-author-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.nexashop-author-option.is-checked {
	border-color: #2563eb;
	background: #eff6ff;
}

.author-option-text strong {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
	color: #0f172a;
}

.author-option-text span {
	font-size: 12px;
	color: #64748b;
}

.nexashop-author-picker-footer {
	padding: 16px 20px;
	border-top: 1px solid #f1f5f9;
	text-align: left;
}

/* Empty State Styling */
.nexashop-empty-state-notice {
	padding: 24px 20px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	text-align: center;
	margin-top: 12px;
}

.nexashop-empty-state-notice .title {
	font-size: 14px;
	font-weight: 700;
	color: #334155;
	margin: 0 0 6px 0;
}

.nexashop-empty-state-notice .desc {
	font-size: 12.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.7;
}

/* Comprehensive Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
	.nexashop-reviews-widget-wrap {
		margin: 20px 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-x: clip;
	}

	.nexashop-reviews-main-grid {
		flex-direction: column;
		gap: 20px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.nexashop-reviews-summary-col {
		width: 100%;
		max-width: 100%;
		position: static;
		box-sizing: border-box;
	}

	.nexashop-reviews-content-col {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		overflow: hidden;
	}

	.nexashop-score-box {
		padding: 20px 16px;
		width: 100%;
		box-sizing: border-box;
	}

	.nexashop-criteria-bars {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px 18px;
		margin: 16px 0;
		width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 768px) {
	.nexashop-reviews-widget-header {
		margin-bottom: 16px;
	}

	.nexashop-reviews-section-title {
		font-size: 16.5px;
	}

	.nexashop-criteria-bars {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		margin: 14px 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.nexashop-criteria-item {
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.nexashop-criteria-item .crit-head {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		font-size: 11.5px !important;
		margin-bottom: 4px !important;
	}

	.nexashop-criteria-item .crit-bar-track {
		width: 100% !important;
	}

	/* Smart Summary Card Mobile Optimizations */
	.nexashop-smart-buyer-card {
		padding: 14px 14px !important;
		border-radius: 14px !important;
		margin-bottom: 18px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	.smart-card-header {
		display: flex !important;
		align-items: center !important;
		gap: 10px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.smart-icon-wrap {
		width: 30px !important;
		height: 30px !important;
		flex-shrink: 0 !important;
	}

	.smart-titles {
		flex: 1 !important;
		min-width: 0 !important;
		text-align: right !important;
	}

	.smart-title {
		font-size: 13.5px !important;
		margin: 0 0 2px 0 !important;
		line-height: 1.3 !important;
	}

	.smart-subtitle {
		font-size: 11px !important;
		line-height: 1.3 !important;
	}

	.smart-text {
		font-size: 12.5px !important;
		line-height: 1.85 !important;
		margin-bottom: 12px !important;
		word-break: break-word !important;
		overflow-wrap: break-word !important;
	}

	.smart-tags-row {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 6px !important;
		margin-bottom: 12px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.smart-pill {
		font-size: 11px !important;
		padding: 3px 10px !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		line-height: 1.4 !important;
	}

	.smart-pill span {
		white-space: normal !important;
		word-break: break-word !important;
		overflow-wrap: break-word !important;
	}

	.smart-feedback-row {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px !important;
		padding-top: 10px !important;
		font-size: 11.5px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	/* Toolbar & Sorting Mobile */
	.nexashop-reviews-toolbar {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
		padding-bottom: 10px !important;
		margin-bottom: 14px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	.nexashop-sort-tabs {
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow-x: auto !important;
		white-space: nowrap !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
		box-sizing: border-box !important;
		padding-bottom: 4px !important;
	}

	.nexashop-sort-tabs::-webkit-scrollbar {
		display: none !important;
	}

	.nexashop-sort-title {
		font-size: 12px !important;
		flex-shrink: 0 !important;
	}

	.nexashop-sort-tab-btn {
		font-size: 12px !important;
		padding: 5px 12px !important;
		border-radius: 999px !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
	}

	/* Topic Pills Mobile */
	.nexashop-topic-pills-wrap {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
		margin-bottom: 18px !important;
	}

	.nexashop-topic-label {
		font-size: 12px !important;
		margin-bottom: 8px !important;
	}

	.nexashop-topic-pills {
		display: flex !important;
		gap: 6px !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow-x: auto !important;
		flex-wrap: nowrap !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
		box-sizing: border-box !important;
		padding-bottom: 4px !important;
	}

	.nexashop-topic-pills::-webkit-scrollbar {
		display: none !important;
	}

	.nexashop-pill-btn {
		font-size: 11.5px !important;
		padding: 5px 12px !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
		border-radius: 999px !important;
	}

	.nexashop-review-item {
		padding: 16px 0;
	}

	.nexashop-review-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-direction: row;
		gap: 8px;
	}

	.nexashop-review-author-name {
		font-size: 12.5px;
	}

	.nexashop-review-date {
		font-size: 11px;
	}

	.nexashop-review-text {
		font-size: 12.5px;
		line-height: 1.8;
	}

	.nexashop-review-footer {
		gap: 10px;
	}

	.nexashop-review-modal-card {
		width: 100% !important;
		max-width: 100% !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		border-radius: 0 !important;
		display: flex;
		flex-direction: column;
	}

	.nexashop-modal-step-main {
		display: flex;
		flex-direction: column;
		min-height: 100%;
	}

	.nexashop-review-modal-header {
		padding: 14px 16px;
	}

	.nexashop-review-modal-body {
		padding: 16px;
		flex: 1;
	}

	.nexashop-review-modal-footer {
		position: sticky;
		bottom: 0;
		z-index: 10;
		background: #ffffff;
		padding: 14px 16px;
		box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
	}

	/* Empty Reviews Mobile Styles */
	.nexashop-empty-reviews {
		padding: 36px 16px !important;
		margin: 8px 0 16px 0 !important;
	}

	.nexashop-empty-reviews-icon {
		width: 64px !important;
		height: 64px !important;
		margin-bottom: 14px !important;
	}

	.nexashop-empty-reviews-icon svg {
		width: 30px !important;
		height: 30px !important;
	}

	.nexashop-empty-reviews-title {
		font-size: 14.5px !important;
	}

	.nexashop-empty-reviews-desc {
		font-size: 12.5px !important;
		margin-bottom: 18px !important;
	}

	.nexashop-empty-reviews-btn {
		width: 100% !important;
		max-width: 280px !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 480px) {
	.nexashop-score-box {
		padding: 16px 12px;
	}

	.nexashop-score-big {
		font-size: 32px;
	}

	.nexashop-criteria-bars {
		display: flex !important;
		flex-direction: column !important;
		gap: 8px !important;
	}

	.nexashop-criteria-item .crit-head {
		font-size: 11px;
	}

	.nexashop-recommend-options {
		flex-direction: column;
		gap: 8px;
	}

	.nexashop-review-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.nexashop-review-reactions {
		width: 100%;
		justify-content: flex-end;
		border-top: 1px dashed #f1f5f9;
		padding-top: 8px;
	}

	.nexashop-btn-open-review-modal {
		font-size: 12.5px;
		padding: 10px 12px;
	}

	.nexashop-interactive-stars {
		gap: 6px;
	}

	.nexashop-interactive-stars .star-clickable {
		width: 26px;
		height: 26px;
	}
}

/* ==========================================================================
   Advanced Review System (Parskala / Digikala Parity: Criteria Sliders & Pros/Cons)
   ========================================================================== */

/* Multi-Criteria Sliders in Modal */
.nexashop-modal-criteria-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 18px;
}

.nexashop-modal-criteria-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 14px;
}

.nexashop-modal-criteria-title .criteria-sub-hint {
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
}

.nexashop-modal-criteria-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

@media (max-width: 640px) {
	.nexashop-modal-criteria-grid {
		grid-template-columns: 1fr;
	}
}

.nexashop-criterion-slider-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.criterion-slider-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
	direction: rtl;
}

.criterion-name {
	font-size: 13px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	line-height: 1.4;
}

.criterion-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ef394e;
	flex-shrink: 0;
}

.criterion-live-badge {
	font-size: 11.5px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 8px;
	background: #ecfdf5;
	color: #059669;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.criterion-live-badge[data-level="4"] {
	background: #f0fdf4;
	color: #16a34a;
}

.criterion-live-badge[data-level="3"] {
	background: #fefce8;
	color: #ca8a04;
}

.criterion-live-badge[data-level="2"] {
	background: #fff7ed;
	color: #ea580c;
}

.criterion-live-badge[data-level="1"] {
	background: #fef2f2;
	color: #dc2626;
}

.nexashop-criterion-range {
	width: 100%;
	accent-color: #ef394e;
	cursor: pointer;
	height: 6px;
	margin: 0;
}

.criterion-ticks {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	color: #94a3b8;
	font-weight: 600;
	margin-top: 4px;
	padding: 0 2px;
}

/* Verified Buyer Media Upload Dropzone & Previews */
.nexashop-review-media-upload-section {
	margin-top: 4px;
}

.nexashop-media-upload-label {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-size: 13px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin-bottom: 8px !important;
}

.nexashop-media-upload-label svg {
	color: #2563eb;
}

.nexashop-media-dropzone {
	position: relative;
	border: 2px dashed #cbd5e1;
	background: #f8fafc;
	border-radius: 14px;
	padding: 18px 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nexashop-media-dropzone:hover,
.nexashop-media-dropzone.is-dragover {
	border-color: #2563eb;
	background: #eff6ff;
}

.nexashop-review-media-file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.nexashop-media-dropzone .dropzone-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	pointer-events: none;
}

.nexashop-media-dropzone .dropzone-icon-circle {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #dbeafe;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nexashop-media-dropzone .dropzone-texts {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: right;
}

.nexashop-media-dropzone .dropzone-texts strong {
	font-size: 13px;
	font-weight: 800;
	color: #1e293b;
}

.nexashop-media-dropzone .dropzone-texts span {
	font-size: 11.5px;
	color: #64748b;
}

.nexashop-media-preview-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.nexashop-media-preview-item {
	position: relative;
	width: 78px;
	height: 78px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #cbd5e1;
	background: #0f172a;
}

.nexashop-media-preview-item img,
.nexashop-media-preview-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nexashop-media-preview-item .remove-media-btn {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(239, 68, 68, 0.92);
	color: #ffffff;
	border: none;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}

.nexashop-media-locked-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.nexashop-media-locked-notice svg {
	color: #94a3b8;
	flex-shrink: 0;
}

/* Review Card Attached Media Gallery & Lightbox */
.nexashop-review-media-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0;
}

.nexashop-review-media-thumb {
	position: relative;
	width: 76px;
	height: 76px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #0f172a;
	display: inline-block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nexashop-review-media-thumb:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.nexashop-review-media-thumb img,
.nexashop-review-media-thumb video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nexashop-review-media-thumb .media-play-badge {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.42);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Pros & Cons Tag Builder (+ inputs) */
.nexashop-pros-cons-builder-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-bottom: 16px;
}

@media (max-width: 640px) {
	.nexashop-pros-cons-builder-grid {
		grid-template-columns: 1fr;
	}
}

.nexashop-pc-col label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 6px;
}

.nexashop-pc-col .pc-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 13px;
}

.nexashop-pc-col .pc-dot.is-pos {
	background: #d1fae5;
	color: #059669;
}

.nexashop-pc-col .pc-dot.is-neg {
	background: #fee2e2;
	color: #dc2626;
}

.nexashop-pc-input-row {
	display: flex;
	gap: 6px;
}

.nexashop-btn-add-pc-tag {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	font-size: 20px;
	font-weight: 800;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.nexashop-btn-add-pc-tag.is-pos {
	color: #059669;
	border-color: #a7f3d0;
	background: #ecfdf5;
}

.nexashop-btn-add-pc-tag.is-pos:hover {
	background: #059669;
	color: #ffffff;
}

.nexashop-btn-add-pc-tag.is-neg {
	color: #dc2626;
	border-color: #fecaca;
	background: #fef2f2;
}

.nexashop-btn-add-pc-tag.is-neg:hover {
	background: #dc2626;
	color: #ffffff;
}

.nexashop-pc-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.nexashop-pc-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.nexashop-pc-pill.is-pos {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.nexashop-pc-pill.is-neg {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.nexashop-pc-pill .remove-pc-tag {
	background: none;
	border: none;
	color: inherit;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	opacity: 0.75;
}

.nexashop-pc-pill .remove-pc-tag:hover {
	opacity: 1;
}

/* Review Guidelines Box in Modal */
.nexashop-review-guidelines-box {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	padding: 12px 14px;
	margin-top: 12px;
}

.nexashop-review-guidelines-box .guidelines-head {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	color: #92400e;
	margin-bottom: 6px;
}

.nexashop-review-guidelines-box .guidelines-text {
	font-size: 11.5px;
	line-height: 1.8;
	color: #78350f;
}

/* Rendered Review Card Pros & Cons + Criteria Pills */
.nexashop-review-pros-cons {
	margin: 10px 0 12px 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.nexashop-review-pros-cons .pc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nexashop-review-pros-cons .pc-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
}

.nexashop-review-pros-cons .pc-item.is-pro {
	color: #059669;
}

.nexashop-review-pros-cons .pc-item.is-con {
	color: #dc2626;
}

.nexashop-review-pros-cons .pc-sign {
	font-weight: 900;
	font-size: 14px;
	width: 14px;
	text-align: center;
}

.nexashop-review-criteria-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 10px 0;
}

.nexashop-review-crit-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 3px 8px;
	font-size: 11px;
	color: #475569;
}

.nexashop-review-crit-pill .crit-pill-score {
	font-weight: 800;
	color: #0f172a;
}

