:root {
  --cp-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

html, body {
  font-family: var(--cp-font-sans) !important;
}

/* Legal pages */
.cp-legal a {
  text-decoration: none;
}
.cp-legal a:hover {
  text-decoration: underline;
}

/* Cookie consent */
.cp-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) {
  .cp-cookie-banner {
    left: 24px;
    right: 24px;
    max-width: 980px;
    margin: 0 auto;
  }
}
.cp-cookie-banner p {
  margin: 0 0 10px 0;
  line-height: 1.35;
}
.cp-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cp-cookie-actions .btn {
  border-radius: 10px;
}

.cp-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cp-cookie-modal {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
.cp-cookie-modal-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cp-cookie-modal-body {
  padding: 16px 18px;
}
.cp-cookie-modal-footer {
  padding: 16px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.cp-cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cp-cookie-toggle:last-child {
  border-bottom: 0;
}
.cp-cookie-toggle small {
  display: block;
  color: rgba(0, 0, 0, 0.7);
}
.cp-cookie-muted {
  color: rgba(255, 255, 255, 0.8);
}
