/* DjimlyStore 4.2.49 — catalogue header and Safari return-route correction.
   Scoped only to the existing category browser: no global [data-back] overrides. */
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-head{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 44px!important;
  align-items:center!important;gap:12px!important;
  margin:0 0 16px!important;padding:0!important;
  min-height:48px!important;
  background:transparent!important;
}
html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back{
  -webkit-appearance:none!important;appearance:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 44px!important;min-width:44px!important;max-width:44px!important;
  width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;
  padding:0!important;margin:0!important;position:static!important;
  border:1px solid #dfe8f5!important;border-radius:14px!important;
  background:#f5f9ff!important;color:#185db5!important;
  box-shadow:0 2px 8px rgba(18,65,125,.04)!important;
  font-size:0!important;line-height:0!important;transform:none!important;
}
html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back::before,
html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back::after,
html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back .djs-v4079-back-label{
  display:none!important;content:none!important;
}
html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back svg{
  display:block!important;position:static!important;width:22px!important;height:22px!important;
  margin:0!important;padding:0!important;flex:0 0 22px!important;color:inherit!important;
}
html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back:focus-visible{
  outline:3px solid #3c9dff!important;outline-offset:3px!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-head-title{
  min-width:0!important;max-width:100%!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
  text-align:center!important;font-size:15px!important;line-height:1.25!important;
  font-weight:830!important;color:#102c50!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-cart{
  flex:0 0 44px!important;min-width:44px!important;max-width:44px!important;
  width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#f5f9ff!important;border:1px solid #dfe8f5!important;border-radius:14px!important;
}
/* A deliberate page hierarchy: compact header, clear title, full-width search,
   comfortable category selector, then two easily tappable filter controls. */
html body #djs-portal #djs-screen-category-browser .djs-category-browser-shell.djs-b2b-category-page{
  padding-top:18px!important;padding-bottom:84px!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-breadcrumb{
  margin:0 0 18px!important;min-height:18px!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-hero{
  margin:0 0 26px!important;border-radius:20px!important;
}
html body #djs-portal #djs-screen-category-browser .djs48-category-heading{
  margin:0 0 22px!important;gap:8px!important;
}
html body #djs-portal #djs-screen-category-browser .djs48-category-heading h1{
  font-size:clamp(28px,6.5vw,40px)!important;line-height:1.09!important;
}
html body #djs-portal #djs-screen-category-browser .djs48-category-heading p{
  font-size:13px!important;line-height:1.5!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-search{
  margin-bottom:18px!important;box-shadow:none!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;margin:0 0 20px!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters label:first-child{
  grid-column:1 / -1!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters label{
  display:flex!important;flex-direction:column!important;gap:7px!important;
  color:#425d82!important;font-size:12px!important;line-height:1.25!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters select{
  min-height:46px!important;border-radius:13px!important;
  padding:0 12px!important;font-size:13px!important;font-weight:730!important;
  background-color:#f9fbff!important;
}
html body #djs-portal #djs-screen-category-browser .djs-b2b-category-results-summary{
  margin:2px 0 16px!important;padding:0!important;
  font-size:12px!important;color:#567398!important;
}
/* Larger product imagery and readable product names while keeping the original
   real prices, discounts, stock data, click handlers and card accessibility. */
html body #djs-portal #djs-screen-category-browser #djs-category-browser-grid.djs-b2b-category-list{
  gap:14px!important;
}
html body #djs-portal #djs-screen-category-browser #djs-category-browser-grid .djs48-catalog-card{
  padding:10px!important;min-height:260px!important;
  border-radius:20px!important;box-shadow:0 5px 17px rgba(18,58,110,.055)!important;
}
html body #djs-portal #djs-screen-category-browser .djs48-catalog-card .djs-b2b-offer-image{
  aspect-ratio:1 / 1!important;margin:0 0 11px!important;border-radius:15px!important;
}
html body #djs-portal #djs-screen-category-browser .djs48-catalog-card .djs-b2b-offer-description>strong{
  font-size:13px!important;line-height:1.33!important;min-height:36px!important;
}
html body #djs-portal #djs-screen-category-browser .djs48-catalog-card .djs-b2b-offer-price b{
  font-size:15px!important;line-height:1.28!important;
}
@media(max-width:359px){
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-head{gap:7px!important;}
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-head-title{font-size:13px!important;}
  html body #djs-portal #djs-screen-category-browser #djs-category-browser-grid.djs-b2b-category-list{gap:9px!important;}
  html body #djs-portal #djs-screen-category-browser #djs-category-browser-grid .djs48-catalog-card{padding:8px!important;min-height:245px!important;}
  html body #djs-portal #djs-screen-category-browser .djs48-catalog-card .djs-b2b-offer-description>strong{font-size:12px!important;}
}
@media(min-width:700px){
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters label:first-child{
    grid-column:auto!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body #djs-portal #djs-screen-category-browser button.djs-category-browser-back{transition:none!important;}
}
