/* --- 1. TRANSFORMATION DU BANDEAU EN BARRE LUXE (Façon image_998aa7.jpg) --- */
.klaro .cookie-notice {
  position: fixed !important;
  bottom: 0 !important; left: 0 !important; width: 100% !important;
  background-color: #ffffff !important; /* Fond blanc */
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
  padding: 25px 40px !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

/* Force l'alignement Texte à gauche / Boutons à droite */
.klaro .cookie-notice .cn-body {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 100% !important;
}

/* Le texte de description */
.klaro .cookie-notice .cn-body p {
  color: #333333 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  max-width: 50% !important;
  margin: 0 !important;
}

/* Le bloc contenant les boutons */
.klaro .cookie-notice .cn-ok {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
}

/* --- 2. DESIGN DES BOUTONS (Angles droits, style épuré) --- */
.klaro .cm-btn {
  padding: 12px 20px !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: bold !important;
  border-radius: 0px !important; /* Carrés */
  box-shadow: none !important;
  height: auto !important;
  line-height: normal !important;
}

/* Bouton "Paramètres" (Lien/Bouton blanc) */
.klaro .cm-btn-learn-more {
  background-color: #ffffff !important;
  color: #666666 !important;
  border: 1px solid #cccccc !important;
}

/* Bouton "Tout Refuser" (Fond noir) */
.klaro .cm-btn-decline {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
}

/* Bouton "Tout Accepter" (Votre Jaune) */
.klaro .cm-btn-accept-all, .klaro .cm-btn-success {
  background-color: #fcb615 !important;
  color: #ffffff !important;
  border: 1px solid #fcb615 !important;
}

/* --- 3. ANNIHILATION DU BUG MATERIALIZE SUR LES INTERRUPTEURS --- */
/* (Au cas où l'utilisateur clique sur "Paramètres", la fenêtre pop-up sera propre) */
.klaro .cm-switch .slider {
  width: 40px !important; height: 20px !important;
  position: relative !important; display: inline-block !important;
  left: 0 !important; top: 0 !important; opacity: 1 !important; margin: 0 !important;
}
.klaro .cm-switch .slider:before {
  height: 14px !important; width: 14px !important; left: 3px !important; bottom: 3px !important;
}
.klaro .cm-switch input[type="checkbox"] {
  position: absolute !important; opacity: 0 !important; width: 0 !important; height: 0 !important; margin: 0 !important;
}

/* --- 4. RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
  .klaro .cookie-notice .cn-body { flex-direction: column !important; gap: 15px !important; }
  .klaro .cookie-notice .cn-body p { max-width: 100% !important; }
  .klaro .cookie-notice .cn-ok { flex-direction: column !important; width: 100% !important; gap: 8px !important; }
  .klaro .cm-btn { width: 100% !important; text-align: center !important; }
}