/* Scoped controls: preserve the site's native typography and purple palette. */
.sm-cookie-banner, .sm-cookie-dialog, .sm-cookie-message {
  color: #302b32; font-family: inherit; font-size: 14px; line-height: 1.6;
  text-align: left; box-sizing: border-box;
}
.sm-cookie-banner *, .sm-cookie-dialog * { box-sizing: border-box; margin: 0; }
.sm-cookie-banner[hidden], .sm-cookie-message[hidden], .sm-cookie-gpc[hidden] { display: none !important; }
.sm-cookie-banner {
  position: fixed; z-index: 2147483000; bottom: 20px; left: 24px; right: 24px;
  display: flex; align-items: center; gap: 28px; padding: 22px 26px;
  max-width: 1120px; margin: 0 auto; background: #fff;
  border: 1px solid #ded7e1; border-radius: 12px; box-shadow: 0 8px 34px #302b3230;
}
.sm-cookie-summary { flex: 1; min-width: 0; }
.sm-cookie-banner p, .sm-cookie-dialog p { margin: 0; }
.sm-cookie-banner .sm-cookie-title, .sm-cookie-dialog .sm-cookie-title {
  font-size: 18px; font-weight: 700; line-height: 1.4; color: #522b5b; margin-bottom: 6px;
}
.sm-cookie-banner a, .sm-cookie-dialog a {
  color: #522b5b; text-decoration: underline; text-underline-offset: 3px;
}
.sm-cookie-actions, .sm-cookie-dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sm-cookie-button {
  appearance: none; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4;
  color: #522b5b; background: #fff; border: 1px solid #522b5b; border-radius: 6px;
  padding: 11px 16px; min-height: 44px; cursor: pointer; white-space: nowrap;
}
.sm-cookie-button:hover { background: #f4eff5; }
.sm-cookie-button:active { background: #e9deec; }
.sm-cookie-button:focus-visible, .sm-cookie-close:focus-visible, .sm-cookie-footer-link:focus-visible,
.sm-cookie-dialog a:focus-visible, .sm-cookie-banner a:focus-visible, #sm-cookie-functional:focus-visible {
  outline: 3px solid #95749d; outline-offset: 3px;
}
.sm-cookie-dialog {
  width: min(560px, calc(100% - 32px)); max-width: 560px;
  max-height: calc(100dvh - 40px); padding: 26px; margin: auto;
  border: 1px solid #ded7e1; border-radius: 14px; background: #fff;
  box-shadow: 0 16px 64px #21182440; overflow-y: auto;
}
.sm-cookie-dialog::backdrop { background: #22142670; }
.sm-cookie-dialog:not([open]) { display: none; }
.sm-cookie-dialog.sm-cookie-fallback[open] { position: fixed; inset: 0; z-index: 2147483100; }
html.sm-cookie-fallback-open::after { content: ''; position: fixed; inset: 0; background: #22142670; z-index: 2147483005; }
.sm-cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sm-cookie-dialog-head .sm-cookie-title { margin: 0; }
.sm-cookie-close {
  font-family: inherit; width: 40px; height: 40px; flex-shrink: 0; padding: 0;
  background: transparent; border: 1px solid #ded7e1; border-radius: 6px;
  color: #522b5b; font-size: 24px; cursor: pointer; line-height: 1;
}
.sm-cookie-dialog .sm-cookie-intro { margin: 12px 0 18px; }
.sm-cookie-category { padding: 15px 0; border-top: 1px solid #e9e3ec; }
.sm-cookie-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm-cookie-category-head strong { font-size: 15px; font-weight: 600; }
.sm-cookie-category p { margin-top: 7px; font-size: 13px; color: #5d565f; }
.sm-cookie-status-label { font-size: 12px; color: #615769; }
.sm-cookie-unused { padding: 12px 0; }
#sm-cookie-functional { width: 21px; height: 21px; flex: 0 0 21px; margin: 0; accent-color: #522b5b; cursor: pointer; }
#sm-cookie-functional:disabled { cursor: default; }
.sm-cookie-dialog .sm-cookie-gpc { padding: 12px; border-radius: 6px; background: #f4eff5; font-size: 13px; margin-top: 12px; }
.sm-cookie-dialog .sm-cookie-policy-link { margin: 14px 0; font-size: 13px; }
.sm-cookie-dialog-actions { border-top: 1px solid #e9e3ec; padding-top: 18px; }
.sm-cookie-dialog-actions .sm-cookie-button { flex: 1; }
.sm-cookie-footer-link { display: inline-block; font-size: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 14px; }
.sm-cookie-mobile-links { margin-top: 10px; }
.sm-cookie-mobile-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sm-cookie-message { position: fixed; z-index: 2147483200; bottom: 24px; left: 16px; right: 16px; width: max-content; max-width: calc(100% - 32px); margin: auto; padding: 12px 18px; border-radius: 8px; background: #522b5b; color: #fff; box-shadow: 0 4px 18px #21182430; }
body:has(.sm-cookie-mobile) .sm-cookie-message { bottom: calc(var(--sm-cookie-navigation-height, 80px) + 12px + env(safe-area-inset-bottom)); }
@media (max-width: 860px) {
  .sm-cookie-banner { gap: 16px; align-items: stretch; flex-direction: column; padding: 18px; }
  .sm-cookie-actions .sm-cookie-button { flex: 1; }
}
.sm-cookie-mobile { bottom: calc(var(--sm-cookie-navigation-height, 80px) + 12px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) {
  .sm-cookie-banner { left: 12px; right: 12px; bottom: 12px; max-height: calc(100dvh - 28px); overflow-y: auto; padding: 16px; gap: 14px; font-size: 13px; }
  .sm-cookie-banner.sm-cookie-mobile { bottom: calc(var(--sm-cookie-navigation-height, 80px) + 12px + env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--sm-cookie-navigation-height, 80px) - 36px - env(safe-area-inset-bottom)); }
  .sm-cookie-banner .sm-cookie-title { font-size: 16px; }
  .sm-cookie-actions { gap: 6px; }
  .sm-cookie-button { padding: 10px 9px; font-size: 12px; }
  .sm-cookie-dialog { padding: 20px; max-height: calc(100dvh - 24px); }
  .sm-cookie-category-head { align-items: flex-start; }
  .sm-cookie-status-label { text-align: right; }
  .sm-cookie-dialog-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .sm-cookie-banner *, .sm-cookie-dialog * { scroll-behavior: auto; } }
