.sl-cookie-banner[hidden],
.sl-cookie-settings[hidden] {
  display: none !important;
}

.sl-cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1120px;
  max-height: calc(100dvh - 40px);
  margin: 0 auto;
  padding: 24px 28px;
  overflow: auto;
  color: #f5f1e8;
  background: #182621;
  border: 1px solid #bca97a;
  border-radius: 4px;
  box-shadow: 0 8px 40px #0004;
  font-family: Inter, sans-serif;
}

.sl-cookie-banner__copy { flex: 1; }
.sl-cookie-banner h2 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.sl-cookie-banner p { margin: 0 0 8px; font-size: 13px; line-height: 1.6; }
.sl-cookie-banner a { color: inherit; font-size: 12px; text-decoration: underline; }
.sl-cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sl-cookie-choice {
  min-height: 44px;
  padding: 12px 16px;
  color: #f5f1e8;
  background: transparent;
  border: 1px solid #bca97a;
  border-radius: 3px;
  font: 500 13px Inter, sans-serif;
  cursor: pointer;
}

.sl-cookie-choice:hover { background: #ffffff12; }
.sl-cookie-choice:focus-visible,
.sl-cookie-settings:focus-visible { outline: 2px solid #bca97a; outline-offset: 4px; }

.sl-cookie-settings {
  padding: 8px 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 760px) {
  .sl-cookie-banner { right: 12px; bottom: 12px; left: 12px; padding: 20px; gap: 18px; flex-direction: column; align-items: stretch; }
  .sl-cookie-banner__actions { flex-wrap: nowrap; }
  .sl-cookie-choice { flex: 1; }
}
