/* ==========================================================================
   OZZI – מחירים לחשמלאים
   אותה שפה עיצובית של פופאפ הקופון: רקע #0A0A0A, צהוב #EBE12B,
   פונט Heebo, RTL. כל הכללים מוקפים ב-.ozzi-elec-root כדי לא
   להתנגש עם התבנית של האתר.
   ========================================================================== */

.ozzi-elec-root {
	--ozzi-yellow: #EBE12B;
	--ozzi-yellow-dark: #D4CC26;
	--ozzi-bg: #0A0A0A;
	--ozzi-text: #FFFFFF;
	--ozzi-muted: #B8B8B8;
	--ozzi-soft: #E8E8E8;
	--ozzi-error: #E5484D;

	position: fixed;
	inset: 0;
	z-index: 999990;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	direction: rtl;
	font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.ozzi-elec-root.is-open {
	display: flex;
}

/* גרסה מוטמעת בעמוד (שורטקוד) — אותו כרטיס, בלי שכבת רקע */
.ozzi-elec-root--inline {
	position: static;
	inset: auto;
	z-index: auto;
	display: block;
	padding: 0;
	margin: 0 auto;
}

.ozzi-elec-root--inline .ozzi-elec {
	max-height: none;
	overflow: visible;
	margin: 0 auto;
	animation: none;
}

.ozzi-elec-root *,
.ozzi-elec-root *::before,
.ozzi-elec-root *::after {
	box-sizing: border-box;
}

/* ניטרול עיצובי תבנית שדולפים פנימה */
.ozzi-elec-root button,
.ozzi-elec-root input,
.ozzi-elec-root label {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
}

.ozzi-elec-root p {
	font-weight: 400;
}

body.ozzi-elec-open {
	overflow: hidden !important;
}

/* ── שכבת הרקע ───────────────────────────────────────────── */
.ozzi-elec-overlay {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, .72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: ozzi-elec-fade .22s ease both;
}

/* ── החלונית ─────────────────────────────────────────────── */
.ozzi-elec {
	position: relative;
	width: 540px;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--ozzi-bg);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 20px;
	padding: 26px 36px 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	animation: ozzi-elec-rise .28s cubic-bezier(.2, .8, .3, 1) both;
}

.ozzi-elec:focus {
	outline: none;
}

@keyframes ozzi-elec-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes ozzi-elec-rise {
	from { opacity: 0; transform: translateY(14px) scale(.985); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ozzi-elec,
	.ozzi-elec-overlay {
		animation: none;
	}
}

/* ── כפתור סגירה ─────────────────────────────────────────── */
.ozzi-elec__close {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 9px;
	color: #fff;
	cursor: pointer;
	opacity: .65;
	transition: opacity .15s linear, background .15s linear;
}

.ozzi-elec__close:hover,
.ozzi-elec__close:focus-visible {
	opacity: 1;
	background: rgba(255, 255, 255, .08);
	outline: none;
}

/* ── מיתוג ───────────────────────────────────────────────── */
.ozzi-elec__logo {
	width: 150px;
	max-width: 60%;
	height: auto;
	display: block;
	margin: 0 0 7px;
}

.ozzi-elec__kicker {
	font-size: 13px;
	font-weight: 300;
	letter-spacing: .04em;
	color: var(--ozzi-soft);
}

.ozzi-elec__rule {
	display: block;
	width: 56px;
	height: 2px;
	background: var(--ozzi-yellow);
	margin: 10px 0 14px;
}

/* ── שלבים ───────────────────────────────────────────────── */
.ozzi-elec__form,
.ozzi-elec__upload,
.ozzi-elec__done,
.ozzi-elec__fork,
.ozzi-elec__priv,
.ozzi-elec__priv-done {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ozzi-elec__upload,
.ozzi-elec__done,
.ozzi-elec__fork,
.ozzi-elec__priv,
.ozzi-elec__priv-done {
	display: none;
}

/*
 * טופס החשמלאי הוא ברירת המחדל וגלוי בלי מחלקה, כך שכיבוי מסלול
 * הלקוח הפרטי מחזיר את הפופאפ בדיוק להתנהגות שהייתה לו קודם.
 */
.ozzi-elec-root.is-step-upload .ozzi-elec__form,
.ozzi-elec-root.is-step-done .ozzi-elec__form,
.ozzi-elec-root.is-step-fork .ozzi-elec__form,
.ozzi-elec-root.is-step-private .ozzi-elec__form,
.ozzi-elec-root.is-step-priv-done .ozzi-elec__form {
	display: none;
}

.ozzi-elec-root.is-step-upload .ozzi-elec__upload {
	display: flex;
}

.ozzi-elec-root.is-step-done .ozzi-elec__done {
	display: flex;
}

.ozzi-elec-root.is-step-fork .ozzi-elec__fork {
	display: flex;
}

.ozzi-elec-root.is-step-private .ozzi-elec__priv {
	display: flex;
}

.ozzi-elec-root.is-step-priv-done .ozzi-elec__priv-done {
	display: flex;
}

/*
 * נעילת הכפתור עד לסימון הדיוור חלה גם על הטופס הפרטי — אותו
 * שער, אותה חוויה.
 */
.ozzi-elec-root.is-locked .ozzi-elec__priv .ozzi-elec__cta-wrap {
	cursor: not-allowed;
}

/* ── טקסטים ──────────────────────────────────────────────── */
.ozzi-elec__title {
	margin: 0;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ozzi-text);
	text-wrap: balance;
}

.ozzi-elec__sub {
	margin: 8px 0 0;
	font-size: 16.5px;
	line-height: 1.5;
	color: var(--ozzi-soft);
	text-wrap: pretty;
}

.ozzi-elec__lead {
	margin: 6px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ozzi-muted);
	text-wrap: pretty;
}

/* ── שדות ────────────────────────────────────────────────── */
.ozzi-elec__sronly {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ozzi-elec__fields {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
}

.ozzi-elec__input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 12px;
	color: #fff;
	font-size: 16.5px;
	line-height: 48px;
	outline: none;
	text-align: right;
	transition: border-color .15s linear;
}

/*
 * dir="ltr" נחוץ לאימייל ולטלפון כדי שהתווים יופיעו בסדר הנכון
 * והסמן יתנהג כמו שצריך — אבל היישור נשאר לימין, כמו כל שאר
 * השדות בטופס. בלעדיו הטופס נראה כאילו כל שדה החליט לבד איפה הוא
 * מתחיל.
 */
.ozzi-elec__input[dir="ltr"] {
	text-align: right;
}

.ozzi-elec__input[dir="ltr"]::placeholder {
	text-align: right;
}

.ozzi-elec__input::placeholder {
	color: #6B7280;
	opacity: 1;
}

.ozzi-elec__input:focus {
	border-color: var(--ozzi-yellow) !important;
}

/* ── הגנה על צבעי השדות ─────────────────────────────────────
   התבנית של האתר לא יודעת שהיא מציגה חלונית כהה. כלל נפוץ כמו
   `input:focus { background:#fff }` הופך את השדה ללבן ברגע
   שנוגעים בו, והטקסט הלבן שלנו נעלם בתוכו.

   שלוש התכונות כאן חייבות לנצח כל תבנית, ולכן !important. זו לא
   עצלנות: בלעדיו השדה פשוט בלתי שמיש אצל חלק מהמשתמשים, ואין לנו
   דרך לדעת מראש אצל מי. */
.ozzi-elec__input,
.ozzi-elec__textarea,
.ozzi-elec__input:focus,
.ozzi-elec__textarea:focus,
.ozzi-elec__input:hover,
.ozzi-elec__textarea:hover,
.ozzi-elec__input:active,
.ozzi-elec__textarea:active {
	background-color: transparent !important;
	background-image: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	/* המסגרת נכללת כאן אחרי שדווח ששדות מופיעים בלי מסגרת בכלל:
	   תבנית שמגדירה input { border: 0 } ניצחה את הכלל הרגיל שלנו. */
	border-style: solid !important;
	border-width: 1px !important;
	border-radius: 12px !important;
}

/* צבע המסגרת מופרד מהמבנה בכוונה, ובסלקטור חלש מדי כדי לנצח את
   :focus ואת .is-invalid שאחריו. אילו הצבע היה נכנס לבלוק שמעל —
   שכולל גם :focus — הוא היה מבטל את סימון המיקוד. */
.ozzi-elec__input,
.ozzi-elec__textarea {
	border-color: rgba(255, 255, 255, .35) !important;
}

/* ההשלמה האוטומטית של כרום צובעת את השדה בתכלת, ואי אפשר לבטל
   את זה דרך background. הצל הפנימי הרחב הוא העקיפה המקובלת. */
.ozzi-elec__input:-webkit-autofill,
.ozzi-elec__textarea:-webkit-autofill,
.ozzi-elec__input:-webkit-autofill:focus,
.ozzi-elec__textarea:-webkit-autofill:focus,
.ozzi-elec__input:-webkit-autofill:hover,
.ozzi-elec__textarea:-webkit-autofill:hover {
	-webkit-text-fill-color: #fff !important;
	-webkit-box-shadow: 0 0 0 60px var(--ozzi-bg) inset !important;
	box-shadow: 0 0 0 60px var(--ozzi-bg) inset !important;
	caret-color: #fff;
}

/* הסמן והבחירה, שגם הם נופלים לצבעי התבנית */
.ozzi-elec__input,
.ozzi-elec__textarea {
	caret-color: var(--ozzi-yellow);
}

.ozzi-elec__input::selection,
.ozzi-elec__textarea::selection {
	background: rgba(235, 225, 43, .3);
	color: #fff;
}

.ozzi-elec__input.is-invalid {
	border-color: var(--ozzi-error) !important;
}

/* מוסתר לגמרי, אבל בלי לגלוש מהחלונית */
.ozzi-elec__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	pointer-events: none;
}

.ozzi-elec__error {
	width: 100%;
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ozzi-error);
	text-align: right;
	display: none;
}

.ozzi-elec__error.is-visible {
	display: block;
}

/* ── תיבת אישור ──────────────────────────────────────────── */
/* Grid ולא flex: עמודת הצ'קבוקס ברוחב קבוע שלא ניתן לכיווץ,
   והטקסט תופס את השאר. ה-font-size יושב על ה-label ולא על ה-span
   בכוונה, כדי שיחידת ה-em בחישוב ה-margin של התיבה תתייחס לאותו
   גודל גופן כמו הטקסט — והיישור מתכוונן לבד בכל נקודת שבירה. */
.ozzi-elec__consent {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: start;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	margin: 12px 0 14px;
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: right;
	cursor: pointer;
}

.ozzi-elec__consent span {
	font-size: inherit;
	line-height: inherit;
	color: #D8D8D8;
	text-wrap: pretty;
}

/* מחוסן מפני ה-CSS של התבנית.
   תבניות ו-WooCommerce מגדירות לעיתים margin / vertical-align /
   height / appearance על כל ה-checkbox באתר, לפעמים בספציפיות
   גבוהה מהכלל שלנו — מה שמזיז את התיבה ביחס לטקסט.

   ה-margin: חצי ההפרש בין גובה שורת טקסט (1.5em) לגובה התיבה,
   בתוספת 0.5px תיקון אופטי — לעברית אין אורכים כלפי מעלה ולכן
   מרכז הדיו שלה יושב נמוך ממרכז תיבת השורה.

   הצ'קבוקס מצויר על ידינו ולא ברינדור המקורי של הדפדפן: ברגע
   שתבנית מגדירה border או background על צ'קבוקס נייטיב, כרום עובר
   לרינדור CSS — והוי נעלם, ונשארת מסגרת ריקה. במקום להיאבק על זה
   אנחנו מכריזים appearance: none ומספקים מסגרת, מילוי וסימן וי
   משלנו. כך אין מה לשבור. */
.ozzi-elec-root .ozzi-elec__consent input[type="checkbox"] {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	margin: calc((1.5em - 20px) / 2 + 0.5px) 0 0 !important;
	padding: 0 !important;
	position: static !important;
	top: auto !important;
	inset-block-start: auto !important;
	transform: none !important;
	float: none !important;
	vertical-align: baseline !important;
	align-self: start !important;
	opacity: 1 !important;
	visibility: visible !important;
	border: 1.5px solid rgba(255, 255, 255, .45) !important;
	border-radius: 5px !important;
	background-color: transparent !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 13px 13px !important;
	box-shadow: none !important;
	outline-offset: 2px;
	cursor: pointer;
	transition: background-color .15s linear, border-color .15s linear;
}

/* מנטרל וי או קופסה שהתבנית מנסה לצייר בעצמה */
.ozzi-elec-root .ozzi-elec__consent input[type="checkbox"]::before,
.ozzi-elec-root .ozzi-elec__consent input[type="checkbox"]::after {
	content: none !important;
	display: none !important;
}

.ozzi-elec-root .ozzi-elec__consent input[type="checkbox"]:hover {
	border-color: rgba(255, 255, 255, .75) !important;
}

.ozzi-elec-root .ozzi-elec__consent input[type="checkbox"]:checked {
	background-color: var(--ozzi-yellow) !important;
	border-color: var(--ozzi-yellow) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.3 3.3L13 4.9' fill='none' stroke='%230A0A0A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.ozzi-elec-root .ozzi-elec__consent input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--ozzi-yellow) !important;
}

/* ההבהוב יוצא כלפי חוץ עם box-shadow, כדי לא להזיז את הפריסה */
.ozzi-elec__consent.is-flash {
	animation: ozzi-elec-flash .7s ease;
	border-radius: 6px;
}

.ozzi-elec__consent.is-flash input {
	outline: 2px solid var(--ozzi-yellow);
	outline-offset: 3px;
	border-radius: 4px;
}

@keyframes ozzi-elec-flash {
	0%, 100% {
		background: transparent;
		box-shadow: 0 0 0 0 rgba(235, 225, 43, 0);
	}
	25%, 65% {
		background: rgba(235, 225, 43, .16);
		box-shadow: 0 0 0 7px rgba(235, 225, 43, .16);
	}
}

/* ── בורר סוג הפונה ──────────────────────────────────────── */
/* שתי האפשרויות זו לצד זו ולא אחת מעל השנייה: חוסך כ-60 פיקסלים
   של גובה, וזה ההבדל בין פופאפ שנכנס למסך לפטופ לפופאפ שנגלל. */
.ozzi-elec__choice {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 100%;
	margin: 14px 0 0;
}

.ozzi-elec__choice-item {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: start;
	gap: 8px;
	padding: 9px 11px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 11px;
	font-size: 13.5px;
	line-height: 1.45;
	color: #D8D8D8;
	text-align: right;
	text-wrap: pretty;
	cursor: pointer;
	transition: border-color .15s linear, background .15s linear;
}

.ozzi-elec__choice-item:hover {
	border-color: rgba(255, 255, 255, .4);
}

/* :has נתמך בכל הדפדפנים העדכניים. איפה שלא — פשוט אין הדגשה,
   והבורר ממשיך לעבוד רגיל. */
.ozzi-elec__choice-item:has(input:checked) {
	border-color: var(--ozzi-yellow);
	background: rgba(235, 225, 43, .07);
	color: #fff;
}

/* אותה התחסנות כמו בצ'קבוקס: מציירים את הכפתור בעצמנו, כי ברגע
   שתבנית נוגעת ב-radio הרינדור המקורי נשבר ונשארת מסגרת ריקה. */
.ozzi-elec-root .ozzi-elec__choice-item input[type="radio"] {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: calc((1.45em - 18px) / 2 + 0.5px) 0 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
	float: none !important;
	vertical-align: baseline !important;
	align-self: start !important;
	opacity: 1 !important;
	visibility: visible !important;
	border: 1.5px solid rgba(255, 255, 255, .45) !important;
	border-radius: 50% !important;
	background: transparent no-repeat center center !important;
	background-size: 10px 10px !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color .15s linear, background-color .15s linear;
}

.ozzi-elec-root .ozzi-elec__choice-item input[type="radio"]::before,
.ozzi-elec-root .ozzi-elec__choice-item input[type="radio"]::after {
	content: none !important;
	display: none !important;
}

.ozzi-elec-root .ozzi-elec__choice-item input[type="radio"]:checked {
	border-color: var(--ozzi-yellow) !important;
	background-image: radial-gradient(circle, var(--ozzi-yellow) 0 100%) !important;
}

.ozzi-elec-root .ozzi-elec__choice-item input[type="radio"]:focus-visible {
	outline: 2px solid var(--ozzi-yellow) !important;
	outline-offset: 2px;
}

/* ── טקסט חופשי ──────────────────────────────────────────── */
.ozzi-elec__about {
	width: 100%;
	margin: 10px 0 0;
}

.ozzi-elec__about[hidden] {
	display: none;
}

.ozzi-elec__about-label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ozzi-muted);
	text-align: right;
	text-wrap: pretty;
}

.ozzi-elec__textarea {
	width: 100%;
	/* מתחילה נמוכה וגדלה לפי מה שנכתב (ozzi-elec.js). תיבה גדולה
	   וריקה גם דוחפת את הכפתור מתחת לקו הקיפול וגם נראית תובענית. */
	min-height: 56px;
	height: 56px;
	padding: 10px 14px;
	overflow: hidden;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 12px;
	color: #fff;
	font-family: inherit;
	font-size: 15.5px;
	line-height: 1.6;
	outline: none;
	text-align: right;
	resize: vertical;
	transition: border-color .15s linear;
}

.ozzi-elec__textarea::placeholder {
	color: #6B7280;
	opacity: 1;
}

.ozzi-elec__textarea:focus {
	border-color: var(--ozzi-yellow) !important;
}

.ozzi-elec__textarea.is-invalid {
	border-color: var(--ozzi-error) !important;
}

/* ── תיבת צוות המתקינים ──────────────────────────────────── */
/* מופרדת ויזואלית מאישור הדיוור: זו הצטרפות לתוכנית, לא הסכמה
   משפטית, ולא רוצים שהן ייקראו כאותו דבר. */
/* ── תיבת צוות המתקינים ─────────────────────────────────────
   אותו מבנה בדיוק כמו תיבת הדיוור, כדי ששתי עמודות הסימון יעמדו
   על אותו קו. קודם הייתה לתיבה הזו מסגרת ו-padding, וזה הזיז את
   הסימון שלה ב-13 פיקסלים מזה שמעליה.

   ההבדלה נשארת, אבל היא עוברת לקו מפריד ולצבע הטקסט — שניהם לא
   נוגעים ביישור. */
.ozzi-elec__consent--team {
	margin: 4px 0 0;
	padding: 12px 0 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	border-radius: 0;
	background: none;
}

.ozzi-elec__consent--team span {
	color: var(--ozzi-yellow);
	font-weight: 600;
}

/* ── איזור פעילות ────────────────────────────────────────── */
/*
 * width מפורש, ולא במקרה. הטופס הוא flex column עם
 * align-items:center, וילד בלי רוחב מצטמצם לתוכן ומתמרכז — וכך
 * השדה יצא קצר והטקסט שבתוכו נחתך. כל שאר האחים כאן מצהירים
 * width:100% מאותה סיבה.
 */
.ozzi-elec__areas {
	width: 100%;
	box-sizing: border-box;
	margin: 2px 0 6px;
	padding: 12px 12px 13px;
	border: 1px solid rgba(235, 225, 43, .38);
	border-radius: 12px;
	background: rgba(235, 225, 43, .07);
}

.ozzi-elec__areas[hidden] {
	display: none;
}

.ozzi-elec__areas-label {
	display: block;
	margin: 0 0 9px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--ozzi-yellow);
	text-align: right;
	text-wrap: pretty;
}

@media (max-width: 480px) {
	.ozzi-elec__areas {
		padding: 11px 10px 12px;
	}

	.ozzi-elec__areas-label {
		font-size: 13px;
	}
}

/* ── הערת המייל במסך ההעלאה ──────────────────────────────── */
.ozzi-elec__mailnote {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	margin: 12px 0 0;
	padding: 10px 13px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ozzi-muted);
	text-align: right;
	text-wrap: pretty;
}

.ozzi-elec__mailnote-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(235, 225, 43, .12);
	color: var(--ozzi-yellow);
}

/* ── כפתור ראשי ──────────────────────────────────────────── */
.ozzi-elec__cta-wrap {
	width: 100%;
}

.ozzi-elec-root.is-locked .ozzi-elec__form .ozzi-elec__cta-wrap {
	cursor: not-allowed;
}

.ozzi-elec__cta {
	position: relative;
	width: 100%;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 20px;
	background: var(--ozzi-yellow);
	color: #050505;
	border: 0;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background .15s linear, opacity .15s linear;
}

.ozzi-elec__cta:hover {
	background: var(--ozzi-yellow-dark);
	color: #050505;
}

/* --- הנעילה: בלי אישור אין קליק --- */
.ozzi-elec__cta[disabled] {
	opacity: .34;
	cursor: not-allowed;
	pointer-events: none; /* מעביר את הקליק ל-wrap כדי להאיר את התיבה */
}

.ozzi-elec__cta[disabled]:hover {
	background: var(--ozzi-yellow);
}

.ozzi-elec__hint {
	display: none;
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #8A8A8A;
}

/* מוצג רק אחרי שניסו ללחוץ על הכפתור הנעול, ולא כל הזמן.
   כשהוא קבוע הוא גם תופס גובה יקר וגם חוזר על מה שממילא מופיע
   בהודעת השגיאה באותו רגע. */
.ozzi-elec-root.is-locked.is-nudged .ozzi-elec__form .ozzi-elec__hint {
	display: block;
}

/* ── טעינה ───────────────────────────────────────────────── */
.ozzi-elec__spinner {
	display: none;
	width: 19px;
	height: 19px;
	border: 2.5px solid rgba(5, 5, 5, .25);
	border-top-color: #050505;
	border-radius: 50%;
	animation: ozzi-elec-spin .7s linear infinite;
}

@keyframes ozzi-elec-spin {
	to { transform: rotate(360deg); }
}

.ozzi-elec-root.is-loading .ozzi-elec__spinner {
	display: block;
}

.ozzi-elec-root.is-loading .ozzi-elec__cta {
	opacity: .8;
	pointer-events: none;
}

.ozzi-elec-root.is-loading .ozzi-elec__input,
.ozzi-elec-root.is-loading .ozzi-elec__consent,
.ozzi-elec-root.is-loading .ozzi-elec__drop {
	opacity: .6;
	pointer-events: none;
}

/* ── תנאים ───────────────────────────────────────────────── */
.ozzi-elec__terms {
	margin: 12px 0 0;
	max-width: 430px;
	font-size: 11px;
	font-weight: 300;
	line-height: 1.6;
	color: #8A8A8A;
	text-wrap: pretty;
}

/* ── שלב ההעלאה ──────────────────────────────────────────── */
.ozzi-elec__file {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ozzi-elec__drop {
	width: 100%;
	margin: 14px 0 0;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: rgba(235, 225, 43, .05);
	border: 1.5px dashed rgba(235, 225, 43, .5);
	border-radius: 14px;
	color: var(--ozzi-yellow);
	cursor: pointer;
	transition: background .15s linear, border-color .15s linear;
}

.ozzi-elec__drop:hover,
.ozzi-elec__file:focus-visible + .ozzi-elec__drop {
	background: rgba(235, 225, 43, .1);
	border-color: var(--ozzi-yellow);
}

.ozzi-elec__drop-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(235, 225, 43, .12);
}

.ozzi-elec__drop-text {
	font-size: 15.5px;
	font-weight: 700;
	color: #fff;
}

.ozzi-elec__drop-name {
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ozzi-yellow);
	word-break: break-all;
}

.ozzi-elec__drop-name:empty {
	display: none;
}

.ozzi-elec__drop.has-file {
	background: rgba(235, 225, 43, .1);
	border-style: solid;
	border-color: var(--ozzi-yellow);
}

.ozzi-elec__filehint {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: #8A8A8A;
	text-wrap: pretty;
}

/* כפתור וואטסאפ. זה הערוץ החלופי היחיד לקבלת הרישיון, ולכן הוא
   כפתור אמיתי ולא קישור טקסט קטן — עם הצבע של וואטסאפ, כדי שיהיה
   מזוהה מיד ולא יתחרה על תשומת הלב עם הכפתור הצהוב. */
.ozzi-elec__link {
	width: 100%;
	height: 46px;
	margin: 10px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 12px;
	border: 1.5px solid rgba(37, 211, 102, .55);
	background: rgba(37, 211, 102, .1);
	color: #25D366;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s linear, border-color .15s linear;
}

.ozzi-elec__link:hover {
	background: rgba(37, 211, 102, .18);
	border-color: #25D366;
	color: #25D366;
}

.ozzi-elec__link svg {
	flex: 0 0 auto;
}

/*
 * במסכי הסיום הכפתור הזה עומד לצד "המשך קנייה", ולכן הוא מקבל
 * קצת אוויר מעליו ומשקל קליל יותר: הפעולה הראשית שם היא לחזור
 * לקנות, והוואטסאפ הוא המוצא למי שנתקע.
 */
.ozzi-elec__done .ozzi-elec__link--wa,
.ozzi-elec__priv-done .ozzi-elec__link--wa {
	margin-top: 18px;
	height: 44px;
	font-size: 14.5px;
}

.ozzi-elec__skip {
	margin: 10px 0 0;
	padding: 6px 4px;
	background: none;
	border: 0;
	color: var(--ozzi-muted);
	font-size: 14px;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ozzi-elec__skip:hover {
	color: #fff;
}

/* ── מסך סיום ────────────────────────────────────────────── */
.ozzi-elec__check {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4px 0 16px;
	border-radius: 50%;
	background: rgba(235, 225, 43, .12);
	border: 1.5px solid rgba(235, 225, 43, .45);
	color: var(--ozzi-yellow);
	flex: 0 0 auto;
}

.ozzi-elec__check--small {
	width: 48px;
	height: 48px;
	margin: 0 0 14px;
}

.ozzi-elec__done-title {
	margin: 0;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ozzi-text);
	text-wrap: balance;
}

.ozzi-elec__done-text {
	margin: 12px 0 0;
	max-width: 410px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ozzi-muted);
	text-wrap: pretty;
}

.ozzi-elec__cta--link {
	margin-top: 24px;
}

/* ── כפתור פתיחה שמוטמע בעמוד (שורטקוד) ──────────────────── */
.ozzi-elec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 28px;
	border-radius: 12px;
	border: 2px solid #EBE12B;
	background: #EBE12B;
	color: #0A0A0A;
	font-family: 'Heebo', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background .15s linear, color .15s linear;
}

.ozzi-elec-btn:hover {
	background: #D4CC26;
	border-color: #D4CC26;
	color: #0A0A0A;
}

.ozzi-elec-btn--outline {
	background: transparent;
	color: #0A0A0A;
}

.ozzi-elec-btn--outline:hover {
	background: #EBE12B;
}

.ozzi-elec-btn--text {
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ozzi-elec-btn--text:hover {
	background: none;
	color: inherit;
	text-decoration: none;
}

/* ── מובייל ──────────────────────────────────────────────── */
@media (max-width: 600px) {
	.ozzi-elec-root {
		padding: 14px;
	}

	.ozzi-elec {
		width: 100%;
		max-height: calc(100vh - 28px);
		max-height: calc(100dvh - 28px);
		border-radius: 18px;
		padding: 28px 20px 20px;
	}

	.ozzi-elec__close {
		top: 10px;
		left: 10px;
	}

	.ozzi-elec__logo {
		width: 154px;
	}

	.ozzi-elec__kicker {
		font-size: 12px;
	}

	.ozzi-elec__rule {
		margin: 12px 0 16px;
	}

	.ozzi-elec__title,
	.ozzi-elec__done-title {
		font-size: 21px;
	}

	.ozzi-elec__sub {
		font-size: 16px;
	}

	.ozzi-elec__lead {
		font-size: 14px;
	}

	.ozzi-elec__fields {
		margin-top: 16px;
	}

	.ozzi-elec__input {
		height: 48px;
		font-size: 16px; /* מונע זום אוטומטי ב-iOS */
		line-height: 48px;
	}

	.ozzi-elec__cta {
		height: 54px;
		font-size: 17px;
	}

	/* על ה-label ולא על ה-span, כדי שחישוב ה-em של התיבה יישאר נכון */
	.ozzi-elec__consent {
		font-size: 13px;
	}

	.ozzi-elec__terms {
		font-size: 11px;
	}

	/* במובייל אין רוחב לשתי אפשרויות זו לצד זו */
	.ozzi-elec__choice {
		grid-template-columns: 1fr;
	}

	.ozzi-elec__choice-item {
		font-size: 13.5px;
		padding: 11px 12px;
	}

	.ozzi-elec__textarea {
		font-size: 16px; /* מונע זום אוטומטי ב-iOS */
	}

	.ozzi-elec__mailnote {
		font-size: 13px;
	}

	.ozzi-elec__done-text {
		font-size: 14px;
	}

	.ozzi-elec__drop {
		padding: 20px 14px;
	}
}

/* ── מסכים נמוכים ─────────────────────────────────────────
   לפטופ של 768 פיקסלים גובה הוא המקרה הנפוץ, ושם כל פיקסל נחשב.
   במקום להרשות גלילה בתוך החלונית — מכווצים עוד קצת. */
@media (max-height: 820px) {
	.ozzi-elec {
		padding: 20px 32px 16px;
	}

	.ozzi-elec__logo {
		width: 132px;
		margin-bottom: 5px;
	}

	.ozzi-elec__kicker {
		font-size: 12px;
	}

	.ozzi-elec__rule {
		margin: 8px 0 11px;
	}

	.ozzi-elec__title {
		font-size: 22px;
	}

	.ozzi-elec__sub {
		font-size: 15.5px;
		margin-top: 6px;
	}

	.ozzi-elec__lead {
		font-size: 13.5px;
		margin-top: 4px;
	}

	.ozzi-elec__choice {
		margin-top: 11px;
	}

	.ozzi-elec__fields {
		margin-top: 11px;
		gap: 7px;
	}

	.ozzi-elec__input {
		height: 44px;
		line-height: 44px;
		font-size: 16px;
	}

	.ozzi-elec__consent {
		margin: 10px 0 11px;
	}

	.ozzi-elec__consent--team {
		margin-top: 4px;
		/* אפס אופקי, כדי שעמודת הסימון תישאר על אותו קו
		   כמו של תיבת הדיוור שמעליה. */
		padding: 10px 0 0;
	}

	.ozzi-elec__cta {
		height: 48px;
		font-size: 17px;
	}

	.ozzi-elec__terms {
		margin-top: 9px;
		font-size: 10.5px;
	}

	.ozzi-elec__about {
		margin-top: 8px;
	}

	.ozzi-elec__about-label {
		font-size: 12.5px;
		margin-bottom: 5px;
	}

	.ozzi-elec__textarea {
		min-height: 48px;
		height: 48px;
	}

	/* השורה השלישית היא ההסבר הכי כללי, וזו הראשונה שנחתכת
	   כשאין גובה. שתי הראשונות נשארות. */
	.ozzi-elec__lead:nth-of-type(3) {
		display: none;
	}

	.ozzi-elec__drop {
		padding: 14px 14px;
		margin-top: 11px;
	}

	.ozzi-elec__check {
		width: 46px;
		height: 46px;
		margin-bottom: 12px;
	}
}

/* מסכים נמוכים מאוד (מובייל בשכיבה) — כאן גלילה היא בלתי נמנעת */
@media (max-height: 560px) {
	.ozzi-elec-root:not(.ozzi-elec-root--inline) {
		align-items: flex-start;
		overflow-y: auto;
	}

	.ozzi-elec {
		max-height: none;
	}
}

/* ===== מסך בחירת המסלול ===== */
.ozzi-elec__fork-cards {
	display: grid;
	gap: 10px;
	width: 100%;
	margin: 4px 0 14px;
}

.ozzi-elec__pick {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 90px;
	padding: 14px 16px;
	border: 1.5px solid rgba(255, 255, 255, .16);
	border-radius: 14px;
	background: rgba(255, 255, 255, .035);
	color: var(--ozzi-text);
	font-family: inherit;
	font-size: 15px;
	text-align: right;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.ozzi-elec__pick:hover,
.ozzi-elec__pick:focus-visible {
	border-color: var(--ozzi-yellow);
	background: rgba(235, 225, 43, .07);
	outline: none;
	transform: translateY(-1px);
}

.ozzi-elec__pick--primary {
	border-color: rgba(235, 225, 43, .5);
	background: rgba(235, 225, 43, .06);
}

.ozzi-elec__pick-icon {
	flex: 0 0 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: rgba(235, 225, 43, .12);
	font-size: 20px;
	line-height: 1;
}

.ozzi-elec__pick--primary .ozzi-elec__pick-icon {
	background: var(--ozzi-yellow);
	color: #0A0A0A;
}

.ozzi-elec__pick-body {
	flex: 1 1 auto;
	min-width: 0;
}

.ozzi-elec__pick-head {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ozzi-elec__pick-title {
	display: block;
	font-weight: 700;
	font-size: 15.5px;
	letter-spacing: -.01em;
}

.ozzi-elec__pick-note {
	display: block;
	margin-top: 2px;
	color: var(--ozzi-muted);
	font-size: 12.8px;
	line-height: 1.45;
}

.ozzi-elec__pick-badge {
	flex: 0 0 auto;
	margin-inline-start: auto;
	padding: 3px 9px;
	border-radius: 20px;
	background: var(--ozzi-yellow);
	color: #0A0A0A;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.ozzi-elec__pick--ghost .ozzi-elec__pick-badge {
	background: rgba(255, 255, 255, .12);
	color: var(--ozzi-soft);
}

/* ── מעבר בין המסלולים ── */
.ozzi-elec__switch {
	width: 100%;
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	text-align: center;
	font-size: 13.2px;
	color: var(--ozzi-muted);
}

.ozzi-elec__switch button {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-weight: 700;
	color: var(--ozzi-yellow);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ozzi-elec__switch button:hover {
	color: var(--ozzi-yellow-dark);
}

/* ── שורת ההטבה בטופס הפרטי ── */
.ozzi-elec__offer {
	margin: 12px 0 0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ozzi-text);
	text-align: center;
}

.ozzi-elec__offer b {
	color: var(--ozzi-yellow);
	font-weight: 800;
}

/* ── תיבת הקוד ── */
.ozzi-elec__code {
	width: 100%;
	margin: 20px 0 0;
	padding: 18px 16px 16px;
	background: rgba(235, 225, 43, .07);
	border: 1.5px dashed rgba(235, 225, 43, .5);
	border-radius: 14px;
	text-align: center;
}

.ozzi-elec__code[hidden] {
	display: none;
}

.ozzi-elec__code-label {
	display: block;
	font-size: 12.5px;
	letter-spacing: .05em;
	color: #9A9A8A;
}

.ozzi-elec__code-value {
	display: block;
	margin: 8px 0 12px;
	font-family: ui-monospace, 'Courier New', monospace;
	font-size: 27px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #fff;
	word-break: break-all;
}

.ozzi-elec__copy {
	height: 38px;
	padding: 0 18px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 9px;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: border-color .15s linear, color .15s linear;
}

.ozzi-elec__copy:hover {
	border-color: var(--ozzi-yellow);
	color: var(--ozzi-yellow);
}

.ozzi-elec__code-expiry {
	display: block;
	margin-top: 12px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #8A8A7A;
}

.ozzi-elec__code-expiry:empty {
	display: none;
}

@media (max-width: 480px) {
	.ozzi-elec__offer {
		font-size: 24px;
	}

	.ozzi-elec__code-value {
		font-size: 23px;
	}
}

/* ==========================================================================
   חסינות צבעים מפני התבנית

   החלונית כהה, והתבנית שמסביבה לא יודעת את זה. כללים שלה על svg,
   על path או על קישורים נכנסים גם לכאן — ולכן הצבעים שחייבים
   להישאר נכונים נקבעים במפורש ולא בירושה.
   ========================================================================== */

/* ── אייקונים ──
   כולם מצוירים עם currentColor. תבנית שקובעת color או fill על svg
   הופכת אותם לכהים על רקע כהה, כלומר לבלתי נראים. */
.ozzi-elec svg {
	color: inherit;
}

.ozzi-elec__check svg path {
	stroke: var(--ozzi-yellow) !important;
}

.ozzi-elec__close svg path {
	stroke: currentColor !important;
}

.ozzi-elec__link svg,
.ozzi-elec__link svg path {
	fill: currentColor !important;
}

.ozzi-elec__drop-icon svg path,
.ozzi-elec__mailnote-icon svg path,
.ozzi-elec__mailnote-icon svg rect {
	stroke: currentColor !important;
}

/* ── שורת העל ──
   תוספי SEO מקשרים שמות מותג אוטומטית, ואז המילה מקבלת את צבע
   הקישורים של התבנית — סגול על רקע שחור. */
.ozzi-elec__kicker,
.ozzi-elec__kicker * {
	color: var(--ozzi-soft) !important;
	text-decoration: none !important;
	background: none !important;
}

/* אותו סיפור בכל טקסט שהוא בשליטת ההגדרות ועלול להכיל קישור. */
.ozzi-elec__sub *,
.ozzi-elec__lead *,
.ozzi-elec__done-text *,
.ozzi-elec__terms * {
	color: inherit !important;
}
