/* Нижняя полоса по предоставленному образцу, без блокировки страницы. */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.25rem 1.875rem calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid #343434;
  color: #fff;
  background: #090909;
  max-height: 100dvh;
  overflow-y: auto;
}
.cookie-banner p { flex: 1; margin: 0; font-size: 1rem; line-height: 1.55; }
.cookie-banner a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.cookie-banner a:hover { text-decoration-thickness: 2px; }
.cookie-banner__accept {
  flex: 0 0 auto;
  min-width: 164px;
  min-height: 60px;
  padding: 1rem 1.5rem;
  border: 1px solid #d6d6d6;
  border-radius: 0;
  color: #151515;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.cookie-banner__accept:hover { background: #e8e8e8; }
.cookie-banner :focus-visible { outline: 3px solid #90c6ff; outline-offset: 4px; }
body { padding-bottom: var(--cookie-banner-height, 0px); }
.footer-policy { display: block; width: fit-content; margin-bottom: 1rem; color: #fff; text-underline-offset: .2em; }
.footer-policy:hover { text-decoration-thickness: 2px; }
.policy-document { padding-block: 2rem 4rem; }
.policy-heading h1 { max-width: 38ch; font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.15; }
.policy-document__viewer { display: block; width: 100%; height: 80vh; min-height: 500px; margin-top: 2rem; border: 1px solid var(--line); }
@media (max-width: 600px) {
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 1rem; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
  .cookie-banner p { font-size: .875rem; }
  .cookie-banner__accept { min-height: 48px; }
  .policy-document__viewer { display: none; }
}
