/* Styles pour les filtres de produits */
.filters-container {
    background-color:#121212;
    border: none;
    border-radius: 0px;
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .filters-container .form-label {
    color: #f1f1f1;
    font-weight: 400; /* normal weight */
    margin-bottom: 8px;
  }
  
  .filters-container .form-select {
    background-color: #333;
    color: #f1f1f1;
    border: 1px solid #555;
    border-radius: 0px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e49b0f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .filters-container .form-select:focus {
    border-color: #e49b0f;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(228, 155, 15, 0.25);
  }
  
  .price-slider-container {
    margin-top: 5px;
  }
  
  .price-slider-container .form-control {
    text-align: center;
  }



/*///////////////// integration filtre */

.container-input-filtre {
  position:relative;
  top:-11px;
}

.price-input {
  width: 100%;
  display: flex;
  margin: 10px 0 15px;
  position: relative;
}
.price-input .field {
  display: flex;
  width: 60px;
  height: 39px;
  align-items: center;
  position: absolute;
  z-index: 10;
  top: -4px;
}
.price-input .field:first-child {
  left: 0;
}
.price-input .field:last-child {
  right: 0;
}
.price-input .field span {
    color: #aaa;
    margin-right: 4px;
    font-size: 12px;
}
.field input {
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 12px;
  margin-left: 0;
  border-radius: 0px;
  text-align: center;
  border: 1px solid #555;
  background-color: #333;
  color: #f1f1f1;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.price-input .separator {
  display: none;
}
.slider {
  height: 4px;
  position: relative;
  background: #555;
  border-radius: 2px;
  margin: 0 70px;
}
.slider .progress {
  height: 100%;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 2px;
  background: #e49b0f;
}
.range-input {
  position: relative;
  margin: 0 70px;
}
.range-input input {
  position: absolute;
  width: 100%;
  height: 4px;
  top: -4px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: #e49b0f;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  height: 15px;
  width: 15px;
  border: none;
  border-radius: 50%;
  background: #e49b0f;
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.filtre-chevron-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10), 0 1.5px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #6b6b6b;
    transition: box-shadow 0.2s;
}


/* Chevron arrondi avec effet de relief */
.chevron-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10), 0 1.5px 0.5px rgba(0,0,0,0.04);
  border: 1px solid #696969;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.chevron-toggle:active {
  background: #000000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.chevron-toggle .bi {
  font-size: 1.2rem;
  transition: transform 0.5s;
}
.chevron-toggle.rotate .bi {
  transform: rotate(-180deg);
}
.filters-panel-collapsed {
  display: none !important;
}

.filtre-actif {
    border: 1px solid #e49b0f !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

@media (max-width: 600px) {
  .filters-container {
    padding: 10px 6px;
    margin-bottom: 18px;
    border-radius: 0px;
  }
  .filters-container .form-label {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .filters-container .form-select {
    font-size: 13px;
    padding: 6px 8px;
    min-height: 36px;
  }
  .filters-container .d-flex.align-items-center.mb-2 {
    margin-bottom: 6px !important;
  }
  .filters-container .fs-18.bold {
    font-size: 16px !important;
  }
  .chevron-toggle {
    width: 28px;
    height: 28px;
  }
  .chevron-toggle .bi {
    font-size: 1rem;
  }
  #filters-panel {
    padding: 15px;
  }

  #filters-panel .row {
    flex-direction: column;
    gap: 10px;
  }
  #filters-panel .col-md-4 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 0;
  }
  .container-input-filtre {
    top: 0;
    margin-bottom: 0;
  }
  .price-input {
    margin: 6px 0 10px 0;
  }
  .price-input .field {
    width: 48px;
    height: 32px;
    font-size: 12px;
    top: -2px;
  }
  .slider {
    margin: 0 54px;
    height: 3px;
  }
  .range-input {
    margin: 0 54px;
  }
  input[type="range"]::-webkit-slider-thumb,
  input[type="range"]::-moz-range-thumb {
    height: 12px;
    width: 12px;
  }
  .filters-container {
    box-shadow: none;
  }
}