/* ForFlow: kleine, eigenständige Website-Analytics-Einwilligung. */
.ff-consent-panel {
  position: fixed;
  z-index: 10000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: min(100% - 32px, 400px);
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(107, 107, 107, 0.20);
  border-radius: 20px;
  background: #FFFFFF;
  color: #2B2B2B;
  box-shadow: 0 14px 48px rgba(43, 43, 43, 0.13);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
.ff-consent-panel[hidden] { display: none !important; }
.ff-consent-title { margin: 0 0 8px; color: #2B2B2B; font-size: 16px; font-weight: 750; line-height: 1.3; }
.ff-consent-description { margin: 0 0 12px; color: #595959; }
.ff-consent-panel a { color: #55765A; font-weight: 650; text-decoration: none; }
.ff-consent-panel a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ff-consent-actions { display: flex; gap: 10px; margin-top: 16px; }
.ff-consent-action {
  flex: 1;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #55765A;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ff-consent-action--decline { color: #55765A; background: #FFFFFF; }
.ff-consent-action--accept { color: #FFFFFF; background: #55765A; }
.ff-consent-action:hover { filter: brightness(0.96); }
.ff-consent-action:focus-visible,
.ff-consent-manage:focus-visible,
.ff-consent-panel a:focus-visible { outline: 3px solid rgba(85,118,90,.35); outline-offset: 3px; }
.ff-consent-manage {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.ff-consent-manage:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Keep the consent panel above the mobile/desktop sticky store CTA. */
body:has(.store-cta-group.is-sticky) .ff-consent-panel {
  bottom: max(100px, calc(env(safe-area-inset-bottom) + 84px));
}
@media (max-width: 520px) {
  .ff-consent-panel { width: calc(100% - 32px); padding: 18px; }
}
