/* Compact consent UI; scoped so the supplied homepage remains unchanged. */
.cookie-bar {
  position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; right: 12px;
  z-index: 1100; width: fit-content; max-width: calc(100% - 24px); margin: 0 auto;
  display: flex; align-items: center; gap: 18px; padding: 10px 14px;
  background: #fff; color: #0f172b; border: 1px solid #cbd5e1; border-radius: 14px;
  box-shadow: 0 4px 24px #0f172b20; font-size: 13px; line-height: 1.4;
}
.cookie-bar[hidden], [data-cookie-open][hidden], .cookie-storage-error[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cookie-bar .cookie-actions { flex-shrink: 0; }
.cookie-button {
  min-height: 44px; padding: 7px 12px; border: 1px solid #cbd5e1;
  border-radius: 8px; background: #f8fafc; color: #0f172b;
  font-size: 13px; font-weight: 700; line-height: 1.3;
}
.cookie-button:hover { background: #fff4ec; border-color: #c2410c; }
.cookie-text-link { padding: 0; border: 0; background: none; color: #c2410c; text-decoration: underline; }
.cookie-settings-link { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.cookie-dialog {
  width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 20px; border: 1px solid #cbd5e1; border-radius: 16px;
  background: #fff; color: #0f172b; box-shadow: 0 16px 40px #0f172b30;
  font-size: 14px; line-height: 1.5;
}
.cookie-dialog::backdrop { background: #0f172b50; }
.cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-dialog h2 { font-family: var(--font-display); font-size: 23px; }
.cookie-close { width: 44px; height: 44px; border: 0; background: none; border-radius: 8px; font-size: 28px; }
.cookie-close:hover { background: #f1f5f9; }
.cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e2e8f0; }
.cookie-category p, #cookie-intro { font-size: 13px; color: #475569; }
.cookie-category span { white-space: nowrap; font-size: 12px; color: #475569; }
.cookie-category input { width: 22px; height: 22px; flex-shrink: 0; accent-color: #c2410c; margin: 10px; }
.cookie-info { margin: 14px 0; font-size: 12px; color: #475569; }
.cookie-info summary { cursor: pointer; min-height: 32px; color: #0f172b; text-decoration: underline; }
.cookie-info p { margin: 8px 0; }
.cookie-dialog .cookie-actions { justify-content: space-between; margin-top: 16px; }
#cookie-error { color: #b91c1c; margin-top: 10px; font-size: 13px; }
.cookie-storage-error { position: fixed; bottom: 104px; left: 16px; right: 16px; z-index: 1101; margin: 0 auto; width: fit-content; max-width: calc(100% - 32px); padding: 8px 12px; background: #fff; border: 1px solid #b91c1c; border-radius: 8px; color: #b91c1c; font-size: 13px; }
.cookie-noscript { padding: 8px 20px; color: #475569; font-size: 12px; text-align: center; }
@media (max-width: 850px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 12px; }
  .cookie-bar .cookie-actions { justify-content: center; }
}
@media (max-width: 380px) {
  .cookie-bar .cookie-button { padding: 7px 8px; font-size: 12px; }
}
