/* ML Luxe Cookie Consent Banner */
#cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 24px 24px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  animation: ccSlideIn 0.4s ease 0.5s forwards;
}

@keyframes ccSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

.cc-inner {
  max-width: 520px;
  margin: 0 auto 0 0;
  background: #fafaf8;
  border: 1px solid #e5e5e3;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  pointer-events: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cc-text {
  font-size: 13px;
  line-height: 1.65;
  color: #444;
  margin: 0 0 16px;
}

.cc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-btn {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cc-btn--primary {
  padding: 10px 20px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.cc-btn--primary:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-1px);
}

.cc-btn--secondary {
  padding: 10px 20px;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.cc-btn--secondary:hover {
  border-color: #111;
  color: #111;
  transform: translateY(-1px);
}

.cc-btn--link {
  padding: 10px 12px;
  background: none;
  color: #888;
  border: none;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.cc-btn--link:hover {
  color: #111;
}

/* Settings panel */
.cc-settings {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e3;
}

.cc-category {
  margin-bottom: 14px;
}

.cc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #111;
}

.cc-toggle input[type="checkbox"] {
  width: 36px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: #ccc;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.cc-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cc-toggle input[type="checkbox"]:checked {
  background: #111;
}

.cc-toggle input[type="checkbox"]:checked::after {
  transform: translateX(16px);
}

.cc-toggle input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cc-toggle input[type="checkbox"]:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.cc-toggle-label {
  user-select: none;
}

.cc-cat-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.55;
  margin: 4px 0 0 46px;
}

.cc-btn--save {
  margin-top: 4px;
}

/* Mobile */
@media (max-width: 600px) {
  #cc-banner {
    padding: 0 12px 12px;
  }
  .cc-inner {
    padding: 18px 18px;
    border-radius: 12px;
  }
  .cc-text {
    font-size: 12px;
  }
  .cc-actions {
    gap: 8px;
  }
  .cc-btn--primary,
  .cc-btn--secondary {
    padding: 9px 16px;
    font-size: 10px;
  }
}

/* Ensure banner doesn't overlap WhatsApp button */
@media (max-width: 480px) {
  #cc-banner {
    padding-bottom: 80px;
  }
}
