/* Shared by public, customer and staff layouts, independent of page structure. */
.cookie-consent {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  box-sizing: border-box;
  color-scheme: light;
  width: min(calc(100vw - 32px), 420px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #182334;
  box-shadow: 0 12px 36px #0005;
  font: 14px/1.5 ui-sans-serif, system-ui, sans-serif;
}
.cookie-consent:not([hidden]) { display: block; }
.cookie-consent[hidden] { display: none !important; }
.cookie-consent *, .cookie-consent *::before, .cookie-consent *::after { box-sizing: border-box; }
.cookie-consent .cookie-consent__message { margin: 0 28px 16px 0; color: #263447; font: inherit; }
.cookie-consent .cookie-consent__message a { color: #795411; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent .cookie-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.cookie-consent button { min-width: 0; min-height: 44px; margin: 0; border: 1px solid #b6bdc6; border-radius: 999px; padding: 10px; background: #fff; color: #263447; font: 600 13px/1.3 ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.cookie-consent button:hover { background: #f3f4f6; }
.cookie-consent :is([data-cookie-consent-accept], [data-analytics-accept]) { border-color: #e6b84f; color: #211809; background: linear-gradient(105deg, #f7d77f, #e6b84f); }
.cookie-consent :is([data-cookie-consent-accept], [data-analytics-accept]):hover { background: linear-gradient(105deg, #ffe9a6, #f1c664); }
.cookie-consent .cookie-consent__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.cookie-consent button:focus-visible, .cookie-consent a:focus-visible { outline: 2px solid #795411; outline-offset: 3px; }

