/* Hbureautique V50 - catégories uniquement. Recherche figée. */

body#category .hlb50-filter-status{
  padding:8px 2px 10px!important;color:#71899a!important;font:500 9.5px/14px Montserrat,Arial,sans-serif!important;
}
body#category .hlb50-filter-status.is-ready{display:none!important;}
body#category .hlb50-pagination{display:none!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:17px 0 4px!important;flex-wrap:wrap!important;}
body#category .hlb50-pagination button{
  min-width:38px!important;height:36px!important;padding:0 10px!important;border:1px solid #d4e2eb!important;border-radius:8px!important;
  background:#fff!important;color:#315b77!important;font:700 10px/34px Montserrat,Arial,sans-serif!important;
}
body#category .hlb50-pagination button.is-active{background:#0876c9!important;border-color:#0876c9!important;color:#fff!important;}
body#category .hlb50-pagination button:disabled{opacity:.45!important;cursor:default!important;}
body#category .hlb50-sort-wrap select{
  width:100%!important;height:42px!important;padding:0 38px 0 13px!important;border:1px solid #d5e3ec!important;border-radius:10px!important;
  background:#f9fbfc!important;color:#244f70!important;font:600 11px/42px Montserrat,Arial,sans-serif!important;
}

/* Logos fabricant : retour à une taille lisible, proche de la recherche validée. */
body#category .hlb44-brand-logo{
  width:82px!important;height:30px!important;max-width:82px!important;max-height:30px!important;object-fit:contain!important;object-position:left center!important;
}
body#category .hlb44-brand-row{gap:10px!important;min-height:32px!important;}

/* Bouton Ajouter au panier : forçage visuel identique au listing recherche validé. */
body#category .hlb44-cart.ajax_add_to_cart_button,
body#category a.hlb44-cart.ajax_add_to_cart_button{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:43px!important;
  padding:0 12px!important;border:0!important;border-radius:10px!important;background:#e91379!important;color:#fff!important;
  box-shadow:none!important;text-shadow:none!important;text-decoration:none!important;font:700 11px/16px Montserrat,Arial,sans-serif!important;
}
body#category .hlb44-cart.ajax_add_to_cart_button span{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;color:#fff!important;}
body#category .hlb44-cart.ajax_add_to_cart_button:hover{background:#cf106a!important;color:#fff!important;}

/* Couleurs */
body#category .hlb44-color-value{font-weight:700!important;}
body#category .hlb44-color-value.is-black{color:#111!important;}
body#category .hlb44-color-value.is-cyan{color:#00a9d6!important;}
body#category .hlb44-color-value.is-magenta{color:#d61a8d!important;}
body#category .hlb44-color-value.is-yellow{color:#c79a00!important;}
body#category .hlb44-color-value.is-red{color:#d32f2f!important;}
body#category .hlb44-color-value.is-blue{color:#1565c0!important;}
body#category .hlb44-color-value.is-green{color:#2e7d32!important;}
body#category .hlb44-color-value.is-gray{color:#6b7280!important;}
body#category .hlb44-color-value.is-default{color:#174c73!important;}

/* Entrée Cartouches & Toners : aucun chargement massif, deux choix clairs. */
body#category .hlb50-root-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:0 0 24px!important;}
body#category .hlb50-root-card{
  display:grid!important;grid-template-columns:56px minmax(0,1fr) 20px!important;align-items:center!important;gap:14px!important;min-height:105px!important;
  padding:18px 20px!important;background:#fff!important;border:1px solid #dce8f0!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(17,73,111,.05)!important;
  color:#153f69!important;text-decoration:none!important;
}
body#category .hlb50-root-card:hover{border-color:#acd4ec!important;box-shadow:0 10px 28px rgba(17,73,111,.08)!important;}
body#category .hlb50-root-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:54px!important;height:54px!important;border-radius:14px!important;background:#eef7fd!important;color:#0876c9!important;font-size:24px!important;}
body#category .hlb50-root-card strong{display:block!important;margin-bottom:4px!important;color:#0b3c68!important;font:700 17px/22px Montserrat,Arial,sans-serif!important;}
body#category .hlb50-root-card small{display:block!important;color:#71899a!important;font:500 10.5px/15px Montserrat,Arial,sans-serif!important;}
body#category .hlb50-root-card > .icon-chevron-right{color:#e91379!important;}

/* Catégories conteneurs (Toner Laser, Cartouche jet d'encre...) : marques instantanées. */
body#category .hlb50-subcategory-section{margin:0 0 24px!important;padding:18px!important;background:#fff!important;border:1px solid #dce8f0!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(17,73,111,.045)!important;}
body#category .hlb50-subcategory-title{margin:0 0 13px!important;color:#0a467a!important;font:700 15px/20px Montserrat,Arial,sans-serif!important;}
body#category .hlb50-subcategory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;}
body#category .hlb50-subcategory-card{display:grid!important;grid-template-columns:48px minmax(0,1fr) 14px!important;align-items:center!important;gap:9px!important;min-height:70px!important;padding:9px 11px!important;border:1px solid #e0eaf1!important;border-radius:12px!important;background:#fbfdfe!important;color:#174f79!important;text-decoration:none!important;}
body#category .hlb50-subcategory-card:hover{border-color:#acd4ec!important;background:#fff!important;}
body#category .hlb50-subcategory-image{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;color:#0876c9!important;font-size:20px!important;}
body#category .hlb50-subcategory-image img{max-width:44px!important;max-height:44px!important;width:auto!important;height:auto!important;object-fit:contain!important;}
body#category .hlb50-subcategory-card strong{font:700 10.5px/14px Montserrat,Arial,sans-serif!important;}
body#category .hlb50-subcategory-card > .icon-chevron-right{font-size:9px!important;color:#e91379!important;}
body#category .hlb50-empty{padding:24px!important;background:#fff!important;border:1px solid #dce8f0!important;border-radius:14px!important;color:#607a8d!important;text-align:center!important;}

@media(max-width:900px){body#category .hlb50-subcategory-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:760px){body#category .hlb50-root-grid{grid-template-columns:1fr!important;}body#category .hlb50-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:500px){body#category .hlb50-subcategory-grid{grid-template-columns:1fr!important;}}


/* =====================================================================
   HBUREAUTIQUE V52 - CATEGORIES UNIQUEMENT
   - logo fabricant lisible avec fichier source pleine taille
   - logo + badge parfaitement alignes
   - bouton panier sans aucun style legacy du theme
   - logos des marques plus grands sur la page Toner Laser
   ===================================================================== */

body#category .hlb50-layout .hlb44-brand-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  min-height:46px!important;
  margin:0 0 7px!important;
}
body#category .hlb50-layout .hlb52-brand-logo{
  display:block!important;
  width:118px!important;
  height:42px!important;
  max-width:118px!important;
  max-height:42px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  align-self:center!important;
}
body#category .hlb50-layout .hlb44-type{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  margin:0!important;
  min-height:28px!important;
}

/* V52 : le lien ne porte plus les classes legacy button/btn. */
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button{
  all:unset!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:10px!important;
  background:#e91379!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
  text-decoration:none!important;
  font:700 11px/16px Montserrat,Arial,sans-serif!important;
}
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button .hlb52-cart-label{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
  border:0!important;
  color:#fff!important;
  font:inherit!important;
  line-height:16px!important;
}
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button:before,
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button:after,
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button .hlb52-cart-label:before,
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button .hlb52-cart-label:after{
  content:none!important;
  display:none!important;
}
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button i{
  display:inline-block!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1!important;
}
body#category .hlb50-layout a.hlb52-cart.ajax_add_to_cart_button:hover{
  background:#cf106a!important;
  color:#fff!important;
}

/* Page Toner Laser / marques : dessin inchange, logos simplement plus lisibles. */
body#category .hlb50-subcategory-section .hlb50-subcategory-card{
  grid-template-columns:108px minmax(0,1fr) 14px!important;
}
body#category .hlb50-subcategory-section .hlb50-subcategory-image{
  width:104px!important;
  height:58px!important;
}
body#category .hlb50-subcategory-section .hlb50-subcategory-image img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100px!important;
  max-height:56px!important;
  object-fit:contain!important;
}
