.consent-panel {
  position: fixed;
  z-index: 10000;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 44px));
  max-height: calc(100dvh - 44px);
  padding: 22px;
  border: 1px solid #cfb9a5;
  border-radius: 12px;
  background: #faf6ef;
  color: #3b291f;
  box-shadow: 0 8px 40px #38271e33;
  font:
    13px/1.5 Arial,
    sans-serif;
}
.consent-panel[hidden],
.consent-panel [hidden] {
  display: none !important;
}
.consent-scroll {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.consent-logo {
  display: block;
  width: 160px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}
.consent-panel h2 {
  margin: 0 0 12px;
  font:
    24px/1.15 Georgia,
    serif;
  letter-spacing: -0.3px;
}
.consent-panel h2:focus {
  outline: none;
}
.consent-panel p {
  margin: 10px 0;
}
.consent-choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-block: 10px;
  font-weight: 600;
}
.consent-choice input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 1px 0 0;
  accent-color: #8c4f2d;
}
.consent-detail {
  font-size: 11px;
  line-height: 1.5;
}
.consent-options {
  margin-top: 14px;
}
.consent-category {
  border-top: 1px solid #dfd0c2;
  padding-block: 5px;
}
.consent-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  flex: 0 0 auto;
}
.consent-actions button,
.consent-save {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #805035;
  border-radius: 5px;
  background: #8c4f2d;
  color: #fff;
  cursor: pointer;
  font:
    600 12px/1.35 Arial,
    sans-serif;
}
.consent-save {
  margin-block: 10px 2px;
}
.consent-actions button:hover,
.consent-save:hover {
  background: #764126;
}
.consent-panel a {
  text-decoration: underline;
  color: inherit;
}
.consent-panel .consent-footnote {
  margin: 12px 0 0;
  flex: 0 0 auto;
}
.consent-panel .consent-links {
  margin: 8px 0 0;
  font-size: 11px;
  text-align: center;
  flex: 0 0 auto;
}
.consent-settings {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}
.consent-settings:hover {
  text-decoration: underline;
}
.consent-panel :focus-visible,
.consent-settings:focus-visible {
  outline: 3px solid #42626d;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .consent-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-width: 380px;
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }
}
