/* =========================================================================
   ui.css — הודעת ראש, חלונות, הודעות צפות, שיתוף עגלה ואנימציות.
   ========================================================================= */

/* ---------- הודעה בראש האתר ---------- */
.bpx-topnotice {
	position: relative;
	z-index: 60;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(90deg, #4c1d95, #7c3aed 55%, #a855f7);
	transition: opacity .28s, transform .28s, height .28s;
	opacity: 0;
	transform: translateY(-6px);
}
.bpx-topnotice.is-in { opacity: 1; transform: none; }
.bpx-topnotice.is-out { opacity: 0; height: 0 !important; }
.bpx-topnotice--good { background: linear-gradient(90deg, #065f46, #10b981 60%, #34d399); }
.bpx-topnotice--warn { background: linear-gradient(90deg, #9a3412, #ea580c 60%, #f59e0b); }

.bpx-topnotice-in {
	max-width: 1240px;
	margin: 0 auto;
	padding: 9px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
}
.bpx-topnotice-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
	animation: bpx-pulse 2.4s infinite;
}
@keyframes bpx-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
	70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.bpx-topnotice-txt { flex: 1 1 auto; min-width: 0; }
.bpx-topnotice-cta {
	flex: 0 0 auto;
	background: rgba(255, 255, 255, .18);
	border: 1px solid rgba(255, 255, 255, .45);
	color: #fff !important;
	text-decoration: none;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 13.5px;
	font-weight: 700;
	transition: background-color .16s;
}
.bpx-topnotice-cta:hover { background: rgba(255, 255, 255, .3); }
.bpx-topnotice-x {
	flex: 0 0 auto;
	background: none;
	border: 0;
	color: #fff;
	opacity: .8;
	cursor: pointer;
	padding: 4px;
	line-height: 0;
	border-radius: 6px;
}
.bpx-topnotice-x:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
.bpx-topnotice-x .bpx-i { width: 16px; height: 16px; }

@media (max-width: 640px) {
	.bpx-topnotice-in { padding: 8px 12px; font-size: 13.2px; gap: 8px; }
	.bpx-topnotice-cta { padding: 4px 11px; font-size: 12.5px; }
}

/* ---------- הודעות צפות ---------- */
.bpx-toasts {
	position: fixed;
	inset-block-end: 20px;
	inset-inline-start: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 9px;
	pointer-events: none;
	max-width: min(380px, calc(100vw - 32px));
}
.bpx-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #1b1233;
	color: #fff;
	font-size: 14.5px;
	line-height: 1.4;
	box-shadow: 0 12px 30px rgba(20, 10, 40, .34);
	opacity: 0;
	transform: translateY(12px) scale(.97);
	transition: opacity .22s, transform .22s;
}
.bpx-toast.is-in { opacity: 1; transform: none; }
.bpx-toast--good { background: #0f6d3f; }
.bpx-toast--bad { background: #9f1239; }
.bpx-toast-msg { flex: 1 1 auto; min-width: 0; }
.bpx-toast-act {
	flex: 0 0 auto;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .34);
	color: #fff;
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 13.5px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}
.bpx-toast-act:hover { background: rgba(255, 255, 255, .28); }
.bpx-toast-x {
	flex: 0 0 auto;
	background: none;
	border: 0;
	color: #fff;
	opacity: .6;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}
.bpx-toast-x:hover { opacity: 1; }

@media (max-width: 640px) {
	/* שתי הפינות התחתונות תפוסות: מגדל הכפתורים הצפים בצד הקצה-הפנימי
	   (inline-end, שמאל ב-RTL) מגיע עד ~188px מהתחתית — גבוה מדי מכדי
	   לעבור מעליו — ותפריט הנגישות בפינה הנגדית מגיע רק עד ~58px, אז
	   76px מספיקים כדי לעבור מעליו. */
	.bpx-toasts {
		/* הרצועה עצמה נשארת ברוחב מלא כדי לא לגזול מקום מהטקסט;
		   את הפינוי מהכפתורים הצפים עושה margin על הטוסט הבודד. */
		inset-inline: 12px;
		inset-block-end: 76px;
		max-width: none;
		align-items: stretch;
	}
	/* עמודת הכפתורים הצפים רחבה 52px ויושבת 12px מהקצה (0–64px);
	   64px כאן, על גבי ה-12px של הרצועה, מציבים את קצה הטוסט ב-76px
	   מהקצה — 12px אוויר מהכפתורים, והם לעולם לא נחסמים. */
	.bpx-toast { margin-inline-end: 64px; }
}

/* ---------- חלון קופץ ---------- */
body.bpx-noscroll { overflow: hidden; }

.bpx-modal { position: fixed; inset: 0; z-index: 10000; }
.bpx-modal[hidden] { display: none; }
.bpx-modal-back {
	position: absolute;
	inset: 0;
	background: rgba(18, 10, 34, .58);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .24s;
}
.bpx-modal.is-open .bpx-modal-back { opacity: 1; }
.bpx-modal-box {
	position: absolute;
	inset-inline: 0;
	margin-inline: auto;
	top: 50%;
	width: min(480px, calc(100vw - 28px));
	max-height: min(86vh, 720px);
	overflow: auto;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 26px 70px rgba(20, 10, 45, .4);
	transform: translateY(-46%) scale(.96);
	opacity: 0;
	transition: opacity .24s, transform .24s;
}
.bpx-modal.is-open .bpx-modal-box { opacity: 1; transform: translateY(-50%) scale(1); }
.bpx-modal-box--sm { width: min(420px, calc(100vw - 28px)); }
.bpx-modal-x {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f2eefa;
	color: #4a3b66;
	font-family: system-ui, sans-serif; /* הגליף × בגופן העברי לא ממורכז */
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background-color .16s, color .16s;
}
.bpx-modal-x:hover { background: #e5dcf6; color: #1c1330; }
.bpx-modal-head {
	padding: 24px 24px 4px;
	padding-inline-end: 60px; /* מקום לכפתור הסגירה */
}
.bpx-modal-head strong { display: block; font-size: 22px; font-weight: 800; color: var(--bp-ink); }
.bpx-modal-head span { display: block; font-size: 14.5px; color: var(--bp-body); margin-top: 4px; line-height: 1.5; }
.bpx-modal-body { padding: 16px 24px 24px; }
.bpx-modal-lab { display: block; font-size: 13.5px; font-weight: 600; color: var(--bp-body); margin-bottom: 6px; }
.bpx-modal-ta {
	width: 100%;
	border: 1.5px solid var(--bp-line);
	border-radius: 13px;
	padding: 11px 13px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	resize: vertical;
	background: #fcfbff;
}
.bpx-modal-ta:focus { outline: 0; border-color: var(--bp-primary); background: #fff; }
.bpx-modal-send { width: 100%; justify-content: center; margin-top: 11px; }
.bpx-modal-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 14px;
	color: #a9a2bb;
	font-size: 13px;
}
.bpx-modal-or::before,
.bpx-modal-or::after { content: ''; flex: 1; height: 1px; background: var(--bp-line); }
.bpx-modal-links { display: grid; gap: 8px; }
.bpx-modal-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1.5px solid var(--bp-line);
	border-radius: 14px;
	text-decoration: none;
	color: var(--bp-ink);
	transition: border-color .16s, background-color .16s, transform .16s;
}
.bpx-modal-link:hover {
	border-color: var(--bp-primary);
	background: var(--bp-primary-l);
	transform: translateY(-1px);
	color: var(--bp-ink);
}
.bpx-modal-ico {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--bp-primary-l);
	color: var(--bp-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
}
.bpx-modal-link strong { display: block; font-size: 15px; font-weight: 700; }
.bpx-modal-link small { display: block; font-size: 12.5px; color: var(--bp-body); margin-top: 1px; }

@media (max-width: 640px) {
	.bpx-modal-box {
		top: auto;
		bottom: 0;
		transform: translateY(28px);
		border-radius: 22px 22px 0 0;
		width: 100%;
		max-height: 90vh;
	}
	.bpx-modal.is-open .bpx-modal-box { transform: none; }
	.bpx-modal-head { padding: 22px 18px 4px; }
	.bpx-modal-body { padding: 14px 18px calc(20px + env(safe-area-inset-bottom)); }
}

/* ---------- שיתוף עגלה ---------- */
.bpx-share-url { display: flex; gap: 7px; }
.bpx-share-url input {
	flex: 1 1 auto;
	min-width: 0;
	border: 1.5px solid var(--bp-line);
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 13.5px;
	background: #fbfaff;
	color: var(--bp-body);
	direction: ltr;
	text-align: left;
}
.bpx-share-url button {
	flex: 0 0 auto;
	border: 0;
	border-radius: 12px;
	background: var(--bp-primary);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 16px;
	cursor: pointer;
}
.bpx-share-url button:hover { background: var(--bp-primary-d); }
.bpx-share-note { font-size: 12.5px; color: var(--bp-body); text-align: center; margin: 12px 0 0; }

/* ---------- כלי העגלה ---------- */
.bpx-cart-tools {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: 10px;
	margin: 16px 0 10px;
}
.bpx-cart-tool {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 12px 14px;
	border: 1.5px solid var(--bp-line);
	border-radius: 14px;
	background: #fff;
	font-family: inherit;
	text-align: start;
	cursor: pointer;
	color: var(--bp-ink);
	transition: border-color .16s, background-color .16s, transform .16s;
}
.bpx-cart-tool:hover { border-color: var(--bp-primary); background: var(--bp-primary-l); transform: translateY(-1px); }
.bpx-cart-tool:disabled { opacity: .5; cursor: default; transform: none; }
.bpx-cart-tool .bpx-i { width: 19px; height: 19px; color: var(--bp-primary); flex: 0 0 auto; }
.bpx-cart-tool strong { display: block; font-size: 14.5px; font-weight: 700; }
.bpx-cart-tool small { display: block; font-size: 12.5px; color: var(--bp-body); margin-top: 1px; }
.bpx-cart-tool--danger:hover { border-color: #e11d48; background: #fff1f4; }
.bpx-cart-tool--danger:hover .bpx-i { color: #e11d48; }

.bpx-cart-keep {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--bp-body);
	margin: 4px 0 0;
}
.bpx-cart-keep .bpx-i { width: 16px; height: 16px; color: var(--bp-wa-d); flex: 0 0 auto; }

/* ---------- מצבי טעינה ואנימציות ---------- */
.bpx-busy { position: relative; pointer-events: none; }
.bpx-busy::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .55);
	border-radius: inherit;
	z-index: 3;
}
.bpx-fadeout { opacity: .35; transition: opacity .13s; }
.bpx-fadein { animation: bpx-fadein .32s ease; }
@keyframes bpx-fadein {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.bpx-cart-count.is-bump { animation: bpx-bump .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes bpx-bump {
	0% { transform: scale(1); }
	38% { transform: scale(1.5); }
	100% { transform: scale(1); }
}

.bpx-fly {
	position: fixed;
	z-index: 9998;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border-radius: 50%;
	background: var(--bp-primary);
	box-shadow: 0 4px 14px rgba(108, 15, 208, .5);
	pointer-events: none;
	transition: transform .62s cubic-bezier(.4, -0.2, .5, 1), opacity .62s ease-in;
}

@media (prefers-reduced-motion: reduce) {
	.bpx-topnotice, .bpx-toast, .bpx-modal-box, .bpx-modal-back, .bpx-fly { transition: none; }
	.bpx-topnotice-dot { animation: none; }
	.bpx-cart-count.is-bump, .bpx-fadein { animation: none; }
}

/* ---------- דגמים נוספים ---------- */
.bpx-sibs {
	margin: 30px 0 8px;
	padding: 20px 22px;
	background: linear-gradient(180deg, #fbfaff, #fff);
	border: 1px solid var(--bp-line);
	border-radius: 20px;
}
.bpx-sibs-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 15px;
}
.bpx-sibs-head h3 { margin: 0; font-size: 18.5px; font-weight: 800; color: var(--bp-ink); line-height: 1.35; }
.bpx-sibs-head p { margin: 3px 0 0; font-size: 13.8px; color: var(--bp-body); line-height: 1.45; }
.bpx-sibs-all {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bp-primary);
	text-decoration: none;
	white-space: nowrap;
}
.bpx-sibs-all:hover { text-decoration: underline; }
.bpx-sibs-all .bpx-i { width: 15px; height: 15px; }

/* גריד שנשבר לשורות — בלי גלילה הצידה */
.bpx-sibs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 8px;
	overflow: hidden;
	max-height: 116px;
	transition: max-height .32s ease;
	position: relative;
}
.bpx-sibs.is-open .bpx-sibs-grid { max-height: 1400px; }
.bpx-sibs-card {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 12px;
	background: #fff;
	border: 1.5px solid var(--bp-line);
	border-radius: 13px;
	text-decoration: none;
	color: var(--bp-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	transition: border-color .16s, box-shadow .16s, transform .16s;
}
.bpx-sibs-card:hover {
	border-color: var(--bp-primary);
	box-shadow: 0 6px 16px rgba(108, 15, 208, .13);
	transform: translateY(-2px);
	color: var(--bp-ink);
}
.bpx-sibs-card .bpx-mark { width: 24px; height: 24px; flex: 0 0 auto; }
.bpx-sibs-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.bpx-sibs-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 11px;
	padding: 10px;
	border: 1.5px dashed var(--bp-line);
	border-radius: 12px;
	background: #fff;
	color: var(--bp-primary);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .16s, background-color .16s;
}
.bpx-sibs-more:hover { border-color: var(--bp-primary); background: var(--bp-primary-l); }
.bpx-sibs-more::after {
	content: '';
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
	transition: transform .24s;
}
.bpx-sibs.is-open .bpx-sibs-more::after { transform: rotate(180deg); }

@media (max-width: 640px) {
	.bpx-sibs { padding: 16px; border-radius: 16px; }
	.bpx-sibs-grid { grid-template-columns: 1fr 1fr; max-height: 104px; }
	.bpx-sibs-head h3 { font-size: 17px; }
	.bpx-cart-tools { grid-template-columns: 1fr; }
}

/* ---------- דף הבית: קבלת מחיר לתיקון (בלי מספרים) ---------- */
.bpx-getprice {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 26px 34px;
	align-items: center;
	padding: 30px 32px;
	border-radius: 22px;
	background: linear-gradient(135deg, #faf6ff 0%, #fff 60%);
	border: 1px solid var(--bp-line);
	box-shadow: 0 6px 24px rgba(24, 16, 48, .05);
}
.bpx-getprice-txt h2 { margin: 10px 0 8px; font-size: 27px; font-weight: 800; color: var(--bp-ink); line-height: 1.28; }
.bpx-getprice-txt p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--bp-body); }
.bpx-getprice-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bpx-getprice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bpx-getprice-list li {
	display: flex; align-items: center; gap: 10px;
	margin: 0; padding: 12px 14px;
	background: #fff; border: 1px solid var(--bp-line); border-radius: 13px;
	font-size: 14.5px; font-weight: 600; color: var(--bp-ink); line-height: 1.4;
}
.bpx-getprice-list .bpx-i { width: 19px; height: 19px; color: var(--bp-primary); flex: 0 0 auto; }

@media (max-width: 860px) {
	.bpx-getprice { grid-template-columns: 1fr; padding: 22px 18px; gap: 20px; }
	.bpx-getprice-txt h2 { font-size: 22px; }
	.bpx-getprice-txt p { font-size: 15px; }
	.bpx-getprice-btns .bpx-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- כרטיסי קטגוריות החנות בדף הבית ----------
   ‎.bpx-on‎ בסלקטור אינו קישוט: ל-barphone.css יש ‎.bpx-on .bpx-shopcard‎
   עם flex-direction: column, שגובר על סלקטור בלי ‎.bpx-on‎. */
.bpx-on .bpx-shopcard {
	display: flex;
	align-items: center;
	gap: 11px;
	text-align: start;
}
.bpx-shopcard-ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--bp-primary-l);
	font-size: 21px;
	line-height: 1;
	/* אימוג'י צריך גופן שמכיל אותו — Rubik לא מכיל, והדפדפן היה נופל
	   לריבוע ריק בחלק מהמערכות. */
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
	transition: background-color .16s, transform .16s;
}
.bpx-shopcard:hover .bpx-shopcard-ico { background: #fff; transform: scale(1.06); }
.bpx-shopcard-txt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.bpx-on .bpx-shopcard-name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.bpx-on .bpx-shopcard-count { font-size: 12.5px; color: var(--bp-body); font-weight: 500; }

@media (max-width: 640px) {
	.bpx-shopcard-ico { width: 38px; height: 38px; font-size: 19px; border-radius: 11px; }
	.bpx-on .bpx-shopcard-name { font-size: 14px; }
}

/* ---------- שני המסלולים בגיבור: תיקון או קנייה ----------
   בגובה ובמשקל זהים בכוונה. ברגע שאחד מהם גדול מהשני, הלקוח השני
   מניח שהוא לא הגיע למקום הנכון. */
.bpx-paths {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 22px 0;
}
.bpx-path {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 16px 18px;
	border-radius: 18px;
	border: 1.5px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(6px);
	color: #fff;
	text-align: start;
	text-decoration: none;
	font-family: inherit;
	cursor: pointer;
	transition: background-color .18s, border-color .18s, transform .18s;
}
.bpx-path:hover {
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .45);
	transform: translateY(-2px);
	color: #fff;
}
.bpx-path-ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .16);
}
.bpx-path-ico .bpx-i { width: 23px; height: 23px; color: #fff; }
.bpx-path--shop .bpx-path-ico { background: rgba(37, 211, 102, .28); }
.bpx-path-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bpx-path-txt strong { font-size: 17.5px; font-weight: 800; line-height: 1.25; color: #fff; }
.bpx-path-txt small { font-size: 12.8px; opacity: .82; line-height: 1.4; }
.bpx-path-go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 700;
	opacity: .9;
	white-space: nowrap;
}
.bpx-path-go .bpx-i { width: 15px; height: 15px; }

@media (max-width: 860px) {
	.bpx-paths { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 420px) {
	.bpx-path { padding: 13px 14px; gap: 10px; }
	.bpx-path-ico { width: 40px; height: 40px; border-radius: 12px; }
	.bpx-path-txt strong { font-size: 16px; }
	.bpx-path-go { display: none; }
}

/* ---------- טעינת סים ---------- */
.bpx-topup-form {
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 1.5px solid #fbd9a8;
	border-radius: var(--bp-r);
	background: #fffaf2;
}
.bpx-topup-warn {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #7c3d09;
}
.bpx-topup-warn strong { color: #7c3d09; }
.bpx-on .bpx-topup-form .form-row { margin-bottom: 12px; }
.bpx-on .bpx-topup-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--bp-ink);
	margin-bottom: 5px;
}
.bpx-on .bpx-topup-form input[type=tel] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--bp-line);
	border-radius: 11px;
	background: #fff;
	font-size: 17px;
	font-family: var(--bp-font);
	letter-spacing: .04em;
}
.bpx-on .bpx-topup-form input[type=tel]:focus {
	border-color: var(--bp-primary);
	outline: none;
	box-shadow: 0 0 0 4px rgba(108, 15, 208, .1);
}
.bpx-topup-match {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	font-weight: 600;
	min-height: 18px;
	color: var(--bp-body);
}
.bpx-topup-match.is-good { color: var(--bp-wa-d); }
.bpx-topup-match.is-bad { color: #c2185b; }
.bpx-topup-sla {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--bp-body);
}
.bpx-topup-sla .bpx-i { width: 17px; height: 17px; color: var(--bp-primary); flex: 0 0 auto; }

.bpx-topup-imgwrap { display: block; }
.bpx-topup-tile { display: block; width: 100%; height: auto; border-radius: var(--bp-r); }

.bpx-topup-card {
	position: relative;
	padding-inline-start: 30px !important;
}
.bpx-topup-dot {
	position: absolute;
	inset-inline-start: 12px;
	top: 50%;
	margin-top: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bpx-carrier, var(--bp-primary));
}
.bpx-topup-price {
	margin-inline-start: auto;
	font-weight: 800;
	color: var(--bp-primary);
	font-size: 13.5px;
	white-space: nowrap;
}

/* אין הדגשה קבועה לשום פריט תפריט. ההדגשה שמורה לעמוד הנוכחי בלבד. */
.bpx-nav-emoji {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 14px;
	margin-inline-end: 2px;
}

/* הבהרה בעמוד המוצר: כרטיס פיזי מול טעינה אונליין */
.bpx-simnote {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0 0 14px;
	padding: 11px 13px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.55;
}
.bpx-simnote .bpx-i { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.bpx-simnote--card { background: #eff4ff; border: 1px solid #c7d9fb; color: #12329c; }
.bpx-simnote--card .bpx-i { color: #1a56db; }
.bpx-simnote--topup { background: #ecfdf3; border: 1px solid #a7e8c1; color: #0f6d3f; }
.bpx-simnote--topup .bpx-i { color: var(--bp-wa-d); }
.bpx-simnote strong { font-weight: 700; }

/* ---------- בחירת צבע / אפשרות במוצר ---------- */
.bpx-optpick { margin: 0 0 16px; }
.bpx-optpick-label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--bp-ink);
	margin-bottom: 7px;
}
.bpx-optpick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bpx-optpick-item { position: relative; margin: 0; cursor: pointer; }
.bpx-optpick-item input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.bpx-optpick-item span {
	display: block;
	padding: 10px 18px;
	border: 1.5px solid var(--bp-line);
	border-radius: 999px;
	background: #fff;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--bp-ink);
	transition: border-color .16s, background-color .16s, box-shadow .16s;
}
.bpx-optpick-item:hover span { border-color: var(--bp-primary); }
.bpx-optpick-item input:checked + span {
	border-color: var(--bp-primary);
	background: var(--bp-primary-l);
	box-shadow: inset 0 0 0 1px var(--bp-primary);
	color: var(--bp-primary-d);
}
.bpx-optpick-item input:focus-visible + span {
	outline: 3px solid var(--bp-accent);
	outline-offset: 2px;
}

/* ---------- מקטע הטעינות בדף הבית ---------- */
.bpx-topup-emoji {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	margin-inline-end: 4px;
}
.bpx-topupgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
	gap: 12px;
}
.bpx-topuptile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 16px 16px;
	background: #fff;
	border: 1.5px solid var(--bp-line);
	border-radius: 18px;
	text-decoration: none;
	overflow: hidden;
	transition: border-color .16s, box-shadow .16s, transform .16s;
}
.bpx-topuptile::before {
	content: '';
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 4px;
	background: var(--bpx-carrier, var(--bp-primary));
}
.bpx-topuptile:hover {
	border-color: var(--bpx-carrier, var(--bp-primary));
	box-shadow: 0 8px 22px rgba(24, 16, 48, .1);
	transform: translateY(-2px);
}
.bpx-topuptile-name {
	font-size: 16px;
	font-weight: 800;
	color: var(--bp-ink);
	line-height: 1.25;
}
.bpx-topuptile-price {
	font-size: 25px;
	font-weight: 800;
	color: var(--bpx-carrier, var(--bp-primary));
	line-height: 1.2;
	margin-top: 4px;
}
.bpx-topuptile-sub { font-size: 12.5px; color: var(--bp-body); font-weight: 500; }

.bpx-topupnote {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	margin: 20px 0 0;
	font-size: 14px;
	color: var(--bp-body);
	text-align: center;
	flex-wrap: wrap;
}
.bpx-topupnote .bpx-i { width: 17px; height: 17px; color: var(--bp-wa-d); flex: 0 0 auto; }

@media (max-width: 640px) {
	.bpx-topupgrid { grid-template-columns: 1fr 1fr; gap: 9px; }
	.bpx-topuptile { padding: 14px 13px 12px; border-radius: 14px; }
	.bpx-topuptile-price { font-size: 21px; }
}

/* אריח הטעינה בדף הבית — עם האיור, כמו בקטגוריה ובעמוד המוצר */
.bpx-topuptile { padding: 0; overflow: hidden; }
.bpx-topuptile-art { display: block; line-height: 0; }
.bpx-topuptile-art .bpx-topup-tile { width: 100%; height: auto; border-radius: 0; display: block; }
.bpx-topuptile-txt {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 13px 15px 0;
}
.bpx-topuptile > .bpx-topuptile-price { padding: 0 15px 14px; }

/* ---------- רצועת "למה אצלנו" (מחליפה שני מקטעים) ---------- */
.bpx-trustband {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: 26px 40px;
	align-items: center;
	padding: 34px 36px;
	border-radius: 24px;
	background: linear-gradient(135deg, #1c0b3a 0%, #3d1178 60%, #5b1ba8 100%);
	color: #fff;
	box-shadow: 0 16px 40px rgba(28, 11, 58, .28);
}
.bpx-trustband-lead h2 {
	margin: 0 0 10px;
	font-size: 29px;
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
}
.bpx-trustband-lead p {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.7;
	opacity: .9;
}
.bpx-trustband-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bpx-trustband-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 13px 15px;
	background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .17);
	border-radius: 14px;
}
.bpx-trustband-list .bpx-i { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 2px; color: #ffd76a; }
.bpx-trustband-list span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.55; opacity: .88; }
.bpx-trustband-list strong { font-size: 15.5px; font-weight: 700; color: #fff; opacity: 1; margin-bottom: 2px; }

@media (max-width: 860px) {
	.bpx-trustband { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; border-radius: 18px; }
	.bpx-trustband-lead h2 { font-size: 23px; }
	.bpx-trustband-lead p { font-size: 15px; }
	.bpx-trustband-lead .bpx-btn { width: 100%; justify-content: center; }
}

/* ---------- נייד: מקצרים את הדף ---------- */
@media (max-width: 640px) {
	/* אריח טעינה = תמונה קטנה ליד הטקסט, לא איור ברוחב מלא.
	   ברוחב מלא כל אריח היה ~420px, וה-7 יחד תפסו שני מסכים. */
	.bpx-topupgrid { grid-template-columns: 1fr; gap: 8px; }
	.bpx-topuptile {
		display: grid;
		grid-template-columns: 62px minmax(0, 1fr) auto;
		align-items: center;
		gap: 12px;
		padding: 8px 14px 8px 8px;
	}
	.bpx-topuptile::before { inset-block: 0; inset-inline-start: 0; inset-inline-end: auto; width: 4px; height: auto; }
	.bpx-topuptile-art .bpx-topup-tile { border-radius: 11px; }
	.bpx-topuptile-txt { padding: 0; }
	.bpx-topuptile-name { font-size: 15px; }
	.bpx-topuptile-price { font-size: 20px; margin: 0; }
	.bpx-topuptile-sub { font-size: 12px; }

	/* מאתר הדגמים בגיבור — גובה מוגבל וגלילה פנימית, במקום 40 שבבים
	   שדוחפים את כל העמוד למטה. */
	.bpx-finder-body { max-height: 210px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- מגירת הניווט: עיצוב ---------- */
/* המילים נדבקו זו לזו כי ה-small היה inline בתוך ה-span. */
.bpx-on .bpx-drawer-link small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--bp-body);
	line-height: 1.4;
}
.bpx-on .bpx-drawer-link > span { display: block; min-width: 0; }

/* פריטי הרמה הראשונה — כרטיס לכל אחד, לא שורת רשימה */
.bpx-on .bpx-drawer-top {
	position: relative;   /* עוגן לפס הסימון של העמוד הנוכחי */
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	padding: 13px 14px;
	border: 1.5px solid var(--bp-line);
	border-radius: 14px;
	background: #fff;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--bp-ink);
	width: 100%;
	text-align: start;
	font-family: inherit;
	cursor: pointer;
	transition: border-color .16s, background-color .16s, transform .16s;
}
.bpx-on .bpx-drawer-top:hover,
.bpx-on .bpx-drawer-top:active {
	border-color: var(--bp-primary);
	background: var(--bp-primary-l);
	transform: translateY(-1px);
}
.bpx-on .bpx-drawer-top > .bpx-i:first-child,
.bpx-on .bpx-drawer-top > .bpx-drawer-emoji {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: var(--bp-primary-l);
	color: var(--bp-primary);
	padding: 9px;
	box-sizing: border-box;
}
.bpx-drawer-emoji {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 17px;
	line-height: 1;
}
.bpx-on .bpx-drawer-top > span:not(.bpx-drawer-emoji) { flex: 1 1 auto; }
/* החץ של פריט שנפתח לשכבה נוספת */
.bpx-on .bpx-drawer-top.bpx-drawer-more > .bpx-i:last-child {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	background: none;
	padding: 0;
	color: var(--bp-body);
	opacity: .6;
}

/* כותרת קבוצה */
.bpx-on .bpx-drawer-label {
	margin: 18px 0 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	color: #9aa1b1;
	text-transform: none;
}
/* כפתור החזרה */
.bpx-on .bpx-drawer-back {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 12px;
	padding: 11px 13px;
	border: 0;
	border-radius: 12px;
	background: var(--bp-primary-l);
	color: var(--bp-primary);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
}
.bpx-on .bpx-drawer-back .bpx-i { width: 16px; height: 16px; }
.bpx-on .bpx-drawer-all {
	background: var(--bp-primary);
	color: #fff;
	border-radius: 12px;
	font-weight: 700;
	margin-bottom: 10px;
}
.bpx-on .bpx-drawer-all:hover { background: var(--bp-primary-d); color: #fff; }

/* ---------- סימון העמוד הנוכחי בתפריט ---------- */
/* פריט מודגש = העמוד שאנחנו עליו. שום פריט לא מודגש "כי הוא חשוב". */

/* סימון אחד בלבד. קודם היו כאן גם border-bottom וגם פס ::after,
   ושניהם צוירו יחד — שני קווים סגולים זה מתחת לזה. */
.bpx-on .bpx-nav-item.is-current > a {
	color: var(--bp-primary);
	font-weight: 700;
	border-bottom-color: transparent;
}
.bpx-on .bpx-nav-item.is-current > a::after {
	content: '';
	position: absolute;
	inset-inline: 10px;
	inset-block-end: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--bp-primary);
}
.bpx-on .bpx-nav-item > a { position: relative; }

/* במגירה — כרטיס מסומן */
/* גם כאן: border-color יחד עם box-shadow inset נתן מסגרת כפולה. */
.bpx-on .bpx-drawer-top.is-current {
	border-color: var(--bp-primary);
	background: var(--bp-primary-l);
}
.bpx-on .bpx-drawer-top.is-current > span:not(.bpx-drawer-emoji) { color: var(--bp-primary-d); }

/* ---------- קיר הקטגוריות בעמוד החנות ---------- */
.bpx-catwall { margin: 0 0 34px; }
.bpx-catwall-head { margin-bottom: 18px; }
.bpx-on .bpx-catwall-head h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--bp-ink); }
.bpx-catwall-head p { margin: 0; font-size: 14.5px; color: var(--bp-body); }

.bpx-catwall-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
	gap: 14px;
}
.bpx-catcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1.5px solid var(--bp-line);
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	transition: border-color .16s, box-shadow .16s, transform .16s;
}
.bpx-catcard:hover {
	border-color: var(--bp-primary);
	box-shadow: 0 10px 26px rgba(108, 15, 208, .14);
	transform: translateY(-3px);
}
.bpx-catcard-img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: linear-gradient(160deg, #faf7ff, #f2edfb);
	overflow: hidden;
}
.bpx-catcard-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	box-sizing: border-box;
	mix-blend-mode: multiply;
}
.bpx-catcard-emoji {
	font-size: 44px;
	line-height: 1;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.bpx-catcard-txt { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.bpx-on .bpx-catcard-txt strong { font-size: 15px; font-weight: 700; color: var(--bp-ink); line-height: 1.3; }
.bpx-catcard-txt small { font-size: 12.5px; color: var(--bp-body); }

@media (max-width: 640px) {
	.bpx-catwall-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bpx-catcard { border-radius: 14px; }
	.bpx-catcard-txt { padding: 10px 11px 12px; }
	.bpx-on .bpx-catcard-txt strong { font-size: 14px; }
	.bpx-on .bpx-catwall-head h2 { font-size: 20px; }
}

/* העמוד הנוכחי במגירת המובייל */
/* כלל אחד לפריט הנוכחי במגירה. קודם היו שניים — אחד עם מסגרת ואחד
   שהוסיף גם פס צדדי — והם נערמו לשני סימונים על אותו כרטיס. */
.bpx-on .bpx-drawer-link.is-current {
	border-color: var(--bp-primary);
	background: color-mix(in srgb, var(--bp-primary) 8%, #fff);
	color: var(--bp-primary-d);
	font-weight: 700;
}

/* ---------- כמה טעינות בהזמנה אחת ---------- */
.bpx-topup-incart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--bp-primary-l);
	font-size: 13.5px;
	color: var(--bp-primary-d);
}
.bpx-topup-incart span {
	background: #fff;
	border-radius: 999px;
	padding: 2px 9px;
	font-weight: 700;
}

.bpx-topup-count {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1.5px solid var(--bp-line);
	border-radius: 12px;
	background: var(--bp-bg-soft);
}
.bpx-topup-count-lbl { font-weight: 700; font-size: 15px; color: var(--bp-ink); }
.bpx-topup-count small { flex: 1 1 100%; font-size: 12.5px; color: var(--bp-body); }

.bpx-topup-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1.5px solid var(--bp-line);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.bpx-on .bpx-topup-stepper button {
	width: 40px;
	min-height: 40px;
	border: 0;
	background: #fff;
	color: var(--bp-primary);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.bpx-on .bpx-topup-stepper button:hover { background: var(--bp-primary-l); }
.bpx-on .bpx-topup-form input.bpx-topup-num {
	width: 52px;
	min-height: 40px;
	border: 0;
	border-inline: 1.5px solid var(--bp-line);
	border-radius: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	padding: 0;
	-moz-appearance: textfield;
}
.bpx-topup-form input.bpx-topup-num::-webkit-outer-spin-button,
.bpx-topup-form input.bpx-topup-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bpx-on .bpx-topup-row {
	border: 0;
	padding: 0;
	margin: 0 0 4px;
	min-width: 0;   /* fieldset מסרב להתכווץ בלי זה, וגולש בנייד */
}
.bpx-topup-row[hidden] { display: none; }
.bpx-on .bpx-topup-row-legend { display: none; }

/* מרגע שיש יותר מטעינה אחת, כל בלוק מקבל מסגרת וכותרת ממוספרת */
.bpx-topup-form.is-multi .bpx-topup-row {
	padding: 12px 14px 2px;
	margin-bottom: 12px;
	border: 1.5px solid var(--bp-line);
	border-radius: 12px;
	background: #fff;
}
.bpx-on .bpx-topup-form.is-multi .bpx-topup-row-legend {
	display: block;
	float: none;
	width: auto;
	padding: 2px 10px;
	margin-bottom: 8px;
	border-radius: 999px;
	background: var(--bp-primary-l);
	color: var(--bp-primary-d);
	font-size: 12.5px;
	font-weight: 700;
}

@media (max-width: 480px) {
	.bpx-topup-count { gap: 8px; padding: 10px 12px; }
	.bpx-topup-count-lbl { font-size: 14px; }
}

/* ---------- כפתור הניווט המרחף: סמל וויז ---------- */
/* התכלת היא צבע הכפתור, כמו באייקון של האפליקציה — הפנים הלבנות
   יושבות עליה. סגול היה בולע את הסמל, ולבן היה מבטל אותו. */
.bpx-on .bpx-fab-nav {
	background: #5FCEEF;
	border: 0;
	padding: 0;
}
.bpx-on .bpx-fab-nav:hover { background: #4FC4E8; }
.bpx-waze-mark { width: 30px; height: 30px; display: block; }
@media (max-width: 640px) { .bpx-waze-mark { width: 28px; height: 28px; } }

/* ---------- באנר ההסכמה ---------- */
/* פס דק, לא חוסם, ולא צועק. הגרסה הקודמת הייתה תיבה בגובה ~150px
   שאכלה רבע מסך בנייד. באנר שמפריע גורם ללחיצה אוטומטית על "אישור",
   וזו הסכמה חסרת ערך — גם משפטית וגם מעשית. */
.bpx-consent {
	position: fixed;
	inset-inline: 10px;
	inset-block-end: 10px;
	z-index: 9998;
	max-width: 620px;
	margin-inline: auto;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(6px);
	border: 1.5px solid var(--bp-line);
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(22, 17, 43, .16);
	padding: 9px 12px;
}
.bpx-consent[hidden] { display: none; }

.bpx-consent-in {
	display: flex;
	align-items: center;
	gap: 10px;
}
.bpx-consent-txt {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--bp-body);
}
.bpx-on .bpx-consent-txt strong { font-weight: 700; color: var(--bp-ink); }
.bpx-on .bpx-consent-txt a { color: var(--bp-primary); text-decoration: underline; }

/* שני הכפתורים זהים בגודל ובצבע. אישור בולט מול סירוב חיוור הוא
   דפוס אפל, וההסכמה שמתקבלת ממנו פגומה. */
.bpx-consent-btns { display: flex; gap: 7px; flex: 0 0 auto; }
.bpx-on .bpx-consent-btn {
	min-height: 34px;
	padding: 0 13px;
	border: 1.5px solid var(--bp-primary);
	border-radius: 9px;
	background: #fff;
	color: var(--bp-primary-d);
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.bpx-on .bpx-consent-btn:hover { background: var(--bp-primary); color: #fff; }
.bpx-on .bpx-consent-btn:focus-visible { outline: 3px solid var(--bp-primary); outline-offset: 2px; }

.bpx-on .bpx-consent-reopen {
	border: 0; background: none; padding: 0;
	font: inherit; color: inherit; cursor: pointer; text-decoration: underline;
}

@media (max-width: 620px) {
	.bpx-consent { inset-inline: 8px; inset-block-end: 8px; padding: 8px 10px; border-radius: 12px; }
	.bpx-consent-in { flex-wrap: wrap; gap: 7px; }
	.bpx-consent-txt { flex: 1 1 100%; font-size: 12px; }
	.bpx-consent-btns { flex: 1 1 100%; }
	.bpx-on .bpx-consent-btn { flex: 1 1 0; padding: 0 8px; min-height: 36px; }
}

/* הכפתורים הצפים נדחקים מעל הפס ולא נעלמים — הם דרך יצירת קשר.
   דרך קלאס על <html> ולא סלקטור אח: הפס מודפס אחרי ה-FAB ב-DOM. */
.bpx-consent-open .bpx-fab { inset-block-end: 116px; }
@media (max-width: 620px) {
	.bpx-consent-open .bpx-fab { inset-block-end: 104px; }
}

/* =========================================================================
   דף הנחיתה של החנות
   ========================================================================= */
.bpx-land { margin: 0 0 34px; }
.bpx-land-scope {
	margin: 0 0 16px;
	font-size: 14.5px;
	color: var(--bp-body);
}
.bpx-on .bpx-land-h2 {
	margin: 26px 0 14px;
	font-size: 22px;
	font-weight: 800;
	color: var(--bp-ink);
}

/* ---------- רצועת הוודאות ---------- */
/* ארבעה אריחים זהים. grid-auto-rows:1fr מכריח גובה שווה בשורה, וזה
   מה שחסר קודם — טקסט באורך שונה יצר ארבעה גבהים שונים. */
.bpx-trust {
	list-style: none;
	margin: 0 0 6px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 1fr;
	gap: 10px;
}
.bpx-trust > li { margin: 0; display: flex; }
.bpx-on .bpx-trust > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	padding: 12px 13px;
	border: 1.5px solid var(--bp-line);
	border-radius: 14px;
	background: var(--bp-bg-soft);
	text-decoration: none;
	transition: border-color .15s, background .15s;
}
.bpx-on .bpx-trust > li > a:hover { border-color: var(--bp-primary); background: #fff; }
.bpx-on .bpx-trust > li > a:hover strong { color: var(--bp-primary); }

.bpx-trust-ico {
	flex: 0 0 auto;
	font-size: 21px;
	line-height: 1;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.bpx-trust-txt { min-width: 0; }
.bpx-on .bpx-trust strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bp-ink);
}
.bpx-trust small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--bp-body);
}
/* סלקטור עם שתי מחלקות בכוונה: ‎.bpx-trust small‎ הוא (0,1,1) והיה
   מנצח מחלקה בודדת גם בתוך media query — שאילתת מדיה לא מוסיפה
   ספציפיות. התוצאה הייתה ששתי גרסאות הטקסט הוצגו זו מתחת לזו. */
.bpx-trust .bpx-trust-short { display: none; }

/* ---------- שורת מוצרים אופקית (נצפו / נמכרים) ---------- */
.bpx-seen-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.bpx-minicard {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px;
	border: 1.5px solid var(--bp-line);
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
	transition: border-color .16s, box-shadow .16s;
}
.bpx-minicard:hover { border-color: var(--bp-primary); box-shadow: 0 8px 20px rgba(108, 15, 208, .12); }
.bpx-minicard-img {
	display: block;
	aspect-ratio: 1 / 1;
	background: #faf7ff;
	border-radius: 10px;
	overflow: hidden;
}
.bpx-minicard-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bpx-on .bpx-minicard strong {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bp-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bpx-minicard-price { font-size: 14.5px; font-weight: 800; color: var(--bp-primary); }
.bpx-minicard-price del { font-weight: 500; opacity: .55; font-size: 12.5px; }

/* ---------- נייד: הקיר במסך אחד ---------- */
@media (max-width: 640px) {
	.bpx-catwall-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.bpx-catcard { border-radius: 12px; }
	.bpx-catcard-img { aspect-ratio: 1 / 1; }
	.bpx-catcard-img img { padding: 7px; }
	.bpx-catcard-emoji { font-size: 28px; }
	.bpx-catcard-txt { padding: 7px 7px 9px; gap: 0; }
	.bpx-on .bpx-catcard-txt strong { font-size: 12px; line-height: 1.25; }
	.bpx-catcard-txt small { font-size: 10.5px; }

	/* בנייד: אריח על שורה שלמה, אייקון בעמודה קבועה, טקסט בשתי שורות
	   בדיוק. ניסיון קודם דחס ארבעה אריחים ל-2×2 ברוחב ~170px, והכיתוב
	   נשבר לשלוש-ארבע שורות בכל אריח בגובה אחר — זה מה שנראה מבולגן. */
	.bpx-trust {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 7px;
		margin-bottom: 4px;
	}
	.bpx-on .bpx-trust > li > a {
		align-items: center;
		gap: 11px;
		padding: 10px 12px;
		border-radius: 12px;
		min-height: 54px;
	}
	.bpx-trust-ico {
		font-size: 19px;
		width: 24px;
		text-align: center;
	}
	.bpx-on .bpx-trust strong { font-size: 13.5px; }
	.bpx-trust small { font-size: 11.5px; margin-top: 1px; }
	.bpx-trust .bpx-trust-long { display: none; }
	.bpx-trust .bpx-trust-short { display: block; }

	.bpx-seen-row { grid-template-columns: 1fr 1fr; gap: 9px; }
	.bpx-on .bpx-land-h2 { font-size: 19px; margin: 22px 0 11px; }
}
@media (max-width: 360px) {
	.bpx-catwall-grid { grid-template-columns: repeat(2, 1fr); }
}

/* שני מסלולי הבחירה בדף הבית חייבים גובה זהה — כותרת משנה שנשברה
   לשתי שורות באחד מהם עשתה 68px מול 86px, וזה נראה שבור. */
.bpx-paths { align-items: stretch; }
.bpx-on .bpx-path { height: 100%; }
.bpx-path-txt small {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =========================================================================
   אזל מהמלאי
   ========================================================================= */

/* ---------- סרט אלכסוני על התמונה ---------- */
/* פעם אחת בלבד: קודם היו שני סלקטורים — אחד על קישור הלולאה ואחד על
   הגלריה — ובכרטיס אחד שניהם התאימו, אז "אזל מהמלאי" הודפס פעמיים.
   כאן העוגן הוא מיכל התמונה בלבד, וסרט אלכסוני בפינה במקום פס מרכזי
   שהסתיר את המוצר. */
/* li.product ולא .bpx-oos-item סתם: בעמוד מוצר, המיכל הראשי הוא
   div.product שמקבל את הקלאס, ו"מוצרים דומים" מרונדרים *בתוכו* —
   כך שכל כרטיס למטה נתפס כצאצא וקיבל סרט "אזל" למרות שהוא במלאי. */
li.product.bpx-oos-item img,
body.bpx-oos-single .woocommerce-product-gallery img {
	filter: grayscale(1) contrast(.92);
	opacity: .55;
}

.bpx-on li.product.bpx-oos-item .woocommerce-LoopProduct-link,
body.bpx-oos-single .woocommerce-product-gallery {
	position: relative;
	overflow: hidden;
}

.bpx-on li.product.bpx-oos-item .woocommerce-LoopProduct-link::after,
body.bpx-oos-single .woocommerce-product-gallery::after {
	content: "אזל מהמלאי";
	position: absolute;
	top: 14px;
	inset-inline-start: -42px;
	width: 168px;
	padding: 5px 0;
	transform: rotate(-45deg);
	transform-origin: center;
	background: #16112b;
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .3px;
	text-align: center;
	pointer-events: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
	z-index: 3;
}
/* ב-RTL הפינה ההגיונית היא שמאל-עליון, ולכן הסיבוב הפוך */
html[dir="rtl"] .bpx-on li.product.bpx-oos-item .woocommerce-LoopProduct-link::after,
html[dir="rtl"] body.bpx-oos-single .woocommerce-product-gallery::after {
	transform: rotate(45deg);
}
body.bpx-oos-single .woocommerce-product-gallery::after {
	top: 22px;
	inset-inline-start: -50px;
	width: 200px;
	font-size: 13px;
	padding: 7px 0;
}

/* ---------- טקסט המחיר שהוחלף ---------- */
.bpx-oos-price { font-weight: 800; color: #a3364e; font-size: 15px; }

/* ---------- הודעה בעמוד המוצר ---------- */
.bpx-oos {
	margin: 16px 0;
	padding: 16px 18px;
	border: 1.5px solid #f0d3da;
	border-radius: 14px;
	background: #fdf5f7;
}
.bpx-on .bpx-oos strong { display: block; font-size: 17px; font-weight: 800; color: #8d2c43; margin-bottom: 4px; }
.bpx-oos p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: var(--bp-body); }

/* ---------- פסקת האזל בתוך התיאור ---------- */
.bpx-ad-oos {
	margin: 0 0 16px;
	padding: 13px 16px;
	border-inline-start: 4px solid #d9758f;
	border-radius: 0 12px 12px 0;
	background: #fdf5f7;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--bp-body);
}
.bpx-on .bpx-ad-oos strong { color: #8d2c43; }

/* ---------- כפתור ברשימה ---------- */
.bpx-on .bpx-oos-btn {
	background: #f2f3f6 !important;
	color: var(--bp-body) !important;
	border: 1.5px solid var(--bp-line) !important;
}

/* ---------- סרגל המנהל בעמוד המוצר ---------- */
.bpx-adminbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 10px 13px;
	border: 1.5px dashed #b9c0cf;
	border-radius: 12px;
	background: #f7f8fb;
	font-size: 13.5px;
}
.bpx-adminbar.is-out { border-color: #e2a8b6; background: #fdf5f7; }
.bpx-adminbar-state { font-weight: 700; color: var(--bp-ink); }
.bpx-on .bpx-adminbar-btn {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--bp-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	font-size: 13px;
}
.bpx-on .bpx-adminbar-btn:hover { background: var(--bp-primary-d); color: #fff; }
.bpx-adminbar small { flex: 1 1 100%; color: var(--bp-body); font-size: 11.5px; }

/* שתי הדרכים קדימה ממוצר שאזל — לשאול, או לראות חלופות */
.bpx-oos-acts { display: flex; flex-wrap: wrap; gap: 9px; }
.bpx-on .bpx-oos-acts .bpx-btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 480px) { .bpx-on .bpx-oos-acts .bpx-btn { flex: 1 1 100%; } }

/* ---------- אמירה אחת בלבד על מוצר שאזל ---------- */
/* אסטרה מוסיפה תג "אזל מן המלאי" משלה, ועליו טולטיפ "הוספה לסל" —
   שתי אמירות נוספות על אותו כרטיס, ואחת מהן פשוט לא נכונה. הסרט
   האלכסוני והכפתור "אזל — לפרטים" מספיקים. */
li.product.bpx-oos-item .ast-shop-product-out-of-stock,
li.product.bpx-oos-item .ast-card-action-tooltip,
li.product.bpx-oos-item .ast-onsale-card,
.bpx-oos-single .ast-shop-product-out-of-stock,
.bpx-oos-single .stock.out-of-stock { display: none !important; }

/* אייקוני הפעולה המרחפים של אסטרה מובילים להוספה לסל שתיכשל */
li.product.bpx-oos-item .ast-quick-view-text,
li.product.bpx-oos-item .astra-shop-summary-wrap .ast-woo-product-action-wrap { display: none !important; }

/* ידית גרירה באשף — בלי סימן ויזואלי אף אחד לא ינחש שאפשר למשוך */
.bpx-wiz-panel { touch-action: pan-y; }
@media (max-width: 780px) {
	.bpx-wiz-panel::before {
		content: "";
		display: block;
		width: 42px;
		height: 4px;
		margin: 8px auto 0;
		border-radius: 999px;
		background: #d3d7e0;
		flex: 0 0 auto;
	}
}

/* ---------- הדגשה עדינה ל"טעינת סים" בתפריט ---------- */
/* נקודה בגודל 6px ותו לא. צבע מלא או תג "חדש" על פריט תפריט קבוע
   נקרא כמו באנר ומאבד קליקים; נקודה קטנה מושכת את העין בלי לצעוק. */
.bpx-on .bpx-nav-hot > a,
.bpx-on a.bpx-nav-hot { position: relative; }

.bpx-on .bpx-nav-hot > a::before,
.bpx-on a.bpx-nav-hot::before {
	content: "";
	position: absolute;
	inset-inline-start: 2px;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

/* במגירה הפריט רחב, אז הנקודה יושבת בקצה הפנימי ולא על הטקסט */
.bpx-on a.bpx-nav-hot.bpx-drawer-top::before {
	inset-inline-start: auto;
	inset-inline-end: 12px;
	top: 50%;
	transform: translateY(-50%);
}

/* על העמוד הנוכחי אין צורך בנקודה — כבר ברור שאתה שם */
.bpx-on .bpx-nav-hot.is-current > a::before,
.bpx-on a.bpx-nav-hot.is-current::before { display: none; }

/* גם ווידג'ט הנגישות עולה מעל פס ההסכמה — הוא בפינה הנגדית אבל
   באותו גובה, והפס (z-index 9998) חצה אותו (900).
   מזיזים את המכל .bpx-a11y ולא את הילדים: המכל הוא ה-position:fixed
   היחיד כאן (a11y.css), הכפתור בתוכו סטטי והפאנל absolute יחסית אליו,
   כך ש-inset-block-end על הילדים לא עשה כלום והפס המשיך לכסות את
   הכפתור. הפאנל נוסע עם המכל מעצמו.
   המידות נגזרות מהפס עצמו: בדסקטופ שורה אחת — כפתורים 34px + ריפוד
   18px + מסגרת 3px = ~55px גובה, ועם 10px מהתחתית הקצה העליון שלו
   ב-~65px; 116px משאיר מרווח ומיישר קו עם הכפתורים הצפים. מתחת
   ל-620px הטקסט נשבר לשתי שורות והכפתורים יורדים לשורה משלהם —
   ~97px גובה + 8px מהתחתית = קצה עליון ב-~105px, ולכן 112px. */
.bpx-consent-open .bpx-a11y { inset-block-end: 116px; }
@media (max-width: 620px) {
	.bpx-consent-open .bpx-a11y { inset-block-end: 112px; }
}

/* "צור קשר" הוא כפתור ולא קישור — צריך להיראות בדיוק כמו שאר
   פריטי התפריט. */
.bpx-on .bpx-navlink-btn {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
.bpx-on .bpx-nav-item > .bpx-navlink-btn {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 10px;
	border-bottom: 3px solid transparent;
}
.bpx-on .bpx-nav-item > .bpx-navlink-btn:hover { color: var(--bp-primary); }

/* =========================================================================
   יישור כפתורי הכרטיסים לקו אחד
   ========================================================================= */
/* שם מוצר בשורה אחת מול שם בשתי שורות דחף את הכפתורים לגבהים שונים
   באותה שורה — 22px הפרש, שנראה כמו שתי שורות כפתורים עקומות.
   הפתרון: הכרטיס הוא עמודת flex, שם המוצר תופס גובה קבוע של שתי
   שורות, והכפתור נדחף לתחתית עם margin-top:auto. כך כל הכפתורים
   בשורה יושבים על אותו קו בלי קשר לאורך השם. */
.bpx-on ul.products li.product {
	display: flex;
	flex-direction: column;
}

.bpx-on ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;      /* שתי שורות תמיד, גם לשם קצר */
	line-height: 1.3;
}

/* המחיר והכפתור נצמדים לתחתית הכרטיס */
.bpx-on ul.products li.product .price { margin-top: auto; }

/* כרטיס של מוצר שאזל הוא בלי מחיר בכלל, ולכן אין לו את ה-auto שדוחף
   למטה — הכפתור שלו ישב 30px גבוה מהשכן ו"הוספה לסל" ו"לפרטים" יצאו
   בשתי שורות שונות. כאן הכפתור עצמו נצמד לתחתית. */
.bpx-on ul.products li.product.bpx-oos-item .bpx-oos-btn,
.bpx-on ul.products li.product.bpx-oos-item .button { margin-top: auto; }

.bpx-on ul.products li.product .button,
.bpx-on ul.products li.product .bpx-oos-btn {
	margin-top: 8px;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	/* גובה זהה לשני סוגי הכפתורים. לכפתור "אזל" יש מסגרת 1.5px ולכפתור
	   "הוספה לסל" אין, וזה לבדו הותיר הפרש של 2px בין השורות. */
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	/* מסגרת שקופה באותו עובי לכפתור הרגיל: כך מודל הקופסה זהה לשני
	   הסוגים ולא נשאר הפרש של פיקסל בין השורות. */
	border: 1.5px solid transparent;
}

/* אסטרה עוטפת לפעמים את התוכן — גם העטיפה צריכה להימתח */
.bpx-on ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

/* =========================================================================
   פס "הוספה לסל" דביק בעמוד מוצר — נייד בלבד
   ========================================================================= */
/* בדסקטופ טופס ההזמנה כמעט תמיד על המסך, ופס קבוע רק היה מסתיר תוכן.
   מחוץ למדיה-קוורי הפס כבוי לגמרי, וגם כללי ההזזה של הכפתורים הצפים
   חיים בפנים — כך body.bpx-sticky-open לא משנה כלום בדסקטופ. */
.bpx-sticky-cta { display: none; }

@media (max-width: 992px) {
	.bpx-sticky-cta {
		position: fixed;
		inset-inline: 0;
		inset-block-end: 0;
		/* מתחת למגירה ולמסך הרקע שלה (1001/1000) וגם מתחת לכפתורים
		   הצפים (850): כשהמגירה נפתחת היא חייבת לכסות את הפס. */
		z-index: 830;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 14px;
		/* אייפון עם קו-בית: בלי זה הכפתור יושב מתחת למחוות המערכת */
		padding-block-end: calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-block-start: 1.5px solid var(--bp-line);
		box-shadow: 0 -8px 24px rgba(22, 17, 43, .12);
		/* מוסתר בהחלקה כלפי מטה; 110% ולא 100% בגלל צל שמציץ מעל הקצה.
		   visibility מתחלף בסוף האנימציה — פס מחוץ למסך לא מקבל פוקוס. */
		transform: translateY(110%);
		visibility: hidden;
		transition: transform .22s, visibility 0s .22s;
	}
	/* display:flex של הכלל מעלינו היה גובר על hidden של הדפדפן — עד
	   שה-JS מאתחל, הפס חייב להישאר לא-קיים ולא רק מחוץ למסך. */
	.bpx-sticky-cta[hidden] { display: none; }
	.bpx-sticky-cta.is-shown { transform: none; visibility: visible; transition: transform .22s, visibility 0s; }

	.bpx-sticky-cta-info { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
	.bpx-sticky-cta-name {
		font-size: 13px;
		font-weight: 700;
		color: var(--bp-ink);
		/* שורה אחת תמיד — שם ארוך נחתך ולא דוחף את הכפתור החוצה */
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.bpx-sticky-cta-price { font-size: 14.5px; font-weight: 800; color: var(--bp-primary-d); }
	/* מחיר מבצע של ווקומרס: הישן קטן וחיוור ליד החדש */
	.bpx-sticky-cta-price del { font-size: 12px; font-weight: 400; opacity: .6; margin-inline-end: 5px; }
	.bpx-sticky-cta-price ins { text-decoration: none; }

	/* .bpx-on לפני שם הקלאס — ערכת הנושא צובעת כל <button> ובלי המשקל
	   הנוסף העיצוב שלה גובר (אותו דפוס כמו bpx-consent-btn). */
	.bpx-on .bpx-sticky-cta-btn {
		flex: 0 0 auto;
		min-height: 44px;
		padding: 0 20px;
		border: 0;
		border-radius: 999px;
		background: var(--bp-primary);
		color: #fff;
		font-family: inherit;
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
		white-space: nowrap;
	}
	.bpx-on .bpx-sticky-cta-btn:hover { background: var(--bp-primary-d); }
	.bpx-on .bpx-sticky-cta-btn:focus-visible { outline: 3px solid var(--bp-primary-d); outline-offset: 2px; }

	/* כשהפס פתוח, הכפתורים הצפים ותפריט הנגישות עולים מעליו — אותו
	   דפוס כמו bpx-consent-open למעלה. הפס גבוה ~66px + safe-area,
	   ולכן ההרמה נושאת את ה-env() איתה. שני המנגנונים לא מתנגשים:
	   כשההסכמה פתוחה ה-JS מוריד את bpx-sticky-open מה-body, כך שכללי
	   bpx-consent-open נשארים לבדם והם המנצחים בפועל. */
	body.bpx-sticky-open .bpx-fab { inset-block-end: calc(78px + env(safe-area-inset-bottom, 0px)); }
	body.bpx-sticky-open .bpx-a11y { inset-block-end: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
