/* Style du switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-right: 8px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #0072c5;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Texte et compteur */
.filter-item {
/*  display: flex;*/
  align-items: center;
  font-family: sans-serif;
  margin: 10px 0;
}


.badge {
  background: #e0f7f7;
  color: #0072c5;
  font-size: 12px;
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 5px;
}

.filter-container {
    max-width: 300px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.filter-item {
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-button {
    width: 100%;
    padding: 5px 5px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    color: #0072c5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.filter-button:hover {
    background-color: #f8f9fa;
}

.filter-button:focus {
    outline: none;
    background-color: #e9ecef;
}

.filter-label {
    font-weight: 500;
}

.chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid #0072c5;
    border-bottom: 2px solid #0072c5;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.filter-item.active .chevron {
    transform: rotate(-135deg);
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
}

.filter-item.active .filter-content {
    max-height: 200px;
}

.filter-options {
    padding: 16px 20px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.filter-option:last-child {
    margin-bottom: 0;
}

.filter-option input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.filter-option label {
    font-size: 12px;
    color: #0072c5;
    cursor: pointer;
}

.results-container {
    max-width: 800px;
    margin: 40px auto 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.results-header {
    font-size: 18px;
    font-weight: 600;
    color: #0072c5;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #0072c5;
}

.product-item {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.product-item:hover {
    background-color: #f8f9fa;
}

.product-item:last-child {
    border-bottom: none;
}

.product-name {
    font-weight: 500;
    color: #0072c5;
    margin-bottom: 4px;
}

.product-details {
    font-size: 14px;
    color: #0072c5;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #0072c5;
    font-style: italic;
}

/* Positionnement de la piste pour qu'elle soit au centre des curseurs */
.cls_fs.slider-container {
  position: relative;
  width: 100%;
  margin: 50px auto;
  height: 20px; /* Ajoute une hauteur pour que tout soit visible */
}

/* Positionnement de la piste pour qu'elle soit au centre des curseurs */
.cls_fs .slider-track {
  display: flex;
  height: 5px;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: all; /* Permet de cliquer sur les inputs */
}

.cls_fs .segment {
  height: 10px;
  margin-top: -6px;
}

.cls_fs .segment-left,.cls_fs .segment-right {
  background-color: #e0e0e0; /* Gris */
}

.cls_fs .segment-center {
  background: linear-gradient(to right, #0072c5, #0072ff); /* Bleu */
  height: 10px;
  margin-top: -6px; 
}

.cls_fs .price_segment-left,.cls_fs .price_segment-right {
  background-color: #e0e0e0; /* Gris */
}

.cls_fs .price_segment-center {
  background: linear-gradient(to right, #0072c5, #0072ff); /* Bleu */
  height: 10px;
  margin-top: -6px; 
}
/*
.cls_fs .range-inputs {
  position: relative;
  height: 100%;
}
*/

.cls_fs .range-inputs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}

/* ✅ Slider commun */
.cls_fs .range-inputs input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: all;
  margin: 0;
}

/* ✅ Curseur (thumb) */
.cls_fs .range-inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background-color: #0072c5;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.range-inputs input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background-color: #0072c5;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  position: relative;
  z-index: 3;
}
/* Style pour les valeurs */
.cls_fs .values-display {
  position: relative;
  width: 100%;
  height: 20px;
  padding-top: 10px;
}
.cls_fs  .range_span_min{
  margin-left: 5px;
}

.cls_fs .range_span_max {
  margin-left: -10px;
}

.cls_fs #min-value-display, .cls_fs #max-value-display {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  padding-top: 10px!important ;
}
.cls_fs #price_min-value-display, .cls_fs #price_max-value-display {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  padding-top: 10px!important ;
}
.show_post.ts-box-col-wrapper {
    /* (100% / 4) - espace = 24% */
    width: 23%!important;
    margin-bottom: 10px;
    /* Ajoutez d'autres styles comme height: 350px; ici */
}

.cls_href_acf.active{
  color: #1948ac!important;;
  font-size: 150%;
}
.cls_href_acf{
  z-index: 1050;
  color: #348ed0;
  font-size: 100%;
}