/* DJIMLYSTORE SUITE v3 — GLOBAL STYLES */
.dja,.djs{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#111}
.dja *,.djs *{box-sizing:border-box;margin:0;padding:0}

/* ── ACCOUNT / GENERAL ── */
.dja{max-width:520px;margin:0 auto}
.dja-card{background:#fff;border:0.5px solid #e2e8f0;border-radius:18px;padding:18px;margin-bottom:12px}
.dja-pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:3px 10px;border-radius:99px;white-space:nowrap}
.dja-btn{display:block;width:100%;padding:13px;border-radius:13px;font-size:15px;font-weight:600;text-align:center;cursor:pointer;border:none;text-decoration:none;transition:opacity .15s,transform .1s;font-family:inherit}
.dja-btn:hover{opacity:.88}.dja-btn:active{transform:scale(.98)}
.dja-btn-dark{background:#1a56db;color:#fff}
.dja-btn-outline{background:#fff;color:#1a56db;border:1.5px solid #1a56db}
.dja-btns{display:flex;gap:8px}.dja-btns .dja-btn{flex:1}
.dja-input{width:100%;padding:12px 14px;border:1.5px solid #e2e8f0;border-radius:12px;font-size:16px;margin-bottom:10px;font-family:inherit;background:#fff;color:#111;transition:border-color .15s,box-shadow .15s}
.dja-input:focus{outline:none;border-color:#1a56db;box-shadow:0 0 0 3px rgba(26,86,219,.12)}
.dja-label{font-size:12px;color:#64748b;font-weight:600;display:block;margin-bottom:5px}
.dja-sec-title{font-size:11px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}
.dja-menu-link{display:flex;align-items:center;gap:13px;padding:14px 16px;border-bottom:1px solid #f1f5f9;text-decoration:none;color:#111;transition:background .12s}
.dja-menu-link:last-child{border-bottom:none}.dja-menu-link:hover{background:#f8fafc}
.dja-menu-ic{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dja-menu-text{flex:1;min-width:0}
.dja-menu-label{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dja-menu-sub{font-size:11px;color:#94a3b8;margin-top:1px}
.dja-menu-arrow{color:#cbd5e1;font-size:20px;line-height:1;flex-shrink:0}
.dja-msg-success{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:11px;padding:12px;font-size:13px;font-weight:600;color:#16a34a;margin-bottom:14px}
.dja-msg-error{background:#fef2f2;border:1px solid #fecaca;border-radius:11px;padding:12px;font-size:13px;font-weight:600;color:#dc2626;margin-bottom:14px}
.dja-tabs-row{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}
.dja-tab{all:unset;padding:8px 16px;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;border:1.5px solid #e2e8f0;background:#fff;color:#64748b;transition:all .15s;font-family:inherit}
.dja-tab.active{background:#1a56db;color:#fff;border-color:#1a56db}

/* ── SHOP PAGE ── */
.djs{width:100%;max-width:1200px;margin:0 auto;padding:12px;background:#f6f6f6}
.djs-search-row{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.djs-search-wrap{flex:1;position:relative}
.djs-search-box{display:flex;align-items:center;gap:10px;background:#fff;border-radius:50px;padding:11px 16px;box-shadow:0 2px 12px rgba(0,0,0,.07);border:1.5px solid #e2e8f0;transition:border-color .2s,box-shadow .2s}
.djs-search-box:focus-within{border-color:#1a56db;box-shadow:0 0 0 3px rgba(26,86,219,.12);background:#fff}
.djs-search-box input{flex:1;border:none;outline:none;font-size:16px;background:transparent;color:#111;min-width:0}
.djs-search-box input::placeholder{color:#9ca3af}
.djs-sq-clear{background:none;border:none;cursor:pointer;color:#9ca3af;padding:2px;display:flex;align-items:center;border-radius:50%;transition:background .12s}
.djs-sq-clear:hover{background:#f3f4f6;color:#111}
.djs-cam-btn{width:48px;height:48px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 12px rgba(0,0,0,.07);border:1.5px solid #e2e8f0;color:#374151;text-decoration:none;flex-shrink:0;transition:all .12s}
.djs-cam-btn:hover{background:#1a56db;color:#fff;border-color:#1a56db}
.djs-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.12);border:1px solid #e2e8f0;z-index:999;display:none;overflow:hidden;max-height:360px;overflow-y:auto}
.djs-results.open{display:block}
.djs-ri{display:flex;align-items:center;gap:10px;padding:10px 14px;text-decoration:none;color:#111;transition:background .1s;border-bottom:1px solid #f3f4f6}
.djs-ri:last-child{border-bottom:none}.djs-ri:hover{background:#f9fafb}
.djs-ri-thumb{width:44px;height:44px;border-radius:8px;object-fit:cover;flex-shrink:0;background:#f3f4f6}
.djs-ri-name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.djs-ri-cat{font-size:11px;color:#9ca3af}
.djs-ri-price{margin-left:auto;font-size:13px;font-weight:700;color:#1a56db;white-space:nowrap;flex-shrink:0}
.djs-ri-empty{padding:16px;text-align:center;font-size:13px;color:#9ca3af}
.djs-cats{display:flex;gap:0;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.djs-cats::-webkit-scrollbar{display:none}
.djs-cat{all:unset;white-space:nowrap;padding:7px 14px;border-radius:99px;font-size:13px;font-weight:600;cursor:pointer;color:#6b7280;transition:all .15s;flex-shrink:0;font-family:inherit}
.djs-cat:hover{background:#fff;color:#111;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.djs-cat.active{background:#1a56db;color:#fff;box-shadow:0 2px 8px rgba(26,86,219,.3)}
.djs-trust{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0;align-items:center}
.djs-trust-item{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:10px 14px;font-size:13px;flex:1;min-width:130px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.djs-trust-item svg{flex-shrink:0}
.djs-trust-item strong{display:block;font-weight:700;font-size:12px;color:#111}
.djs-trust-item span{font-size:11px;color:#9ca3af}
.djs-trust-promo{text-decoration:none;background:#111;color:#fff;border-radius:12px;padding:10px 16px;font-size:13px;font-weight:700;white-space:nowrap;transition:opacity .15s}
.djs-trust-promo:hover{opacity:.85}
.djs-deals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.djs-deal{text-decoration:none;border-radius:16px;padding:20px;min-height:110px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;transition:transform .15s;background-size:cover;background-position:center}
.djs-deal:hover{transform:translateY(-2px)}
.djs-deal::before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,transparent 20%,rgba(0,0,0,.65))}
.djs-deal-tag{position:relative;z-index:1;font-size:15px;font-weight:800;color:#fff}
.djs-deal-sub{position:relative;z-index:1;font-size:12px;color:rgba(255,255,255,.8);margin-top:4px}
.djs-sec-head{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px}
.djs-sec-head h3{margin:0;font-size:18px;font-weight:800;color:#111}
.djs-sort-sel{padding:7px 12px;border-radius:10px;border:1.5px solid #e2e8f0;background:#fff;font-size:13px;font-family:inherit;cursor:pointer;color:#374151}
.djs-sort-sel:focus{outline:none;border-color:#1a56db}
.djs-view-toggle{display:flex;border:1.5px solid #e2e8f0;border-radius:10px;overflow:hidden}
.djs-vbtn{all:unset;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#9ca3af;background:#fff;transition:background .12s,color .12s;font-family:inherit}
.djs-vbtn:hover{background:#f3f4f6;color:#111}.djs-vbtn.active{background:#1a56db;color:#fff}
.djs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.djs-grid.list-view{grid-template-columns:1fr}
.djs-prod{background:#fff;border-radius:16px;overflow:hidden;text-decoration:none;color:#111;box-shadow:0 2px 10px rgba(0,0,0,.06);display:block;transition:transform .15s,box-shadow .15s}
.djs-prod:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.12)}
.djs-prod-img{position:relative;background:#f3f4f6;padding-top:100%}
.djs-prod-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.djs-prod-loc{position:absolute;left:8px;top:8px;background:rgba(17,24,39,.85);color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:99px}
.djs-prod-sale{position:absolute;right:8px;top:8px;background:#dc2626;color:#fff;font-size:10px;font-weight:800;padding:3px 8px;border-radius:99px}
.djs-prod-body{padding:10px}
.djs-prod-name{font-size:13px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}
.djs-prod-merchant{font-size:11px;color:#1a56db;margin-top:3px;font-weight:600}
.djs-prod-stars{font-size:11px;color:#f59e0b;margin-top:4px}
.djs-prod-stars span{color:#9ca3af}
.djs-prod-prices{display:flex;align-items:center;gap:6px;margin-top:5px;flex-wrap:wrap}
.djs-prod-price{font-size:14px;font-weight:800;color:#111}
.djs-prod-old{font-size:12px;color:#9ca3af;text-decoration:line-through}
.djs-prod-cart{display:block;margin-top:8px;padding:8px;background:#1a56db;color:#fff;border-radius:8px;font-size:12px;font-weight:700;text-align:center;text-decoration:none;transition:opacity .15s}
.djs-prod-cart:hover{opacity:.85}
.djs-grid.list-view .djs-prod{display:flex}
.djs-grid.list-view .djs-prod-img{width:120px;flex-shrink:0;padding-top:0;height:120px}
.djs-grid.list-view .djs-prod-img img{position:static;width:100%;height:100%}
.djs-grid.list-view .djs-prod-body{flex:1;padding:12px;display:flex;flex-direction:column;justify-content:center}
.djs-grid.list-view .djs-prod-cart{display:none}
.djs-loading{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:40px;color:#9ca3af;font-size:13px}
.djs-spinner{width:28px;height:28px;border:2.5px solid #e2e8f0;border-top-color:#1a56db;border-radius:50%;animation:djs-spin .6s linear infinite}
@keyframes djs-spin{to{transform:rotate(360deg)}}
.djs-empty{grid-column:1/-1;padding:32px;text-align:center;color:#9ca3af;font-size:13px}
.djs-more-btn{all:unset;cursor:pointer;padding:13px 32px;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;font-size:14px;font-weight:700;color:#111;transition:all .15s;font-family:inherit}
.djs-more-btn:hover{background:#1a56db;color:#fff;border-color:#1a56db}
.djs-pay{background:#fff;border-radius:18px;padding:16px;margin:18px 0 8px;box-shadow:0 2px 12px rgba(0,0,0,.06)}

/* ── MESSAGES ── */
.djm{font-family:system-ui,-apple-system,sans-serif;color:#0f172a}
.djm *{box-sizing:border-box;margin:0;padding:0}
.djm-push{display:none;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(135deg,#1a56db,#1d4ed8);border-radius:14px;padding:12px 16px;margin-bottom:14px}
.djm-push p{font-size:13px;color:#fff;font-weight:500}
.djm-push button{padding:7px 16px;background:#fff;color:#1a56db;border:none;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;white-space:nowrap}
.djm-shell{display:grid;grid-template-columns:248px 1fr;border:1px solid #e2e8f0;border-radius:22px;overflow:hidden;background:#fff;min-height:600px;box-shadow:0 4px 24px rgba(26,86,219,.07)}
.djm-sb{background:#f8faff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column}
.djm-sb-head{padding:20px 16px 14px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#1a56db,#1d4ed8)}
.djm-sb-head h2{font-size:15px;font-weight:700;color:#fff}
.djm-sb-head p{font-size:12px;color:rgba(255,255,255,.7);margin-top:3px}
.djm-tabs{padding:10px;display:flex;flex-direction:column;gap:3px}
.djm-t{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:12px;cursor:pointer;font-size:13px;font-weight:500;color:#64748b;border:none;background:transparent;text-align:left;width:100%;font-family:inherit;transition:background .12s,color .12s;position:relative}
.djm-t:hover{background:#eff6ff;color:#1a56db}.djm-t.on{background:#1a56db;color:#fff;box-shadow:0 2px 8px rgba(26,86,219,.3)}
.djm-t svg{width:17px;height:17px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.djm-tbadge{margin-left:auto;font-size:10px;font-weight:700;padding:1px 7px;border-radius:99px;background:#ef4444;color:#fff;display:none}
.djm-main{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.djm-mhead{padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:12px;min-height:60px;flex-shrink:0;background:#fff}
.djm-back{display:none;background:none;border:none;cursor:pointer;padding:6px;color:#64748b;border-radius:8px}
.djm-back svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.djm-mhead h3{font-size:15px;font-weight:700;color:#0f172a}
.djm-mhead p{font-size:12px;color:#94a3b8;margin-top:2px}
.djm-panel{display:none;overflow-y:auto;padding:16px;flex:1}
.djm-panel.on{display:block}
.djm-panel-m{display:none;flex:1;overflow:hidden}
.djm-panel-m.on{display:flex}
.djm-notif{display:flex;gap:12px;padding:13px;border-radius:14px;border:1px solid #e2e8f0;margin-bottom:8px;background:#fff;cursor:pointer;transition:all .15s}
.djm-notif:hover{border-color:#bfdbfe;background:#eff6ff}
.djm-notif.unread{border-left:3px solid #1a56db;background:#f8faff}
.djm-order{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;margin-bottom:8px;cursor:pointer;transition:all .15s}
.djm-order:hover{border-color:#bfdbfe;box-shadow:0 2px 10px rgba(26,86,219,.08)}
.djm-pbar{height:4px;background:#f1f5f9;border-radius:2px;margin-top:10px;overflow:hidden}
.djm-pbarfill{height:100%;border-radius:2px}
.djm-mlist{width:100%;overflow-y:auto;padding:14px;border-right:1px solid #e2e8f0;flex-shrink:0}
.djm-merc{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:8px;background:#fff;cursor:pointer;transition:all .15s}
.djm-merc:hover{border-color:#bfdbfe;background:#f8faff}
.djm-merc.sel{border:1.5px solid #1a56db;background:#eff6ff}
.djm-chatwin{display:none;flex-direction:column;overflow:hidden}
.djm-chatwin.on{display:flex}
.djm-chead{padding:14px 16px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:10px;flex-shrink:0;background:#f8faff}
.djm-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:4px;min-height:200px;background:#f8faff}
.djm-bbl{max-width:72%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;word-break:break-word}
.djm-bbl.them{background:#fff;color:#0f172a;align-self:flex-start;border-bottom-left-radius:4px;border:1px solid #e2e8f0}
.djm-bbl.me{background:#1a56db;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.djm-irow{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #e2e8f0;flex-shrink:0;align-items:center;background:#fff}
.djm-inp{flex:1;height:44px;border-radius:22px;border:1.5px solid #e2e8f0;padding:0 16px;font-size:16px;font-family:inherit;color:#0f172a;background:#f8faff;transition:border-color .15s,box-shadow .15s}
.djm-inp:focus{outline:none;border-color:#1a56db;box-shadow:0 0 0 3px rgba(26,86,219,.12);background:#fff}
.djm-sbtn{width:44px;height:44px;border-radius:50%;background:#1a56db;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .15s;box-shadow:0 2px 8px rgba(26,86,219,.3)}
.djm-sbtn:hover{opacity:.88}
.djm-sbtn svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.djm-sform{background:#f8faff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;margin-bottom:14px}
.djm-field{width:100%;padding:12px 14px;border:1.5px solid #e2e8f0;border-radius:12px;font-size:16px;font-family:inherit;color:#0f172a;background:#fff;margin-bottom:10px;transition:border-color .15s,box-shadow .15s}
.djm-field:focus{outline:none;border-color:#1a56db;box-shadow:0 0 0 3px rgba(26,86,219,.12)}
.djm-sbmit{padding:12px 24px;background:#1a56db;color:#fff;border:none;border-radius:12px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity .15s}
.djm-sbmit:hover{opacity:.88}
.djm-tkt{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:15px;margin-bottom:10px;transition:all .15s}
.djm-tkt.open{border-left:3px solid #f59e0b}
.djm-tkt.closed{border-left:3px solid #22c55e}
.djm-empty{padding:28px;text-align:center;color:#94a3b8;font-size:13px}

/* ── FOOTER NAV ── */
.djw-footer{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:480px;background:rgba(255,255,255,0.92);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:28px;box-shadow:0 8px 32px rgba(0,0,0,.14);border:0.5px solid rgba(0,0,0,.07);z-index:9999;padding:10px 8px 12px}
.djw-nav{display:flex;justify-content:space-around;align-items:center;gap:4px}
.djw-item{flex:1;text-align:center;position:relative;text-decoration:none;color:#9ca3af;font-family:system-ui,sans-serif;transition:color .2s;-webkit-tap-highlight-color:transparent}
.djw-item span{display:block;font-size:10px;margin-top:5px;font-weight:600;letter-spacing:.01em;transition:color .2s}
.djw-ic{width:44px;height:44px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto;background:transparent;transition:background .22s,transform .15s}
.djw-item svg{width:22px;height:22px;stroke:#9ca3af;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .22s}
.djw-active{color:#111}
.djw-active .djw-ic{background:#111;box-shadow:0 4px 12px rgba(0,0,0,.25);transform:translateY(-2px)}
.djw-active svg{stroke:#fff}

/* ── MOBILE ── */
@media(max-width:900px){
  .djs-grid{grid-template-columns:repeat(2,1fr)}
  .djs-trust-item span{display:none}
  .djs-deals{grid-template-columns:1fr}
}
@media(max-width:640px){
  .djm-shell{grid-template-columns:1fr;border-radius:16px;min-height:auto}
  .djm-sb{border-right:none;border-bottom:1px solid #e2e8f0}
  .djm-sb-head{display:none}
  .djm-tabs{flex-direction:row;overflow-x:auto;padding:8px 6px;gap:4px;scrollbar-width:none}
  .djm-tabs::-webkit-scrollbar{display:none}
  .djm-t{flex-direction:column;gap:3px;padding:8px 6px;min-width:62px;font-size:10px;border-radius:11px;align-items:center;justify-content:center;flex:1}
  .djm-t svg{width:20px;height:20px}
  .djm-tbadge{position:absolute;top:3px;right:5px;margin:0}
  .djm-bbl{max-width:84%;font-size:14px}
  .djm-msgs{min-height:280px}
  .djm-panel-m.on{flex-direction:column}
  .djm-mlist{border-right:none;border-bottom:1px solid #e2e8f0;max-height:260px}
  .djm-chatwin{min-height:360px}
  .djm-back{display:flex!important}
  .djm-inp{font-size:16px}
}
@media(min-width:641px){.djm-back{display:none!important}}
