/*
HBUREAUTIQUE V41 - CATEGORIES PRODUITS MODERNES
TOUT EST SCOPE SOUS body#category.
Aucun impact sur header / accueil / produit / contact / footer / recherche.
*/

/* ========== structure sous la barre bleue ========== */
body#category .hlb26-content-row{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  gap:20px!important;
  margin-left:0!important;
  margin-right:0!important;
}
body#category #left_column{
  flex:0 0 285px!important;
  width:285px!important;
  max-width:285px!important;
  padding:0!important;
}
body#category #center_column{
  flex:1 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body#category #right_column{display:none!important;}

/* Masque les vieux blocs latéraux : on conserve uniquement les vrais filtres PrestaShop */
body#category #left_column > .block:not(#layered_block_left),
body#category #left_column > div:not(#layered_block_left):not(#layered_ajax_loader){
  display:none!important;
}

/* ========== filtres natifs blocklayered, restylés ========== */
body#category #layered_block_left{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0 16px 16px!important;
  background:#fff!important;
  border:1px solid #dce8f0!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(17,73,111,.06)!important;
  overflow:hidden!important;
}
body#category #layered_block_left .title_block{
  margin:0 -16px 4px!important;
  padding:18px 18px 14px 44px!important;
  background:#fff!important;
  color:#0a467a!important;
  border:0!important;
  border-bottom:1px solid #e5edf3!important;
  font:700 18px/22px Montserrat,Arial,sans-serif!important;
  position:relative!important;
}
body#category #layered_block_left .title_block:before{
  content:"\f1de"!important;
  font-family:FontAwesome!important;
  position:absolute!important;
  left:18px!important;
  top:19px!important;
  color:#e91379!important;
  font-size:15px!important;
}
body#category #layered_block_left .block_content{
  padding:0!important;
  background:#fff!important;
}
body#category #layered_block_left #enabled_filters{
  margin:10px 0!important;
  padding:10px!important;
  border:1px solid #e4edf3!important;
  border-radius:10px!important;
  background:#f8fbfd!important;
}
body#category #layered_block_left .layered_filter,
body#category #layered_block_left [class^="layered_"]{
  float:none!important;
}
body#category #layered_block_left .layered_filter{
  margin:0!important;
  padding:0 0 10px!important;
  border-bottom:1px solid #e7eef3!important;
}
body#category #layered_block_left .layered_subtitle_heading{
  margin:0!important;
  padding:14px 4px 8px!important;
}
body#category #layered_block_left .layered_subtitle{
  color:#0a467a!important;
  font:700 14px/18px Montserrat,Arial,sans-serif!important;
}
body#category #layered_block_left ul{
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:0 4px!important;
}
body#category #layered_block_left li{
  float:none!important;
  width:100%!important;
  min-height:28px!important;
  margin:0!important;
  padding:3px 0!important;
  list-style:none!important;
}
body#category #layered_block_left label,
body#category #layered_block_left label a{
  color:#48677e!important;
  font:500 12px/18px Montserrat,Arial,sans-serif!important;
  text-decoration:none!important;
}
body#category #layered_block_left input[type=checkbox],
body#category #layered_block_left input[type=radio]{
  width:17px!important;
  height:17px!important;
  margin:0 7px 0 0!important;
  vertical-align:middle!important;
  accent-color:#075eaa!important;
}
body#category #layered_block_left .color-option{
  width:18px!important;
  height:18px!important;
  border-radius:50%!important;
  border:1px solid #cadbe6!important;
  margin-right:7px!important;
}
body#category #layered_block_left .hide-action{
  display:inline-block!important;
  margin:6px 0 0 4px!important;
  color:#075eaa!important;
  font-size:10px!important;
  font-weight:700!important;
}
body#category #layered_block_left .layered_slider_container{margin:10px 5px!important;}
body#category #layered_block_left .ui-slider .ui-slider-range{background:#0785d1!important;}
body#category #layered_block_left .ui-slider .ui-slider-handle{
  border-radius:50%!important;
  border:2px solid #0785d1!important;
  background:#fff!important;
}

/* ========== entête catégorie ========== */
body#category .hlb41-category-page{
  font-family:Montserrat,Arial,sans-serif!important;
  color:#153f69!important;
}
body#category .hlb41-category-heading{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:20px!important;
  margin:0 0 14px!important;
  padding:18px 22px!important;
  background:#fff!important;
  border:1px solid #dce8f0!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(17,73,111,.045)!important;
}
body#category .hlb41-category-kicker{
  display:block!important;
  margin-bottom:4px!important;
  color:#e91379!important;
  font:700 9px/12px Montserrat,Arial,sans-serif!important;
  letter-spacing:1.4px!important;
  text-transform:uppercase!important;
}
body#category .hlb41-category-heading h1{
  margin:0!important;
  padding:0!important;
  color:#082f63!important;
  font:700 28px/34px Montserrat,Arial,sans-serif!important;
  text-transform:none!important;
}
body#category .hlb41-category-description{
  max-width:860px!important;
  margin-top:6px!important;
  color:#5b7487!important;
  font:500 11px/17px Montserrat,Arial,sans-serif!important;
}
body#category .hlb41-category-description p{margin:0!important;}
body#category .hlb41-category-count{
  min-width:92px!important;
  text-align:right!important;
}
body#category .hlb41-category-count strong{
  display:block!important;
  color:#e91379!important;
  font:700 24px/26px Montserrat,Arial,sans-serif!important;
}
body#category .hlb41-category-count span{
  color:#71899b!important;
  font:600 10px/14px Montserrat,Arial,sans-serif!important;
}

/* ========== sous-catégories ========== */
body#category .hlb41-subcategories{
  margin:0 0 14px!important;
  padding:14px!important;
  background:#fff!important;
  border:1px solid #dce8f0!important;
  border-radius:16px!important;
}
body#category .hlb41-section-title{
  margin-bottom:10px!important;
  color:#0a467a!important;
  font:700 13px/18px Montserrat,Arial,sans-serif!important;
}
body#category .hlb41-subcategory-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:9px!important;
}
body#category .hlb41-subcategory-card{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:62px!important;
  padding:7px 9px!important;
  border:1px solid #e0eaf1!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#174f79!important;
  text-decoration:none!important;
  transition:.15s ease!important;
}
body#category .hlb41-subcategory-card:hover{
  border-color:#acd4ec!important;
  box-shadow:0 5px 14px rgba(17,73,111,.07)!important;
}
body#category .hlb41-subcategory-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:50px!important;
  height:48px!important;
  flex:0 0 50px!important;
}
body#category .hlb41-subcategory-image img{
  max-width:48px!important;
  max-height:46px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
body#category .hlb41-subcategory-card strong{
  font:700 10px/14px Montserrat,Arial,sans-serif!important;
}

/* ========== barre tri ========== */
body#category .hlb41-category-toolbar{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 12px!important;
}
body#category .hlb41-category-toolbar-left{
  color:#59748a!important;
  font:500 12px/18px Montserrat,Arial,sans-serif!important;
}
body#category .hlb41-category-toolbar-left strong{color:#082f63!important;}
body#category .hlb26-sort-form{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
}
body#category .hlb26-sort-form label{display:none!important;}
body#category .hlb26-sort-form .selectProductSort{
  min-width:225px!important;
  height:42px!important;
  border:1px solid #d9e6ee!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#244f70!important;
  padding:0 38px 0 12px!important;
  font:500 11px/42px Montserrat,Arial,sans-serif!important;
  box-shadow:none!important;
}

/* ========== cartes produit horizontales ========== */
body#category .hlb41-category-product-list{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body#category .hlb26-listing-card{
  float:none!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:0!important;
  display:block!important;
}
body#category .hlb26-listing-card-inner{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr) 245px!important;
  min-height:200px!important;
  background:#fff!important;
  border:1px solid #dce8f0!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(17,73,111,.045)!important;
  overflow:hidden!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
body#category .hlb26-listing-card-inner:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 28px rgba(17,73,111,.08)!important;
}
body#category .hlb26-listing-photo{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:15px 13px!important;
  background:#fff!important;
}
body#category .hlb26-listing-photo a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
}
body#category .hlb26-listing-photo img{
  display:block!important;
  max-width:95%!important;
  max-height:160px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
body#category .hlb26-listing-info{
  padding:15px 17px 13px!important;
  min-width:0!important;
  border-right:1px solid #e4edf3!important;
}
body#category .hlb26-listing-brand-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:30px!important;
  margin-bottom:5px!important;
}
body#category .hlb26-listing-brand{
  display:flex!important;
  align-items:center!important;
  min-height:28px!important;
}
body#category .hlb26-listing-brand-logo{
  display:block!important;
  max-width:105px!important;
  max-height:31px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
body#category .hlb26-listing-type-badge{
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:#eaf4ff!important;
  color:#0874bf!important;
  font:700 10px/26px Montserrat,Arial,sans-serif!important;
}
body#category .hlb26-listing-type-badge.is-premium{background:#ffe5f1!important;color:#e91379!important;}
body#category .hlb26-listing-type-badge.is-compatible{background:#eef5ef!important;color:#2b8b4b!important;}
body#category .hlb26-listing-info h2{margin:0 0 4px!important;padding:0!important;}
body#category .hlb26-listing-info h2 a{
  display:block!important;
  color:#102f59!important;
  text-decoration:none!important;
  font:700 17px/22px Montserrat,Arial,sans-serif!important;
  text-transform:none!important;
}
body#category .hlb26-listing-info h2 a:hover{color:#e91379!important;}
body#category .hlb26-listing-ref{
  color:#70879a!important;
  font:500 10.5px/15px Montserrat,Arial,sans-serif!important;
  margin-bottom:3px!important;
}
body#category .hlb26-listing-reviews{min-height:20px!important;margin:1px 0 3px!important;}
body#category .hlb26-listing-stock{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:4px 0 5px!important;
  font:700 11px/16px Montserrat,Arial,sans-serif!important;
}
body#category .hlb26-listing-stock i{
  display:block!important;
  width:10px!important;
  height:10px!important;
  border-radius:50%!important;
  flex:0 0 10px!important;
}
body#category .hlb26-listing-stock.is-stock{color:#169128!important;}
body#category .hlb26-listing-stock.is-stock i{background:#12b42b!important;}
body#category .hlb26-listing-stock.is-reappro{color:#df8311!important;}
body#category .hlb26-listing-stock.is-reappro i{background:#f19a13!important;}
body#category .hlb26-listing-compat{
  margin-top:5px!important;
  color:#526f86!important;
  font:500 10.5px/15px Montserrat,Arial,sans-serif!important;
}
body#category .hlb26-listing-compat strong{color:#335c79!important;}

body#category .hlb26-listing-buy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:15px 16px!important;
  background:#fff!important;
}
body#category .hlb26-listing-price{margin:0 0 10px!important;}
body#category .hlb26-listing-price-ttc{
  color:#e91379!important;
  font:700 24px/28px Montserrat,Arial,sans-serif!important;
  white-space:nowrap!important;
}
body#category .hlb26-listing-price-ht{
  color:#617c90!important;
  font:500 11px/16px Montserrat,Arial,sans-serif!important;
  margin-top:2px!important;
}
body#category .hlb26-listing-qty{
  display:grid!important;
  grid-template-columns:38px 54px 38px!important;
  justify-content:start!important;
  margin-bottom:10px!important;
}
body#category .hlb26-qty-btn,
body#category .hlb26-listing-qty input{
  height:36px!important;
  border:1px solid #d2e0e9!important;
  background:#fff!important;
  color:#1a4f75!important;
  text-align:center!important;
}
body#category .hlb26-qty-btn{font-size:18px!important;font-weight:700!important;}
body#category .hlb26-qty-minus{border-radius:9px 0 0 9px!important;}
body#category .hlb26-qty-plus{border-radius:0 9px 9px 0!important;}
body#category .hlb26-listing-qty input{
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  padding:0!important;
}
body#category .hlb26-listing-cart .ajax_add_to_cart_button{
  width:100%!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-radius:10px!important;
  background:#e91379!important;
  color:#fff!important;
  font:700 11px/16px Montserrat,Arial,sans-serif!important;
  box-shadow:none!important;
}
body#category .hlb26-listing-cart .ajax_add_to_cart_button:hover{background:#cf0f69!important;}
body#category .hlb26-listing-wishlist{
  min-height:24px!important;
  margin-top:7px!important;
  text-align:center!important;
}
body#category .hlb26-listing-wishlist a{
  color:#7890a1!important;
  font-size:10px!important;
  text-decoration:none!important;
}

/* ========== pagination ========== */
body#category .hlb41-category-pagination{
  margin-top:16px!important;
}
body#category .hlb41-category-pagination .pagination{
  margin:0!important;
}
body#category .hlb41-category-pagination .product-count{
  color:#72899a!important;
  font-size:10px!important;
}

/* caches anciens éléments category qui pourraient être injectés */
body#category .hlb26-category-hero,
body#category #subcategories,
body#category .page-heading.product-listing,
body#category .content_sortPagiBar{
  display:none!important;
}

/* ========== responsive ========== */
@media(max-width:1199px){
  body#category #left_column{flex-basis:255px!important;width:255px!important;max-width:255px!important;}
  body#category .hlb26-listing-card-inner{grid-template-columns:190px minmax(0,1fr) 225px!important;}
  body#category .hlb41-subcategory-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:900px){
  body#category .hlb26-content-row{display:block!important;}
  body#category #left_column,
  body#category #center_column{
    width:100%!important;
    max-width:none!important;
  }
  body#category #left_column{margin-bottom:14px!important;}
  body#category #layered_block_left{position:static!important;}
  body#category .hlb26-listing-card-inner{grid-template-columns:170px minmax(0,1fr)!important;}
  body#category .hlb26-listing-buy{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:1fr auto 220px!important;
    align-items:center!important;
    gap:10px!important;
    border-top:1px solid #e4edf3!important;
  }
  body#category .hlb26-listing-price,
  body#category .hlb26-listing-qty{margin:0!important;}
  body#category .hlb41-subcategory-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:600px){
  body#category .hlb41-category-heading{align-items:flex-start!important;padding:15px!important;}
  body#category .hlb41-category-heading h1{font-size:23px!important;line-height:29px!important;}
  body#category .hlb41-category-count{display:none!important;}
  body#category .hlb41-category-toolbar{display:block!important;}
  body#category .hlb41-category-toolbar-right{margin-top:8px!important;}
  body#category .hlb26-sort-form .selectProductSort{width:100%!important;min-width:0!important;}
  body#category .hlb26-listing-card-inner{display:block!important;}
  body#category .hlb26-listing-photo{height:170px!important;}
  body#category .hlb26-listing-info{border-right:0!important;border-top:1px solid #eef3f6!important;}
  body#category .hlb26-listing-buy{display:block!important;border-top:1px solid #e4edf3!important;}
  body#category .hlb26-listing-price,
  body#category .hlb26-listing-qty{margin-bottom:10px!important;}
  body#category .hlb41-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
