/* Cookie consent window (site audit K12). Not modal: the page stays usable. */
.ng-consent {
  position: fixed; z-index: 2147483000; left: 50%; bottom: 16px; transform: translateX(-50%);
  box-sizing: border-box; width: min(760px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 16px 24px; padding: 18px 20px;
  border: 1px solid var(--ng-border, #dce2e6); border-radius: 12px; background: var(--ng-surface-white, #fff);
  box-shadow: 0 8px 28px rgb(16 24 40 / 18%); color: var(--ng-text-body, #333);
  font: 400 14px/1.5 'NatGard Lato', 'NatGard Noto Sans', Arial, Helvetica, sans-serif;
}
.ng-consent__body { flex: 1 1 auto; min-width: 0; }
.ng-consent h2 { margin: 0 0 4px; color: var(--ng-text-strong, #181b1f); font-size: 16px; font-weight: 700; line-height: 1.35; }
.ng-consent p { margin: 0; }
.ng-consent a { color: var(--ng-link, #1a73a8); text-decoration: underline; }
.ng-consent__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; }
.ng-consent button { box-sizing: border-box; min-height: 40px; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.ng-consent__accept { border: 1px solid var(--ng-primary, #326900); background: var(--ng-primary, #326900); color: var(--ng-on-primary, #fff); }
.ng-consent__accept:hover { background: var(--ng-primary-hover, #2a5800); }
.ng-consent__necessary { border: 1px solid var(--ng-text-strong, #181b1f); background: var(--ng-surface-white, #fff); color: var(--ng-text-strong, #181b1f); }
.ng-consent__settings { text-align: center; font-size: 13px; }
.ng-consent button:focus-visible, .ng-consent a:focus-visible { outline: 2px solid var(--ng-focus, #1a73a8); outline-offset: 2px; }
/* Phone: full width at the bottom, above the product page buy bar. */
@media (max-width: 767px) {
  .ng-consent { left: 0; right: 0; bottom: 0; transform: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-radius: 14px 14px 0 0; border-bottom: 0;
    max-height: 70vh; overflow-y: auto; font-size: 13px; }
  .ng-consent__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .ng-consent__actions button { flex: 1 1 140px; }
  .ng-consent__settings { flex: 1 1 100%; }
}
@media print { .ng-consent { display: none; } }

/* While the country / language / currency window is open, the cookie window steps aside: on a phone it covered the
   "Save" button of that window (site check 19.11.2026, EN14). It comes back when the window closes. */
body.locale-popover-open .ng-consent { display: none; }
