/* Cookie Consent — XOXO COIFFURE */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #4A3728;
  color: #FDF8F2;
  padding: 1.25rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}
.cc-inner {
  max-width: 960px;
  margin: 0 auto;
}
.cc-text p {
  margin: 0 0 0.5rem;
  color: #FDF8F2;         /* Explicit for WCAG contrast check (pa11y) */
  background: #4A3728;   /* Explicit background for pa11y contrast tracing */
}
.cc-text p strong { color: #FDF8F2; background: #4A3728; }
.cc-text p:last-child { margin-bottom: 0.75rem; }
.cc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.cc-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}
.cc-btn-accept {
  background: #6c7e2b;
  color: #fff;
}
.cc-btn-accept:hover { background: #5a6a24; }
.cc-btn-reject {
  background: transparent;
  color: #FDF8F2;
  border: 1.5px solid rgba(253,248,242,0.8);
}
.cc-btn-reject:hover { border-color: #FDF8F2; }
.cc-btn-customize {
  background: transparent;
  color: #FDF8F2;
  text-decoration: underline;
  padding: 0.6rem 0.75rem;
}
.cc-btn-customize:hover { color: #FDF8F2; opacity: 0.85; }
.cc-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(253,248,242,0.15);
}
.cc-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.cc-option input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #8B9D4A;
}
.cc-option small {
  color: rgba(253,248,242,0.85);
  font-size: 0.75rem;
}
.cc-details .cc-btn { margin-top: 0.5rem; }

/* Mobile */
@media (max-width: 640px) {
  #cookie-consent { padding: 1rem; padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); font-size: 0.875rem; }
  .cc-text p { font-size: 0.875rem; }
  .cc-btn { font-size: 0.875rem; width: 100%; text-align: center; }
  .cc-buttons { flex-direction: column; }
}
