.privacy-panel {
  position: fixed;
  z-index: 1000;
  inset: auto 18px 18px;
  width: min(1020px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  margin: 0 auto;
  padding: 22px 26px;
  color: #391420;
  background: #fff9f8;
  border: 1px solid #ecd4dc;
  border-radius: 24px;
  box-shadow: 0 12px 45px #39142025;
  font:
    13px/1.5 "Onest",
    system-ui,
    sans-serif;
}
.privacy-panel[open] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.privacy-panel::backdrop {
  background: #39142030;
  backdrop-filter: blur(3px);
}
.privacy-copy {
  flex: 1 1 330px;
}
.privacy-copy strong {
  font-size: 15px;
  font-weight: 600;
}
.privacy-panel p {
  margin: 5px 0 0;
  max-width: 650px;
  color: #70515b;
  font: inherit;
}
.privacy-panel a {
  color: #7b1733;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-actions {
  display: flex;
  gap: 9px;
  flex: 0 0 auto;
}
.privacy-panel button {
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 13px 19px;
  background: #7b1733;
  color: white;
  font:
    600 12px/1.4 "Onest",
    system-ui,
    sans-serif;
  cursor: pointer;
}
.privacy-panel .privacy-secondary {
  color: #7b1733;
  background: #f8e4eb;
}
.privacy-panel .privacy-settings {
  min-height: 28px;
  padding: 5px 0 0;
  border-radius: 0;
  color: #7b1733;
  background: transparent;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-options {
  flex-basis: 100%;
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #ecd4dc;
}
.privacy-options[hidden] {
  display: none;
}
.privacy-options label {
  display: flex;
  gap: 11px;
  align-items: start;
  font-size: 13px;
  color: #391420;
}
.privacy-options input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #7b1733;
}
.privacy-options > button {
  justify-self: start;
}
.privacy-reopen {
  display: block;
  grid-column: 1/-1;
  width: fit-content;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  font:
    12px/1.5 "Onest",
    system-ui,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .privacy-panel {
    inset: auto 10px 10px;
    width: calc(100% - 20px);
    padding: 18px;
    border-radius: 21px;
    gap: 13px;
  }
  .privacy-copy {
    flex-basis: 100%;
  }
  .privacy-panel p {
    font-size: 12px;
  }
  .privacy-actions {
    width: 100%;
  }
  .privacy-actions button {
    flex: 1;
  }
}

.footer-company .footer-policy-link,
.footer-company .privacy-reopen {
  display: block;
  width: fit-content;
  font: 500 13px/1.5 var(--sans);
  color: rgba(77, 48, 57, 0.72);
  text-decoration-color: rgba(77, 48, 57, 0.22);
  text-underline-offset: 4px;
}
.footer-company .privacy-reopen {
  margin-top: 10px;
  padding: 0;
  text-align: left;
}
.privacy-panel a:focus-visible,
.privacy-panel button:focus-visible {
  outline: 2px solid #7b1733;
  outline-offset: 4px;
  border-radius: 4px;
}
