/* بنر تخفیف نوین — استایل پایه سمت کاربر.
   موقعیت، اندازه، فاصله‌ها، انحنا و رنگ‌ها به صورت inline از تنظیمات تولید می‌شوند. */

#nndb-banner {
	position: fixed;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	line-height: 0;
	transition: opacity .35s ease, visibility .35s ease;
}

#nndb-banner,
#nndb-banner *,
#nndb-banner *::before,
#nndb-banner *::after {
	box-sizing: border-box;
}

#nndb-banner.nndb-show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#nndb-banner .nndb-inner {
	position: relative;
	display: block;
	transform: var(--nndb-from, none);
	transition: transform .4s cubic-bezier(.2, .8, .25, 1);
}

#nndb-banner.nndb-show .nndb-inner {
	transform: none;
}

#nndb-banner.nndb-anim-none,
#nndb-banner.nndb-anim-none .nndb-inner {
	transition: none;
}

#nndb-banner .nndb-link {
	display: block;
	border: 0;
	outline: 0;
	box-shadow: none;
	text-decoration: none;
}

#nndb-banner .nndb-media {
	display: block;
	position: relative;
	overflow: hidden;
	line-height: 0;
}

#nndb-banner .nndb-media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: inherit;
}

#nndb-banner .nndb-close {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: transform .15s ease;
}

#nndb-banner .nndb-close:hover,
#nndb-banner .nndb-close:focus {
	transform: scale(1.1);
}

#nndb-banner .nndb-close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

#nndb-banner .nndb-close svg {
	display: block;
	width: 58%;
	height: 58%;
}

#nndb-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .35s ease, visibility .35s ease;
}

#nndb-overlay.nndb-show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	#nndb-banner,
	#nndb-banner .nndb-inner,
	#nndb-banner .nndb-close,
	#nndb-overlay {
		transition: none !important;
	}

	#nndb-banner .nndb-inner {
		transform: none !important;
	}
}

@media print {
	#nndb-banner,
	#nndb-overlay {
		display: none !important;
	}
}
