.nova-cookie-banner {
  position: fixed;
  z-index: 10050;
  left: clamp(16px, 3vw, 44px);
  bottom: clamp(16px, 3vw, 38px);
  width: min(820px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 18px;
  overflow: hidden;
  color: #f9f4ec;
  background:
    linear-gradient(120deg, rgba(19, 25, 29, .98), rgba(28, 34, 38, .95)),
    #151b1f;
  border: 1px solid rgba(216, 177, 97, .38);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.nova-cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#f4cd69, #a63126);
}

.nova-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nova-cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(12px);
}

.nova-cookie-banner__image {
  width: 104px;
  height: 104px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(244, 205, 105, .58);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.nova-cookie-banner__content {
  min-width: 0;
}

.nova-cookie-banner__eyebrow {
  margin: 0 0 7px;
  color: #f4cd69;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nova-cookie-banner__title {
  margin: 0 0 7px;
  color: #fffaf2;
  font: 400 clamp(1.08rem, 2vw, 1.34rem)/1.25 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-transform: none;
}

.nova-cookie-banner__copy {
  margin: 0;
  color: rgba(255, 250, 242, .76);
  font-size: .88rem;
  line-height: 1.55;
}

.nova-cookie-banner__copy a {
  color: #fffaf2;
  text-decoration-color: rgba(244, 205, 105, .72);
  text-underline-offset: 3px;
}

.nova-cookie-banner__actions {
  display: grid;
  gap: 9px;
  min-width: 142px;
}

.nova-cookie-banner__button {
  min-height: 43px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 7px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: 800 .72rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.nova-cookie-banner__button:hover {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .08);
}

.nova-cookie-banner__button--accept {
  border-color: #bd3b2e;
  background: #b43227;
}

.nova-cookie-banner__button--accept:hover {
  border-color: #d65042;
  background: #c43c30;
}

.nova-cookie-banner__button:focus-visible,
.nova-cookie-banner__copy a:focus-visible {
  outline: 3px solid #f4cd69;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .nova-cookie-banner {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
  }

  .nova-cookie-banner__image {
    width: 72px;
    height: 72px;
    align-self: start;
  }

  .nova-cookie-banner__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .nova-cookie-banner__title {
    font-size: 1rem;
  }

  .nova-cookie-banner__copy {
    font-size: .8rem;
  }

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

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