/* ========================================
   CLICKNVAN CART BOOKING DISPLAY STYLES
   ======================================== */

/* Hide the colon before booking period - more specific targeting */
.woocommerce .wc-item-meta .variation dt.variation- {
  display: none !important;
}

/* Hide any dt element that contains only a colon */
.woocommerce .wc-item-meta .variation dt:first-child {
  display: none !important;
}

/* Style only the first variation item (our booking period) */
.woocommerce .wc-item-meta .variation dd:first-child p {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1em;
  margin: 5px 0 10px 0;
  padding: 8px 12px;
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f7fa 100%);
  border-left: 4px solid #3498db;
  border-radius: 6px;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .woocommerce .wc-item-meta .variation dd:first-child p {
    font-size: 1em;
    padding: 6px 10px;
    margin: 3px 0 8px 0;
  }
}

/* ========================================
   CLICKNVAN HOMEPAGE SEARCH WIDGET STYLES
   ======================================== */

/* Container principal */
.clicknvan-homepage-search-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 30px;
  border-radius: 20px;
  margin: 40px auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 1000px;
}

/* En-tête */
.homepage-search-header {
  margin-bottom: 40px;
}

.search-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 15px;
  color: white;
}

.search-subtitle {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.9;
  color: white;
}

/* Container des filtres */
.homepage-filters-container {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 20px;
  align-items: end;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.homepage-filters-container > * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.homepage-filters-container * {
  box-sizing: border-box;
}

.homepage-filters-container .filter-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}

.homepage-filters-container .filter-input-group label {
  font-weight: 600;
  font-size: 1rem;
  color: white;
  margin-bottom: 5px;
}

/* Inputs */
.homepage-filters-container .booking-location-input,
.homepage-filters-container .booking-date-input {
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
}

.booking-date-input {
  padding: 14px 16px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

.booking-date-input:focus {
  outline: none !important;
  border-color: #fff !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.filter-input-group input[type="date"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.homepage-filters-container .booking-location-input:focus,
.homepage-filters-container .booking-date-input:focus {
  outline: none;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Container du bouton de recherche */
.filter-button-group {
  display: flex;
  align-items: end;
  width: 100%;
  min-width: 0;
}

/* Bouton de recherche */
.homepage-search-button {
  padding: 14px 30px;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  width: 100%;
  box-sizing: border-box;
  height: 52px;
}

.homepage-search-button:hover {
  background: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.homepage-search-button:active {
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .homepage-filters-container {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 25px;
  }
  .search-title {
    font-size: 2.2rem;
  }
}

/* Mobile - CORRECTION DU CENTRAGE */
@media (max-width: 768px) {
  .clicknvan-homepage-search-wrapper {
    padding: 30px 20px;
    margin: 20px auto !important;
    width: calc(100vw - 40px);
    max-width: none;
    position: static !important;
    left: auto !important;
    transform: none !important;
    /* Centrage avec flexbox sur le parent si possible */
    align-self: center;
  }

  /* Si le parent existe, on le force à centrer */
  .clicknvan-homepage-search-wrapper::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
  }
}

  .homepage-filters-container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 15px;
  }

  .filter-button-group {
    justify-content: center;
  }

  .homepage-search-button {
    width: 100%;
  }

  .search-title {
    font-size: 1.8rem;
  }

  .search-subtitle {
    font-size: 1.1rem;
  }

  /* Styles spécifiques pour iPhone/iOS */
  input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    min-height: 50px !important;
  }

  input[type="date"]::-webkit-datetime-edit {
    display: block !important;
    padding: 0 !important;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1 !important;
    display: block !important;
  }
}

/* Mobile petit */
@media (max-width: 480px) {
  .clicknvan-homepage-search-wrapper {
    margin: 15px auto !important;
    padding: 25px 15px;
    width: calc(100vw - 30px);
    position: static !important;
    left: auto !important;
    transform: none !important;
    max-width: none;
    box-sizing: border-box;
  }
}

  .homepage-filters-container {
    padding: 15px 10px;
    gap: 12px;
  }

  .homepage-filters-container .booking-location-input,
  .homepage-filters-container .booking-date-input,
  .booking-date-input {
    padding: 10px 12px !important;
    font-size: 14px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .homepage-search-button {
    padding: 10px 20px;
    font-size: 14px;
    height: 44px;
  }

  .search-title {
    font-size: 1.5rem;
  }

  .search-subtitle {
    font-size: 1rem;
  }
}

















/* ========================================
   SIDEBAR FILTERS STYLES
   ======================================== */

/* Container des filtres sidebar */
.sidebar-filters-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 30px;
  border: 1px solid #e8e8e8;
  position: relative;
}

.sidebar-filters-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-filters-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.sidebar-filters-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Individual facet wrapper */
.sidebar-facet-wrapper {
  margin-bottom: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.sidebar-facet-wrapper:hover {
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-facet-wrapper.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Facet titles */
.sidebar-facet-title {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 14px 18px;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
}

.sidebar-facet-wrapper.collapsed .sidebar-facet-title {
  border-bottom: none;
}

.facet-label {
  flex: 1;
}

/* Toggle button */
.facet-toggle {
  background: none;
  border: none;
  font-size: 18px;
  color: #6c757d;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
}

.facet-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #495057;
}

.facet-toggle-icon {
  display: block;
  font-weight: bold;
}

/* Facet content */
.sidebar-facet-content {
  padding: 16px 18px;
  transition: all 0.3s ease;
  max-height: none;
  overflow: visible;
}

.sidebar-facet-content.facet-slider {
  padding: 20px 18px;
}

.sidebar-facet-wrapper.collapsed .sidebar-facet-content {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

/* Dropdowns styling */
.sidebar-facet-content .facetwp-dropdown {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
  color: #333;
  transition: border-color 0.3s ease;
}

.sidebar-facet-content .facetwp-dropdown:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Checkboxes styling */
.sidebar-facet-content .facetwp-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  padding: 6px 0;
}

.sidebar-facet-content .facetwp-checkbox:hover {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 8px;
}

.sidebar-facet-content .facetwp-checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.1);
  accent-color: #667eea;
}

.sidebar-facet-content .facetwp-checkbox-label {
  flex: 1;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-facet-content .facetwp-counter {
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
  background: #f8f9fa;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* Radio buttons styling */
.sidebar-facet-content .facetwp-radio {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  padding: 6px 0;
}

.sidebar-facet-content .facetwp-radio:hover {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 8px;
}

.sidebar-facet-content .facetwp-radio input[type="radio"] {
  margin-right: 10px;
  transform: scale(1.1);
  accent-color: #667eea;
}

.sidebar-facet-content .facetwp-radio-label {
  flex: 1;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Slider styling */
.sidebar-facet-content .facetwp-slider {
  margin: 20px 0;
}

.sidebar-facet-content .noUi-connect {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar-facet-content .noUi-handle {
  background: #fff;
  border: 3px solid #667eea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sidebar-facet-content .noUi-handle:before,
.sidebar-facet-content .noUi-handle:after {
  background: #667eea;
}

.sidebar-facet-content .noUi-tooltip {
  background: #333;
  color: white;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
}

/* Slider values labels */
.slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666;
}

.slider-min,
.slider-max {
  font-weight: 500;
}

/* Clear filters button */
.clear-all-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.clear-all-filters:hover {
  background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  color: white;
  text-decoration: none;
}

.clear-all-filters:active {
  transform: translateY(0);
}

/* Active selections styling */
.facetwp-facet .facetwp-checkbox input:checked + .facetwp-checkbox-label,
.facetwp-facet .facetwp-radio input:checked + .facetwp-radio-label {
  color: #667eea;
  font-weight: 600;
}

.facetwp-facet
  .facetwp-checkbox
  input:checked
  + .facetwp-checkbox-label
  .facetwp-counter,
.facetwp-facet
  .facetwp-radio
  input:checked
  + .facetwp-radio-label
  .facetwp-counter {
  background: #667eea;
  color: white;
}

/* Selected dropdown styling */
.sidebar-facet-content .facetwp-dropdown option:checked {
  background: #667eea;
  color: white;
}

/* Clear filters wrapper styling */
.sidebar-facet-wrapper.clear-filters-wrapper {
  border: none;
  background: none;
  margin-bottom: 0;
  margin-top: 24px;
}

.sidebar-facet-wrapper.clear-filters-wrapper .sidebar-facet-content {
  padding: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .sidebar-filters-container {
    padding: 16px;
    margin-bottom: 20px;
  }

  .sidebar-facet-title {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .sidebar-facet-content {
    padding: 12px 16px;
  }

  .sidebar-facet-content.facet-slider {
    padding: 16px;
  }
}

/* Loading states */
.sidebar-filters-container.loading {
  opacity: 0.7;
  pointer-events: none;
}

.sidebar-filters-container.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

/* FacetWP specific overrides */
.facetwp-facet {
  margin-bottom: 0 !important;
}

.facetwp-facet .facetwp-facet-label {
  display: none; /* Hide default labels since we use custom ones */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-facet-wrapper {
  animation: fadeIn 0.3s ease-out;
}



/* === Wrapper global avec fond bleu clair === */
/* === Wrapper global avec fond bleu clair === */
.clicknvan-homepage-search-wrapper {
  background: #F8F8F8;
  border-radius: 12px;
  color: #000;
  padding: 15px 0 15px 0;
  max-width: 1020px;
  margin: 0 auto;
}

/* === Layout intact (grid) === */
.homepage-filters-container {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 15px;
  padding: 0 10px;
  background: none;
  border: none;
}

/* === Groupes de champs === */
.homepage-filters-container .filter-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* === Labels === */
.homepage-filters-container .filter-input-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
}

/* === Inputs === */
.homepage-filters-container .booking-location-input,
.homepage-filters-container .booking-date-input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  color: #333;
  transition: border-color 0.3s ease;
}

.homepage-filters-container .booking-location-input:focus,
.homepage-filters-container .booking-date-input:focus {
  border-color: #888;
  outline: none;
}

/* === Bouton de recherche === */
.homepage-search-button {
  padding: 12px 20px;
  background: #63AB45 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  box-shadow: none !important;
}

.homepage-search-button:hover {
  background: #2e7d32 !important;
}

/* ====== RESPONSIVE ====== */

/* Tablette */
@media (max-width: 768px) {
  .homepage-filters-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 15px;
    padding: 0 15px;
  }
  .homepage-filters-container .filter-input-group:nth-child(1) {
    grid-column: 1 / -1;
  }
  .homepage-search-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .clicknvan-homepage-search-wrapper {
    margin: 0 10px;
    max-width: none;
  }
  .homepage-filters-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .homepage-filters-container .filter-input-group,
  .homepage-filters-container .booking-location-input,
  .homepage-filters-container .booking-date-input,
  .homepage-search-button {
    width: 100%;
    box-sizing: border-box;
  }
  .homepage-search-button {
    margin-top: 5px;
    justify-content: center;
  }
  .clicknvan-homepage-search-wrapper {
    padding: 15px 0 20px 0;
  }
}

/* Très petit mobile */
@media (max-width: 360px) {
  .homepage-filters-container {
    padding: 0 10px;
    gap: 12px;
  }
  .homepage-filters-container .booking-location-input,
  .homepage-filters-container .booking-date-input {
    padding: 10px;
    font-size: 14px;
  }
  .homepage-search-button {
    padding: 14px 16px;
    font-size: 15px;
  }
}





.facetwp-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 24px; /* espace réservé à la case */
  margin-bottom: 8px;
}

.facetwp-checkbox::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 3px;
  background: linear-gradient(to bottom, #fff, #eee);
}


.facetwp-reset {
  display: inline-block;
  background-color: #28a745; /* vert */
  color: white !important;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.facetwp-reset:hover {
  background-color: #218838; /* vert foncé au survol */
}




/* FILTRE PAGE RECHERCHE */

/* === SLIDER (PRIX PAR JOUR) === */

/* Couleur de la barre sélectionnée */
.noUi-connect {
  background: #28a745 !important;
}

/* Poignées du slider */
.noUi-handle {
  border: 2px solid #28a745 !important;
  background: white !important;
  box-shadow: none !important;
  width: 20px !important;
  height: 20px !important;
  top: -4px !important; /* recentre verticalement */
  border-radius: 4px;
}

/* Zone tactile autour des poignées (optionnel) */
.noUi-touch-area {
  background: transparent !important;
}

/* Barre globale du slider */
.noUi-target {
  height: 8px !important;
  border-radius: 4px;
}

/* === ESPACEMENT GÉNÉRAL === */
.facetwp-facet {
  margin-bottom: 25px; /* Espace entre chaque section de filtre */
}

.facetwp-type-checkboxes {
  margin-bottom: 30px;
}

.facetwp-facet h4,
.facetwp-facet .facet-label {
  margin-bottom: 15px;
  margin-top: 0;
}

/* === ESPACEMENT GÉNÉRAL === */
.facetwp-facet {
  margin-bottom: 30px; /* Espace entre chaque section de filtre */
}

.facetwp-type-checkboxes {
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.facetwp-type-slider {
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.facetwp-facet h4,
.facetwp-facet .facet-label {
  margin-bottom: 15px;
  margin-top: 0;
}

/* Espacement spécifique entre les groupes de filtres */
.facetwp-facet + .facetwp-facet {
  margin-top: 25px;
}






















/* === ESPACEMENT GÉNÉRAL === */
.facetwp-facet {
  margin-bottom: 30px; /* Espace entre chaque section de filtre */
}

.facetwp-type-checkboxes {
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.facetwp-type-slider {
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.facetwp-facet h4,
.facetwp-facet .facet-label {
  margin-bottom: 15px;
  margin-top: 0;
}

/* Espacement spécifique entre les groupes de filtres */
.facetwp-facet + .facetwp-facet {
  margin-top: 25px;
}

/* === CASES À COCHER === */
.facetwp-checkbox {
  display: flex;
  align-items: center;
  gap: 8px; /* espace entre case et texte */
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.2s ease;
  margin-bottom: 8px;
}

.facetwp-checkbox::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #28a745;
  border-radius: 3px;
  background: white;
  margin-right: 20px; /* AJOUT DE CETTE LIGNE */
  flex-shrink: 0;
}



/* Ajoutez aussi une marge directement sur le texte */
.facetwp-display-value {
  color: #333;
  font-weight: 500;
  font-size: 15px;
  margin-left: 12px; /* ESPACE FORCÉ entre case et texte */
  flex-grow: 1;
}

/* COMPTEUR (1) à droite */
.facetwp-counter {
  margin-left: auto;
  background: #f6f6f6;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.9em;
  color: #666;
  flex-shrink: 0;
}

/* === SLIDER === */
/* Gardez votre CSS slider existant ici */

/* === BOUTON "EFFACER TOUS LES FILTRES" - VERSION ULTRA RENFORCÉE === */
button.clear-all-filters {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #28a745 !important;
  background: #28a745 !important;
  color: white !important;
  border: none !important;
  border-color: #28a745 !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  width: 100% !important;
  margin-top: 20px !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

button.clear-all-filters:hover,
button.clear-all-filters:focus,
button.clear-all-filters:active {
  background-color: #218838 !important;
  background: #218838 !important;
  color: white !important;
  border-color: #218838 !important;
}

/* Forcer sur tous les états possibles */
.clear-all-filters,
input.clear-all-filters,
a.clear-all-filters {
  background-color: #28a745 !important;
  background: #28a745 !important;
  color: white !important;
}

/* Icône dans le bouton */
.clear-all-filters img,
button.clear-all-filters img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* Force l'icône en blanc */
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .facetwp-facet {
    margin-bottom: 20px;
  }

  .facetwp-checkbox {
    padding: 8px 12px;
  }
}


.facetwp-display-value {
  padding-left: 25px !important;
}




.homepage-search-header {
  display: none;
}