/* =====================================================================
   OSKART v84 — Desktop / PC layer for the customer app (≥ 1024px).
   Mobile & tablet (< 1024px) are untouched: .dtop is hidden there.
   Rules are prefixed with "html body" so they beat page-level <style>
   blocks (several pages print their CSS inside <body>).
   ===================================================================== */
.dtop{display:none}
.oks-drawer:not(.on){box-shadow:none!important}

@media (min-width:1024px){
  :root{--dtop-h:66px}
  html body{padding-top:var(--dtop-h);background:var(--soft)}
  html body .phone{max-width:1240px;margin:0 auto;box-shadow:none;min-height:calc(100dvh - var(--dtop-h));background:transparent}
  html body .phone.dk-narrow{max-width:980px}

  /* ---------- top navigation ---------- */
  .dtop{display:block;position:fixed;top:0;left:0;right:0;height:var(--dtop-h);z-index:35;
    background:rgba(255,255,255,.9);background:color-mix(in srgb,var(--card,#fff) 90%,transparent);backdrop-filter:saturate(170%) blur(16px);-webkit-backdrop-filter:saturate(170%) blur(16px);
    border-bottom:1px solid var(--line);box-shadow:0 8px 28px -22px rgba(40,20,110,.55);font-family:'Inter',system-ui,sans-serif}
  .dtop-in{max-width:1240px;height:100%;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:22px}
  .dt-brand{display:flex;align-items:center;gap:10px;flex:none;text-decoration:none;color:var(--ink)}
  .dt-brand img{width:36px;height:36px;border-radius:11px;object-fit:cover;box-shadow:0 6px 14px -8px rgba(90,46,224,.7)}
  .dt-brand span{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:19px;letter-spacing:-.3px;
    background:linear-gradient(135deg,#5a2ee0,#c2255c);-webkit-background-clip:text;background-clip:text;color:transparent}
  .dt-grow{flex:1}
  .dt-search{flex:1;min-width:220px;max-width:560px;display:flex;align-items:center;gap:8px;background:var(--soft);border:1.5px solid var(--line);
    border-radius:14px;padding:4px 4px 4px 13px;transition:border-color .2s,box-shadow .2s,background .2s}
  .dt-search:focus-within{background:var(--card);border-color:#8a63ff;box-shadow:0 0 0 4px rgba(90,46,224,.12)}
  .dt-search svg{width:18px;height:18px;color:var(--muted);flex:none}
  html body .dt-search input{flex:1;min-width:0;border:none!important;outline:none!important;background:transparent!important;box-shadow:none!important;
    font-size:14px;padding:8px 2px!important;color:var(--ink);font-family:inherit;width:auto;border-radius:0!important}
  .dt-search input::-webkit-search-cancel-button{cursor:pointer}
  .dt-search button{flex:none;border:none;background:linear-gradient(135deg,#5a2ee0,#3f1cb0);color:#fff;font-weight:700;font-size:13px;
    padding:9px 16px;border-radius:11px;cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif}
  .dt-links{display:flex;align-items:center;gap:4px;margin-left:auto;flex:none}
  .dt-l{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 10px 6px;min-width:62px;border-radius:12px;color:var(--muted);font-weight:600;font-size:11.5px;
    text-decoration:none;transition:background .15s,color .15s;white-space:nowrap;font-family:'Plus Jakarta Sans',sans-serif}
  .dt-l svg{width:21px;height:21px;flex:none}
  .dt-l:hover{background:var(--soft);color:var(--brand-text)}
  .dt-l.on{background:var(--soft);color:var(--brand-text)}
  .dt-cart{position:relative;display:flex;align-items:center;gap:8px;margin-left:6px;padding:9px 15px;border-radius:13px;text-decoration:none;
    background:linear-gradient(135deg,#5a2ee0,#3f1cb0);color:#fff;font-weight:700;font-size:13.5px;font-family:'Plus Jakarta Sans',sans-serif;
    box-shadow:0 10px 20px -12px rgba(90,46,224,.8)}
  .dt-cart svg{width:19px;height:19px}
  .dt-cart:hover{filter:brightness(1.08)}
  .dt-badge{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;border-radius:10px;background:#ff7a4d;color:#fff;font-size:10.5px;
    font-weight:800;display:grid;place-items:center;padding:0 5px;border:2px solid var(--card);font-style:normal}
  .dt-acc{display:flex;align-items:center;gap:8px;margin-left:6px;padding:4px 12px 4px 4px;border-radius:30px;border:1.5px solid var(--line);
    text-decoration:none;color:var(--ink);max-width:190px}
  .dt-acc:hover,.dt-acc.on{border-color:#c9bdf7;background:var(--soft)}
  .dt-av{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#8a4dff,#5a2ee0);color:#fff;display:grid;place-items:center;
    font-weight:800;font-size:14px;flex:none;font-family:'Plus Jakarta Sans',sans-serif}
  .dt-nm{font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dt-login{margin-left:6px;padding:10px 18px;border-radius:12px;border:1.5px solid #5a2ee0;color:var(--brand-text);font-weight:700;font-size:13.5px;text-decoration:none;
    font-family:'Plus Jakarta Sans',sans-serif}
  .dt-login:hover{background:#5a2ee0;color:#fff}

  /* ---------- hide the phone bottom-nav on PC ---------- */
  html body .botnav{display:none!important}

  /* ---------- shared page chrome (c_header pages) ---------- */
  html body .cbar{position:relative;top:auto;margin:20px 24px 0;border-radius:18px;padding:16px 18px;z-index:5}
  html body .cbar .ctitle{font-size:20px}
  html body .cwrap{padding:20px 24px 48px}
  html body .phone.dk-narrow .cwrap{padding-bottom:120px}
  html body .toast{bottom:32px}
  html body .chatfab{bottom:28px!important;right:28px}

  /* sticky bottom action bar → pinned to the container, no nav under it */
  html body .actionbar{bottom:0;max-width:1240px;padding:14px 24px 18px}
  html body .phone.dk-narrow .actionbar{max-width:980px}
  html body .actionbar.dk-inline{position:static;transform:none;width:auto;max-width:none;padding:0;margin:16px 0 18px;background:none;z-index:auto}

  /* grids: roomier cards on big screens */
  html body .phone .grid,html body .phone .pg,html body .phone .ppg,html body .phone .favgrid,
  html body .phone .fygrid,html body .phone .stgrid,html body .phone .oks-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:18px}
  html body .phone .catgrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px}
  html body .pcard .pt{height:170px}

  /* overlays / sheets that were built for a phone: centre them as dialogs */
  html body .cmptray{bottom:24px}

  /* ---------- home ---------- */
  html body .phone.dk-home .header{top:var(--dtop-h);border-radius:0 0 26px 26px;margin:0 24px;padding-left:22px;padding-right:22px}
  html body .phone.dk-home .scroll{padding:0 12px 60px}
  html body .phone.dk-home .bnr-s{max-height:340px}

  /* ---------- search ---------- */
  html body .shd{top:var(--dtop-h);border-radius:0 0 24px 24px;margin:0 24px}
  html body .phone.dk-search{max-width:1240px}

  /* ---------- store ---------- */
  html body .tabs{top:var(--dtop-h)}

  /* ---------- login / signup ---------- */
  html body .phone.dk-login,html body .phone.dk-signup{max-width:520px;margin-top:28px;margin-bottom:28px;min-height:0;border-radius:26px;overflow:hidden;
    background:var(--card);box-shadow:0 30px 70px -40px rgba(40,20,110,.55);min-height:0!important;align-self:flex-start;padding-bottom:10px}
  html body .phone.dk-login .cwrap,html body .phone.dk-signup .cwrap{flex:none;padding-bottom:30px}
}

@media (min-width:1024px) and (max-width:1180px){
  .dt-l{min-width:54px;padding:7px 6px 6px}
  .dt-nm{display:none}
  .dt-acc{padding:4px}
}
@media (min-width:1024px) and (max-width:1379px){
  .dt-nm{display:none}
  .dt-acc{padding:4px}
}
@media (min-width:1600px){
  html body .phone{max-width:1360px}
  .dtop-in{max-width:1360px}
  html body .actionbar{max-width:1360px}
}
