.pnb-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 22px;
  bottom: 22px;
  width: min(560px, calc(100% - 44px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-family: Platform, TildaSans, Arial, sans-serif;
}

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

.pnb-cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  color: #f5f0e8;
  background: rgba(17, 79, 64, 0.97);
  border: 1px solid rgba(227, 161, 85, 0.42);
  border-radius: 6px;
  box-shadow: 0 22px 52px rgba(17, 79, 64, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pnb-cookie-banner__text {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.pnb-cookie-banner__text strong {
  color: #e3a155;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.pnb-cookie-banner__text p {
  margin: 0;
  color: rgba(245, 240, 232, 0.86);
  font-size: 14px;
  line-height: 1.34;
}

.pnb-cookie-banner__text a {
  color: #f5f0e8;
  text-decoration-color: rgba(245, 240, 232, 0.5);
  text-underline-offset: 3px;
}

.pnb-cookie-banner__text a:hover {
  color: #ffffff;
  text-decoration-color: #e3a155;
}

.pnb-cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pnb-cookie-banner__button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pnb-cookie-banner__button:focus-visible {
  outline: 3px solid rgba(227, 161, 85, 0.55);
  outline-offset: 3px;
}

.pnb-cookie-banner__button:active {
  transform: translateY(1px);
}

.pnb-cookie-banner__button--primary {
  color: #114f40;
  background: #e3a155;
  border-color: #e3a155;
}

.pnb-cookie-banner__button--primary:hover {
  background: #f0b56f;
  border-color: #f0b56f;
}

.pnb-cookie-banner__button--secondary {
  color: #f5f0e8;
  background: transparent;
  border-color: rgba(245, 240, 232, 0.48);
}

.pnb-cookie-banner__button--secondary:hover {
  border-color: #f5f0e8;
  background: rgba(245, 240, 232, 0.08);
}

@media (max-width: 640px) {
  .pnb-cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .pnb-cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .pnb-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pnb-cookie-banner__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pnb-cookie-banner,
  .pnb-cookie-banner__button {
    transition: none;
  }
}
