/* ELREDA Live Search V4: same styles as console trial */

    #elreda-live-search-preview {
      position:fixed; z-index:2147483000; width:400px;
      background:#fff; color:#061a36; direction:rtl;
      font:14px/1.6 "IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
      border:1px solid #e2e7ed; border-radius:12px;
      box-shadow:0 12px 35px rgba(3,19,41,.2);
      overflow:hidden; box-sizing:border-box;
    }
    #elreda-live-search-preview * { box-sizing:border-box; }
    #elreda-live-search-preview .els-head {
      display:flex; align-items:center; justify-content:space-between;
      padding:10px 14px; border-bottom:1px solid #edf0f4;
      font-weight:700;
    }
    #elreda-live-search-preview .els-close {
      background:#f3f5f8; color:#061a36; border:0;
      width:30px; height:30px; border-radius:50%; padding:0;
      display:flex; align-items:center; justify-content:center;
      cursor:pointer; font-size:20px; line-height:1;
    }
    #elreda-live-search-preview .els-list { overflow-y:auto; max-height: min(55vh,430px); }
    #elreda-live-search-preview .els-item {
      display:flex; align-items:center; gap:12px;
      padding:10px 13px; border-bottom:1px solid #f0f2f5;
      text-decoration:none; color:inherit; background:#fff;
    }
    #elreda-live-search-preview .els-item:hover,
    #elreda-live-search-preview .els-item:focus-visible { background:#f5f8fc; outline:none; }
    #elreda-live-search-preview .els-media {
      flex:0 0 60px; width:60px; height:60px;
      display:flex; align-items:center; justify-content:center;
      background:#f5f7fa; border-radius:8px; overflow:hidden;
      color:#8491a4; font-size:10px; text-align:center;
    }
    #elreda-live-search-preview .els-img { width:100%; height:100%; object-fit:contain; }
    #elreda-live-search-preview .els-details { min-width:0; flex:1; text-align:right; }
    #elreda-live-search-preview .els-name {
      font-weight:700; font-size:13px; line-height:1.5;
      overflow:hidden; display:-webkit-box; -webkit-line-clamp:2;
      -webkit-box-orient:vertical; overflow-wrap:anywhere;
    }
    #elreda-live-search-preview .els-meta {
      display:flex; align-items:center; gap:4px; min-width:0;
      font-size:11px; color:#667085; overflow:hidden; white-space:nowrap;
    }
    #elreda-live-search-preview .els-meta-label { flex-shrink:0; }
    #elreda-live-search-preview .els-sku {
      display:block; min-width:0; max-width:100%; overflow:hidden;
      text-overflow:ellipsis; white-space:nowrap; direction:ltr;
      unicode-bidi:isolate; text-align:left;
    }
    #elreda-live-search-preview .els-desc {
      font-size:11px; color:#667085; overflow:hidden;
      display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical;
    }
    #elreda-live-search-preview .els-price {
      font-size:12px; font-weight:700; color:#ed0029;
      direction:rtl; unicode-bidi:isolate;
    }
    #elreda-live-search-preview .els-message { padding:18px 14px; color:#667085; text-align:center; }
    #elreda-live-search-preview .els-foot { padding:7px 13px; color:#667085; background:#fafbfc; font-size:11px; }
    @media(max-width:600px) {
      #elreda-live-search-preview { border-radius:10px; }
      #elreda-live-search-preview .els-item { gap:10px; padding:9px 11px; }
      #elreda-live-search-preview .els-media { width:52px; height:52px; flex-basis:52px; }
      #elreda-live-search-preview .els-name { font-size:12px; }
      #elreda-live-search-preview .els-desc { display:none; }
      #elreda-live-search-preview .els-list { max-height:48vh; }
    }
  
