/* Consentimiento de analítica: barra discreta y aislada del sistema visual principal. */
.ebh-consent[hidden] { display:none !important; }
.ebh-consent {
  position:fixed;
  z-index:100000;
  left:.75rem;
  right:.75rem;
  bottom:.75rem;
  color:var(--ebh-text);
  font-family:var(--ebh-ui);
  pointer-events:none;
}
.ebh-consent__inner {
  width:min(100%, 66rem);
  margin:0 auto;
  padding:.78rem .9rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem 1.25rem;
  background:var(--ebh-surface);
  border:1px solid var(--ebh-border);
  border-radius:calc(var(--ebh-radius) - .2rem);
  box-shadow:0 .55rem 1.6rem rgba(33,31,27,.14);
  pointer-events:auto;
}
.ebh-consent__copy { min-width:0; }
.ebh-consent__title {
  display:block;
  margin:0 0 .08rem;
  font-size:.94rem;
  font-weight:850;
  line-height:1.25;
}
.ebh-consent__text {
  margin:0;
  color:var(--ebh-muted);
  font-size:.82rem;
  line-height:1.4;
}
.ebh-consent__actions {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:flex-end;
  gap:.5rem;
}
.ebh-consent__button {
  min-height:2.45rem;
  border-radius:999px;
  padding:.56rem .9rem;
  font:inherit;
  font-size:.84rem;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
  white-space:nowrap;
  transition:background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.ebh-consent__button--secondary {
  border:1px solid var(--ebh-border);
  background:transparent;
  color:var(--ebh-text);
}
.ebh-consent__button--secondary:hover {
  border-color:var(--ebh-text);
  background:var(--ebh-soft);
}
.ebh-consent__button--primary {
  border:1px solid var(--ebh-terracotta-dark);
  background:var(--ebh-terracotta);
  color:#fffaf1;
  padding-inline:1.08rem;
  box-shadow:0 .2rem .55rem rgba(125,63,45,.18);
}
.ebh-consent__button--primary:hover {
  background:var(--ebh-terracotta-dark);
  border-color:var(--ebh-terracotta-dark);
  transform:translateY(-1px);
}
.ebh-consent__button:focus-visible,
.ebh-cookie-preferences:focus-visible {
  outline:3px solid var(--ebh-mustard);
  outline-offset:3px;
}
.ebh-cookie-preferences {
  width:max-content;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ebh-bg);
  font:inherit;
  font-weight:750;
  line-height:inherit;
  text-align:left;
  cursor:pointer;
}
.ebh-cookie-preferences:hover { text-decoration:underline; }

@media (max-width: 760px) {
  .ebh-consent { left:.55rem; right:.55rem; bottom:.55rem; }
  .ebh-consent__inner {
    align-items:stretch;
    flex-direction:column;
    padding:.8rem;
    gap:.7rem;
  }
  .ebh-consent__actions {
    width:100%;
    justify-content:flex-end;
  }
}

@media (max-width: 480px) {
  .ebh-consent__actions { display:grid; grid-template-columns:1fr 1.15fr; }
  .ebh-consent__button { width:100%; padding-inline:.65rem; white-space:normal; }
}
