/* ==========================================================================
   דף הרשמה (FR) — שפה עיצובית חדשה, mobile-first
   --------------------------------------------------------------------------
   כל הכללים בקובץ חלים אך ורק תחת body.expo-fr. הקובץ נטען תמיד, אבל
   המחלקה מתווספת רק כשהמצב החדש דלוק (ראו FR_ISLANDS ב-frMain.js),
   ולכן כיבוי הדגל מחזיר את העמוד למראה הישן במדויק.

   העיצוב נכתב מהמסך הצר כלפי מעלה: ברירת המחדל היא טלפון,
   ונקודות השבירה רק מרחיבות.
   ========================================================================== */

/* ==========================================================================
   בסיס העמוד
   ========================================================================== */

body.expo-fr {
    background-color: var(--expo-bg);
    color: var(--expo-text);
    font-family: var(--expo-font);
    font-size: var(--expo-fs-base);
    /* רוחב חלוניות הרישום בתצוגת מחשב */
    --fr-desktop-width: 1026px;
    /* תבנית horizontal-menu מוסיפה לעתים 5rem עבור navbar שאינו קיים בדף */
    padding-top: 0 !important;
}

    body.expo-fr #fsContent,
    body.expo-fr button,
    body.expo-fr input,
    body.expo-fr select,
    body.expo-fr textarea {
        font-family: var(--expo-font);
    }

    /* התבנית הישנה מרפדת את גוף הכרטיס בערכים קבועים שגורמים לגלישה
       אופקית בטלפון. כאן הריפוד נגזר מרוחב המסך. */
    body.expo-fr .app-content.container {
        max-width: 100%;
        padding-inline: 12px;
        padding-top: 0 !important;
    }

    /* אין navbar בין באנר הלוגואים לסרגל השלבים, ולכן ריפוד התבנית מיותר */
    body.expo-fr .content-wrapper,
    body.expo-fr #fsContent {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.expo-fr .padding_body {
        padding: 0 !important;
    }

    body.expo-fr #hover-effects.card {
        background: transparent;
        box-shadow: none;
        border: 0;
        margin-bottom: 0;
    }

    body.expo-fr .card-content {
        overflow: visible;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    body.expo-fr form#form1,
    body.expo-fr .app-content,
    body.expo-fr .content-wrapper {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* הכפתור כבר אינו דביק ולכן אין צורך בשטח ריק מלאכותי בתחתית */
    body.expo-fr #fsContent {
        padding-bottom: 0;
    }

    /* שורת כותרת ריקה מהתבנית הישנה הוסיפה 1rem בין הלוגואים לטופס */
    body.expo-fr .app-content > .content-wrapper > .content-header {
        display: none;
    }

/* ==========================================================================
   כותרת העמוד
   ========================================================================== */

body.expo-fr #hover-effects > .card-content > .p-1 > .card-header,
body.expo-fr .card-header {
    background-color: transparent !important;
    border: 0;
    padding: 8px 0 4px;
}

body.expo-fr #nameE_vm {
    font-size: var(--expo-fs-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--expo-text);
}

/* ==========================================================================
   הסרגל הדביק: באנר המועדון, שם הפעילות והמחיר, ושלבי ההרשמה
   ========================================================================== */

/* עוטף הפריסה של התבנית מגיע עם overflow: hidden, וכל צאצא sticky שבתוכו
   מאבד את ההצמדה. זהו התנאי היחיד שמנע מהסרגל להיצמד. */
/*
 * התבנית מגדירה overflow: hidden על עוטף הפריסה, וכל צאצא sticky שבתוכו
 * מאבד את ההצמדה - זה מה שמנע מהסרגל העליון להיצמד.
 *
 * clip חותך בדיוק כמו hidden אבל אינו יוצר מכל גלילה, ולכן ההצמדה עובדת
 * והשוליים השליליים של שורות Bootstrap עדיין לא מייצרים גלילה אופקית.
 * בדפדפן שאינו מכיר clip ההצהרה נדחית וההתנהגות חוזרת לקודמת.
 *
 * הספציפיות כאן מכוונת: התבנית מכריזה "html body .container.app-content".
 */
html body.expo-fr .container.app-content,
body.expo-fr .app-content.center-layout {
    overflow: visible;
    overflow-x: clip;
}

/* רצועת הלוגואים של המועדון נצמדת ראשונה, והסרגל מתחתיה בגובה שנמדד
   בזמן ריצה (ראו trackFrBannerHeight). מידות הדסקטופ נשארות בכוונה
   בשליטת fr.css הישן, כדי שהבאנר יהיה זהה לשאר מסכי המערכת. */
body.expo-fr .fr-sticky-banner {
    position: sticky;
    top: 0;
    z-index: 960;
    background: var(--expo-surface);
    box-shadow: 0 1px 0 var(--expo-border);
}

/*
 * עגלת הקניות הצפה (floating-box) היא שכבה קבועה ברוחב מלא עם
 * z-index 9999, וגם העטיפות הפנימיות שלה (nav, navbar-wrapper) נמתחות
 * לכל הרוחב. בטלפון, שבו הבאנר נמוך, השכבה כיסתה את כפתורי הבית
 * והחזרה ובלעה את הנגיעות בהם. pointer-events עובר בירושה, ולכן
 * מכבים על המכל כולו ומחזירים רק לכפתור העגלה ולמודל הסל.
 */
body.expo-fr expo-sal-card.floating-box {
    pointer-events: none;
}

    body.expo-fr expo-sal-card.floating-box #salBtn,
    body.expo-fr expo-sal-card.floating-box .modal {
        pointer-events: auto;
    }

body.expo-fr #frTopBar {
    position: sticky;
    top: var(--fr-banner-h, 0px);
    z-index: 970;
    isolation: isolate;
    margin: 0 0 6px;
    padding-top: 6px;
    /* אטום במכוון: תוכן שגולל מתחת לסרגל חצי-שקוף היה מציץ מבעדו */
    background: var(--expo-surface);
    border-bottom: 1px solid var(--expo-border);
    box-shadow: 0 2px 10px rgba(16, 32, 56, .05);
}

body.expo-fr .fr-topbar__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 14px 7px;
    border-top: 1px solid var(--expo-border);
    /* בלי רקע צבעוני: שם הפעילות בולט מעצמו על רקע הסרגל */
    background: transparent;
}

body.expo-fr .fr-topbar__title {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 19.2px;
    font-weight: 800;
    color: var(--expo-brand-dark);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.expo-fr .fr-topbar__title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.expo-fr .fr-topbar__badge {
    margin-inline-start: 6px;
    font-size: var(--expo-fs-sm);
    font-weight: 600;
    color: var(--expo-brand);
}

/* שם הפעילות מוצג בסרגל הדביק, ולכן הכותרת הישנה מיותרת */
body.expo-fr #fsContent > #hover-effects .card-header {
    display: none;
}

/* כפתור "דף הראשי" הישן משוקף אל הסרגל הדביק (כפתור הבית), ולכן
   המקור מוסתר. הסתרה בגיליון בלבד - הקוד הישן עדיין לוחץ עליו. */
body.expo-fr #btnBackContainer {
    display: none;
}

/* העטיפות של הכותרות שהוסתרו שומרות ריפוד ומשאירות פס ריק - נעלמות איתן,
   וכך גם ה-spacer הריק שבין הסקציות הישנות */
body.expo-fr #fsContent .p-1:has(> .card-header),
body.expo-fr #fsContent .pt-1.pb-1:has(> .card-header) {
    display: none;
}

body.expo-fr #HideThanShow > .row.mb-3 {
    margin-bottom: 0 !important;
}

/* משבצת שהשרת לא מילא אינה משאירה מסגרת ריקה */
body.expo-fr .fr-slot--empty {
    display: none;
}

/* השלבים מעוצבים ככפתורי גלולה של ממש - מסגרת, רקע וצל - כדי שיהיה
   ברור שהם לחיצים. לצידם (מימין ב-RTL) כפתורי בית ושלב-אחורה. */
body.expo-fr .fr-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 9px;
}

body.expo-fr .fr-steps__nav {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

body.expo-fr .fr-steps__navbtn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--expo-border);
    border-radius: 10px;
    background: var(--expo-surface);
    color: var(--expo-text-muted);
    cursor: pointer;
    touch-action: manipulation;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 2px rgba(16, 32, 56, .06);
}

    body.expo-fr .fr-steps__navbtn:hover:not(:disabled) {
        border-color: var(--expo-brand);
        color: var(--expo-brand);
    }

    body.expo-fr .fr-steps__navbtn:disabled {
        opacity: .35;
        cursor: default;
        box-shadow: none;
    }

    body.expo-fr .fr-steps__navbtn svg {
        width: 17px;
        height: 17px;
    }

/*
 * מספר העמודות נגזר ממספר השלבים שמוצגים בפועל (--fr-steps-count מפורסם
 * מ-Stepper), כדי שגם כששלב נעלם הגלולות יתחלקו בשווה על כל הרוחב.
 *
 * אין gap בין התאים: קווי החיבור עצמם הם המרווח שבין הגלולות.
 */
body.expo-fr .fr-steps__list {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(var(--fr-steps-count, 4), minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

/*
 * קווי החיבור בין השלבים הם אחים של הגלולה בתוך פריט השלב, ולא שכבה
 * מאחוריה. זה מה שמבטיח שהם לא יחצו אותה בשום מצב - גם כשהשלב נעול
 * ומוצג בשקיפות חלקית, שאז קו שיושב מאחור נראה מבעד לגלולה.
 *
 * לכל פריט חצי קו בכל צד, וחצי הקו של שלב אחד נפגש עם זה של הבא ויוצר קו
 * רצוף. בשני קצות הסרגל חצי הקו החיצוני שומר על מקומו בלי להיראות, כדי
 * שכל הגלולות יישארו באותו רוחב.
 */
body.expo-fr .fr-steps__item {
    display: flex;
    align-items: center;
    min-width: 0;
}

    body.expo-fr .fr-steps__item::before,
    body.expo-fr .fr-steps__item::after {
        content: "";
        flex: 0 0 5px;
        min-width: 0;
        height: 2px;
        background: var(--expo-border);
    }

    body.expo-fr .fr-steps__item:first-child::before,
    body.expo-fr .fr-steps__item:last-child::after {
        visibility: hidden;
    }

/* הקו עד השלב הנוכחי במיתוג המועדון, כדי להדגיש את תהליך הזרימה */
body.expo-fr .fr-steps__item.is-done::before,
body.expo-fr .fr-steps__item.is-done::after,
body.expo-fr .fr-steps__item.is-active::before {
    background: var(--expo-brand);
}

body.expo-fr .fr-steps__btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 34px;
    padding: 4px 4px;
    border: 1px solid var(--expo-border);
    border-radius: 999px;
    background: var(--expo-surface);
    box-shadow: 0 1px 2px rgba(16, 32, 56, .06);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .15s, background-color .15s;
}

    body.expo-fr .fr-steps__btn:hover:not(:disabled) {
        border-color: var(--expo-brand);
    }

    body.expo-fr .fr-steps__btn:disabled {
        cursor: default;
        box-shadow: none;
    }

body.expo-fr .fr-steps__num {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--expo-border);
    color: var(--expo-text-muted);
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
}

body.expo-fr .fr-steps__label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--expo-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.expo-fr .fr-steps__item.is-active .fr-steps__btn {
    background: var(--expo-brand);
    border-color: var(--expo-brand);
}

body.expo-fr .fr-steps__item.is-active .fr-steps__num {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

body.expo-fr .fr-steps__item.is-active .fr-steps__label {
    color: #fff;
}

body.expo-fr .fr-steps__item.is-done .fr-steps__btn {
    background: var(--expo-brand-light);
    border-color: transparent;
}

body.expo-fr .fr-steps__item.is-done .fr-steps__num {
    background: #fff;
    color: var(--expo-brand-dark);
}

body.expo-fr .fr-steps__item.is-done .fr-steps__label {
    color: var(--expo-brand-dark);
}

/* העמעום חל על הגלולה בלבד ולא על הפריט, כדי שקו החיבור יישאר אחיד
   לכל אורכו גם כשהשלב שבצדו האחד נעול */
body.expo-fr .fr-steps__item.is-locked .fr-steps__btn {
    opacity: .45;
}

/*
 * במסך טלפון הסרגל הדביק מתחרה על גובה יקר, ולכן עיגולי המספרים
 * מוותרים על מקומם - הפס העליון והתווית מספיקים כדי לדעת איפה עומדים,
 * ומספר השלב ממילא מופיע בכותרת של כל סקציה.
 */
@media (max-width: 575.98px) {
    body.expo-fr .fr-topbar__summary {
        padding: 7px 12px 5px;
    }

    /* מובייל צפוף: פחות אוויר בין ובתוך הכרטיסים כדי לקצר את הדף */
    body.expo-fr .fr-section {
        --fr-section-gap: 10px;
    }

    body.expo-fr .fr-card {
        padding: 13px;
    }

    body.expo-fr .fr-card__body {
        gap: 9px;
    }

    body.expo-fr .fr-fields {
        gap: 10px 16px;
    }

    body.expo-fr .fr-heading {
        margin: 12px 0 6px;
    }

    /* מרווחי ה-Bootstrap של התבנית (mt-1 = 1rem) מנפחים את הכרטיסים */
    body.expo-fr .fr-card__body .mt-1 {
        margin-top: 6px !important;
    }

    body.expo-fr .fr-card__body .mb-1 {
        margin-bottom: 6px !important;
    }

    body.expo-fr .fr-price #skYhida {
        font-size: 22px;
    }

    /* כרטיס התיאור והמחיר קומפקטי בכ־20% במובייל בלבד */
    body.expo-fr .fr-card:has(.fr-prose) {
        padding: 10px;
    }

    body.expo-fr .fr-card:has(.fr-prose) .fr-card__head {
        margin-bottom: 8px;
    }

    body.expo-fr .fr-card:has(.fr-prose) .fr-card__body {
        gap: 6px;
    }

    body.expo-fr .fr-card:has(.fr-prose) .fr-prose {
        padding: 8px 10px;
        line-height: 1.5;
    }

    body.expo-fr .fr-card:has(.fr-prose) .fr-price #skYhida {
        font-size: 20px;
    }

    body.expo-fr .fr-card:has(.fr-prose) .fr-price .row {
        margin-block: 0 !important;
    }

    body.expo-fr .fr-choices #seifimKshurimList > *,
    body.expo-fr .fr-discounts #hnList > div {
        padding: 10px 12px;
    }

    body.expo-fr .fr-total #sk {
        font-size: 21px;
    }

    /* במובייל הבאנר מנצל את מלוא רוחב המסך. באנר מרכזי יחיד נמתח
       במלואו; כשיש שני לוגואים, כל אחד מקבל בדיוק חצי מהרוחב. */
    body.expo-fr .fr-sticky-banner {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }

    body.expo-fr .fr-sticky-banner #LogoMiddleContainer {
        width: 100%;
        max-width: 100%;
    }

    body.expo-fr .fr-sticky-banner #LogoMiddleContainer img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        object-fit: contain;
    }

    body.expo-fr .fr-sticky-banner #LogoCoupleContainer {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding: 0 !important;
    }

    body.expo-fr .fr-sticky-banner .LogoRightContainer,
    body.expo-fr .fr-sticky-banner .Logo2LeftContainer {
        display: flex;
        align-items: center;
        width: 50%;
        max-width: 50%;
        padding-inline: 0 !important;
    }

    body.expo-fr .fr-sticky-banner .Logo2LeftContainer {
        justify-content: flex-end;
    }

    body.expo-fr .fr-sticky-banner #LogoRight_,
    body.expo-fr .fr-sticky-banner #Logo2Left_ {
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: 98px;
        object-fit: contain;
    }

    body.expo-fr .fr-steps__num {
        display: none;
    }

    body.expo-fr .fr-steps__btn {
        gap: 0;
        padding-top: 6px;
        padding-bottom: 2px;
    }

    body.expo-fr .fr-steps__label {
        font-size: 12px;
    }
}

/* ==========================================================================
   אשף השלבים — שלב אחד על המסך
   ========================================================================== */

/*
 * שלב שאינו פעיל מקופל לגובה אפס ולא מוסתר עם display/visibility:
 * FastRegTool מדלג בוולידציה ובאיסוף הנתונים על שדות "שאינם נראים",
 * וקיפול גובה משאיר אותם נראים מבחינתו. אין לשנות ל-display: none.
 */
body.expo-fr .fr-step-off {
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.expo-fr .fr-heading {
    margin: 20px 0 10px;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 700;
    color: var(--expo-text);
}

/* ==========================================================================
   מבנה הסקציה והכרטיסים
   ========================================================================== */

body.expo-fr .fr-section {
    --fr-section-gap: 14px;
    display: flex;
    flex-direction: column;
    gap: var(--fr-section-gap);
}

/*
 * כותרות החלוניות ("פרטי המשתתף/ת" ו"פרטי הורים") חייבות לשמור על אותו
 * מרווח מהכרטיס שמתחתיהן, כדי ששתי החלוניות יתחילו באותה שורה.
 *
 * בחלונית המשתתף הכותרת היא פריט של ה-flex של הסקציה ומקבלת את ה-gap
 * ממנו; בחלונית ההורים היא יושבת בתוך המכל שאומץ, ולכן המכל עצמו הופך
 * ל-flex עם אותו gap. שני המרווחים הפנימיים של הסימון הישן מבוטלים.
 */
body.expo-fr .fr-section--participant > .fr-subtitle > .blockSection,
body.expo-fr .fr-section--parents .blockSection {
    margin-bottom: 0 !important;
}

body.expo-fr .fr-section--parents > .fr-block > div {
    display: flex;
    flex-direction: column;
    gap: var(--fr-section-gap);
}

/* עטיפות אופציונליות ריקות בשלב התשלום היו בגובה 0, אך כל אחת עדיין
   קיבלה gap של 14px מה-flex ויצרה כ־70px ריקים לפני הכפתור. */
body.expo-fr .fr-section--payment > .fr-msv,
body.expo-fr .fr-section--payment > .fr-hk,
body.expo-fr .fr-section--payment > .fr-office,
body.expo-fr .fr-section--payment > .fr-rest {
    display: contents;
}

/* מרווח רק בין רכיבי תשלום אמיתיים, לא אחרי עטיפות ריקות ולפני הכפתור. */
body.expo-fr .fr-section--payment {
    gap: 0;
}

body.expo-fr .fr-section--payment > .fr-card,
body.expo-fr .fr-section--payment > .fr-msv > *,
body.expo-fr .fr-section--payment > .fr-hk > *,
body.expo-fr .fr-section--payment > .fr-office > *,
body.expo-fr .fr-section--payment > .fr-rest > * {
    margin-top: 14px;
}

body.expo-fr .fr-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

    /* #firstStepContainer מגיע עם עיצוב כרטיס ישן שאין בו צורך יותר */
    body.expo-fr .fr-column > #firstStepContainer {
        display: flex;
        flex-direction: column;
        gap: 14px;
        height: auto !important;
        background: transparent;
        border: 0;
        box-shadow: none;
        margin: 0;
    }

body.expo-fr .fr-card {
    background: var(--expo-surface);
    border: 1px solid var(--expo-border);
    border-radius: var(--expo-radius-lg);
    box-shadow: var(--expo-shadow);
    padding: 16px;
}

/* הקיפול עצמו מוכרע ב-FrCard, שם אפשר להבחין בין מכל מוסתר למכל ריק */
body.expo-fr .fr-card--collapsed {
    display: none;
}

body.expo-fr .fr-card--muted {
    background: var(--expo-brand-light);
    border-color: transparent;
}

body.expo-fr .fr-card__head {
    margin-bottom: 12px;
}

body.expo-fr .fr-card__title {
    margin: 0;
    font-size: var(--expo-fs-card-title);
    font-weight: 700;
    color: var(--expo-text);
}

body.expo-fr .fr-card__hint {
    margin: 2px 0 0;
    font-size: var(--expo-fs-sm);
    color: var(--expo-text-muted);
}

body.expo-fr .fr-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* אם גם המיקום וגם המדריך מוסתרים, הגריד הריק לא ישאיר רווח בכרטיס.
   התנאי :has(> [data-slot]) מוודא שהכלל תופס רק גרידים שבנויים ממשבצות
   אימוץ של React — גריד עם שורות רגילות (כמו משתתף דינמי) לא יוסתר. */
body.expo-fr .fr-card__body > .fr-fields:has(> [data-slot]):not(:has(> [data-slot]:not(.fr-slot--empty))) {
    display: none;
}

    body.expo-fr .fr-card__body > [data-slot]:empty {
        display: none;
    }

/* ==========================================================================
   גריד שדות — עמודה אחת בטלפון
   ========================================================================== */

body.expo-fr .fr-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 16px;
}

/* ==========================================================================
   משתתפים — כרטיס אחיד וגריד שמתכווץ לפי השדות שמוצגים בפועל
   ========================================================================== */

/* ה-row הישן של Bootstrap שמר רוחב/מקום גם לילדים מוסתרים. הגריד החדש
   מסדר כל משתתף או קבוצת הורים כיחידה עצמאית, עמודה אחת במסך צר. */
body.expo-fr #participantsContainer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-inline: auto;
}

body.expo-fr #participantsContainer > #participant1Container,
body.expo-fr #participantsContainer > #otherParticipantsContainer,
body.expo-fr #participantsContainer > expo-participant,
body.expo-fr #participantsContainer > #addParticipantBtnContainer {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: 0;
}

body.expo-fr #participantsContainer > #addParticipantBtnContainer {
    grid-column: 1 / -1;
}

/* המשתתפים הדינמיים נוצרים בקוד הישן לאחר עליית React. הסימון שלהם מקבל
   את אותה שפת כרטיסים ואותו גריד שתי עמודות של המשתתף הראשון וההורים. */
body.expo-fr #participantsContainer > expo-participant {
    min-width: 0;
}

body.expo-fr #participantsContainer > expo-participant > .blockSection {
    width: 100%;
    max-width: 100%;
    margin-inline: 0 !important;
}

body.expo-fr .fr-dynamic-participant__card {
    width: 100%;
}

body.expo-fr .fr-dynamic-participant__card .fr-fields > .row,
body.expo-fr .fr-dynamic-participant__card > .fr-card__body > .fr-upload {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding-inline: 0;
}

body.expo-fr .fr-dynamic-participant__card [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
}

/* כמות ותשלומים הם חלק מפרטי הפעילות. השדות הקיימים זורמים מימין
   לשמאל בשורה קומפקטית, ובמובייל נשברים לעמודה אחת. */
body.expo-fr .fr-activity-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    direction: rtl;
    gap: 10px 16px;
    width: 100%;
    margin-top: 4px;
}

body.expo-fr .fr-activity-controls > [data-slot] {
    flex: 0 1 260px;
    width: 260px;
    min-width: 0;
    max-width: 100%;
}

body.expo-fr .fr-activity-controls > [data-slot] > .row {
    justify-content: flex-start !important;
    direction: rtl;
}

@media (min-width: 576px) {
    /* מכל הכמות כולל גם טווח תאריכים. הוא מקבל שורה מלאה כדי שהבורר
       יישאר מימין והטווח ינצל את יתרת השורה במקום להישבר לשתי שורות. */
    body.expo-fr .fr-activity-controls > [data-slot='kamutContainer'] {
        flex: 1 1 100%;
        width: 100%;
    }

    body.expo-fr .fr-activity-controls #kamutContainer {
        display: grid;
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    body.expo-fr .fr-activity-controls #kamutContainer > .form__input-group {
        grid-column: 1;
        width: 100%;
    }

    body.expo-fr .fr-activity-controls #kamutContainer > .textContent {
        grid-column: 2;
        width: auto;
        min-width: 0;
        padding-top: 0 !important;
        white-space: nowrap;
    }
}

body.expo-fr #letaarichim {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* הפקדים המאומצים נושאים עדיין מחלקות עמודה של Bootstrap. בתוך הגריד
   החדש הן היו יוצרות רוחבים שרירותיים, ולכן מנוטרלות כאן. */
body.expo-fr .fr-fields [class*="col-"],
body.expo-fr .fr-card__body > [data-slot] > [class*="col-"] {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
}

body.expo-fr .fr-fields .row,
body.expo-fr .fr-card__body .row {
    margin-inline: 0;
    padding-inline: 0;
}

/* מרווחי הביניים של Bootstrap הזיחו כל מכל בשיעור אחר, והתוכן יצא
   לא מיושר מול כותרת הכרטיס. הריפוד של הכרטיס הוא המרווח היחיד. */
body.expo-fr .fr-card__body [class*="col-"] {
    padding-inline: 0;
}

body.expo-fr .fr-fields > [data-slot] > .row {
    width: 100%;
}

@media (max-width: 575.98px) {
    body.expo-fr .fr-activity-controls > [data-slot] {
        flex-basis: 100%;
        width: 100%;
    }
}

/* ==========================================================================
   שדות קלט — יעדי מגע גדולים, תווית צפה קריאה
   ========================================================================== */

body.expo-fr .control-ft {
    height: var(--expo-control-h);
    padding: 12px 14px;
    font-size: var(--expo-fs-base);
    text-align: start;
    border: 1px solid var(--expo-border) !important;
    border-radius: var(--expo-radius);
    background-color: var(--expo-surface);
    color: var(--expo-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}

    body.expo-fr .control-ft:focus {
        outline: 0;
        border-color: var(--expo-brand) !important;
        box-shadow: 0 0 0 3px rgba(29, 91, 191, .15);
    }

body.expo-fr select.control-ft {
    appearance: none;
    padding-inline-end: 34px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: left 12px center;
}

body.expo-fr .form__input-group2,
body.expo-fr .form__input-group {
    padding-inline-start: 0;
    padding-inline-end: 0;
    margin: 0;
    width: 100%;
}

/* התווית יושבת מעל השדה ולא מרחפת מעליו: קריא יותר בטלפון,
   ולא נחתך כשהטקסט ארוך. */
body.expo-fr .form__input-label,
body.expo-fr .already_focus_input2 {
    position: static;
    display: block;
    order: -1;
    transform: none;
    inset: auto;
    margin-bottom: 6px;
    padding: 0;
    background: transparent;
    font-size: var(--expo-fs-sm);
    font-weight: 600;
    color: var(--expo-text-muted);
    white-space: normal;
}

body.expo-fr .form__input-group2,
body.expo-fr .form__input-group {
    display: flex;
    flex-direction: column;
}

body.expo-fr .form__input:focus ~ .form__input-label {
    top: auto;
    font-size: var(--expo-fs-sm);
    padding: 0;
    background: transparent;
    color: var(--expo-brand);
}

body.expo-fr .invalidMark {
    border-color: var(--expo-danger) !important;
    box-shadow: 0 0 0 3px var(--expo-danger-light);
}

/* הקוד הישן מדביק את מחלקת הסימון גם על הודעת "שדה חובה!" עצמה —
   המסגרת והרקע שייכים לשדה בלבד, וההודעה נשארת טקסט נקי */
body.expo-fr #validationMsg.invalidMark,
body.expo-fr #validationMsg.warningMark {
    border: 0 !important;
    box-shadow: none;
    background: transparent;
}

body.expo-fr #validationMsg {
    color: var(--expo-danger);
    font-size: var(--expo-fs-sm);
    font-weight: 600;
    padding: 4px 0 0;
}

body.expo-fr .must {
    color: var(--expo-danger);
}

/* ==========================================================================
   תיבות סימון ורדיו — יעד מגע גדול
   ========================================================================== */

body.expo-fr input[type='checkbox'],
body.expo-fr input[type='radio'] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--expo-brand);
    flex: 0 0 auto;
    cursor: pointer;
    /* התיבה גבוהה מגובה השורה, ובלי היישור הזה היא נדחפת מעל הטקסט */
    vertical-align: -0.32em;
}

    body.expo-fr input[type='checkbox']:disabled,
    body.expo-fr input[type='radio']:disabled {
        cursor: default;
        opacity: .5;
    }

body.expo-fr .textContent {
    font-size: var(--expo-fs-base);
    padding-inline-start: 0;
    line-height: 1.6;
}

body.expo-fr .title {
    font-size: var(--expo-fs-card-title);
    font-weight: 700;
    margin-top: 0;
}

/* ==========================================================================
   כותרות המשנה הישנות
   ========================================================================== */

/*
 * "פרטי הורים", "בן/ת זוג/פרטנר", "משתתף N" מגיעות כשורת Bootstrap ברוחב
 * col-9 עם צל כחול מוסט, וכך הן נראות כמו תווית חתוכה. כאן הן הופכות
 * לכותרת רגילה בשפת העיצוב, בלי לגעת בסימון עצמו.
 */
body.expo-fr .blockSection,
body.expo-fr .blockSection2 {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    margin: 0 0 12px;
    padding: 0 !important;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

    body.expo-fr .blockSection > [class*="col-"],
    body.expo-fr .blockSection2 > [class*="col-"] {
        flex: 1 1 auto;
        max-width: 100%;
        padding-inline: 0;
    }

    body.expo-fr .blockSection h1,
    body.expo-fr .blockSection2 h1 {
        margin: 0;
        font-size: var(--expo-fs-card-title);
        font-weight: 700;
        color: var(--expo-text);
    }

/* ==========================================================================
   כפתורים
   ========================================================================== */

body.expo-fr .btn {
    min-height: var(--expo-control-h);
    border-radius: var(--expo-radius);
    font-size: var(--expo-fs-base);
    font-weight: 700;
    padding: 12px 20px;
    transition: background-color .15s ease, box-shadow .15s ease;
}

body.expo-fr .btn-info,
body.expo-fr .btn-success {
    background-color: var(--expo-brand) !important;
    border-color: var(--expo-brand) !important;
    color: #fff !important;
    box-shadow: var(--expo-shadow);
}

    body.expo-fr .btn-info:hover,
    body.expo-fr .btn-success:hover {
        background-color: var(--expo-brand-dark) !important;
    }

body.expo-fr .btn-secondary {
    background-color: var(--expo-surface) !important;
    border: 1px solid var(--expo-brand) !important;
    color: var(--expo-brand) !important;
}

body.expo-fr .fr-back .btn2 {
    width: auto !important;
    min-height: 40px;
    background: transparent;
    border: 0;
    color: var(--expo-brand) !important;
    padding-inline: 0;
}

/* ==========================================================================
   תמונת הפעילות
   ========================================================================== */

body.expo-fr .fr-hero {
    margin: 0;
}

    body.expo-fr .fr-hero > #wrapImageSeif {
        padding: 0 !important;
        max-width: 100%;
        flex: 1 1 auto;
    }

body.expo-fr .image-container1 {
    border-radius: var(--expo-radius-lg);
    box-shadow: var(--expo-shadow);
}

    /* אפקטי ה-hover של התבנית הישנה אינם רלוונטיים במסך מגע */
    body.expo-fr .image-container1::before,
    body.expo-fr .image-container1::after {
        content: none;
    }

    body.expo-fr .image-container1 img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: cover;
    }

/* ==========================================================================
   פרטי הפעילות
   ========================================================================== */

body.expo-fr .fr-notice {
    background: var(--expo-warning-light);
    border-inline-start: 4px solid var(--expo-warning);
    border-radius: var(--expo-radius);
    padding: 12px 14px;
    font-size: var(--expo-fs-base);
}

/* התיאור המפורט נשאר נקי על לבן, עם פס המותג בלבד להדגשה. */
body.expo-fr .fr-prose {
    background: var(--expo-surface);
    border-inline-start: 4px solid var(--expo-brand);
    border-radius: var(--expo-radius);
    padding: 11px 13px;
    font-size: var(--expo-fs-base);
    line-height: 1.65;
}

    body.expo-fr .fr-notice .textContent,
    body.expo-fr .fr-prose .textContent {
        padding: 0;
    }

/*
 * כוכבית החובה של "בחירה נוספת" מוזרקת ל-label ריק שממוקם אבסולוטית
 * (initValidation מוסיף אותה ל-label הראשון במכל), ולכן היא צפה מנותקת
 * מהכותרת ונחתכת בקצה הכרטיס. ה-label המוזרק מוסתר לגמרי, והכוכבית
 * מצוירת ישירות על הכותרת (::before - צד ימין ב-RTL) רק כשהבחירה אכן
 * חובה - כלומר רק כש-initValidation הזריק את סימן ה-must ל-label.
 */
body.expo-fr #seifimKshurimContainer > label {
    display: none;
}

body.expo-fr #seifimKshurimContainer:has(> label .must) > .title::before {
    content: '*';
    color: var(--expo-danger);
    font-weight: 700;
    margin-inline-end: 3px;
}

body.expo-fr #seifimKshurimContainer > .title {
    order: -1;
    width: auto;
    flex: 0 0 auto;
}

body.expo-fr #seifimKshurimContainer > #seifimKshurim {
    order: -1;
}

/*
 * #seifimKshurim הוא div ריק שמשמש רק כעוגן לוולידציה ("יש לבחור לפחות...").
 * כשהוולידציה נכשלת הוא מקבל invalidMark, וה-box-shadow האדום סביב אלמנט
 * בגודל אפס מצטייר כקו אדום תלוש ליד הכותרת - מבטלים כל סימון ויזואלי עליו.
 */
body.expo-fr #seifimKshurimContainer > #seifimKshurim.invalidMark,
body.expo-fr #seifimKshurimContainer.invalidMark {
    border: 0 !important;
    box-shadow: none !important;
}

body.expo-fr .fr-detail .title,
body.expo-fr .fr-price .title {
    font-size: var(--expo-fs-sm);
    font-weight: 600;
    color: var(--expo-text-muted);
    margin-bottom: 2px;
}

/* כל תא פרט מיושר לתחילת השורה, גם כשעמודת ה-Bootstrap שלו צרה מהתא */
body.expo-fr .fr-detail,
body.expo-fr .fr-price {
    text-align: start;
}

    body.expo-fr .fr-detail > *,
    body.expo-fr .fr-price > * {
        flex: 1 1 100%;
        max-width: 100%;
        padding-inline: 0;
    }

body.expo-fr .fr-detail .fr-chips {
    padding-inline-start: 0;
}

/* ימי הפעילות של הסעיף הראשי נשברים רק בין ימים, לא בתוך יום ושעה.
   כך כל פריט מנצל את השורה הפנויה ונשאר קריא כרצף אחד. */
body.expo-fr #seifimTimeChips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

body.expo-fr #seifimTimeChips .fr-chip,
body.expo-fr #seifimTimeChips .fr-chip__text {
    flex: 0 0 auto;
    white-space: nowrap;
}

body.expo-fr #seifimTimeChips .fr-chip__text {
    display: inline-flex;
    align-items: center;
}

/* KamutTxt הוא תאום טקסטואלי של הבורר, ריק כשהבורר פעיל. בלי זה הוא
   מצויר כתיבת קלט ריקה מתחתיו. */
body.expo-fr #KamutTxt:empty,
body.expo-fr .control-ft.form__input:empty:not(input):not(select):not(textarea) {
    display: none;
}

body.expo-fr .fr-price #skYhida {
    font-size: 26px;
    font-weight: 800;
    color: var(--expo-brand);
}

body.expo-fr .fr-price #sug_hishuv_vm {
    font-size: var(--expo-fs-sm);
    color: var(--expo-text-muted);
}

/*
 * המדריך והשעות מוצגים כטקסט עם צלמית מובילה, בלי גלולה ובלי מסגרת.
 * אלה פרטי מידע ולא תגיות שאפשר לבחור, והמסגרת רק רמזה על אינטראקציה
 * שאינה קיימת.
 */
/* גריד צפוף: במובייל שני שיעורים בשורה במקום אחד, כדי לקצר את הרשימה,
   ורקע רך בגוון המותג נותן לה חיים בלי לחזור למסגרות הכבדות. */
body.expo-fr .fr-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 7px;
    padding-inline-start: 0;
}

body.expo-fr .fr-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 9px;
    padding: 6px 9px;
    background: var(--expo-brand-light);
    color: var(--expo-text);
    font-size: var(--expo-fs-sm);
    line-height: 1.4;
}

body.expo-fr .fr-chip__icon {
    width: 15px;
    height: 15px;
    color: var(--expo-brand);
}

body.expo-fr .fr-chip__day {
    font-weight: 700;
    color: var(--expo-brand-dark);
}

body.expo-fr .fr-chip__sep {
    margin: 0 4px;
}

body.expo-fr .fr-chip__time {
    color: var(--expo-text);
}

/* בשורת מידע של סעיף קשור הצ'יפים זורמים בשורה ולא בגריד */
body.expo-fr .fr-seifkashur-info .fr-chips {
    display: flex;
    flex-wrap: wrap;
    padding-inline-start: 0;
    font-size: var(--expo-fs-sm);
}

/* שיעור ברשימת הבחירות: כ־20% פחות גובה בלי לפגוע ביעד המגע של התיבה. */
body.expo-fr .fr-choices #seifimKshurimList > * {
    padding: 5px 7px;
}

body.expo-fr .fr-choices #seifimKshurimList > * > .textContent {
    line-height: 1.2;
}

body.expo-fr .fr-choices .fr-seifkashur-info {
    margin: 0;
}

body.expo-fr .fr-choices .fr-seifkashur-info .fr-chip {
    gap: 4px;
    padding: 1px 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1.2;
}

body.expo-fr .fr-choices .fr-seifkashur-info .fr-chip__icon {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   בחירות נוספות והנחות
   ========================================================================== */

/*
 * שתי הרשימות בנויות אותו דבר: מכל, ובתוכו שורה לכל אפשרות שמכילה
 * span עם תיבת סימון ואחריו טקסט התווית.
 *
 * #hnList אינו עמודת Bootstrap אף שהוא יושב בתוך .row, ולכן בלי width
 * מפורש הוא מתכווץ לרוחב התוכן והכרטיסים שלו גולשים מחוץ לכרטיס.
 */
body.expo-fr .fr-choices #seifimKshurimList,
body.expo-fr .fr-discounts #hnList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 100%;
    /* בלי זה הרשימה נמתחת לגובה השורה שסביבה ומושכת איתה את השורות */
    align-self: flex-start;
}

/*
 * השורות נשארות בזרימה רגילה ולא flex: בין התוויות יש טקסט חופשי כמו
 * הסוגריים סביב אחוז ההנחה, ו-flex היה הופך כל קטע כזה לפריט נפרד
 * ומוחק את הרווחים שביניהם.
 */
body.expo-fr .fr-choices #seifimKshurimList > *,
body.expo-fr .fr-discounts #hnList > div {
    display: block;
    /* השורות הן col-12, כלומר flex-basis: 100%. במכל טור הבסיס הזה הוא
       גובה ולא רוחב, ולכן כל שורה נמתחה לגובה הרשימה כולה. */
    flex: 0 0 auto;
    padding: 13px 15px;
    border: 1px solid var(--expo-border);
    border-radius: var(--expo-radius);
    background: var(--expo-surface);
    transition: border-color .15s ease, background-color .15s ease;
}

/* גובר על ריפוד האריח הכללי: שיעור צריך להיות נמוך וקומפקטי יותר. */
body.expo-fr .fr-choices #seifimKshurimList > * {
    padding: 5px 7px;
}

    body.expo-fr .fr-choices #seifimKshurimList > *:hover,
    body.expo-fr .fr-discounts #hnList > div:hover {
        border-color: var(--expo-brand);
        background: var(--expo-brand-light);
    }

    /* .textContent הוא col-12 ומביא איתו ריפוד של Bootstrap מעל ריפוד השורה */
    body.expo-fr .fr-choices #seifimKshurimList > * > .textContent,
    body.expo-fr .fr-discounts #hnList > div > .textContent {
        padding: 0;
    }

body.expo-fr .fr-choices #seifimKshurimList span > input[type='checkbox'],
body.expo-fr .fr-discounts #hnList input[type='checkbox'] {
    margin-inline-end: 10px;
}

body.expo-fr .fr-discounts .hnLabel,
body.expo-fr .fr-choices #seifN {
    margin: 0;
    font-weight: 600;
}

/* מה שנפתח אחרי סימון יורד לשורה משלו ומוזח כדי להיקשר לתווית שמעליו */
body.expo-fr .fr-discounts #hnList > div > .form__input-group,
body.expo-fr .fr-discounts #hnList > div > .form__input-group2,
body.expo-fr .fr-discounts #hnNosafDetailsContainer,
body.expo-fr .fr-seifkashur-info {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding-inline-start: 30px;
}

/* כרטיס שיעור: checkbox במקום הכרטיס שבדוגמה, כותרת מעל ופס מידע משותף מתחת. */
body.expo-fr .fr-choices #seifimKshurimList > expo-seifkashur {
    display: grid;
    grid-template-columns: clamp(38px, 8vw, 54px) minmax(0, 1fr);
    grid-template-rows: minmax(24px, auto) minmax(25px, auto);
    column-gap: 6px;
    row-gap: 2px;
    padding: 6px;
    border-radius: 12px;
}

body.expo-fr .fr-choices .fr-seifkashur-check {
    grid-column: 1;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    cursor: pointer;
}

body.expo-fr .fr-choices .fr-seifkashur-check input[type='checkbox'] {
    width: 22px;
    height: 22px;
    margin: 0 !important;
}

body.expo-fr .fr-choices .fr-seifkashur-title {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: auto;
    min-width: 0;
    max-width: none;
    color: var(--expo-text);
    /* הגדלה מתונה של המלל; ריווח הקובייה קוזז כדי שמידותיה לא יגדלו */
    font-size: clamp(15px, 2.1vw, 20px);
    line-height: 1.2;
    font-weight: 800;
    line-height: 1.2;
    text-align: start;
    white-space: nowrap;
}

body.expo-fr .fr-choices .fr-seifkashur-title #seifN {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.expo-fr .fr-choices .fr-seifkashur-info {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 1px 8px;
    overflow-x: auto;
    border-radius: 8px;
    background: #edf7fa;
    scrollbar-width: none;
}

body.expo-fr .fr-choices .fr-seifkashur-info::-webkit-scrollbar {
    display: none;
}

body.expo-fr .fr-choices .fr-seifkashur-info .fr-chips {
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 3vw, 24px);
    width: auto;
    white-space: nowrap;
}

body.expo-fr .fr-choices .fr-seifkashur-info .fr-chip {
    font-size: clamp(13px, 1.7vw, 16.5px);
}

body.expo-fr .fr-choices .fr-seifkashur-info .fr-chip__icon {
    width: 16.5px;
    height: 16.5px;
}

body.expo-fr .fr-choices #waitingLabel {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 2px;
}

/* בלי מדריך או מועדים אין צורך לשמור את השורה התחתונה הריקה. */
body.expo-fr .fr-choices #seifimKshurimList > expo-seifkashur:not(:has(> .fr-seifkashur-info)) {
    grid-template-rows: 34px;
    padding-block: 4px;
}

body.expo-fr .fr-choices #seifimKshurimList > expo-seifkashur:not(:has(> .fr-seifkashur-info)) .fr-seifkashur-check {
    grid-row: 1;
    min-height: 34px;
}

body.expo-fr .fr-choices #seifimKshurimList > expo-seifkashur:not(:has(> .fr-seifkashur-info)) #waitingLabel {
    grid-row: 2;
}

@media (max-width: 575.98px) {
    body.expo-fr .fr-choices .fr-seifkashur-title {
        justify-content: center;
        text-align: center;
    }

    body.expo-fr .fr-choices .fr-seifkashur-info {
        justify-self: stretch;
        width: auto;
    }

    body.expo-fr .fr-choices .fr-seifkashur-info .fr-chips {
        justify-content: space-between;
        width: 100%;
    }
}

/* כשנשאר רק מדריך או רק מועד, הפריט הבודד נשען לימין גם במובייל.
   row-reverse ב-RTL הופך את flex-end לקצה הימני החזותי. */
body.expo-fr .fr-choices .fr-seifkashur-info .fr-chips:has(> .fr-chip:only-child) {
    justify-content: flex-end;
}

body.expo-fr .fr-discounts #hnNosafDetailsContainer .form__input-group {
    margin-bottom: 10px;
}

/* ==========================================================================
   סיכום המחיר — נשאר מול העיניים בזמן גלילה
   ========================================================================== */

body.expo-fr .fr-total #skContainer,
body.expo-fr .fr-total {
    margin: 0;
}

    body.expo-fr .fr-total #skContainer > .row {
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        direction: rtl;
        gap: clamp(12px, 2vw, 24px);
        width: 100%;
        margin: 0;
        padding: 4px 0;
        background: transparent !important;
        border-radius: 0;
    }

    body.expo-fr .fr-total .title {
        flex: 0 0 auto;
        max-width: none;
        width: auto;
        margin: 0;
        font-size: var(--expo-fs-card-title);
        color: var(--expo-brand-dark);
    }

    body.expo-fr .fr-total .textContent {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
        max-width: none;
        text-align: end;
    }

    body.expo-fr .fr-total #sk {
        order: -1;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.15;
        white-space: nowrap;
        color: var(--expo-brand-dark);
    }

    body.expo-fr .fr-total #multiple {
        font-size: var(--expo-fs-sm);
        line-height: 1.2;
        white-space: nowrap;
        color: var(--expo-text-muted);
    }

    body.expo-fr .fr-total #sk,
    body.expo-fr .fr-total #multiple,
    body.expo-fr .fr-total #bhiraLadderCurrent {
        width: auto;
        max-width: none;
        padding-inline: 0;
    }

/* ==========================================================================
   סרגל הפעולה הדביק — הכפתור הראשי תמיד בהישג אצבע
   ========================================================================== */

/* סרגל הפעולה נמצא בזרימה הרגילה: בדף ארוך הוא מתגלה רק בתחתית. */
body.expo-fr .fr-cta {
    position: static;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
}

    body.expo-fr .fr-cta .row {
        flex: 1 1 auto;
        margin: 0 !important;
    }

    body.expo-fr .fr-cta .btn {
        width: 100%;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    body.expo-fr .fr-cta .btn[aria-busy='true'] {
        opacity: .72;
        cursor: wait;
    }

    body.expo-fr .fr-cta [class*="col-"] {
        flex: 1 1 auto;
        max-width: 100%;
        padding: 0 !important;
    }

/* גם "המשך" בשלבי הביניים נמצא בסוף התוכן ואינו צף מעליו. */
body.expo-fr .fr-cta--wizard {
    position: static;
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
}

/* הפוטר הוא הבאנר האחרון בדף, מיד אחרי הכפתור, ולא שכבה שמכסה תוכן. */
body.expo-fr .fixed-footer {
    position: static;
}

/* בשלב קצר הפוטר וכפתור הפעולה נשארים כיחידה אחת בתחתית המסך.
   בדף ארוך המחלקה אינה קיימת ושניהם נשארים בסוף הגלילה בלבד. */
body.expo-fr.fr-page-short .fixed-footer {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1000;
}

body.expo-fr.fr-page-short .fr-cta {
    position: fixed;
    inset-inline: 12px;
    bottom: calc(var(--fr-footer-h, 0px) + 6px);
    z-index: 1001;
    margin: 0;
}

/* הפוטר מצומצם במובייל כדי להשאיר מקום לתוכן ולכפתור */
@media (max-width: 575.98px) {
    body.expo-fr .fixed-footer {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        font-size: 9px !important;
    }

        body.expo-fr .fixed-footer .col-12 {
            line-height: 1.3 !important;
        }
}

    body.expo-fr .fr-cta--wizard .fr-cta__next {
        flex: 1 1 auto;
        min-height: var(--expo-control-h);
    }

/* הפוטר כבר נמצא בזרימה ולכן מציין המקום הישן רק יוצר חלל מיותר. */
body.expo-fr #footer_place_holder {
    display: none;
    padding: 0 !important;
}

/* ==========================================================================
   הצהרת בריאות, תקנון ומסמכים
   ========================================================================== */

/*
 * המכל הזה עוטף גם את נוסח ההצהרה וגם את השאלות ותיבת האישור. הגבלת
 * גובה עליו דחפה את תיבת האישור אל מחוץ לשדה הראייה ונראתה כטקסט חתוך,
 * ולכן רק נוסח ההצהרה עצמו נגלל - הפקדים תמיד גלויים.
 */
body.expo-fr .fr-health .vertical-scroll {
    border: 1px solid var(--expo-border) !important;
    border-radius: var(--expo-radius);
    padding: 12px;
    height: auto !important;
    max-height: none;
    overflow: visible;
    text-align: start !important;
}

body.expo-fr .fr-health #healthDeclarationText {
    max-height: 220px;
    overflow-y: auto;
    padding: 10px 12px;
    border-radius: var(--expo-radius);
    background: var(--expo-bg);
    color: var(--expo-text-muted);
    font-size: var(--expo-fs-sm);
    line-height: 1.65;
}

/* בוררי כן/לא מגיעים עם max-width ו-height מוטבעים שמקטינים אותם
   מתחת ליעד מגע סביר */
body.expo-fr .fr-health select {
    max-width: none !important;
    min-width: 110px;
    height: var(--expo-control-h) !important;
    padding: 0 12px !important;
}

body.expo-fr .fr-health input[type='text'] {
    width: 100%;
}

body.expo-fr .fr-health #hbriutCheck2Container,
body.expo-fr .fr-health #bakaraPrm4005CheckContainer {
    margin-top: 14px;
}

body.expo-fr .fr-takanon,
body.expo-fr .fr-health #hbriutCheckContainer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

    body.expo-fr .fr-takanon label,
    body.expo-fr .fr-health #hbriutCheckContainer label {
        margin: 0;
        max-width: none;
        width: auto;
        flex: 1 1 200px;
        line-height: 1.5;
    }

body.expo-fr .fr-takanon a,
body.expo-fr a#takanonLink,
body.expo-fr a#takanonHLink,
body.expo-fr a#AdditionalFileLink {
    color: var(--expo-brand) !important;
    font-weight: 600;
}

body.expo-fr .file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--expo-control-h);
    border: 1px dashed var(--expo-border);
    border-radius: var(--expo-radius);
    background: var(--expo-brand-light);
    color: var(--expo-brand-dark);
    padding: 12px;
    text-align: center;
}

body.expo-fr .fr-files {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.expo-fr .alredy_focus_input,
body.expo-fr .already_focus_input {
    position: static;
    transform: none;
    background: transparent;
    padding: 0;
}

body.expo-fr .fr-levad #levadRadio {
    max-width: 100%;
    width: 100%;
    height: auto !important;
    border: 1px solid var(--expo-border) !important;
    border-radius: var(--expo-radius);
    padding: 12px !important;
    text-align: start !important;
}

body.expo-fr .fr-levad .textContent,
body.expo-fr .fr-inline-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    body.expo-fr .fr-levad .textContent label,
    body.expo-fr .fr-inline-choice label {
        margin: 0;
    }

/* שלושת הפקדים האלה מגיעים מהסימון עם height קבוע בסגנון מוטבע (34px),
   שנמוך מיעד המגע. הדריסה כאן חייבת להיות מפורשת כדי לגבור עליו. */
body.expo-fr .fr-inline-choice select.control-ft,
body.expo-fr #hbriutCheck2,
body.expo-fr #bakaraPrm4005Check,
body.expo-fr #PirsumPicCheck {
    max-width: 130px !important;
    height: var(--expo-control-h) !important;
    padding: 10px 12px !important;
}

/* ==========================================================================
   אמצעי תשלום
   ========================================================================== */

body.expo-fr .fr-payment-kinds #paymentKind {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0 !important;
}

    body.expo-fr .fr-payment-kinds #paymentKind > div {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 14px;
        border: 1px solid var(--expo-border);
        border-radius: var(--expo-radius);
        background: var(--expo-surface);
        cursor: pointer;
    }

        body.expo-fr .fr-payment-kinds #paymentKind > div label {
            margin: 0;
            font-weight: 600;
        }

body.expo-fr .fr-hk .row,
body.expo-fr .fr-msv .row {
    margin-inline: 0;
    align-items: center;
}

body.expo-fr .fr-hk [class*="col-"] {
    padding-inline: 0;
}

/* ==========================================================================
   חלוניות
   ========================================================================== */

body.expo-fr .modal-content {
    border-radius: var(--expo-radius-lg) !important;
    border: 0;
    box-shadow: var(--expo-shadow-lg);
}

body.expo-fr .modal-header,
body.expo-fr .modal-footer {
    border-color: var(--expo-border) !important;
}

body.expo-fr .modal .title {
    color: var(--expo-text);
}

body.expo-fr .modal-footer .btn {
    min-width: 110px;
}

/* ==========================================================================
   נקודות שבירה — מכאן ומעלה מרחיבים
   ========================================================================== */

@media (min-width: 768px) {
    body.expo-fr .app-content.container {
        padding-inline: 24px;
    }

    body.expo-fr .fr-fields--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.expo-fr .fr-fields--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.expo-fr .fr-files {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.expo-fr .fr-card {
        padding: 20px;
    }

    body.expo-fr .fr-cta {
        margin-inline: 0;
        border-radius: var(--expo-radius-lg) var(--expo-radius-lg) 0 0;
    }

        body.expo-fr .fr-cta .btn {
            max-width: 360px;
            margin-inline: auto;
        }
}

@media (min-width: 992px) {
    /* במחשב הגלולות אינן צריכות למלא את כל רוחב הסרגל: חצי רוחב התא,
       וקווי החיבור נמתחים על היתר. הגובה נשאר כשהיה. */
    body.expo-fr .fr-steps__item::before,
    body.expo-fr .fr-steps__item::after {
        flex: 1 1 auto;
    }

    body.expo-fr .fr-steps__btn {
        flex: 0 0 50%;
        min-width: max-content;
        width: auto;
    }

    /* בלי תמונה הסעיף נשאר במכל הממורכז הרגיל, כמו לפני שינוי הפריסה. */
    body.expo-fr .fr-section--first {
        max-width: var(--fr-desktop-width);
        margin-inline: auto;
        width: 100%;
    }

        /* התמונה לצד הפרטים במסך רחב, ועמודה אחת בטלפון.
           הבדיקה על d-none חשובה: כשלסעיף אין תמונה הקוד הישן מסתיר את
           המכל, ובלעדיה היינו שומרים עמודה ריקה ודוחפים את התוכן הצידה.
           רק במצב הזה הפריסה נמתחת לכל רוחב החלון, כמו בעיצוב הישן. */
        body.expo-fr .fr-section--first.has-media:has(> .fr-hero > #wrapImageSeif:not(.d-none)) {
            max-width: none;
            width: 100vw;
            margin-inline: calc(50% - 50vw);
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: start;
            gap: 0;
            /* הגריד עצמו LTR כדי שהתמונה תהיה פיזית משמאל; התוכן נשאר RTL. */
            direction: ltr;
        }

        body.expo-fr .fr-section--first.has-media:has(> .fr-hero > #wrapImageSeif:not(.d-none)) .fr-hero {
            grid-column: 1;
            position: sticky;
            /* התמונה ננעלת מתחת לבאנר ולסרגל השלבים הדביקים; נעילה על 16px
               מראש החלון גרמה לה להיבלע מאחוריהם בזמן הגלילה. */
            top: calc(var(--fr-banner-h, 0px) + var(--fr-top-h, 0px) + 16px);
            padding: 24px;
            direction: rtl;
        }

            body.expo-fr .fr-section--first.has-media:has(> .fr-hero > #wrapImageSeif:not(.d-none)) .fr-column {
                grid-column: 2;
                padding: 24px;
                direction: rtl;
            }

            body.expo-fr .fr-section--first.has-media:has(> .fr-hero > #wrapImageSeif:not(.d-none)) > .fr-rest {
                grid-column: 1 / -1;
                direction: rtl;
            }

    body.expo-fr .image-container1 img {
        max-height: none;
    }

    /* במחשב כל חלונית — משתתף ראשון, הורים ומשתתפים נוספים — מקבלת
       חצי שורה בדיוק. הגריד שומר סדר RTL ואחידות גם כשמתווספים משתתפים. */
    body.expo-fr #participantsContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: var(--fr-desktop-width);
        margin-inline: auto;
    }

    body.expo-fr .fr-section--details,
    body.expo-fr .fr-section--payment {
        max-width: var(--fr-desktop-width);
        margin-inline: auto;
        width: 100%;
    }
}

/* ==========================================================================
   קופון — שדה קומפקטי באזור התשלום
   ========================================================================== */

body.expo-fr .fr-coupon {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 4px 0 10px;
}

body.expo-fr .fr-coupon__title {
    margin: 0 0 8px;
    color: var(--expo-text);
    font-size: var(--expo-fs-base);
    font-weight: 750;
}

body.expo-fr .fr-coupon__controls {
    display: flex;
    direction: ltr;
    gap: 10px;
}

body.expo-fr .fr-coupon__input {
    min-width: 0;
    flex: 1 1 auto;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--expo-border);
    border-radius: 9px;
    background: #fff;
    color: var(--expo-text);
    font-family: var(--expo-font);
    font-size: var(--expo-fs-base);
    letter-spacing: .04em;
    text-align: right;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.expo-fr .fr-coupon__input:focus {
    border-color: var(--expo-brand);
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--expo-brand) 14%, transparent);
}

body.expo-fr .fr-coupon__input[aria-invalid="true"] {
    border-color: var(--expo-danger, #c73535);
}

body.expo-fr .fr-coupon__apply {
    flex: 0 0 82px;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: var(--expo-brand);
    color: #fff;
    font-family: var(--expo-font);
    font-size: var(--expo-fs-base);
    font-weight: 750;
    cursor: pointer;
    transition: transform .16s ease, background-color .16s ease, opacity .16s ease;
}

body.expo-fr .fr-coupon__apply:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--expo-brand-dark);
}

body.expo-fr .fr-coupon__apply:disabled {
    cursor: not-allowed;
    opacity: .42;
}

body.expo-fr .fr-coupon__message {
    min-height: 22px;
    padding-top: 5px;
    direction: rtl;
    font-size: var(--expo-fs-sm);
    text-align: start;
}

body.expo-fr .fr-coupon__message--success {
    color: var(--expo-success, #16784a);
}

body.expo-fr .fr-coupon__message--error {
    color: var(--expo-danger, #b42318);
}

/* ==========================================================================
   העדפות נגישות
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    body.expo-fr * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
