.cbm-cookie-panel:not([open]) { display: none !important; }
html:has(.cbm-cookie-panel[open]) { overflow: hidden; }
.cbm-cookie-panel {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(31rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.25rem;
  color: #2a211a;
  background: #faf7f0;
  border: 1px solid #937658;
  border-radius: 1rem;
  box-shadow: 0 .5rem 2rem #20180f30;
  font: 1rem/1.45 system-ui, sans-serif;
}
.cbm-cookie-panel::backdrop { background: #20180f80; }
.cbm-cookie-panel h2 { margin: 0 0 .4rem; font: 600 1.35rem/1.2 system-ui, sans-serif; }
.cbm-cookie-panel p { margin: .4rem 0 .8rem; }
.cbm-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cbm-cookie-actions button {
  flex: 1 1 10rem;
  background: #643d20;
  border: 1px solid #643d20;
  color: #fff;
  min-height: 44px;
  padding: .5rem .75rem;
  border-radius: .4rem;
  cursor: pointer;
  font: inherit;
}
.cbm-cookie-actions button[data-choice="close"] {
  flex-basis: 100%;
  background: transparent;
  color: #643d20;
}
.cbm-cookie-actions button[hidden] { display: none; }
.cbm-cookie-panel a { color: #643d20; text-decoration: underline; }
.cbm-cookie-panel :focus-visible, .cbm-cookie-preferences:focus-visible { outline: 2px solid #8a521f; outline-offset: 3px; }
.cbm-cookie-preferences { background: none; border: 0; color: inherit; padding: 0; text-align: start; font: inherit; text-decoration: underline; cursor: pointer; }
