.sc-consent {
  --sc-ink: #21201e;
  --sc-gold: #b78b45;
  --sc-paper: #fffcf7;
  --sc-muted: #5c574f;
  --sc-border: #d6c6aa;
  color: var(--sc-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.sc-consent *, .sc-consent *::before, .sc-consent *::after { box-sizing: border-box; }
.sc-consent [hidden] { display: none !important; }
.sc-consent .sc-title { color: var(--sc-ink); font-size: 19px; font-weight: 650; line-height: 1.3; margin: 0 0 8px; }
.sc-consent p { color: var(--sc-muted); font-size: 14px; line-height: 1.5; margin: 0 0 8px; }
.sc-banner {
  position: fixed;
  z-index: 10000;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  max-width: 1180px;
  max-height: calc(100dvh - 32px);
  margin: 0 auto;
  padding: 22px 24px;
  overflow-y: auto;
  background: var(--sc-paper);
  border: 1px solid var(--sc-border);
  border-top: 3px solid var(--sc-gold);
  border-radius: 12px;
  box-shadow: 0 8px 36px #211a1426;
}
.sc-banner__copy { min-width: 0; }
.sc-banner__actions { display: flex; align-items: stretch; gap: 8px; }
.sc-consent .sc-button {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  color: var(--sc-ink);
  background: #fff;
  border: 1px solid var(--sc-gold);
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.sc-consent .sc-button:hover { background: #f2e7d4; border-color: #967033; }
.sc-consent .sc-button:disabled { cursor: wait; opacity: .65; }
.sc-consent .sc-button--save { background: var(--sc-ink); border-color: var(--sc-ink); color: #fff; }
.sc-consent .sc-button--save:hover { background: #423b30; }
.sc-consent :is(button, a, input):focus-visible, [data-sc-footer-settings]:focus-visible {
  outline: 3px solid #967033;
  outline-offset: 3px;
}
.sc-consent .sc-text-link { color: var(--sc-ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.sc-consent [data-sc-reopen] { display: none !important; }
.sc-footer-fallback { display: inline-block; margin: 12px 16px; color: inherit; text-decoration: underline; }
.sc-dialog {
  width: min(620px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sc-paper);
  border: 1px solid var(--sc-border);
  border-top: 3px solid var(--sc-gold);
  border-radius: 12px;
  color: var(--sc-ink);
  box-shadow: 0 12px 60px #0003;
  font: inherit;
}
.sc-dialog:not([open]) { display: none; }
.sc-dialog::backdrop { background: #17151280; }
.sc-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 12px; }
.sc-dialog__header .sc-title { margin: 0; }
.sc-close { flex: 0 0 40px; height: 40px; margin: -6px -8px -6px 0; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--sc-ink); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.sc-close:hover { background: #f2e7d4; }
.sc-dialog__body { padding: 0 24px 20px; }
.sc-category { padding: 16px 0; border-bottom: 1px solid #e7dfd1; }
.sc-category:last-of-type { margin-bottom: 16px; }
.sc-category__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 5px; }
.sc-category label.sc-category__heading { cursor: pointer; }
.sc-category__heading h3, .sc-category__name { color: var(--sc-ink); font-size: 15px; font-weight: 650; line-height: 1.4; margin: 0; }
.sc-category p { margin: 0; }
.sc-consent .sc-marketing-note { margin: 14px 0; font-size: 13px; }
.sc-details { margin: 14px 0 18px; border: 1px solid #e7dfd1; border-radius: 6px; overflow-wrap: anywhere; }
.sc-details summary { padding: 11px 12px; color: var(--sc-ink); font-weight: 600; cursor: pointer; }
.sc-details summary:focus-visible { outline: 3px solid #967033; outline-offset: 2px; }
.sc-details__body { padding: 0 12px 12px; }
.sc-details__body dl { margin: 12px 0; }
.sc-details__body dt { margin: 12px 0 4px; font-size: 13px; font-weight: 650; }
.sc-details__body dd { margin: 0; color: var(--sc-muted); font-size: 13px; line-height: 1.5; }
.sc-consent .sc-details__body p { font-size: 13px; }
.sc-always-on { color: #5c574f; font-size: 12px; white-space: nowrap; }
.sc-consent .sc-toggle {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #957034;
  cursor: pointer;
}
.sc-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 20px; border-top: 1px solid #e7dfd1; }
.sc-dialog__actions .sc-button { flex: 1 1 150px; }
.sc-consent .sc-error { grid-column: 1 / -1; margin: 0; color: #a2271a; font-weight: 500; }
.sc-consent .sc-dialog .sc-error { margin-top: 14px; }
.sc-consent .sc-status { position: fixed; z-index: 10001; left: 12px; bottom: max(58px, calc(env(safe-area-inset-bottom) + 46px)); max-width: calc(100vw - 24px); padding: 8px 12px; margin: 0; border-radius: 6px; background: var(--sc-ink); color: #fff; box-shadow: 0 2px 12px #0002; }
.sc-consent .sc-status:empty { display: none; }
.sc-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sc-dialog--fallback[open] { position: fixed; z-index: 10002; inset: 16px 0; box-shadow: 0 0 0 100vmax #17151280; }
@media (max-width: 1000px) {
  .sc-banner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 20px; }
  .sc-banner__actions .sc-button { flex: 1 1 0; }
}
@media (max-width: 520px) {
  .sc-banner { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); max-height: calc(100dvh - 20px); padding: 16px; }
  .sc-banner__actions { flex-wrap: wrap; }
  .sc-banner__actions .sc-button { flex: 1 1 100%; }
  .sc-dialog__header { padding: 16px 18px 12px; }
  .sc-dialog__body { padding: 0 18px 16px; }
  .sc-dialog__actions { padding: 14px 18px 18px; }
  .sc-dialog__actions .sc-button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sc-consent .sc-button { transition: none; } }
