/* =========================================================
   EZnet v22 — Customer / Reseller experience
   هوية EZnet: كحلي عميق + أزرق كهربائي + لمسة ذهبية + خطوط إشارة.
   مستوحاة من أنماط تطبيقات الشحن (رأس ملوّن فيه الرصيد والبحث، تصنيفات دائرية،
   بطاقات صور كبيرة مع مفضلة، رصيف تنقل عائم) بدون نسخ أي تصميم بعينه.
   كل القواعد محصورة داخل #customerView / body[data-view=customerView]
   حتى لا تتعارض مع طبقات app.css القديمة (v13 → v20).
   ========================================================= */
:root{
  --cx-ink:#07172d; --cx-navy:#0a2a57; --cx-blue:#126dff; --cx-sky:#32c7ff;
  --cx-gold:#ffbe3f; --cx-mint:#17b97f; --cx-rose:#f0475a;
  --cx-bg:#f3f6fb; --cx-card:#ffffff; --cx-line:#e3eaf3; --cx-muted:#6f8199; --cx-text:#0d1f38;
  --cx-tint:#e9f2ff;
  --cx-sh:0 10px 30px rgba(9,32,66,.08); --cx-sh-lg:0 22px 50px rgba(9,32,66,.16);
  --cx-hero:linear-gradient(160deg,#071a38 0%,#0b356f 55%,#1160d2 100%);
  --cx-dock-h:66px;
}

/* ---------- إقلاع بدون وميض صفحة الدخول ---------- */
.boot-splash{display:none}
html[data-boot="auth"] #loginView{display:none!important}
html[data-boot="auth"] .boot-splash{position:fixed;inset:0;z-index:100;display:grid;place-content:center;justify-items:center;gap:18px;background:var(--cx-bg)}
.boot-splash img{width:84px;height:84px;border-radius:24px;object-fit:cover;box-shadow:var(--cx-sh-lg)}
.boot-splash span{width:44px;height:4px;border-radius:9px;background:linear-gradient(90deg,var(--cx-blue),var(--cx-sky));animation:cxPulse 1s ease-in-out infinite alternate}
@keyframes cxPulse{from{transform:scaleX(.4);opacity:.5}to{transform:scaleX(1.4);opacity:1}}

/* ---------- الإطار العام ---------- */
body[data-view="customerView"]{background:var(--cx-bg)}
body[data-view="customerView"]::after{display:none}
body[data-view="customerView"] .eznet-brand-aura{display:none}
body[data-view="customerView"] .page{max-width:1100px;padding:18px 20px 40px}
#customerView{max-width:none;margin:0;color:var(--cx-text)}
#customerView .tab-panel{animation:cxIn .22s ease both}
@keyframes cxIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#customerView button{-webkit-tap-highlight-color:transparent}

/* ---------- الرأس الملوّن ---------- */
#customerView .cx-hero{position:relative;overflow:hidden;padding:20px 22px 24px;border-radius:28px;color:#fff;background:var(--cx-hero);box-shadow:0 22px 46px rgba(8,29,61,.25)}
#customerView .cx-hero::before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;inset-inline-start:-90px;top:-120px;background:radial-gradient(circle,rgba(50,199,255,.35),transparent 70%);pointer-events:none}
#customerView .cx-hero::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;inset-inline-end:-70px;bottom:-110px;background:radial-gradient(circle,rgba(255,190,63,.28),transparent 70%);pointer-events:none}
#customerView .cx-wave{position:absolute;inset:auto 0 0 0;width:100%;height:60%;color:rgba(255,255,255,.12);pointer-events:none}
#customerView .cx-hero-row{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
#customerView .cx-user{display:flex;align-items:center;gap:12px;min-width:0}
#customerView .cx-avatar{flex:0 0 auto;width:46px;height:46px;border-radius:16px;display:grid;place-items:center;font-weight:800;font-size:19px;color:#fff;
  background:linear-gradient(140deg,var(--cx-blue),var(--cx-sky));box-shadow:0 8px 20px rgba(18,109,255,.3);border:2px solid rgba(255,255,255,.35)}
#customerView .cx-avatar.lg{width:68px;height:68px;border-radius:24px;font-size:28px}
#customerView .cx-user-text{min-width:0}
#customerView .hello{font-size:16.5px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#customerView .tier{display:inline-block;margin-top:3px;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:700;background:#fff;color:var(--cx-navy)}
#customerView .tier.reseller{background:var(--cx-gold);color:#2a1d00}
#customerView .hero-tools{display:flex;gap:8px;flex:0 0 auto}
#customerView .cx-icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);color:#fff;
  font:700 18px var(--font);cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(6px)}
#customerView .cx-icon-btn[aria-busy="true"]{opacity:.6}
#customerView .cx-icon-btn[aria-busy="true"]::after{display:none}

#customerView .cx-balance{position:relative;z-index:1;margin-top:18px}
#customerView .cx-balance-label{display:flex;align-items:center;gap:8px}
#customerView .wallet-label{font-size:13px;font-weight:700;color:#b9d1f3;opacity:1}
#customerView .cx-eye{width:30px;height:30px;border-radius:10px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:14px;cursor:pointer;display:grid;place-items:center}
#customerView .wallet-amount{margin-top:2px;font-size:36px;font-weight:800;line-height:1.15;letter-spacing:-.02em;color:#fff}
#customerView .wallet-old{font-size:12.5px;color:#a3bde3;opacity:1;min-height:18px}
#customerView .cx-skel{display:inline-block;width:170px;max-width:60%;height:34px;border-radius:10px;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.22),rgba(255,255,255,.08));background-size:200% 100%;animation:cxShimmer 1.1s linear infinite}
@keyframes cxShimmer{to{background-position:-200% 0}}

#customerView .cx-hero-search{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin-top:16px;height:50px;padding:0 16px;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(4,16,38,.22);cursor:text}
#customerView .cx-hero-search span{color:var(--cx-muted);font-size:20px}
#customerView .cx-search-btn{border:0;background:transparent;color:var(--cx-muted);font-size:22px;line-height:1;padding:6px;cursor:pointer;border-radius:10px;flex:0 0 auto}
#customerView .cx-search-btn:active{transform:scale(.94)}
#customerView .cx-search-btn:focus-visible{outline:2px solid var(--cx-primary);outline-offset:2px}
#customerView .cx-hero-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;padding:0;font:500 14.5px var(--font);color:var(--cx-text);box-shadow:none}

/* ---------- الأزرار الرئيسية ---------- */
#customerView .cx-actions{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:10px;margin:16px 0 18px}
#customerView .cx-action{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:8px 12px;border-radius:18px;font-family:var(--font);cursor:pointer;transition:transform .15s,box-shadow .15s}
#customerView .cx-action:active{transform:scale(.97)}
#customerView .cx-action span{font-size:17px}
#customerView .cx-action b{font-size:14px;font-weight:800;white-space:nowrap}
#customerView .cx-action em{font-style:normal;min-width:24px;height:24px;padding:0 7px;border-radius:999px;display:grid;place-items:center;font-size:12.5px;font-weight:800;background:var(--cx-tint);color:var(--cx-blue)}
#customerView .cx-action.fill{border:0;color:#fff;background:linear-gradient(135deg,var(--cx-blue),#2a8bff);box-shadow:0 12px 24px rgba(18,109,255,.3)}
#customerView .cx-action.line{border:1.5px solid #c9dbf5;background:#fff;color:var(--cx-navy)}
#customerView .cx-action.line:hover{border-color:var(--cx-blue)}

/* ---------- التنقل ---------- */
#customerView .tabbar.cx-dock{position:sticky;top:calc(var(--appbar-h,64px) + 8px);inset:auto;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;
  height:auto;margin:0 0 18px;padding:6px;border:1px solid var(--cx-line);border-radius:20px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:var(--cx-sh)}
#customerView .cx-dock .tab{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;min-height:46px;margin:0;padding:8px 10px;
  border:0;border-radius:15px;background:transparent;color:#8193ab;font:700 14px var(--font);cursor:pointer;transition:background .18s,color .18s}
#customerView .cx-dock .tab:hover{color:var(--cx-text)}
#customerView .cx-dock .tab.active{background:var(--cx-tint);color:var(--cx-blue);box-shadow:none}
#customerView .cx-dock .tab-ico{width:24px;height:24px;display:grid;place-items:center;background:none}
#customerView .cx-dock .tab-ico svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#customerView .cx-dock .tab.active .tab-ico svg{stroke-width:2.2}
#customerView .cx-dock .count{position:absolute;top:5px;inset-inline-start:calc(50% + 2px);min-width:18px;height:18px;padding:0 5px;font-size:10.5px;border-radius:999px;background:var(--cx-rose);color:#fff;box-shadow:0 0 0 2px #fff}
#customerView .cx-dock .count.hidden{display:none}

/* ---------- عناوين ---------- */
#customerView .cx-section{margin-top:22px}
#customerView .cx-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
#customerView .cx-head h3{position:relative;font-size:17.5px;font-weight:800;color:var(--cx-text);padding-inline-start:12px}
#customerView .cx-head h3::before{content:"";position:absolute;inset-inline-start:0;top:20%;bottom:20%;width:4px;border-radius:4px;background:linear-gradient(var(--cx-blue),var(--cx-sky))}
#customerView .link-btn{border:0;background:transparent;color:var(--cx-blue);font:700 13px var(--font);cursor:pointer;padding:4px}
#customerView .cx-page-head{margin:2px 0 12px}
#customerView .cx-page-head h2{font-size:22px;font-weight:800}

/* ---------- التصنيفات الدائرية ---------- */
#customerView .cx-cats{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 8px;scrollbar-width:none}
#customerView .cx-cats::-webkit-scrollbar{display:none}
#customerView .cx-cat{flex:0 0 auto;width:84px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;background:transparent;font-family:var(--font);color:var(--cx-text);cursor:pointer;scroll-snap-align:start}
#customerView .cx-cat-art{width:76px;height:76px;border-radius:50%;padding:3px;background:linear-gradient(140deg,var(--cx-blue),var(--cx-sky) 50%,var(--cx-gold));box-shadow:0 8px 18px rgba(9,32,66,.16);transition:transform .15s}
#customerView .cx-cat:hover .cx-cat-art{transform:translateY(-2px)}
#customerView .cx-cat-art img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #fff;background:var(--cx-navy)}
#customerView .cx-cat b{font-size:12.5px;font-weight:700;line-height:1.3;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#customerView .cx-cat small{font-size:10.5px;color:var(--cx-muted);margin-top:-5px}

/* ---------- العروض ---------- */
#customerView .cx-promo{height:auto;min-height:0;aspect-ratio:21/9;max-height:300px;width:100%;margin-top:14px;border-radius:22px;overflow:hidden;background:var(--cx-ink);box-shadow:var(--cx-sh)}
#customerView .cx-promo .carousel-track{height:100%}
#customerView .cx-promo .carousel-slide{height:100%;min-height:0}
#customerView .cx-promo .carousel-slide img{object-fit:cover;object-position:center 45%}
#customerView .cx-promo .carousel-dots{inset:auto 0 10px}
#customerView .cx-promo .carousel-dot{width:7px;height:7px}
#customerView .cx-promo .carousel-dot.active{width:22px}

/* ---------- بيع سريع (للتاجر) ---------- */
#customerView .cx-quicksale{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px dashed #f0c25a;border-radius:20px;background:#fffaf0;font-family:var(--font);color:var(--cx-text);cursor:pointer;text-align:start}
#customerView .cx-quicksale .qa-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--cx-gold);color:#2a1d00;font-size:20px;font-weight:900}
#customerView .cx-quicksale b{display:block;font-size:15px}#customerView .cx-quicksale small{display:block;color:var(--cx-muted);font-size:12px}
#customerView .cx-quicksale i{margin-inline-start:auto;font-style:normal;color:#b98a1d;font-size:18px}

/* ---------- بطاقات الصور الكبيرة ---------- */
#customerView .cx-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#customerView .cx-tile{position:relative;aspect-ratio:1/1.08;border-radius:22px;overflow:hidden;background:var(--cx-navy);cursor:pointer;box-shadow:0 10px 24px rgba(9,32,66,.14);transition:transform .15s,box-shadow .15s;isolation:isolate}
#customerView .cx-tile:hover{transform:translateY(-3px);box-shadow:var(--cx-sh-lg)}
#customerView .cx-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
#customerView .cx-tile::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(7,23,45,0) 40%,rgba(7,23,45,.55) 68%,rgba(7,23,45,.92) 100%)}
#customerView .cx-tile-name{position:absolute;inset:auto 12px 12px 12px;color:#fff;font-weight:800;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 8px rgba(0,0,0,.35)}
#customerView .cx-tile-price{position:absolute;top:10px;inset-inline-start:10px;padding:4px 10px;border-radius:999px;background:#fff;color:var(--cx-blue);font-weight:800;font-size:12.5px;box-shadow:0 4px 12px rgba(0,0,0,.15)}
#customerView .cx-fav{position:absolute;top:8px;inset-inline-end:8px;width:36px;height:36px;border-radius:50%;border:0;display:grid;place-items:center;font-size:17px;line-height:1;cursor:pointer;
  background:rgba(7,23,45,.42);color:#fff;backdrop-filter:blur(6px);transition:transform .15s,background .15s}
#customerView .cx-fav:active{transform:scale(.85)}
#customerView .cx-fav.on{background:#fff;color:var(--cx-rose)}
#customerView .cx-tiles .empty-state{grid-column:1/-1}

/* ---------- آخر الطلبات ---------- */
#customerView .cx-recent{display:grid;gap:8px}
#customerView .cx-rrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--cx-line);border-radius:18px;background:#fff;font-family:var(--font);color:var(--cx-text);text-align:start;cursor:pointer}
#customerView .cx-rdot{width:10px;height:10px;border-radius:50%;background:#f0a92b;box-shadow:0 0 0 4px #fff4dc}
#customerView .cx-rdot.done{background:var(--cx-mint);box-shadow:0 0 0 4px #e3f8ef}
#customerView .cx-rdot.rejected{background:var(--cx-rose);box-shadow:0 0 0 4px #ffe8ea}
#customerView .cx-rmain{min-width:0}
#customerView .cx-rmain b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#customerView .cx-rmain small{display:block;font-size:11.5px;color:var(--cx-muted)}
#customerView .cx-rside{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
#customerView .cx-rside strong{font-size:13.5px;white-space:nowrap}
#customerView .cx-rside .badge{font-size:10.5px;padding:1px 8px}
#customerView .badge{border-radius:999px;font-weight:800}

/* ---------- المتجر ---------- */
#customerView .toolbar{margin-bottom:12px;gap:8px}
#customerView .search input,#customerView .toolbar select{height:50px;border-radius:16px;border:1px solid var(--cx-line);background:#fff;box-shadow:0 2px 8px rgba(9,32,66,.04)}
#customerView .toolbar select{min-width:120px;width:auto}
#customerView .chips{margin-bottom:10px;padding-bottom:6px}
#customerView .store-chip{padding:9px 18px;border-radius:999px;border:1px solid var(--cx-line);background:#fff;color:var(--cx-text);font-weight:700}
#customerView .store-chip.active{background:var(--cx-blue);border-color:var(--cx-blue);color:#fff;box-shadow:0 6px 14px rgba(18,109,255,.25)}
#customerView .store-area{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
#customerView .crumbs{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:6px;margin:0 0 4px;border-radius:16px;background:#fff;border:1px solid var(--cx-line)}
#customerView .crumbs::-webkit-scrollbar{display:none}
#customerView .crumbs .btn{flex:0 0 auto;min-height:36px;border-radius:12px;background:var(--cx-tint);color:var(--cx-blue);border:0;font-weight:800}
#customerView .crumbs .crumb{flex:0 0 auto;border:0;background:none;color:var(--cx-blue);font:600 13px var(--font);cursor:pointer;white-space:nowrap}
#customerView .crumbs .current{flex:0 0 auto;font-weight:800;font-size:13px;white-space:nowrap}
#customerView .crumbs .sep{color:#a9b6c7}
#customerView .store-step-title{grid-column:1/-1;font-weight:800;font-size:15px;margin:6px 0 2px}

/* بطاقات الأقسام: صورة كبيرة في الأعلى والاسم تحتها */
#customerView .store-nav-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
#customerView .store-nav-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0;overflow:hidden;
  border:1px solid var(--cx-line);border-radius:20px;background:#fff;box-shadow:0 6px 16px rgba(9,32,66,.06);text-align:center;transform:none}
#customerView .store-nav-card:hover{border-color:#b8d0f3;box-shadow:var(--cx-sh);transform:translateY(-2px)}
#customerView .store-nav-card::after{display:none}
#customerView .store-nav-thumb{display:block;width:100%;aspect-ratio:16/11;height:auto;background:var(--cx-navy);overflow:hidden}
#customerView .store-nav-thumb img{width:100%;height:100%;object-fit:cover}
#customerView .store-nav-card>.store-category-icon{margin:14px auto 0}
#customerView .store-nav-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:10px 10px 12px;min-width:0}
#customerView .store-nav-card h3{font-size:14.5px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
#customerView .store-nav-card .count{color:var(--cx-muted);font-size:12px;font-weight:600;background:none;height:auto;padding:0;min-width:0}

/* صفحة المنتج: الفئات + نموذج الطلب */
#customerView .store-flow{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:18px;align-items:start}
#customerView .store-choice-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
#customerView .store-choice{position:relative;min-height:80px;padding:12px 14px;border:1.5px solid var(--cx-line);border-radius:18px;background:#fff;gap:4px}
#customerView .store-choice:hover{border-color:#9fc2f5}
#customerView .store-choice.active{border-color:var(--cx-blue);background:#f0f6ff;box-shadow:0 0 0 3px rgba(18,109,255,.12)}
#customerView .store-choice.active::after{content:"✓";position:absolute;top:8px;inset-inline-end:10px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--cx-blue);color:#fff;font-size:11px;font-weight:900}
#customerView .store-choice-name{font-size:13.5px;font-weight:700;padding-inline-end:20px}
#customerView .store-choice-price{font-size:15px;font-weight:800;color:var(--cx-blue)}
#customerView .order-composer{position:sticky;top:calc(var(--appbar-h,64px) + 90px);padding:16px;border:1px solid var(--cx-line);border-radius:24px;background:#fff;box-shadow:var(--cx-sh)}
#customerView .order-composer-head{align-items:center;margin-bottom:12px}
#customerView .order-composer-icon{width:58px;height:58px;border-radius:18px;overflow:hidden;background:var(--cx-navy);padding:0}
#customerView .order-composer-icon img{width:100%;height:100%;object-fit:cover}
#customerView .order-composer-name{font-size:15px;font-weight:800;line-height:1.35}
#customerView .order-form input,#customerView .order-form select{height:48px;border-radius:14px}
#customerView .order-total{border-radius:16px;background:#f2f6fc}
#customerView .order-total b{color:var(--cx-blue)}
#customerView .order-submit{min-height:54px;border-radius:16px;background:linear-gradient(135deg,var(--cx-blue),#2a8bff);font-weight:800;box-shadow:0 10px 22px rgba(18,109,255,.26)}

/* نتائج البحث */
#customerView .product-card{border:1px solid var(--cx-line);border-radius:20px;box-shadow:0 4px 14px rgba(9,32,66,.05);background:#fff}
#customerView .product-card[role="button"]:hover{transform:translateY(-3px);box-shadow:var(--cx-sh);border-color:#b8d0f3}
#customerView .product-art-wrap{aspect-ratio:16/10;background:var(--cx-navy)}
#customerView .product-body{padding:11px 13px 13px}
#customerView .product-name{font-size:13.5px;font-weight:700}
#customerView .product-price{color:var(--cx-blue);font-weight:800}

/* ---------- الطلبات ---------- */
#customerView .seg{background:#e7edf5;border-radius:16px;padding:4px}
#customerView .seg button{border-radius:12px;font-weight:700}
#customerView .seg button.active{color:var(--cx-blue)}
#customerView .order-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
#customerView .order-card.cx-order{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--cx-line);border-radius:22px;background:#fff;box-shadow:0 6px 18px rgba(9,32,66,.06)}
#customerView .cx-order-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
#customerView .cx-order-art{width:48px;height:48px;border-radius:15px;overflow:hidden;background:var(--cx-navy)}
#customerView .cx-order-art img{width:100%;height:100%;object-fit:cover}
#customerView .cx-order-title b{display:block;font-size:15px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
#customerView .cx-order-title small{display:block;font-size:12px;color:var(--cx-muted)}
#customerView .cx-order .badge{align-self:start;padding:4px 12px}
#customerView .cx-order-line{display:flex;align-items:center;gap:8px;font-size:13px}
#customerView .cx-order-line span{color:var(--cx-muted);flex:0 0 auto}
#customerView .cx-order-line b{font-weight:700;overflow-wrap:anywhere}
#customerView .cx-order-line.data b{font-weight:600;color:#33435a}
#customerView .cx-copy{width:30px;height:30px;border-radius:10px;border:0;background:var(--cx-tint);color:var(--cx-blue);cursor:pointer;font-size:14px}
#customerView .cx-order .delivery{margin:0;border-radius:14px}
#customerView .cx-order-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px dashed var(--cx-line)}
#customerView .cx-order-price{display:block;font-size:21px;font-weight:800;color:var(--cx-blue);line-height:1.2}
#customerView .cx-order-foot small{font-size:11px;color:var(--cx-muted)}
#customerView .cx-order-date{font-size:12px;color:var(--cx-muted);white-space:nowrap}
#customerView .cx-order-copy{align-self:flex-start;border-radius:12px}

/* ---------- حسابي ---------- */
#customerView .cx-account{display:grid;gap:14px;max-width:620px;margin:0 auto}
#customerView .cx-account-head{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;padding:24px 20px;border-radius:26px;color:#fff;background:var(--cx-hero);box-shadow:0 18px 40px rgba(8,29,61,.22)}
#customerView .cx-account-head::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;inset-inline-end:-60px;top:-90px;background:radial-gradient(circle,rgba(50,199,255,.35),transparent 70%)}
#customerView .cx-account-head b{display:block;font-size:18px}
#customerView .cx-account-head small{display:block;color:#bcd4f5;font-size:13px;text-align:start}
#customerView .cx-badges{display:flex;flex-wrap:wrap;gap:8px;padding:14px;border-radius:20px;background:#fff;border:1px solid var(--cx-line)}
#customerView .cx-badges span{padding:6px 12px;border-radius:12px;font-size:12.5px;font-weight:700}
#customerView .cx-badges .ok{background:#e3f8ef;color:#0b8a5c}
#customerView .cx-badges .info{background:var(--cx-tint);color:var(--cx-blue)}
#customerView .cx-badges .gold{background:#fff3d6;color:#9a6300}
#customerView .cx-badges .warn{background:#fff3d6;color:#9a6300}
#customerView .cx-menu{display:grid;border-radius:22px;overflow:hidden;background:#fff;border:1px solid var(--cx-line)}
#customerView .cx-menu button,#customerView .cx-menu-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;padding:14px 16px;border:0;border-bottom:1px solid var(--cx-line);background:#fff;font-family:var(--font);color:var(--cx-text);text-align:start}
#customerView .cx-menu button{cursor:pointer}
#customerView .cx-menu button:last-child{border-bottom:0}
#customerView .cx-menu button:hover{background:#f7faff}
#customerView .cx-menu span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:var(--cx-tint);color:var(--cx-blue);font-weight:800;font-size:14px}
#customerView .cx-menu b{font-size:14.5px}
#customerView .cx-menu small{color:var(--cx-muted);font-size:13px}
#customerView .cx-menu strong{color:var(--cx-blue);font-size:15px}
#customerView .cx-menu .danger span{background:#ffecee;color:var(--cx-rose)}
#customerView .cx-menu .danger b{color:#c82a3a}
#customerView .cx-note{text-align:center;margin:0}

#customerView .empty-state{border-radius:20px;border:1px dashed #cdd9e8;background:#fff;padding:26px 16px}
body[data-view="customerView"] .appbar .wallet-chip{background:var(--cx-tint);color:var(--cx-blue)}

/* ================= أجهزة لوحية ================= */
@media (max-width:1024px){
  #customerView .cx-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  #customerView .store-flow{grid-template-columns:1fr}
  #customerView .order-composer{position:static}
}

/* ================= الهاتف: تطبيق حقيقي ================= */
@media (max-width:768px){
  body[data-view="customerView"] .page{padding:0 14px calc(var(--cx-dock-h) + 36px + env(safe-area-inset-bottom))}
  /* الشريط العلوي يندمج مع الرأس الملوّن */
  body[data-view="customerView"] .appbar{background:#071a38;border-bottom:0;box-shadow:none;backdrop-filter:none}
  body[data-view="customerView"] .brand-text{display:flex}
  body[data-view="customerView"] .brand-text b{color:#fff}
  body[data-view="customerView"] .brand-text small{display:none}
  body[data-view="customerView"] .brand-logo{border-color:rgba(255,255,255,.2)}
  body[data-view="customerView"] #logoutBtn{display:none}
  body[data-view="customerView"] .appbar .wallet-chip{background:rgba(255,255,255,.12);color:#fff;font-size:13px}
  body[data-view="customerView"][data-ctab="home"] .appbar .wallet-chip{display:none}

  #customerView .cx-hero{margin:0 -14px;padding:10px 18px 26px;border-radius:0 0 32px 32px;box-shadow:0 18px 36px rgba(8,29,61,.22);background:linear-gradient(180deg,#071a38 0%,#0b356f 60%,#1160d2 130%)}
  #customerView .wallet-amount{font-size:32px}
  #customerView .cx-actions{gap:8px;margin:14px 0 6px}
  #customerView .cx-action{flex-direction:column;gap:2px;min-height:64px;padding:8px 6px;border-radius:18px}
  #customerView .cx-action b{font-size:12.5px}
  #customerView .cx-action em{position:absolute;top:6px;inset-inline-end:8px;min-width:20px;height:20px;font-size:11px;padding:0 5px}

  /* التبويبات غير الرئيسية: بدون الرأس الكبير */
  body[data-ctab="store"] #customerView .cx-hero,body[data-ctab="orders"] #customerView .cx-hero,body[data-ctab="account"] #customerView .cx-hero,
  body[data-ctab="store"] #customerView .cx-actions,body[data-ctab="orders"] #customerView .cx-actions,body[data-ctab="account"] #customerView .cx-actions{display:none}
  body[data-view="customerView"]:not([data-ctab="home"]) .page{padding-top:14px}

  /* رصيف سفلي عائم أبيض */
  #customerView .tabbar.cx-dock{position:fixed;top:auto;inset:auto 12px calc(12px + env(safe-area-inset-bottom)) 12px;z-index:60;height:var(--cx-dock-h);margin:0;padding:7px;
    border:1px solid rgba(220,230,242,.9);border-radius:26px;background:rgba(255,255,255,.97);backdrop-filter:blur(18px) saturate(1.3);box-shadow:0 16px 40px rgba(9,32,66,.18)}
  #customerView .cx-dock .tab{flex-direction:column;gap:2px;min-height:0;height:100%;padding:4px 2px;border-radius:19px;font-size:10.5px}
  #customerView .cx-dock .tab.active{background:var(--cx-tint)}
  #customerView .cx-dock .count{top:3px}

  #customerView .cx-section{margin-top:20px}
  #customerView .cx-cats{margin:0 -14px;padding:4px 14px 8px;gap:12px}
  #customerView .cx-cat{width:76px}
  #customerView .cx-cat-art{width:70px;height:70px}
  #customerView .cx-promo{aspect-ratio:16/8;border-radius:22px}
  #customerView .cx-tiles{grid-template-columns:1fr 1fr;gap:12px}
  #customerView .cx-tile{border-radius:22px}

  #customerView .toolbar.cx-searchbar{display:grid;grid-template-columns:1fr auto}
  #customerView .cx-searchbar .search{flex:none;min-width:0}
  #customerView .toolbar select{min-width:0;width:auto;padding-inline:10px}
  #customerView .store-area{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #customerView .store-nav-grid{grid-template-columns:1fr 1fr;gap:12px}
  #customerView .store-nav-card h3{font-size:13.5px}
  #customerView .store-choice-list{grid-template-columns:1fr 1fr;gap:8px}
  #customerView .store-choice{min-height:72px;padding:10px 12px}
  #customerView .order-composer{padding:14px;border-radius:22px}
  #customerView .order-list{grid-template-columns:1fr}
  #customerView .seg{display:flex;width:100%}
  #customerView .seg button{flex:1;padding:9px 6px;font-size:12.5px}
  body[data-view="customerView"] .modal-box{max-height:88vh;overflow:auto}
  body[data-view="customerView"] .toast{bottom:calc(var(--cx-dock-h) + 26px + env(safe-area-inset-bottom));border-radius:16px}
}

@media (max-width:380px){
  #customerView .wallet-amount{font-size:28px}
  #customerView .cx-action span{font-size:15px}
  #customerView .cx-action b{font-size:11.5px}
  #customerView .cx-cat-art{width:62px;height:62px}
  #customerView .cx-tile-name{font-size:12.5px}
  #customerView .store-choice-list{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  #customerView .tab-panel{animation:none}
  .boot-splash span,#customerView .cx-skel{animation:none}
}

/* =========================================================
   v22 — طلبات شحن الرصيد
   ========================================================= */
#customerView .cx-topup-btn{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border:0;border-radius:12px;background:var(--cx-gold);color:#2a1d00;font:800 13px var(--font);cursor:pointer;box-shadow:0 6px 16px rgba(255,190,63,.35)}
#customerView .cx-topup-btn b{font-size:16px;line-height:1}
#customerView .cx-menu button.accent span{background:#fff3d6;color:#9a6300}
#customerView .cx-topups{margin-top:4px}
#customerView .cx-topups .cx-head h3 .count{vertical-align:middle;background:var(--cx-gold);color:#2a1d00;font-size:11px}
.tp-list{display:grid;gap:8px}
.tp-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--cx-line,#e3eaf3);border-radius:16px;background:#fff}
.tp-row-main{min-width:0}
.tp-row-main b{display:block;font-size:15px}
.tp-row-main small{display:block;color:var(--cx-muted,#6f8199);font-size:12px;overflow-wrap:anywhere}
.tp-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:0 0 auto}
.tp-note{margin-top:6px;padding:6px 10px;border-radius:10px;background:#eef6ff;color:#1c3d6b;font-size:12.5px}
.tp-note.bad{background:#ffecee;color:#a3202f}
.empty-state.small{padding:16px;font-size:13px}

/* نافذة الطلب */
.tp-form .tp-step{font-weight:800;font-size:14px;margin:12px 0 8px;color:#0d1f38}
.tp-methods{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.tp-method{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px;border:1.5px solid #e3eaf3;border-radius:14px;background:#fff;font-family:var(--font);text-align:start;cursor:pointer}
.tp-method b{font-size:14px}.tp-method small{font-size:11px;color:#6f8199}
.tp-method.active{border-color:#126dff;background:#f0f6ff;box-shadow:0 0 0 3px rgba(18,109,255,.12)}
.tp-details{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:10px;padding:12px 14px;border-radius:14px;background:#fffaf0;border:1px dashed #f0c25a}
.tp-details-text{font-size:13.5px;line-height:1.7;overflow-wrap:anywhere;font-weight:600}
.tp-upload{display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px;border:1.5px dashed #b9cde8;border-radius:14px;background:#f7faff;color:#126dff;font-weight:700;font-size:13.5px;cursor:pointer;text-align:center}
.tp-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tp-upload.done{border-style:solid;border-color:#17b97f;background:#e9f9f1;color:#0b8a5c}
.tp-preview{margin-top:8px;max-height:200px;border-radius:12px;object-fit:contain;background:#f2f5f9}

/* الإدارة */
.tpa-list{display:grid;gap:12px}
.tpa-card{padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;display:grid;gap:10px}
.tpa-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.tpa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tpa-grid>div{padding:8px 10px;border-radius:12px;background:#f4f7fb;min-width:0}
.tpa-grid small{display:block;color:#6b7a90;font-size:11.5px}
.tpa-grid b{font-size:14px;overflow-wrap:anywhere}
.tpa-proof img{max-height:360px;border-radius:12px;margin-top:6px;object-fit:contain;background:#f2f5f9}
.tpa-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;border-top:1px dashed #e2e8f0}
.tpa-actions .row{grid-column:1/-1;margin:0}
.tpm-card{padding:12px;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:10px;background:#fff}
.tpm-card.off{opacity:.65;background:#f7f8fa}
.tpm-card textarea{width:100%;font:inherit;padding:10px;border:1px solid #cfd8e3;border-radius:10px;resize:vertical}
.admin-quick-actions b .count{font-style:normal;background:#ffc928;color:#2a2100;margin-inline-start:4px}
@media (max-width:600px){
  .tpa-grid{grid-template-columns:1fr 1fr}
  .tpa-actions{grid-template-columns:1fr}
}

/* ---------- v22: تثبيت التطبيق ---------- */
#customerView .cx-install{width:100%;display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px 14px;border:1px solid #cfe0f7;border-radius:20px;background:linear-gradient(135deg,#f3f8ff,#fff);font-family:var(--font);color:var(--cx-text);text-align:start;cursor:pointer}
#customerView .cx-install img{width:46px;height:46px;border-radius:14px;box-shadow:0 6px 14px rgba(9,32,66,.12)}
#customerView .cx-install b{display:block;font-size:14.5px}
#customerView .cx-install small{display:block;font-size:12px;color:var(--cx-muted)}
#customerView .cx-install i{margin-inline-start:auto;font-style:normal;padding:7px 14px;border-radius:12px;background:var(--cx-blue);color:#fff;font-weight:800;font-size:13px}
.install-steps{margin:8px 0 0;padding-inline-start:22px;line-height:2.1;font-size:15px}
/* داخل التطبيق المثبت: مساحة للنوتش وشريط الحالة */
html.is-standalone body[data-view="customerView"] .appbar{padding-top:env(safe-area-inset-top);height:calc(var(--appbar-h,62px) + env(safe-area-inset-top))}

/* =========================================================
   v22 — صفحة الزائر بنفس هوية الزبون
   ========================================================= */
body[data-view="guestView"]{background:var(--cx-bg)}
body[data-view="guestView"]::after,body[data-view="guestView"] .eznet-brand-aura{display:none}
body[data-view="guestView"] .page{max-width:1100px;padding:18px 20px 40px}
#guestView{color:var(--cx-text)}
#guestView .gx-hero{position:relative;overflow:hidden;padding:20px 22px 22px;border-radius:28px;color:#fff;background:linear-gradient(160deg,#050D1A 0%,#0b2a5c 55%,#1160d2 120%);box-shadow:0 22px 46px rgba(8,29,61,.25)}
#guestView .gx-hero::before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;inset-inline-start:-100px;top:-130px;background:radial-gradient(circle,rgba(0,210,255,.4),transparent 70%);pointer-events:none}
#guestView .gx-hero::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;inset-inline-end:-80px;bottom:-120px;background:radial-gradient(circle,rgba(255,208,0,.3),transparent 70%);pointer-events:none}
#guestView .gx-wave{position:absolute;inset:auto 0 0 0;width:100%;height:55%;color:rgba(255,255,255,.1);pointer-events:none}
#guestView .gx-top,#guestView .gx-copy,#guestView .gx-search,#guestView .gx-cta{position:relative;z-index:1}
#guestView .gx-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
#guestView .gx-logo{width:104px;height:auto;filter:drop-shadow(0 0 12px rgba(0,210,255,.35))}
#guestView .gx-login{height:38px;padding:0 16px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;font:700 13.5px var(--font);cursor:pointer}
#guestView .gx-copy{margin-top:14px}
#guestView .gx-eyebrow{display:inline-block;padding:3px 10px;border-radius:999px;background:rgba(0,210,255,.15);color:#7fe6ff;font-size:12px;font-weight:800}
#guestView .gx-copy h1{margin:8px 0 6px;font-size:26px;font-weight:800;line-height:1.3;color:#fff}
#guestView .gx-copy p{margin:0;max-width:620px;color:#b9d1f3;font-size:14px;line-height:1.7}
#guestView .gx-search{display:flex;align-items:center;gap:10px;margin-top:16px;height:50px;padding:0 16px;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(4,16,38,.25);cursor:text}
#guestView .gx-search span{color:var(--cx-muted);font-size:20px}
#guestView .gx-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;padding:0;box-shadow:none;font:500 14.5px var(--font);color:var(--cx-text)}
#guestView .gx-cta{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin-top:12px;max-width:520px}
#guestView .gx-btn{height:48px;border-radius:15px;font:800 14.5px var(--font);cursor:pointer;transition:transform .15s,box-shadow .15s}
#guestView .gx-btn:active{transform:scale(.98)}
#guestView .gx-btn.gold{border:0;color:#231a00;background:linear-gradient(135deg,#ffe24d,#FFD000 55%,#f5b700);box-shadow:0 10px 24px rgba(255,208,0,.3)}
#guestView .gx-btn.line{border:1.5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff}

#guestView .gx-perks{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#guestView .gx-perks li{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px;border-radius:18px;background:#fff;border:1px solid var(--cx-line)}
#guestView .gx-perks span{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--cx-tint);font-size:17px}
#guestView .gx-perks b{font-size:13.5px}
#guestView .gx-perks small{font-size:11.5px;color:var(--cx-muted)}

#guestView .gx-promo{height:auto;min-height:0;aspect-ratio:21/9;max-height:300px;margin-top:16px;border-radius:22px;overflow:hidden;background:var(--cx-ink);box-shadow:var(--cx-sh)}
#guestView .gx-promo .carousel-track{height:100%}
#guestView .gx-promo .carousel-slide{height:100%;min-height:0}
#guestView .gx-promo .carousel-dots{inset:auto 0 10px}
#guestView .gx-promo .carousel-dot{width:7px;height:7px}
#guestView .gx-promo .carousel-dot.active{width:22px}

#guestView .gx-head{margin:22px 0 10px}
#guestView .gx-head h2{position:relative;font-size:18px;font-weight:800;padding-inline-start:12px}
#guestView .gx-head h2::before{content:"";position:absolute;inset-inline-start:0;top:20%;bottom:20%;width:4px;border-radius:4px;background:linear-gradient(var(--cx-blue),var(--cx-sky))}
#guestView .chips{margin-bottom:10px;padding-bottom:6px}
#guestView .category-chip{padding:9px 18px;border-radius:999px;border:1px solid var(--cx-line);background:#fff;color:var(--cx-text);font-weight:700}
#guestView .category-chip.active{background:var(--cx-blue);border-color:var(--cx-blue);color:#fff;box-shadow:0 6px 14px rgba(18,109,255,.25)}
#guestView .store-area{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
#guestView .crumbs{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:6px;border-radius:16px;background:#fff;border:1px solid var(--cx-line)}
#guestView .crumbs .btn{min-height:36px;border-radius:12px;background:var(--cx-tint);color:var(--cx-blue);border:0;font-weight:800}
#guestView .crumbs .current{font-weight:800;font-size:13px}
#guestView .store-nav-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
#guestView .store-nav-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0;overflow:hidden;border:1px solid var(--cx-line);border-radius:20px;background:#fff;box-shadow:0 6px 16px rgba(9,32,66,.06);text-align:center;transform:none}
#guestView .store-nav-card:hover{border-color:#b8d0f3;box-shadow:var(--cx-sh);transform:translateY(-2px)}
#guestView .store-nav-card::after{display:none}
#guestView .store-nav-thumb{display:block;width:100%;aspect-ratio:16/11;height:auto;background:var(--cx-navy);overflow:hidden}
#guestView .store-nav-thumb img{width:100%;height:100%;object-fit:cover}
#guestView .store-nav-copy{display:flex;flex-direction:column;align-items:center;gap:1px;padding:10px 10px 12px;min-width:0}
#guestView .store-nav-card h3{font-size:14.5px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
#guestView .store-nav-card .count{color:var(--cx-muted);font-size:12px;font-weight:600;background:none;height:auto;padding:0;min-width:0}
#guestView .product-card{border:1px solid var(--cx-line);border-radius:20px;box-shadow:0 4px 14px rgba(9,32,66,.05);background:#fff;overflow:hidden}
#guestView .product-card:hover{transform:translateY(-3px);box-shadow:var(--cx-sh)}
#guestView .product-art-wrap{aspect-ratio:16/10;background:var(--cx-navy)}
#guestView .product-body{padding:11px 13px 13px}
#guestView .product-name{font-size:13.5px;font-weight:700}
#guestView .guest-price-lock{margin-top:8px;padding:6px 10px;border-radius:10px;background:#fff8e1;color:#8a6200;font-size:12px;font-weight:700;text-align:center}
#guestView .empty-state{border-radius:20px;border:1px dashed #cdd9e8;background:#fff}
#guestView .gx-sticky{display:none}

@media (max-width:768px){
  body[data-view="guestView"] .page{padding:0 14px calc(96px + env(safe-area-inset-bottom))}
  body[data-view="guestView"] .appbar{display:none}
  #guestView .gx-hero{margin:0 -14px;padding:calc(16px + env(safe-area-inset-top)) 18px 22px;border-radius:0 0 30px 30px}
  #guestView .gx-copy h1{font-size:22px}
  #guestView .gx-copy p{font-size:13px}
  #guestView .gx-cta{max-width:none}
  #guestView .gx-perks{gap:8px}
  #guestView .gx-perks li{grid-template-columns:1fr;grid-template-rows:auto;justify-items:center;text-align:center;padding:10px 6px;row-gap:3px}
  #guestView .gx-perks span{grid-row:auto;width:34px;height:34px}
  #guestView .gx-perks small{display:none}
  #guestView .gx-promo{aspect-ratio:16/8}
  #guestView .store-area,#guestView .store-nav-grid{grid-template-columns:1fr 1fr;gap:10px}
  #guestView .gx-sticky{position:fixed;z-index:60;inset:auto 12px calc(12px + env(safe-area-inset-bottom)) 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 10px 10px 14px;
    border-radius:22px;background:rgba(5,13,26,.95);backdrop-filter:blur(16px);box-shadow:0 16px 40px rgba(5,13,26,.35);color:#fff;animation:cxIn .4s ease both}
  #guestView .gx-sticky b{display:block;font-size:13.5px}
  #guestView .gx-sticky small{display:block;font-size:11.5px;color:#9fb6d6}
  #guestView .gx-sticky button{flex:0 0 auto;height:44px;padding:0 18px;border:0;border-radius:14px;background:linear-gradient(135deg,#ffe24d,#FFD000 55%,#f5b700);color:#231a00;font:800 14px var(--font);cursor:pointer}
}

/* v22.1.3 — live customer search + explicit store back */
#customerView .cx-live-results{position:relative;z-index:20;margin-top:8px;background:#fff;border-radius:16px;box-shadow:0 14px 30px rgba(4,16,38,.24);overflow:hidden;max-height:390px;overflow-y:auto}
#customerView .cx-live-results.hidden{display:none}
#customerView .cx-live-item{width:100%;border:0;border-bottom:1px solid var(--cx-line);background:#fff;display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;text-align:right;padding:10px 12px;color:var(--cx-text);cursor:pointer}
#customerView .cx-live-item:last-child{border-bottom:0}
#customerView .cx-live-item:active{background:#f3f7ff}
#customerView .cx-live-item img{width:44px;height:44px;object-fit:cover;border-radius:10px;background:#071632}
#customerView .cx-live-item span{min-width:0;display:flex;flex-direction:column;gap:2px}
#customerView .cx-live-item b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#customerView .cx-live-item small{font-size:11px;color:var(--cx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#customerView .cx-live-item strong{font-size:13px;color:var(--cx-primary);white-space:nowrap}
#customerView .cx-live-empty{padding:14px;text-align:center;color:var(--cx-muted);font-size:13px}
#customerView .cx-page-head{display:flex;align-items:center;gap:10px}
#customerView .cx-page-head h2{margin:0}
#customerView .cx-store-back{margin-inline-start:0}
