/*
 * MAGHREPAGE — Unified product category filters
 * Version 7.9.193
 * Single canonical component loaded after all legacy theme styles.
 */

@media (min-width: 981px) {
  body .mp-product-list-page .mp-product-list-layout {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
  }

  body .mp-product-list-page .mp-product-filter--uniform {
    position: sticky !important;
    top: 110px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    min-height: 560px !important;
    padding: 20px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: 1px solid #d8eaf5 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .055) !important;
  }
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 34px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__head h2 {
  margin: 0 !important;
  color: #102235 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: -.025em !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__reset {
  margin-left: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #149bd8 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source--uniform {
  display: block !important;
  min-height: 168px !important;
  margin: 0 0 18px !important;
  padding: 18px !important;
  overflow: hidden !important;
  border: 1px solid #dbeaf4 !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .05) !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source-title {
  margin: 0 0 12px !important;
  color: #0b3550 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  letter-spacing: -.01em !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 8px 4px !important;
  border-radius: 12px !important;
  color: #102235 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source--static label {
  cursor: default !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source label:hover {
  background: #eef8fd !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source--static label:hover {
  background: transparent !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #7f8c95 !important;
  border-radius: 50% !important;
  background: #fff !important;
  opacity: 1 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source input[type="radio"]:checked {
  border-color: #149bd8 !important;
  box-shadow: inset 0 0 0 4px #fff !important;
  background: #149bd8 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source strong {
  color: #102235 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__dynamic {
  min-height: 215px !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__group {
  margin: 0 !important;
  padding: 14px 0 !important;
  border-top: 1px solid #e4f0f7 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__group:first-child {
  padding-top: 0 !important;
  border-top: 0 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #102235 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options label {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 7px 4px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #52697b !important;
  cursor: pointer !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options label:hover {
  background: #eef8fd !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #bcd5e4 !important;
  border-radius: 5px !important;
  background: #fff !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options input[type="checkbox"]:checked {
  border-color: #149bd8 !important;
  background: #149bd8 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options input[type="checkbox"]:checked::after {
  content: "✓" !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options strong {
  display: block !important;
  min-width: 0 !important;
  color: #102235 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 950 !important;
  overflow-wrap: anywhere !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__options em {
  margin-left: auto !important;
  color: #8aa0af !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 850 !important;
  text-align: right !important;
}

body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__apply {
  width: 100% !important;
  min-height: 46px !important;
  margin: 14px 0 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #149bd8 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  box-shadow: 0 14px 28px rgba(20, 155, 216, .22) !important;
  cursor: pointer !important;
}

@media (max-width: 980px) {
  body .mp-product-list-page .mp-product-list-layout {
    grid-template-columns: 1fr !important;
  }

  body .mp-product-list-page .mp-product-filter--uniform {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10020 !important;
    width: min(88vw, 360px) !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding: 24px 20px !important;
    overflow-y: auto !important;
    border-radius: 0 26px 26px 0 !important;
  }

  body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__source--uniform {
    min-height: auto !important;
  }

  body .mp-product-list-page .mp-product-filter--uniform .mp-product-filter__dynamic {
    min-height: 0 !important;
  }
}


/* v7.9.199 — Informatique hero full image component */
body .mp-product-list-page--informatique-accessoires .mp-product-list-visual__figure{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:2048 / 683 !important;
  background:#fff !important;
}

body .mp-product-list-page--informatique-accessoires .mp-product-list-visual__figure img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:2048 / 683 !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:24px !important;
}

@media (max-width:767px){
  body .mp-product-list-page--informatique-accessoires .mp-product-list-visual__figure img{
    border-radius:18px !important;
  }
}


/* v7.9.200 — Toners & cartouches: image complète + Type affiché comme Catégorie */
body .mp-product-list-page--toners-cartouches .mp-product-filter__source--toners{
  margin-bottom:20px !important;
}

body .mp-product-list-page--toners-cartouches .mp-product-filter__source--toners p{
  margin:0 !important;
  color:#5f7383 !important;
  font-size:13px !important;
  line-height:1.55 !important;
  font-weight:650 !important;
}

body .mp-product-list-page--toners-cartouches .mp-product-list-visual__figure{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:2048 / 683 !important;
  background:#fff !important;
}

body .mp-product-list-page--toners-cartouches .mp-product-list-visual__figure img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:2048 / 683 !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:24px !important;
}

@media (max-width:767px){
  body .mp-product-list-page--toners-cartouches .mp-product-list-visual__figure img{
    border-radius:18px !important;
  }
}
