/* DjimlyStore Digital v2.39.94 — creator code, guest checkout + mobile pager safe-area fixes */
html body #djs-portal #djs-screen-cart .djs-cart-creator-code,
html body #djs-portal #djs-screen-cart .djs-guest-checkout-card{
  border:1px solid #dfe8f3!important;background:#f8fbff!important;border-radius:18px!important;padding:14px!important;margin:12px 0!important;
}
html body #djs-portal #djs-screen-cart .djs-cart-creator-code label,
html body #djs-portal #djs-screen-cart .djs-guest-checkout-card h3{display:block!important;margin:0 0 8px!important;color:#0c1b31!important;font-size:14px!important;font-weight:900!important}
html body #djs-portal #djs-screen-cart .djs-cart-creator-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
html body #djs-portal #djs-screen-cart .djs-cart-creator-row input,
html body #djs-portal #djs-screen-cart .djs-guest-checkout-card input{width:100%!important;min-width:0!important;border:1px solid #d6e0ec!important;border-radius:13px!important;background:#fff!important;padding:12px 13px!important;font:inherit!important;color:#0b172a!important;outline:0!important}
html body #djs-portal #djs-screen-cart .djs-cart-creator-row input:focus,
html body #djs-portal #djs-screen-cart .djs-guest-checkout-card input:focus{border-color:#1769ff!important;box-shadow:0 0 0 3px rgba(23,105,255,.09)!important}
html body #djs-portal #djs-screen-cart #djs-apply-creator-code{border:0!important;border-radius:13px!important;background:#1769ff!important;color:#fff!important;padding:0 15px!important;font-weight:900!important;cursor:pointer!important}
html body #djs-portal #djs-screen-cart .djs-creator-code-msg{display:none;margin-top:8px;font-size:12px;font-weight:750;line-height:1.4;color:#16724a!important}
html body #djs-portal #djs-screen-cart .djs-creator-code-msg.is-error{color:#b4232a!important}
html body #djs-portal #djs-screen-cart .djs-guest-checkout-card p{margin:0 0 10px!important;color:#607089!important;font-size:12px!important;line-height:1.5!important}
html body #djs-portal #djs-screen-cart .djs-guest-checkout-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
html body #djs-portal #djs-screen-cart .djs-guest-login-required{padding:12px!important;border-radius:14px!important;background:#fff4e7!important;color:#8b4b0e!important;font-size:12px!important;line-height:1.45!important;margin:10px 0!important}
html body #djs-portal #djs-screen-cart .djs-cart-reference-wrap{padding-bottom:max(120px,calc(94px + env(safe-area-inset-bottom)))!important}

/* Pagination: keep every control fully inside the mobile viewport. */
@media(max-width:640px){
  html body #djs-portal .djs-subcategory-pager{
    width:100%!important;max-width:100%!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:5px!important;padding:0 2px!important;margin:22px auto max(30px,calc(18px + env(safe-area-inset-bottom)))!important;
  }
  html body #djs-portal .djs-pager-edge{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:14px!important;overflow:hidden!important}
  html body #djs-portal .djs-pager-edge span:not(.ms){display:none!important}
  html body #djs-portal .djs-pager-pages{min-width:0!important;gap:4px!important;overflow:hidden!important}
  html body #djs-portal .djs-pager-number{width:38px!important;min-width:38px!important;height:44px!important;border-radius:13px!important;font-size:14px!important;flex:0 0 38px!important}
  html body #djs-portal .djs-pager-ellipsis{min-width:12px!important;font-size:13px!important}
  html body #djs-portal #djs-screen-product .djs-scroller,
  html body #djs-portal #djs-screen-game .djs-scroller{padding-bottom:max(96px,calc(82px + env(safe-area-inset-bottom)))!important}
  html body #djs-portal #djs-screen-cart .djs-guest-checkout-grid{grid-template-columns:1fr!important}
}
@media(max-width:380px){html body #djs-portal .djs-pager-number{width:34px!important;min-width:34px!important;flex-basis:34px!important}}
