.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-banner.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner__container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}

.cookie-banner__content {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__text {
  flex: 1;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 140%;
  color: #0d0d0d;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.cookie-banner__link {
  color: #5eaa22;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.cookie-banner__link:hover {
  opacity: 0.8;
}

.cookie-banner__button {
  flex-shrink: 0;
  background: #5eaa22;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 20px 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 130%;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__button:hover {
  background: #3c8601;
}

.cookie-banner__button:active {
  background: #3f771a;
}

@media only screen and (max-width: 991px) {
  .cookie-banner__container {
    max-width: 372px;
    margin: 0 auto;
    padding: 0;
  }
  .cookie-banner {
    bottom: 60px;
    padding: 0 23px;
  }
  .cookie-banner__button {
    padding: 20px 12px;
    font-size: 13px;
    padding: 20px 12px;
  }
  .cookie-banner__content {
    padding: 8px;
    gap: 4px;
  }
  .cookie-banner__text {
    font-size: 12px;
  }
}
