.plw-like-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-sizing: border-box;
	background-color: #FFF0F0;
	border-style: solid;
	border-width: 1px;
	border-color: #FFD5D5;
	border-radius: 18px;
	width: 60px;
	height: 65px;
	padding: 6px 8px;
	direction: rtl;
	user-select: none;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.plw-like-box.plw-count-below {
	flex-direction: column;
}

.plw-like-box.plw-count-inline {
	flex-direction: row;
}

/* ریست کامل استایل پیش‌فرض دکمه برای حذف هاور/فوکوس زشت مرورگر (با !important برای غلبه بر استایل قالب/مرورگر) */
.plw-like-button,
.plw-like-button:hover,
.plw-like-button:focus,
.plw-like-button:focus-visible,
.plw-like-button:active,
.plw-like-button:visited {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	outline: none !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	-webkit-tap-highlight-color: transparent !important;
	-webkit-focus-ring-color: transparent !important;
	touch-action: manipulation;
	cursor: pointer;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: inherit;
}

.plw-like-button::-moz-focus-inner {
	border: 0 !important;
}

/* بعضی قالب‌ها/افزونه‌ها رنگ پس‌زمینه آبی رو مستقیم روی svg یا والدش ست می‌کنن */
.plw-like-button svg,
.plw-like-button .plw-icon-wrap {
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
}

.plw-heart-icon {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #FF7777;
	transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.plw-heart-icon:hover {
	fill: inherit;
	stroke: inherit;
}

.plw-like-box.is-liked .plw-heart-icon {
	fill: #E91E63;
	stroke: #E91E63;
}

/* آیکون سفارشی */
.plw-icon-wrap {
	display: none;
	align-items: center;
	justify-content: center;
	line-height: 0;
	pointer-events: none;
}

.plw-icon-wrap i,
.plw-icon-wrap svg {
	pointer-events: none;
}

.plw-icon-inactive {
	display: inline-flex;
}

.plw-icon-active {
	display: none;
}

.plw-like-box.is-liked .plw-icon-inactive {
	display: none;
}

.plw-like-box.is-liked .plw-icon-active {
	display: inline-flex;
}

/* انیمیشن کلیک لایک */
.plw-like-box.plw-animate .plw-heart-icon,
.plw-like-box.plw-animate .plw-icon-wrap {
	animation: plw-heart-pop 0.35s ease;
}

@keyframes plw-heart-pop {
	0% {
		transform: scale(1);
	}
	35% {
		transform: scale(1.35);
	}
	60% {
		transform: scale(0.9);
	}
	100% {
		transform: scale(1);
	}
}

.plw-like-count {
	font-weight: 700;
	font-size: 16px;
	color: #FF7777;
	direction: ltr;
}

.plw-notice {
	padding: 10px 14px;
	background: #fff3cd;
	color: #856404;
	border-radius: 8px;
	font-size: 13px;
}
