/* ─── Roso Accordion ─── */
.roso-acc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    direction: rtl;
    width: 100%;
}

.roso-acc-item {
    position: relative;
    overflow: hidden;
    transition: background-color .2s ease, border-color .2s ease;
}

/* מבטל את המשולש הדיפולטי של <summary> בכל הדפדפנים */
.roso-acc-header {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: background-color .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.roso-acc-header::-webkit-details-marker,
.roso-acc-header::marker { display: none; content: ''; }
.roso-acc-header:focus-visible { box-shadow: inset 0 0 0 2px rgba(232, 87, 122, .35); }

/* אייקון ימני */
.roso-acc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px; height: 40px; min-width: 40px;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}
.roso-acc-icon i { line-height: 1; }
.roso-acc-icon svg { display: block; }
.elementor-widget-roso-accordion.roso-acc-icon-shape-circle  .roso-acc-icon { border-radius: 50%; }
.elementor-widget-roso-accordion.roso-acc-icon-shape-rounded .roso-acc-icon { border-radius: 10px; }
.elementor-widget-roso-accordion.roso-acc-icon-shape-none    .roso-acc-icon { width: auto; height: auto; min-width: 0; background: transparent !important; border: 0 !important; }

/* כותרת */
.roso-acc-title {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    font-family: 'Discovery', 'Assistant', sans-serif;
    line-height: 1.3;
    transition: color .2s ease;
}

/* חץ שמאלי */
.roso-acc-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-inline-start: auto; /* דוחף לשמאל ב-RTL */
    width: 28px; height: 28px; min-width: 28px;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}
.roso-acc-arrow i { line-height: 1; }
.roso-acc-arrow svg { display: block; }
.roso-acc-arrow-default,
.roso-acc-arrow-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
}
.roso-acc-arrow-open { display: none; }
.roso-acc-item[open] > .roso-acc-header .roso-acc-arrow-swap .roso-acc-arrow-default { display: none; }
.roso-acc-item[open] > .roso-acc-header .roso-acc-arrow-swap .roso-acc-arrow-open    { display: inline-flex; }

/* תוכן */
.roso-acc-item > .e-con,
.roso-acc-item > .roso-acc-tpl,
.roso-acc-item > .roso-acc-body { width: 100%; }
.roso-acc-body { overflow: hidden; }
/* בעורך: קונטיינר ריק צריך גובה כדי שאפשר יהיה לגרור/להדביק אליו */
.elementor-editor-active .roso-acc-item > .e-con:empty,
.elementor-editor-active .roso-acc-item > .e-con.e-empty { min-height: 60px; }

/* אנימציה בג'אווהסקריפט — הסתרת התוכן בזמן מעבר */
.roso-acc-item.roso-acc-animating > .roso-acc-body { overflow: hidden; }
.roso-acc-tpl-note{font-size:12px;color:#999;padding:6px 0;}

/* ─── עורך אלמנטור: הצג בבירור את אזור הגרירה של כל פריט ─── */
.elementor-editor-active .roso-acc-item > .e-con {
    min-height: 70px;
    outline: 2px dashed #e8577a55;
    outline-offset: -2px;
    border-radius: 8px;
}
.elementor-editor-active .roso-acc-item > .e-con.e-empty::before,
.elementor-editor-active .roso-acc-item > .e-con:empty::before {
    content: 'גרור/הדבק לכאן אלמנטים';
    display: block; text-align: center; color: #b58a95; font-size: 13px; padding: 24px 0;
    font-family: 'Discovery', 'Assistant', sans-serif;
}
.elementor-editor-active .roso-acc-header { cursor: default; }
