.sn-pf {
	direction: rtl;
	text-align: right;
	font-family: inherit;
}

.sn-pf-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.sn-pf-title {
	font-size: 16px;
	font-weight: 700;
}

.sn-pf-view-all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
	color: inherit;
	font-family: inherit;
}

.sn-pf-view-all-arrow {
	font-size: 15px;
	line-height: 1;
	transform: translateY(-1px);
}

.sn-pf-viewport {
	overflow: hidden;
}

.sn-pf-track {
	--sn-pf-visible: 3;
	--sn-pf-gap: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sn-pf-item {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #F8F9FB;
	border: 1px solid transparent;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
	min-width: 0;
}

.sn-pf-item.is-highlighted {
	background: #FFFFFF;
	border-color: #E4402B;
}

.sn-pf-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 18px;
	color: #8A8F98;
}

.sn-pf-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sn-pf-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sn-pf-label {
	font-size: 12px;
	color: #8A8F98;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sn-pf-value {
	font-size: 14px;
	font-weight: 600;
	color: #1F2126;
	overflow-wrap: break-word;
}

.sn-pf-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}

.sn-pf-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #D9DCE1;
	transition: transform .2s ease, background-color .2s ease;
}

.sn-pf-dot.is-active {
	background: #E4402B;
	transform: scale(1.3);
}

/* ---- Carousel mode (JS toggles this class on the viewport at/below the breakpoint) ---- */
.sn-pf-viewport.is-carousel {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.sn-pf-viewport.is-carousel::-webkit-scrollbar {
	display: none;
}

.sn-pf-viewport.is-carousel .sn-pf-track {
	flex-wrap: nowrap;
}

.sn-pf-viewport.is-carousel .sn-pf-item {
	flex: 0 0 calc((100% - (var(--sn-pf-visible) - 1) * var(--sn-pf-gap, 8px)) / var(--sn-pf-visible));
	scroll-snap-align: start;
}

.sn-pf-dots:not(.is-visible) {
	display: none;
}

.sn-pf-editor-hint {
	font-size: 11px;
	color: #8A8F98;
	border: 1px dashed #D9DCE1;
	border-radius: 6px;
	padding: 6px 8px;
	margin-bottom: 8px;
}

@media (max-width: 480px) {
	.sn-pf-title {
		font-size: 15px;
	}

	.sn-pf-header {
		margin-bottom: 8px;
	}
}

/* ==========================================================
 * قالب لیست نقطه‌ای (پیش‌فرض جدید)
 * ========================================================== */
.sn-pf--list .sn-pf-header {
	margin-bottom: 10px;
}

.sn-pf-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sn-pf-list-item {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.sn-pf-list-item::before {
	content: '';
	width: 6px;
	height: 6px;
	min-width: 6px;
	border-radius: 50%;
	background: #2F6FED;
	transform: translateY(-2px);
}

.sn-pf-list-text {
	font-size: 14px;
	line-height: 1.6;
	color: #1F2126;
	overflow-wrap: break-word;
}

.sn-pf-list-item--extra {
	display: none;
}

.sn-pf--list.is-expanded .sn-pf-list-item--extra {
	display: flex;
}

.sn-pf-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	margin-top: 14px;
	padding: 10px 0 0;
	background: none;
	border: none;
	border-top: 1px solid #EEF0F3;
	cursor: pointer;
	font-size: 13px;
	color: #6B7280;
	font-family: inherit;
}

.sn-pf-toggle-arrow {
	font-size: 12px;
	line-height: 1;
	transition: transform .2s ease;
}

.sn-pf--list.is-expanded .sn-pf-toggle-arrow {
	transform: rotate(180deg);
}
