.nyd-ad-slot-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #000;
	overflow: hidden;
}

.nyd-ad-slot-inner {
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.nyd-ad-slot-image {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.nyd-ad-slot-video {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.nyd-ad-slot-youtube-wrap {
	position: relative;
	width: 100%;
	max-width: 900px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
}

.nyd-ad-slot-youtube {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Upload widget (order pages) */
.nyd-upload-widget {
	max-width: 600px;
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 16px;
	margin: 20px 0;
}

.nyd-upload-widget .nyd-current-media-preview img,
.nyd-upload-widget .nyd-current-media-preview video {
	max-width: 100%;
	max-height: 260px;
	display: block;
	margin: 0 auto 12px;
	border-radius: 4px;
}

.nyd-upload-widget .nyd-preview-youtube {
	width: 100%;
	height: 260px;
	display: block;
	margin: 0 auto 12px;
}

.nyd-media-type-select label {
	margin-inline-end: 15px;
}

.nyd-field-youtube input {
	width: 100%;
	margin-top: 8px;
}

.nyd-upload-status {
	margin-inline-start: 10px;
	font-weight: 600;
}

.nyd-upload-status.success {
	color: #1a7a3a;
}

.nyd-upload-status.error {
	color: #a11919;
}

/* תוכן שהוגש ע"י לקוח וממתין לאישור מנהל - אינו מוצג עדיין באתר */
.nyd-pending-preview-wrap {
	margin: 12px 0;
	padding: 10px 12px;
	background: #fff8e1;
	border: 1px solid #f0c14b;
	border-radius: 4px;
}

.nyd-pending-label {
	font-weight: 600;
	color: #8a6d00;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nyd-pending-media-preview img,
.nyd-pending-media-preview video {
	max-width: 100%;
	max-height: 220px;
	display: block;
	margin: 0 auto 8px;
	border-radius: 4px;
}

.nyd-pending-media-preview .nyd-preview-youtube {
	width: 100%;
	height: 220px;
	display: block;
	margin: 0 auto 8px;
}

.nyd-approval-note {
	color: #8a6d00;
}

/* מידע ללקוח: למשך כמה זמן התוכן שלו יוצג באתר, לפי התאריכים שהאדמין הגדיר לסלוט */
/* ווידג'ט "אתם ברשימת ההמתנה" - מוצג ללקוח שרכש סלוט שעדיין תפוס (נוסף ב-1.4.0) */
.nyd-waitlist-widget {
	border-inline-start: 4px solid #f0c36d;
}

.nyd-waitlist-widget .nyd-schedule-info {
	background: #fff8e5;
	border-color: #f0c36d;
	color: #7a5a00;
}

.nyd-schedule-info {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 8px 12px;
	background: #eef4ff;
	border: 1px solid #bcd4f5;
	border-radius: 4px;
	color: #1a4a8a;
	font-size: 13px;
}

/* ---- קרוסלת פרסומות (שורטקוד [nyd_ad_carousel], נוסף ב-1.5.0) ---- */

.nyd-carousel {
	position: relative;
	width: 100%;
	margin: 0 auto 20px;
	overflow: hidden;
}

.nyd-carousel-track {
	position: relative;
}

.nyd-carousel-slide {
	display: none;
}

.nyd-carousel-slide.is-active {
	display: block;
	animation: nyd-carousel-fade 0.45s ease;
}

@keyframes nyd-carousel-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* בתוך הקרוסלה, הפרסומת עצמה לא צריכה את המרווח התחתון של תצוגת עמוד היעד הרגילה */
.nyd-carousel-slide .nyd-ad-slot-wrap {
	margin-bottom: 0;
}

.nyd-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 38px;
	height: 38px;
	padding: 0;
	line-height: 1;
	font-size: 26px;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease;
}

.nyd-carousel-arrow:hover,
.nyd-carousel-arrow:focus {
	background: rgba(0, 0, 0, 0.75);
}

.nyd-carousel-prev { inset-inline-start: 10px; }
.nyd-carousel-next { inset-inline-end: 10px; }

.nyd-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.nyd-carousel-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	background: #c9c9c9;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.nyd-carousel-dot.is-active {
	background: #1a4a8a;
	transform: scale(1.25);
}

@media (max-width: 600px) {
	.nyd-carousel-arrow {
		width: 30px;
		height: 30px;
		font-size: 20px;
	}
}

/* הודעת רשימת המתנה בדף המוצר / סל / תשלום (נוסף ב-1.5.0) */
.nyd-waitlist-notice {
	margin: 12px 0;
	padding: 10px 14px;
	border: 1px solid #f0c36d;
	background: #fff8e5;
	border-radius: 4px;
	color: #6b5200;
	line-height: 1.6;
}

.nyd-waitlist-notice--free {
	border-color: #9ad29a;
	background: #eefaee;
	color: #1e5b2a;
}

/* שם הסלוט בתוך תיבת הזמינות (כשיש כמה פריטים בסל) */
.nyd-availability-slot-name {
	font-weight: 700;
	font-size: 0.95em;
	opacity: 0.85;
}

/* תגית זמינות ברשימת המוצרים (עמוד חנות/קטגוריה) - נוסף ב-1.5.2 */
.nyd-loop-badge {
	display: inline-block;
	margin: 4px 0;
	padding: 3px 9px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	border-radius: 3px;
	background: #fff8e5;
	border: 1px solid #f0c36d;
	color: #6b5200;
}

.nyd-loop-badge--free {
	background: #eefaee;
	border-color: #9ad29a;
	color: #1e5b2a;
}

/* שורת זמינות מסוכמת (שורטקוד compact) */
.nyd-availability-line {
	margin: 8px 0;
	padding: 8px 12px;
	border-inline-start: 4px solid #f0c36d;
	background: #fff8e5;
	color: #6b5200;
	font-weight: 600;
	border-radius: 3px;
}

.nyd-availability-line--free {
	border-inline-start-color: #9ad29a;
	background: #eefaee;
	color: #1e5b2a;
}

/* פרטי הסלוט בתוך מיני-קארט / עגלת צד צפה (נוסף ב-1.5.4) */
.nyd-mini-cart-slot-info {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 400;
	opacity: 0.9;
}

.nyd-mini-cart-slot-line {
	display: block;
}

/* ==== 1.15.0: קרוסלה במראה showcase (ברירת המחדל; style="classic" = המראה הקודם) ==== */
.nyd-carousel--showcase {
	--nyd-acc: var(--acc, #e0302b);
	--nyd-ease: cubic-bezier(.22, .61, .36, 1);
	margin: 0 auto 24px;
	overflow: visible;
	direction: rtl;
}
.nyd-carousel--showcase .nyd-carousel-stage {
	position: relative;
	aspect-ratio: var(--nyd-ratio, 16 / 9);
	border-radius: 22px;
	overflow: hidden;
	isolation: isolate;
	background: #07080a;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* מסגרת אור עדינה שמסתובבת סביב הבמה */
.nyd-carousel--showcase .nyd-carousel-stage::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: 4;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--nyd-ang, 0deg), transparent 0 70%, rgba(255, 255, 255, .55) 80%, var(--nyd-acc) 86%, transparent 94%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: nyd-spin 7s linear infinite;
	pointer-events: none;
	opacity: .8;
}
@property --nyd-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes nyd-spin { to { --nyd-ang: 360deg; } }
/* הצללה תחתונה לקריאות התווית והפס */
.nyd-carousel--showcase .nyd-carousel-stage::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 38%;
	z-index: 2;
	background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent);
	pointer-events: none;
}
.nyd-carousel--showcase .nyd-carousel-track {
	position: absolute;
	inset: 0;
}
.nyd-carousel--showcase .nyd-carousel-slide,
.nyd-carousel--showcase .nyd-carousel-slide.is-active {
	display: block;
	position: absolute;
	inset: 0;
	animation: none;
}
.nyd-carousel--showcase .nyd-carousel-slide {
	opacity: 0;
	visibility: hidden;
	transform: scale(1.035);
	transition: opacity .9s var(--nyd-ease), transform 1.2s var(--nyd-ease), visibility 0s linear .9s;
}
.nyd-carousel--showcase .nyd-carousel-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: opacity .9s var(--nyd-ease), transform 1.2s var(--nyd-ease), visibility 0s;
	z-index: 1;
}
/* רקע מטושטש מאותה תמונה – כך פרסומת בכל יחס ממלאת את הבמה בלי פסים שחורים */
.nyd-carousel--showcase .nyd-carousel-bg {
	position: absolute;
	inset: -40px;
	background: #07080a center / cover no-repeat;
	filter: blur(30px) saturate(1.35) brightness(.5);
	transform: scale(1.1);
}
.nyd-carousel--showcase .nyd-ad-slot-wrap {
	position: relative;
	height: 100%;
	background: transparent;
	margin: 0;
}
.nyd-carousel--showcase .nyd-ad-slot-inner {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nyd-carousel--showcase .nyd-ad-slot-image,
.nyd-carousel--showcase .nyd-ad-slot-video {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45));
}
/* זום איטי ("קן ברנס") בזמן שהשקופית מוצגת */
.nyd-carousel--showcase .nyd-carousel-slide.is-active .nyd-ad-slot-image {
	animation: nyd-kenburns calc(var(--nyd-dur, 5s) + 1.5s) linear both;
}
@keyframes nyd-kenburns {
	from { transform: scale(1); }
	to   { transform: scale(1.06); }
}
.nyd-carousel--showcase .nyd-ad-slot-youtube-wrap {
	max-width: none;
	height: 100%;
	aspect-ratio: auto;
}
.nyd-carousel--showcase .nyd-carousel-badge {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.4;
	color: #fff;
	background: rgba(15, 17, 21, .45);
	border: 1px solid rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.nyd-carousel--showcase .nyd-carousel-arrow {
	z-index: 3;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(15, 17, 21, .4);
	border: 1px solid rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity .3s ease, transform .3s var(--nyd-ease), background .2s ease;
}
.nyd-carousel--showcase .nyd-carousel-prev { inset-inline-start: 16px; transform: translateY(-50%) translateX(8px); }
.nyd-carousel--showcase .nyd-carousel-next { inset-inline-end: 16px; transform: translateY(-50%) translateX(-8px); }
.nyd-carousel--showcase:hover .nyd-carousel-arrow,
.nyd-carousel--showcase:focus-within .nyd-carousel-arrow {
	opacity: 1;
	transform: translateY(-50%);
}
.nyd-carousel--showcase .nyd-carousel-arrow:hover,
.nyd-carousel--showcase .nyd-carousel-arrow:focus-visible {
	background: var(--nyd-acc);
	border-color: transparent;
}
.nyd-carousel--showcase .nyd-carousel-arrow:focus-visible,
.nyd-carousel--showcase .nyd-carousel-dot:focus-visible,
.nyd-carousel--showcase .nyd-carousel-cta a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}
@media (hover: none) {
	.nyd-carousel--showcase .nyd-carousel-arrow { opacity: 1; transform: translateY(-50%); width: 40px; height: 40px; }
}
.nyd-carousel--showcase .nyd-carousel-progress {
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	z-index: 3;
	background: rgba(255, 255, 255, .15);
}
.nyd-carousel--showcase .nyd-carousel-progress span {
	display: block;
	height: 100%;
	width: 100%;
	transform: scaleX(0);
	transform-origin: right center;
	background: linear-gradient(270deg, var(--nyd-acc), #fff);
}
.nyd-carousel--showcase .nyd-carousel-progress span.is-run {
	animation: nyd-progress var(--nyd-dur, 5s) linear forwards;
}
.nyd-carousel--showcase.is-paused .nyd-carousel-progress span.is-run { animation-play-state: paused; }
@keyframes nyd-progress { to { transform: scaleX(1); } }
.nyd-carousel--showcase .nyd-carousel-dots {
	gap: 6px;
	margin-top: 14px;
}
.nyd-carousel--showcase .nyd-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: currentColor;
	opacity: .28;
	transition: width .35s var(--nyd-ease), opacity .2s ease, background .2s ease;
}
.nyd-carousel--showcase .nyd-carousel-dot.is-active {
	width: 28px;
	opacity: 1;
	background: var(--nyd-acc);
	transform: none;
}
.nyd-carousel--showcase .nyd-carousel-cta {
	margin: 12px 0 0;
	text-align: center;
	font-size: 15px;
}
.nyd-carousel--showcase .nyd-carousel-cta a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--nyd-acc);
	padding-bottom: 2px;
}
@media (max-width: 600px) {
	.nyd-carousel--showcase .nyd-carousel-stage { border-radius: 16px; }
	.nyd-carousel--showcase .nyd-carousel-badge { top: 10px; inset-inline-start: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
	.nyd-carousel--showcase .nyd-carousel-stage::before { animation: none; }
	.nyd-carousel--showcase .nyd-carousel-slide,
	.nyd-carousel--showcase .nyd-carousel-slide.is-active { transform: none; transition: opacity .3s linear, visibility 0s; }
	.nyd-carousel--showcase .nyd-carousel-slide.is-active .nyd-ad-slot-image { animation: none; }
}
