.bfs-consent-lock { overflow: hidden; }
.bfs-consent-banner,
.bfs-consent-modal {
  --consent-navy: #102b35;
  --consent-cream: #f7f3ea;
  --consent-orange: #d96732;
  --consent-border: #d8d1c4;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--consent-navy);
  line-height: 1.5;
}
.bfs-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 760px;
  margin: auto;
  padding: 1.25rem;
  border: 1px solid var(--consent-border);
  border-radius: 12px;
  background: var(--consent-cream);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}
.bfs-consent-banner[hidden],
.bfs-consent-modal[hidden],
.bfs-consent-settings[hidden] { display: none !important; }
.bfs-consent-banner h2,
.bfs-consent-modal h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.bfs-consent-banner p { margin: 0 0 1rem; font-size: .95rem; }
.bfs-consent-banner a,
.bfs-consent-modal a { color: inherit; text-decoration: underline; }
.bfs-consent-legal { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0 0 1rem; font-size: .9rem; font-weight: 700; }
.bfs-consent-legal a:focus-visible { border-radius: 2px; outline: 3px solid rgba(217, 103, 50, .55); outline-offset: 3px; }
.bfs-consent-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.bfs-consent-button {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 2px solid var(--consent-navy);
  border-radius: 5px;
  background: transparent;
  color: var(--consent-navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bfs-consent-button:hover,
.bfs-consent-button:focus-visible { outline: 3px solid rgba(217, 103, 50, .35); outline-offset: 2px; }
.bfs-consent-button-primary { background: var(--consent-navy); color: #fff; }
.bfs-consent-modal {
  position: fixed;
  z-index: 10002;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .68);
}
.bfs-consent-dialog {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--consent-cream);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .38);
}
.bfs-consent-category { padding: 1rem 0; border-top: 1px solid var(--consent-border); }
.bfs-consent-category-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bfs-consent-category h3 { margin: 0; font-size: 1.05rem; }
.bfs-consent-category p { margin: .35rem 0 0; font-size: .9rem; }
.bfs-consent-always { font-size: .85rem; font-weight: 700; color: #426553; }
.bfs-consent-toggle { width: 1.35rem; height: 1.35rem; accent-color: var(--consent-orange); }
button.bfs-consent-settings {
  position: fixed;
  z-index: 9998;
  left: 1rem;
  bottom: 1rem;
  min-height: 40px;
  padding: .55rem .85rem;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #102b35;
  color: #fff;
  font: 700 .82rem/1.2 "Open Sans", Arial, sans-serif;
  box-shadow: 0 0 0 2px #102b35, 0 5px 20px rgba(0, 0, 0, .38);
  opacity: 1;
  cursor: pointer;
}
button.bfs-consent-settings:hover {
  border-color: #fff;
  background: #c54c06;
  color: #fff;
}
button.bfs-consent-settings:focus-visible {
  outline: 3px solid #f2a56f;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .bfs-consent-banner { right: .5rem; bottom: .5rem; left: .5rem; padding: 1rem; }
  .bfs-consent-actions { display: grid; }
  .bfs-consent-button { width: 100%; }
  button.bfs-consent-settings { bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bfs-consent-banner, .bfs-consent-modal { scroll-behavior: auto; }
}
