.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  background: #0d3d25;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.analytics-consent h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.2rem;
}

.analytics-consent p {
  margin: 0 0 4px;
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.analytics-consent a,
.privacy-choice {
  color: #f6c744;
  font-weight: 800;
}

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

.analytics-consent button,
.privacy-choice {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.analytics-consent__accept {
  color: #0d3d25;
  background: #f6c744;
  border: 2px solid #f6c744;
}

.analytics-consent__decline {
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.privacy-choice {
  padding: 0;
  min-height: auto;
  border: 0;
  background: transparent;
}

.privacy-page {
  width: min(800px, calc(100% - 32px));
  margin: 48px auto;
}

.privacy-card {
  padding: clamp(24px, 5vw, 48px);
  background: #ffffff;
  border: 1px solid #e2dfd6;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.privacy-card li + li {
  margin-top: 8px;
}

@media (max-width: 680px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent * {
    scroll-behavior: auto;
  }
}
