/* הפס העליון – הודעה אחת בכל פעם (משה, 16.11.2026). רק transform/opacity, בלי שום דבר שרץ ברקע. */
.mbn {
	position: relative;
	height: 42px;
	overflow: hidden;
	background: var(--mbn-bg, #a68368);
	color: var(--mbn-fg, #fff);
	direction: rtl;
	font-size: 14px;
	line-height: 1.25;
	text-align: center;
	-webkit-user-select: none;
	user-select: none;
}
/* הווידג'ט של התבנית (chaim-ticker) כותב LTR ו-overflow – אצלנו עברית רגילה */
.chaim-ticker .mbn,
.chaim-ticker:has(.mbn) { direction: rtl; }
.mbn__track { position: absolute; inset: 0; }
.mbn__m {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 40px;
	color: inherit !important;
	text-decoration: none !important;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateY(100%);
	transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .35s ease, visibility 0s linear .45s;
}
.mbn__m.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .35s ease, visibility 0s;
}
.mbn__m.is-out { opacity: 0; visibility: visible; transform: translateY(-100%); }
.mbn__t { overflow: hidden; text-overflow: ellipsis; }
.mbn__m.is-long { font-size: .9em; letter-spacing: -.1px; }
.mbn__t bdi { font-variant-numeric: tabular-nums; }
a.mbn__m:focus { outline: none; }
a.mbn__m:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

/* עצירה – קטן, בצד שמאל. ".mbn .mbn__pz" + !important: הכלל של WoodMart ל-button (:is(.btn,.button,button,[type=button]) – position:relative, inline-flex, ריפוד 20px) נטען אחרינו ומחץ את הסמל לרוחב 0 (16.11.2026) */
.mbn .mbn__pz {
	position: absolute !important;
	z-index: 2;
	left: 6px !important;
	right: auto !important;
	top: 50% !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: -16px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 0 !important;
	opacity: .95;
	cursor: pointer;
	min-height: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
}
.mbn__pz:hover, .mbn__pz:focus-visible { opacity: 1; }
.mbn__pz:focus { outline: none !important; }
.mbn__pz:focus-visible { outline: 2px solid currentColor !important; outline-offset: -3px; }
.mbn .mbn__pz svg { width: 13px !important; height: 13px !important; fill: currentColor; flex: none; }
.mbn .mbn__pz .mbn__i-pause { display: block; }
.mbn .mbn__pz .mbn__i-play { display: none; }
.mbn.is-paused .mbn__pz .mbn__i-pause { display: none; }
.mbn.is-paused .mbn__pz .mbn__i-play { display: block; }

/* "קיבלת X% הנחה" – רק במבצע מדרגות, נפתח על כל הפס לכמה שניות */
.mbn__up {
	position: absolute;
	z-index: 3;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 12px;
	background: var(--mbn-bg, #a68368);
	color: var(--mbn-fg, #fff);
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transform: scale(.96);
	transition: opacity .3s ease, transform .35s cubic-bezier(.3, .7, .2, 1);
}
.mbn__up[hidden] { display: none; }
.mbn__up.is-on { opacity: 1; transform: none; }
.mbn__up b { font-weight: 700; }
.mbn__up span { font-weight: 400; opacity: .92; }

@media (min-width: 1025px) {
	.mbn { font-size: 14.5px; }
}
@media (max-width: 360px) {
	.mbn { font-size: 13px; }
	.mbn__m { padding: 0 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.mbn__m, .mbn__m.is-on, .mbn__up { transition: none; }
	.mbn__m.is-out { transform: none; }
}
