.website-consent[hidden] { display: none; }
.website-consent {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(calc(100% - 32px), 1180px);
  max-height: 50dvh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid #76a7a7;
  border-radius: 12px;
  background: #ecedec;
  color: #2e4559;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.website-consent h2, .website-consent-dialog h2 { font-size: 22px; line-height: 1.2; margin: 0 0 12px; }
.website-consent p, .website-consent-dialog p { font-size: 15px; line-height: 1.6; margin: 0; }
.website-consent a, .website-consent-dialog a { text-decoration: underline; }
.website-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.website-consent__actions button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #547d7d;
  border-radius: 6px;
  background: #fff;
  color: #2e4559;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.website-consent__actions button:focus-visible, .website-cookie-preferences:focus-visible { outline: 3px solid #2e4559; outline-offset: 3px; }
.website-consent-dialog {
  width: min(calc(100% - 32px), 560px);
  max-height: 80dvh;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #76a7a7;
  border-radius: 12px;
  background: #ecedec;
  color: #2e4559;
}
.website-consent-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.website-consent-dialog label { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; font-size: 16px; }
.website-consent-dialog input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; accent-color: #547d7d; }
.website-consent-dialog .website-consent__actions { margin-top: 24px; }
.website-cookie-preferences { align-self: flex-start; padding: 8px 0; min-height: 44px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
@media (max-width: 1020px) {
  .website-consent { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
}
@media (max-width: 480px) {
  .website-consent { bottom: 12px; width: calc(100% - 24px); padding: 18px; }
  .website-consent__actions button { flex: 1 1 auto; }
  .website-consent-dialog { padding: 20px; }
}
