/* Barra de cookies — faixa inferior (referência site Dr. Diego) */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background-color: #474747;
  color: #ffffff;
  padding: 14px 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  font-family: inherit;
}

.cookie-consent-bar[hidden] {
  display: none !important;
}

.cookie-consent-bar.is-visible {
  display: block;
}

html.cookie-consent-visible body {
  padding-bottom: 88px;
}

@media (max-width: 767.98px) {
  html.cookie-consent-visible body {
    padding-bottom: 120px;
  }
}

.cookie-consent-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.cookie-consent-bar__text {
  flex: 1 1 280px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
}

.cookie-consent-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-consent-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.cookie-consent-bar__btn:hover,
.cookie-consent-bar__btn:focus-visible {
  background-color: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.cookie-consent-bar__btn--ok {
  min-width: 64px;
  padding: 0 22px;
}

.cookie-consent-bar__btn--policy {
  padding: 0 24px;
}

@media (max-width: 767.98px) {
  .cookie-consent-bar {
    padding: 16px 0;
  }

  .cookie-consent-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-bar__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
