.fm-consent,
.fm-consent * { box-sizing: border-box; }
.fm-consent[hidden],
.fm-consent [hidden] { display: none !important; }
.fm-consent {
  position: fixed;
  z-index: 1000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(480px, calc(100% - 36px));
  max-height: 80vh;
  max-height: 80dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid #d5d1c8;
  background: #f4f2ed;
  color: #171717;
  box-shadow: 0 12px 48px rgb(0 0 0 / 22%);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.fm-consent .fm-consent__eyebrow {
  margin: 0 0 8px;
  color: #b51d16;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fm-consent h2 {
  margin: 0 0 12px;
  color: #171717;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.fm-consent p { margin: 0 0 16px; }
.fm-consent a { color: #171717; text-decoration: underline; text-underline-offset: 3px; }
.fm-consent__settings { margin: 16px 0; border-block: 1px solid #ccc7bc; }
.fm-consent__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
}
.fm-consent__option + .fm-consent__option { border-top: 1px solid #d5d1c8; }
.fm-consent__option input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #b51d16;
}
.fm-consent__option input:disabled { opacity: .65; }
.fm-consent__option strong,
.fm-consent__option small { display: block; }
.fm-consent__option strong { font-size: 14px; font-weight: 800; }
.fm-consent__option small { margin-top: 3px; color: #444; font-size: 12px; line-height: 1.45; }
.fm-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-consent__actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #171717;
  border-radius: 0;
  background: #f4f2ed;
  color: #171717;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.fm-consent__actions button[data-fm-consent="accept"],
.fm-consent__actions button[data-fm-consent="save"] { background: #171717; color: #fff; }
.fm-consent__actions button:hover { border-color: #b51d16; box-shadow: inset 0 0 0 1px #b51d16; }
.fm-consent :is(button, a, input):focus-visible,
[data-consent-manage]:focus-visible { outline: 3px solid #b51d16; outline-offset: 3px; }
[data-consent-manage] { min-height: 44px; cursor: pointer; }
.footer .consent-manage {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.cookie-open .mobile-cta { visibility: hidden; pointer-events: none; }
@media (max-width: 480px) {
  .fm-consent {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    padding: 18px;
    font-size: 13px;
  }
  .fm-consent h2 { font-size: 21px; }
  .fm-consent__actions { display: grid; grid-template-columns: 1fr; }
  .fm-consent__actions button { width: 100%; }
}
@media (forced-colors: active) {
  .fm-consent { border: 2px solid CanvasText; }
  .fm-consent__actions button { border: 1px solid ButtonText; }
}
