/* DjimlyStore Digital v2.39.95 — public shell / creator Safari / category picker hotfix */

/* WordPress chrome must never leak into the customer-facing DjimlyStore UI. */
html{margin-top:0!important}
html body #wpadminbar{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.admin-bar{margin-top:0!important}

/* Category selector: make the dropdown affordance obvious and easy to tap. */
html body #djs-portal .djs-category-picker-trigger-v23991{
  grid-template-columns:38px minmax(0,1fr) 46px!important;
  padding-right:6px!important;
}
html body #djs-portal .djs-category-picker-chevron-v23991{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:grid!important;
  place-items:center!important;
  justify-self:end!important;
  border-radius:13px!important;
  font-size:32px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#111827!important;
  font-variation-settings:'FILL' 0,'wght' 700,'GRAD' 0,'opsz' 40!important;
  transform-origin:50% 50%!important;
  transition:transform .2s ease,background .18s ease!important;
  -webkit-tap-highlight-color:transparent!important;
}
html body #djs-portal .djs-category-picker-trigger-v23991:hover .djs-category-picker-chevron-v23991,
html body #djs-portal .djs-category-picker-trigger-v23991:focus-visible .djs-category-picker-chevron-v23991{
  background:#edf6ff!important;
}
html body #djs-portal .djs-category-picker-v23991.is-open .djs-category-picker-chevron-v23991{
  transform:rotate(180deg)!important;
}
[data-theme="dark"] body #djs-portal .djs-category-picker-chevron-v23991{color:#f8fafc!important}
[data-theme="dark"] body #djs-portal .djs-category-picker-trigger-v23991:hover .djs-category-picker-chevron-v23991,
[data-theme="dark"] body #djs-portal .djs-category-picker-trigger-v23991:focus-visible .djs-category-picker-chevron-v23991{background:#24303c!important}

/* Extra mobile breathing room below long public creator pages and Safari's floating toolbar. */
body.djs-public-standalone-page{min-height:100dvh;padding-bottom:env(safe-area-inset-bottom);overflow-x:hidden}
body.djs-creator-dashboard-page .djs-support-float,
body.djs-creator-dashboard-page .djs-support-panel{display:none!important}

@media(max-width:640px){
  html body #djs-portal .djs-category-picker-trigger-v23991{
    grid-template-columns:38px minmax(0,1fr) 48px!important;
  }
  html body #djs-portal .djs-category-picker-chevron-v23991{
    width:44px!important;height:44px!important;min-width:44px!important;font-size:34px!important;
  }
}
