/* Bandeau de consentement aux cookies — couleurs et polices du site. */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  padding: 16px;
  pointer-events: none;
}
.cc-box {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 28px;
  background: #202024;
  color: #e6e6e6;
  border-top: 2px solid #bd9035;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  font-family: "Wix Madefor Display", sans-serif;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.cc-box p,
.cc-box span,
.cc-box strong,
.cc-box a,
.cc-box button {
  font-family: "Wix Madefor Display", sans-serif;
  text-align: left;
}
.cc-title {
  margin: 0 0 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bd9035;
}
.cc-body {
  margin: 0 0 16px;
  font-size: .85rem;
  line-height: 1.4rem;
  color: #e6e6e6;
  font-weight: 400;
}
.cc-body a {
  color: #fff;
  font-size: .85rem;
  text-decoration: underline;
}
.cc-details {
  margin: 0 0 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.cc-details[hidden] { display: none; }
.cc-category {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.cc-switch {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}
.cc-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cc-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 38px;
  height: 20px;
  margin-top: 2px;
  border-radius: 10px;
  background: #5a5a60;
  transition: background .2s;
}
.cc-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.cc-switch input:checked + .cc-toggle { background: #bd9035; }
.cc-switch input:checked + .cc-toggle::after { transform: translateX(18px); }
.cc-switch input:disabled + .cc-toggle { opacity: .6; }
.cc-switch input:focus-visible + .cc-toggle { outline: 2px solid #fff; outline-offset: 2px; }
.cc-category-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cc-category-text strong {
  font-size: .8rem;
  color: #fff;
  font-weight: 600;
}
.cc-category-text span {
  font-size: .75rem;
  line-height: 1.2rem;
  color: #c9c9c9;
}
.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Les trois boutons ont volontairement le même aspect : refuser est aussi simple qu'accepter. */
.cc-btn {
  flex: 1 1 180px;
  padding: 12px 18px;
  border: 1px solid #bd9035;
  background: transparent;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center !important;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cc-btn:hover,
.cc-btn:focus-visible {
  background: #bd9035;
  color: #202024;
  outline: none;
}
@media (max-width: 600px) {
  .cc-banner { padding: 0; }
  .cc-box { padding: 20px 16px; max-height: 85vh; }
  .cc-btn { flex-basis: 100%; }
}
