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

.sp-cookie-consent {
  position: fixed;
  z-index: 10050;
  right: clamp(14px, 2.5vw, 36px);
  bottom: clamp(14px, 2.5vw, 32px);
  left: clamp(14px, 2.5vw, 36px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(1180px, calc(100% - clamp(28px, 5vw, 72px)));
  margin-inline: auto;
  padding: 22px 24px;
  color: #f7f4ef;
  background:
    radial-gradient(circle at 90% 0, rgba(232, 62, 98, 0.22), transparent 36%),
    #111b2b;
  border: 1px solid rgba(214, 180, 119, 0.5);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(5, 10, 20, 0.42);
  font-family: Arial, sans-serif;
}

.sp-cookie-consent__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #111b2b;
  background: #d6b477;
  border-radius: 50%;
  font-size: 20px;
}

.sp-cookie-consent__eyebrow {
  margin: 0 0 5px;
  color: #d6b477;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sp-cookie-consent h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.05;
}

.sp-cookie-consent__copy > p:last-of-type {
  margin: 0;
  color: #d7dfeb;
  font-size: 14px;
  line-height: 1.55;
}

.sp-cookie-consent__copy a {
  display: inline-block;
  margin-top: 8px;
  color: #d6b477;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-cookie-consent__actions {
  display: flex;
  gap: 10px;
}

.sp-cookie-consent__button {
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  background: #e83e62;
  border: 1px solid #e83e62;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(232, 62, 98, 0.24);
}

.sp-cookie-consent__button--secondary {
  color: #f7f4ef;
  background: transparent;
  border-color: rgba(247, 244, 239, 0.42);
  box-shadow: none;
}

.sp-cookie-consent__button:hover,
.sp-cookie-consent__button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(214, 180, 119, 0.38);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .sp-cookie-consent {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .sp-cookie-consent__actions {
    grid-column: 1 / -1;
  }

  .sp-cookie-consent__button {
    flex: 1 1 0;
  }
}

@media (max-width: 480px) {
  .sp-cookie-consent {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .sp-cookie-consent__icon {
    width: 40px;
    height: 40px;
  }

  .sp-cookie-consent__actions {
    display: grid;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sp-cookie-consent:not([hidden]) {
    animation: sp-cookie-consent-in 240ms ease-out both;
  }

  @keyframes sp-cookie-consent-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }
}
