/* =========================
   MOBILE (Accordion Cards) - ONLY MOBILE
   ========================= */
@media (max-width: 991px){

  /* في الجوال نخفي نسخة الديسكتوب */
  .mega-desktop{ display:none !important; }
  .mega-mobile{ display:block !important; }

  /* PRODUCTS mega container خليها static داخل القائمة */
  .mega-menu--desktop{
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  /* Accordion item */
  .mega-mobile .m-acc-item{
    margin: 10px 0;
  }

  .mega-mobile .m-acc-head{
    display:flex;
    align-items:center;
    justify-content: space-between;
    width:100%;
    padding: 14px 16px;
    border-radius: 18px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 28px rgba(16,24,40,.06);
    text-decoration:none !important;
    color:#0b1a2b;
    font-weight:800;
    line-height:1.2;
    gap: 12px;
  }

  .mega-mobile .m-acc-head span:first-child{
    flex:1;
    min-width:0;
    overflow-wrap:anywhere;
  }

  .mega-mobile .m-acc-chevron{
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(11,26,43,.55);
    border-bottom: 2px solid rgba(11,26,43,.55);
    transform: rotate(-45deg);
    transition: 180ms ease;
    flex: 0 0 auto;
  }
  html[dir="rtl"] .mega-mobile .m-acc-chevron{
    transform: rotate(135deg);
  }

  .mega-mobile .m-acc-body{
    display:none;
    margin-top: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border:1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 28px rgba(16,24,40,.06);
  }

  .mega-mobile .m-acc-item.is-open .m-acc-body{ display:block; }
  .mega-mobile .m-acc-item.is-open .m-acc-chevron{ transform: rotate(45deg); }
  html[dir="rtl"] .mega-mobile .m-acc-item.is-open .m-acc-chevron{ transform: rotate(-45deg); }

  .mega-mobile .m-acc-body a{
    display:block;
    padding: 12px 14px;
    margin: 8px 0;
    border-radius: 14px;
    background: #f6f8fd;
    border:1px solid rgba(15,23,42,.08);
    color:#0b1a2b;
    text-decoration:none !important;
    font-weight:700;
    line-height:1.3;
    overflow-wrap:anywhere;
  }
}