.footer-privacy-links {
  font-size: 13px;
  padding-top: 8px;
}

.footer-privacy-links a,
.footer-privacy-links button {
  color: #dcdfe1;
}

.privacy-link-button {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
}

.privacy-link-button:hover,
.privacy-link-button:focus,
.footer-privacy-links a:hover,
.footer-privacy-links a:focus {
  color: #fff;
}

.site-pref {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 520px;
  max-width: calc(100% - 40px);
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  color: #292f36;
  display: none;
}

.site-pref.is-visible {
  display: block;
}

.site-pref__inner {
  padding: 22px;
}

.site-pref h2,
.pref-dialog h2 {
  margin: 0 0 10px;
  color: #292f36;
  font-family: QuattrocentoSans-Regular, sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.site-pref p,
.pref-dialog p,
.pref-dialog li {
  color: #5a6066;
  font-size: 14px;
  line-height: 1.55;
}

.site-pref a,
.pref-dialog a {
  color: #148576;
  font-weight: 700;
}

.pref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pref-button {
  border: 1px solid #148576;
  border-radius: 3px;
  background: #fff;
  color: #148576;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 14px;
}

.pref-button--primary {
  background: #148576;
  color: #fff;
}

.pref-button:hover,
.pref-button:focus {
  border-color: #0f6559;
  color: #0f6559;
}

.pref-button--primary:hover,
.pref-button--primary:focus {
  background: #0f6559;
  color: #fff;
}

.pref-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(29, 33, 38, 0.68);
}

.pref-dialog.is-visible {
  display: flex;
}

.pref-dialog__dialog {
  width: 720px;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.pref-dialog__header,
.pref-dialog__body,
.pref-dialog__footer {
  padding: 22px;
}

.pref-dialog__header {
  border-bottom: 1px solid #e1e6ea;
}

.pref-dialog__footer {
  border-top: 1px solid #e1e6ea;
}

.pref-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #e1e6ea;
}

.pref-option:last-child {
  border-bottom: 0;
}

.pref-option h3 {
  margin: 0 0 6px;
  color: #292f36;
  font-size: 17px;
}

.pref-toggle {
  min-width: 98px;
  border: 1px solid #148576;
  border-radius: 3px;
  background: #fff;
  color: #148576;
  cursor: pointer;
  font-weight: 700;
  padding: 8px 10px;
}

.pref-toggle[aria-pressed="true"] {
  background: #148576;
  color: #fff;
}

.pref-toggle[disabled] {
  border-color: #a4aead;
  color: #5a6066;
  cursor: default;
}

.privacy-page {
  padding: 120px 0 72px;
  background: #fff;
}

.privacy-page h1,
.privacy-page h2 {
  color: #292f36;
}

.privacy-page h1 {
  margin-bottom: 16px;
}

.privacy-page h2 {
  margin-top: 30px;
  font-size: 24px;
}

.privacy-page p,
.privacy-page li {
  color: #5a6066;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .site-pref {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .pref-actions,
  .pref-dialog__footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pref-button {
    width: 100%;
  }

  .pref-option {
    display: block;
  }

  .pref-toggle {
    margin-top: 10px;
    width: 100%;
  }
}
