.analytics-consent {
  position: fixed;
  z-index: 10000;
  left: 24px;
  bottom: 24px;
  width: min(440px, calc(100vw - 48px));
  padding: 22px;
  color: #2C2A28;
  background: #FAF6F1;
  border: 1px solid #DDD3C5;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(44, 42, 40, 0.2);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.analytics-consent[hidden] { display: none; }

.analytics-consent__title {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.analytics-consent p { margin: 0; }

.analytics-consent a {
  color: #8F452D;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.analytics-consent__details {
  display: inline-block;
  margin-top: 9px;
}

.analytics-consent__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.analytics-consent__button {
  flex: 1 1 0;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #A95437;
  background: #F7ECE5;
  color: #713824;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.analytics-consent__button:hover { background: #EFDDD2; }
.analytics-consent__button:focus-visible {
  outline: 3px solid rgba(184, 92, 58, 0.28);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .analytics-consent {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .analytics-consent__actions { margin-top: 15px; }
}

@media (max-width: 330px) {
  .analytics-consent__actions { flex-direction: column; }
}
