body.cookie-banner-open {
  padding-bottom: 110px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  width: min(1120px, calc(100% - 32px));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(6, 20, 36, 0.14);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #243244;
}

.cookie-banner__text p + p {
  margin-top: 4px;
}

.cookie-banner__text a {
  color: #009444;
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner__btn {
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-banner__btn--outline {
  background: #fff;
  color: #009444;
  border: 2px solid #009444;
}

.cookie-banner__btn--outline:hover {
  background: #eefaf4;
}

.cookie-banner__btn--accept {
  background: #009444;
  color: #fff;
  border: 2px solid #009444;
}

.cookie-banner__btn--accept:hover {
  background: #007a3a;
  border-color: #007a3a;
}

@media (max-width: 900px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .cookie-banner__icon {
    display: none;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body.cookie-banner-open {
    padding-bottom: 180px;
  }

  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 20px);
    padding: 16px;
  }

  .cookie-banner__text p {
    font-size: 13px;
  }
}
