.cookie-notice {
  position: fixed;
  z-index: 70;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 16px 18px;
  overflow: auto;
  border: 1px solid #ffffff3d;
  border-radius: 16px;
  background: #24241e;
  box-shadow: 0 14px 50px #0008;
  color: #f7f7ef;
  font: 14px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform: translateX(-50%);
}
.cookie-notice p { flex: 1; margin: 0; }
.cookie-notice a { color: #ffdc00; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-close {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ffdc00;
  color: #161612;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.cookie-notice-close:hover { background: #f9ed66; }
.cookie-notice :focus-visible { outline: 3px solid #ffdc00; outline-offset: 3px; }
@media (max-width: 600px) {
  .cookie-notice { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; }
  .cookie-notice-close { align-self: flex-end; }
  body:has(.mobile-cart-bar:not([hidden])) .cookie-notice { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
