.analytics-consent {
  position: fixed;
  left: 50%;
  bottom: calc(5.7rem + env(safe-area-inset-bottom));
  z-index: 80;
  width: min(calc(100% - 1.25rem), 430px);
  box-sizing: border-box;
  padding: 0.85rem;
  border: 1px solid rgba(252, 252, 252, 0.78);
  border-radius: 16px;
  background: rgba(252, 252, 252, 0.96);
  box-shadow: 0 18px 42px rgba(8, 38, 35, 0.2);
  transform: translateX(-50%);
}

.analytics-consent p {
  margin: 0 0 0.7rem;
  color: #46645f;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.84rem;
  line-height: 1.45;
}

.analytics-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.analytics-consent-btn {
  min-width: 0;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.58rem 0.7rem;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.analytics-consent-primary {
  background: #c5a059;
  color: #132a26;
}

.analytics-consent-secondary {
  background: #fcfcfc;
  color: #0f302b;
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.12);
}

@media (min-width: 860px) {
  .analytics-consent {
    bottom: 1rem;
  }
}
