.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #171b13;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.analytics-consent__content {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(79, 111, 31, 0.24);
  border-radius: 18px;
  background: #fbfbf4;
  box-shadow: 0 18px 60px rgba(24, 31, 17, 0.2);
}

.analytics-consent__copy {
  max-width: 720px;
}

.analytics-consent__copy h2 {
  margin: 0 0 6px;
  color: #171b13;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
}

.analytics-consent__copy p {
  margin: 0;
  color: #596050;
  font-size: 14px;
  line-height: 1.5;
}

.analytics-consent__copy a {
  color: #4f6f1f;
  font-weight: 700;
}

.analytics-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.analytics-consent__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #4f6f1f;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.analytics-consent__button:focus-visible {
  outline: 3px solid rgba(79, 111, 31, 0.35);
  outline-offset: 2px;
}

.analytics-consent__button--primary {
  color: #fff;
  background: #4f6f1f;
}

.analytics-consent__button--secondary {
  color: #3d531e;
  background: transparent;
}

.analytics-settings-button {
  padding: 0;
  border: 0;
  color: #4f6f1f;
  background: none;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .analytics-consent__content {
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    border-radius: 14px;
  }

  .analytics-consent__actions {
    flex-direction: column;
  }

  .analytics-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent__button {
    transition: none;
  }
}
