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

.analytics-consent {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 20px 22px;
  color: #fff;
  background: rgba(11, 11, 11, 0.97);
  border: 1px solid #343434;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
}

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

.analytics-consent__title {
  display: block;
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.35;
}

.analytics-consent__description {
  margin: 0;
  color: #d5d5d5;
  font-size: 13px;
  line-height: 1.55;
}

.analytics-consent__description a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.analytics-consent__button,
.analytics-privacy__button {
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  border: 1px solid #5d5d5d;
  border-radius: 9px;
  background: transparent;
  font: 600 13px/1.25 "Montserrat", Arial, sans-serif;
  cursor: pointer;
}

.analytics-consent__button_primary {
  border-color: #d00010;
  background: #d00010;
}

.analytics-consent__button:hover,
.analytics-privacy__button:hover {
  border-color: #fff;
}

.analytics-consent__button:focus-visible,
.analytics-consent__description a:focus-visible,
.analytics-privacy__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.analytics-privacy {
  max-width: 920px;
  margin: 24px auto 80px;
  padding: 24px;
  color: #fff;
  background: #151515;
  border-radius: 12px;
  font-family: "Montserrat", Arial, sans-serif;
}

.analytics-privacy h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.analytics-privacy p {
  margin: 0 0 18px;
  color: #d5d5d5;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .analytics-consent__actions {
    width: 100%;
  }

  .analytics-consent__button {
    flex: 1;
  }

  .analytics-privacy {
    margin: 20px 12px 60px;
  }
}
