/* Cookie Consent - BourbonLivre */
.bl-cc { font-family: inherit; }

.bl-cc-noscroll { overflow: hidden; }

/* Lien permanent (petit bouton fixe) */
.bl-cc-manage {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99998;
  border: 0;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  opacity: .92;
}
.bl-cc-manage:hover { opacity: 1; }

/* Bannière */
.bl-cc-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  gap: 16px;
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 -10px 30px rgba(0,0,0,.08);
}
.bl-cc-bar.is-visible { display: flex; align-items: center; justify-content: space-between; }

.bl-cc-content { max-width: 900px; }
.bl-cc-title { font-weight: 700; margin-bottom: 6px; }
.bl-cc-text { font-size: 14px; opacity: .9; }
.bl-cc-link { margin-left: 8px; text-decoration: underline; }

.bl-cc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.bl-cc-btn {
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}
.bl-cc-btn-primary { background: #111; color: #fff; }
.bl-cc-btn-secondary { background: #f1f1f1; color: #111; }
.bl-cc-btn:hover { filter: brightness(0.98); }

/* Modal */
.bl-cc-modal[hidden] { display: none; }
.bl-cc-modal { position: fixed; inset: 0; z-index: 100000; }

.bl-cc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}

.bl-cc-modal-card {
  position: relative;
  width: min(720px, calc(100% - 24px));
  margin: 60px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.bl-cc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.bl-cc-modal-title { font-weight: 800; font-size: 16px; }
.bl-cc-x {
  border: 0; background: transparent;
  font-size: 26px; cursor: pointer; line-height: 1;
}

.bl-cc-modal-body { padding: 14px 16px; }
.bl-cc-modal-text { margin: 0 0 12px; opacity: .9; }

.bl-cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.bl-cc-row:first-of-type { border-top: 0; }
.bl-cc-cat-title { font-weight: 700; }
.bl-cc-cat-desc { font-size: 13px; opacity: .8; margin-top: 4px; }

.bl-cc-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f1f1f1;
}

/* Switch */
.bl-cc-switch { display: inline-flex; align-items: center; cursor: pointer; }
.bl-cc-switch input { display: none; }
.bl-cc-switch span {
  width: 44px; height: 24px;
  background: #ddd;
  border-radius: 999px;
  position: relative;
  transition: .15s;
}
.bl-cc-switch span::after {
  content: '';
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: .15s;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.bl-cc-switch input:checked + span { background: #111; }
.bl-cc-switch input:checked + span::after { left: 22px; }

.bl-cc-modal-footer {
  padding: 14px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}

@media (max-width: 768px) {
  .bl-cc-bar.is-visible { flex-direction: column; align-items: stretch; }
  .bl-cc-actions { justify-content: stretch; }
  .bl-cc-btn { width: 100%; }
}
