body { outline: 10px solid red !important; }


/* FORCE FOND BLANC PARTOUT */

html, body {
  background-color: #ffffff !important;
}

#page,
#wrapper,
#content-wrapper,
#main,
#content,
.page-content,
#products {
  background-color: #ffffff !important;
}

/* SUPPRIME OMBRES / CADRES */

#wrapper {
  box-shadow: none !important;
}

/* === FILTRES FACETÉS : CHECKBOX RONDES (PROPRE + CLIQUABLE) === */

/* aligne le texte */
#search_filters .facet-label {
  position: relative !important;
  display: block !important;
  padding-left: 28px !important; /* place pour le rond */
  line-height: 1.4 !important;
  cursor: pointer !important;
}

/* rend la checkbox invisible MAIS cliquable */
#search_filters .facet-label input[type="checkbox"] {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  opacity: 0 !important;
  margin: 0 !important;
  z-index: 2 !important;
  cursor: pointer !important;
}

/* cercle vide */
#search_filters .facet-label::before {
  content: "" !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #000 !important;
  border-radius: 50% !important;
  background: #fff !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-sizing: border-box !important;
}

/* point rempli quand coché */
#search_filters .facet-label:has(input[type="checkbox"]:checked)::after {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  background: #000 !important;
  border-radius: 50% !important;
  position: absolute !important;
  left: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* enlève le faux carré natif du thème */
#search_filters .custom-checkbox,
#search_filters .checkbox,
#search_filters .ps-shown-by-js .custom-checkbox {
  display: none !important;
}

/* === FILTRES : VERSION PLUS COMPACTE === */

/* Titre "FILTRER PAR" */
#search_filters h4,
#search_filters .title {
  font-size: 10px !important;
  margin-bottom: 6px !important;
}

/* Sous-titre ex: Taille */
#search_filters .facet-title {
  font-size: 13px !important;
  margin-bottom: 4px !important;
}

/* Lignes des filtres */
#search_filters .facet-label {
  font-size: 12px !important;
  padding-left: 22px !important;
  margin-bottom: 4px !important;
}

/* Cercle extérieur */
#search_filters .facet-label::before {
  width: 12px !important;
  height: 12px !important;
  border-width: 0.8px !important;
}

/* Point intérieur */
#search_filters .facet-label:has(input[type="checkbox"]:checked)::after {
  width: 5px !important;
  height: 5px !important;
  left: 3.5px !important;
}

.cart-preview,
.ps-shoppingcart,
.cart-sidebar,
.offcanvas,
.modal-content {
  background-color: #ffffff !important;
}

