.bf-consent {
  font-family: Inter, system-ui, sans-serif;
  color: #3d2f35;
  font-size: 14px;
  line-height: 1.55;
}
.bf-consent *, .bf-consent *::before, .bf-consent *::after { box-sizing: border-box; }
.bf-consent [hidden] { display: none !important; }
.bf-cookie-banner {
  position: fixed;
  z-index: 10000;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #dfcdd5;
  border-radius: 18px;
  background: #fffaf8;
  box-shadow: 0 8px 40px #3d2f3526;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.bf-consent h2 { margin: 0 0 10px; color: #6e3556; font: 600 25px/1.2 Georgia, serif; }
.bf-consent p { margin: 0 0 10px; }
.bf-consent a { color: #6e3556; text-decoration: underline; }
.bf-consent .bf-cookie-eyebrow { margin: 0 0 7px; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 700; }
.bf-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-cookie-banner .bf-cookie-actions { max-width: 180px; flex-direction: column; }
.bf-cookie-button, .bf-cookie-settings {
  appearance: none;
  font: 600 14px/1.3 Inter, system-ui, sans-serif;
  cursor: pointer;
  border: 1px solid #8f4c73;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fffaf8;
  color: #6e3556;
  min-height: 44px;
}
.bf-cookie-button-primary { color: white; background: #8f4c73; }
.bf-cookie-button:hover, .bf-cookie-settings:hover { box-shadow: 0 0 0 2px #dfcdd5; }
.bf-consent :focus-visible { outline: 3px solid #6e3556; outline-offset: 3px; }
.bf-cookie-settings { position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; z-index: 9999; padding: 8px 12px; font-size: 12px; box-shadow: 0 3px 12px #3d2f3514; }
.bf-cookie-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 26px; margin: auto; border: 1px solid #dfcdd5; border-radius: 18px; background: #fffaf8; color: #3d2f35; }
.bf-cookie-dialog::backdrop { background: #30212980; }
.bf-cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid #eadcdf; }
.bf-cookie-option strong { display: block; margin-bottom: 4px; }
.bf-cookie-option span span { display: block; color: #73616a; font-size: 13px; }
.bf-cookie-option:first-of-type { display: block; }
.bf-cookie-option input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #8f4c73; }
.bf-cookie-dialog .bf-cookie-actions { margin-top: 18px; justify-content: flex-end; }
@media (max-width: 720px) {
  .bf-cookie-banner { grid-template-columns: 1fr; gap: 10px; padding: 18px; width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); }
  .bf-cookie-banner .bf-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; max-width: none; }
  .bf-cookie-banner [data-bf-accept] { grid-column: 1 / -1; }
  .bf-cookie-dialog { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-consent * { scroll-behavior: auto; }
}
/* Pages with a footer "Cookie settings" link don't need the floating button (it covered checkout fields on phones).
   Pages without one (the Port Harcourt landing pages) keep it. */
body:has([data-cookie-settings]) .bf-cookie-settings { display: none; }
