.ep-cookie-consent {
  --ep-cookie-bg: #fff;
  --ep-cookie-panel-bg: rgba(255, 255, 255, .9);
  --ep-cookie-text: #202020;
  --ep-cookie-muted: #555;
  --ep-cookie-border: #d4d4d4;
  font-family: inherit;
  color: var(--ep-cookie-text);
}
html.tema-escuro .ep-cookie-consent {
  --ep-cookie-bg: #101010;
  --ep-cookie-panel-bg: rgba(16, 16, 16, .9);
  --ep-cookie-text: #f5f5f5;
  --ep-cookie-muted: #c7c7c7;
  --ep-cookie-border: #484848;
}
.ep-cookie-consent [hidden] { display: none !important; }
.ep-cookie-consent .ep-cookie-consent__bar {
  position: fixed;
  inset: auto auto max(20px, env(safe-area-inset-bottom)) 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 32px));
  z-index: 2147483647;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  max-height: 75dvh;
  overflow-y: auto;
  background: var(--ep-cookie-panel-bg);
  color: var(--ep-cookie-text);
  border: 1px solid var(--ep-cookie-border);
  border-radius: 12px;
  box-shadow: 0 -8px 32px #0002;
  box-sizing: border-box;
}
.ep-cookie-consent .ep-cookie-consent__copy { flex: 1; min-width: 0; }
.ep-cookie-consent p { color: var(--ep-cookie-muted); font-size: 13px; line-height: 1.4; margin: 0; }
.ep-cookie-consent .ep-cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.ep-cookie-consent button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--ep-cookie-border);
  border-radius: 9px;
  background: var(--ep-cookie-bg);
  color: var(--ep-cookie-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}
.ep-cookie-consent button[data-ep-cookie-choice="all"] { background: #0e3aa9; border-color: #0e3aa9; color: #fff; }
.ep-cookie-consent button:hover { filter: brightness(.92); }
.ep-cookie-consent button:focus-visible { outline: 3px solid #517ce4; outline-offset: 3px; }
.ep-cookie-consent #ep-cookie-error { margin-top: 8px; }
@media (max-width: 760px) {
  .ep-cookie-consent .ep-cookie-consent__bar { width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; }
  .ep-cookie-consent .ep-cookie-consent__actions { flex-shrink: 1; }
  .ep-cookie-consent .ep-cookie-consent__actions button { flex: 1; }
}
@media print { .ep-cookie-consent { display: none !important; } }
