.a1-cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100000;
  width: min(440px, calc(100vw - 48px));
  padding: 22px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #151515;
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  font-family: "Golos Text", Arial, sans-serif;
}

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

.a1-cookie-consent__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

.a1-cookie-consent__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.a1-cookie-consent__text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.a1-cookie-consent__button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.a1-cookie-consent__button:hover,
.a1-cookie-consent__button:focus-visible {
  border-color: #ffffff;
  outline: none;
}

.a1-cookie-consent__button--accept {
  border-color: #e9853b;
  background: #e9853b;
  color: #111111;
}

.a1-cookie-consent__button--accept:hover,
.a1-cookie-consent__button--accept:focus-visible {
  border-color: #f29a58;
  background: #f29a58;
}

@media (max-width: 640px) {
  .a1-cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .a1-cookie-consent__actions {
    flex-direction: column-reverse;
  }

  .a1-cookie-consent__button {
    width: 100%;
  }
}

