.cookie-notice[hidden],
.cookie-notice [hidden] {
  display: none !important;
}

.cookie-notice {
  position: fixed;
  z-index: 1200;
  bottom: 20px;
  left: 20px;
  box-sizing: border-box;
  width: min(820px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px 24px;
  border: 1px solid #d7d7d7;
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  color: #242424;
  font-family: var(--font-body, sans-serif);
  letter-spacing: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.cookie-notice h2 {
  margin: 0 0 10px;
  font: 700 19px/1.3 var(--font-body, sans-serif);
}

.cookie-notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cookie-notice a,
.contact-consent a,
.legal-document a,
.legal-document-links a,
.legal-document-links button {
  color: #a44900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-notice button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #777;
  border-radius: 6px;
  background: #fff;
  color: #242424;
  font: 600 16px/1.3 var(--font-body, sans-serif);
  cursor: pointer;
}

.cookie-notice .cookie-accept {
  background: var(--orange);
  border-color: var(--orange);
  color: #181818;
}

.cookie-notice button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.cookie-notice button:focus-visible,
.footer-cookie-settings:focus-visible,
.legal-document-links button:focus-visible {
  outline: 2px solid #a44900;
  outline-offset: 3px;
}

.cookie-notice .cookie-notice-status:not(:empty) {
  margin-top: 12px;
  font-size: 14px;
}

.footer-cookie-settings,
.legal-document-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-cookie-settings:hover {
  color: var(--orange);
}

.footer-cookie-settings {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-ui);
}

.contact-consents {
  display: grid;
  gap: 14px;
}

.contact-form .contact-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-form .contact-consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.privacy-page .article-title {
  font-size: 34px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.legal-document {
  max-width: 880px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  font: 400 18px/1.6 var(--font-body, sans-serif);
  overflow-wrap: anywhere;
}

.legal-document p {
  margin: 0 0 18px;
}

.legal-document h2 {
  margin: 30px 0 12px;
  font: 700 23px/1.35 var(--font-body, sans-serif);
}

.legal-document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: 880px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  font-size: 16px;
}

.cookie-noscript {
  margin: 0;
  padding: 16px 24px;
  background: #fff;
  color: #242424;
}

@media (max-width: 600px) {
  .cookie-notice {
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    max-height: calc(85dvh - 20px);
    padding: 16px;
  }

  .cookie-notice p,
  .cookie-notice button {
    font-size: 15px;
  }

  .cookie-notice-actions {
    gap: 8px;
  }

  .privacy-page .article-title {
    font-size: 26px;
  }

  .legal-document {
    font-size: 17px;
  }
}
