.mspp-widget-wrap {
	font-family: inherit;
	direction: rtl;
	text-align: right;
	max-width: 100%;
}

.mspp-last-update {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #6b7280;
	background: #f5f5fb;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.mspp-update-date {
	font-weight: 700;
	color: #4b4fdb;
}

.mspp-search-box {
	position: relative;
	width: 100%;
}

.mspp-search-input {
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	padding: 15px 20px 15px 48px;
	border: 1.5px solid #e6e6f0;
	border-radius: 14px;
	outline: none;
	background: #fff;
	box-shadow: 0 2px 10px rgba(20, 20, 43, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mspp-search-input::placeholder {
	color: #a3a6b8;
}

.mspp-search-input:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.mspp-search-icon {
	position: absolute;
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
	color: #9296ac;
	pointer-events: none;
	display: flex;
	transition: color 0.2s ease;
}

.mspp-search-input:focus ~ .mspp-search-icon {
	color: #6366f1;
}

.mspp-loading {
	margin-top: 14px;
	font-size: 13px;
	color: #9296ac;
	display: flex;
	align-items: center;
	gap: 8px;
}

.mspp-loading::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid #d9d9ea;
	border-top-color: #6366f1;
	border-radius: 50%;
	animation: mspp-spin 0.7s linear infinite;
}

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

.mspp-results {
	margin-top: 16px;
}

.mspp-results-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mspp-result-item {
	background: #fff;
	border: 1px solid #eeeef5;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 2px 8px rgba(20, 20, 43, 0.04);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mspp-result-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(20, 20, 43, 0.08);
	border-color: #e2e2f5;
}

.mspp-result-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.mspp-result-title {
	font-weight: 700;
	font-size: 15px;
	color: #1e1b2e;
}

.mspp-result-price {
	font-weight: 800;
	font-size: 15px;
	color: #6366f1;
	background: #f2f1fd;
	padding: 4px 12px;
	border-radius: 999px;
	white-space: nowrap;
	display: inline-block;
}

.mspp-result-extra {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #eeeef5;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 12.5px;
	color: #6b7280;
}

.mspp-meta-label {
	font-weight: 600;
	color: #9296ac;
}

.mspp-no-results {
	padding: 20px;
	text-align: center;
	color: #9296ac;
	font-size: 13.5px;
	background: #f9f9fc;
	border: 1px dashed #e6e6f0;
	border-radius: 14px;
}
