/* WF Cookie Consent Banner — e-Privacy compliant, v1-2026-05-29 */
/* Brand: Oxblood #5E1221, Acid Lime #CEFF00, Bone #F5EFE3, Carbon #0B0A09 */
/* Font: Cabinet Grotesk (loaded on all WF pages) */
/* No border-radius on buttons/container per brand rules */

#wf-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #5E1221;
  color: #F5EFE3;
  font-family: "Cabinet Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-top: 2px solid #CEFF00;
}

#wf-cookie-banner.wf-cb--visible {
  transform: translateY(0);
}

.wf-cb__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 48px);
}

.wf-cb__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 239, 227, 0.9);
  margin-bottom: 14px;
}

.wf-cb__text strong {
  color: #F5EFE3;
}

.wf-cb__link {
  color: #CEFF00;
  text-underline-offset: 2px;
  text-decoration: underline;
}

.wf-cb__link:hover {
  color: #F5EFE3;
}

.wf-cb__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.wf-cb__btn {
  font-family: "Cabinet Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  border-radius: 0;            /* Brand rule: sharp corners */
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.wf-cb__btn:hover {
  opacity: 0.85;
}

.wf-cb__btn--primary {
  background: #CEFF00;
  color: #0B0A09;
}

.wf-cb__btn--secondary {
  background: transparent;
  color: #F5EFE3;
  border: 1px solid rgba(245, 239, 227, 0.35);
}

/* Equal visual weight for accept/reject — EDPB requirement (no asymmetry) */
/* Both primary buttons same size, reject is secondary variant */

.wf-cb__prefs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.wf-cb__pref {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(245, 239, 227, 0.85);
}

.wf-cb__pref input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #CEFF00;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.wf-cb__pref--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wf-cb__pref--disabled input {
  cursor: not-allowed;
}

.wf-cb__pref strong {
  color: #F5EFE3;
}

@media (min-width: 640px) {
  #wf-cookie-simple {
    flex-direction: row !important;
    align-items: center;
    gap: 20px !important;
  }

  .wf-cb__text {
    flex: 1;
    margin-bottom: 0;
  }

  .wf-cb__btns {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #wf-cookie-banner {
    transition: none;
  }
}
