.cookie-banner,
.cookie-settings {
  font:
    14px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #473c35;
  box-sizing: border-box;
  z-index: 110;
}
.cookie-banner[hidden],
.cookie-settings[hidden],
.cookie-preferences[hidden],
.cookie-actions button[hidden],
.cookie-required-note[hidden] {
  display: none !important;
}
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: min(680px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px;
  background: #fff;
  border: 1px solid #e5ded4;
  border-radius: 18px;
  box-shadow: 0 8px 40px #392d2620;
}
.cookie-banner strong {
  font-size: 17px;
}
.cookie-banner p {
  margin: 8px 0 0;
  color: #736556;
}
.cookie-banner a {
  color: #734228;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.cookie-actions button {
  flex: 1;
  min-width: 180px;
  padding: 11px 14px;
  border: 1px solid #ded1bf;
  border-radius: 10px;
  background: #faf3ea;
  color: #473c35;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-actions button:hover {
  background: #eee7db;
}
.cookie-actions button[data-choice='accepted'] {
  border-color: #a64e29;
  background: #a64e29;
  color: #fff;
}
.cookie-actions button[data-choice='accepted']:hover {
  border-color: #87401f;
  background: #87401f;
}
.cookie-actions button:focus-visible,
.cookie-settings:focus-visible,
.cookie-banner a:focus-visible {
  outline: 2px solid #734228;
  outline-offset: 3px;
}
.cookie-choice-status:empty {
  display: none;
}
.cookie-preferences {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
.cookie-preferences legend {
  margin-bottom: 10px;
  font-weight: 600;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #e5ded4;
  border-radius: 12px;
  background: #faf7f2;
  cursor: pointer;
}
.cookie-option input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0;
  accent-color: #a64e29;
}
.cookie-option input:focus-visible {
  outline: 2px solid #734228;
  outline-offset: 3px;
}
.cookie-option strong { font-size: 14px; }
.cookie-option small {
  display: block;
  margin-top: 3px;
  color: #736556;
  font-size: 12px;
  line-height: 1.5;
}
.cookie-banner .cookie-required-note {
  padding: 10px 12px;
  border-radius: 10px;
  background: #faf3ea;
  color: #734228;
}
.cookie-settings {
  display: block;
  position: static;
  margin: 0 auto;
  padding: 14px 12px;
  border: 0;
  background: transparent;
  color: #8a6958;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 12px;
}
@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-settings {
    bottom: max(8px, env(safe-area-inset-bottom));
  }
}
@media print {
  .cookie-banner,
  .cookie-settings {
    display: none !important;
  }
}

.cookie-withdrawal-notice { position: fixed; bottom: 5rem; left: 1rem; right: 1rem; max-width: 38rem; margin: auto; z-index: 10000; padding: 1rem; border: 1px solid #ddd; border-radius: 12px; background: #fff; color: #222; box-shadow: 0 4px 24px #0002; font: 14px/1.5 sans-serif; }
.cookie-withdrawal-notice[hidden] { display: none; }
.cookie-withdrawal-notice button { display: block; margin-top: .75rem; padding: .4rem .8rem; }
