.sh-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 16px;
  pointer-events: none;
}

.sh-cookie[hidden] {
  display: none !important;
}

.sh-cookie__inner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 22px 18px;
  background: #fffcf8;
  color: #1c1916;
  border: 1px solid rgba(28, 25, 22, 0.14);
  box-shadow: 0 12px 40px rgba(28, 25, 22, 0.12);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1), opacity 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

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

.sh-cookie__title {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.sh-cookie__text {
  margin: 0 0 16px;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6b645c;
}

.sh-cookie__text a {
  color: #1c1916;
  text-underline-offset: 2px;
}

.sh-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sh-cookie__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  padding: 0 16px;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background 160ms ease, color 160ms ease;
}

.sh-cookie__btn:active {
  transform: scale(0.97);
}

.sh-cookie__btn--ink {
  background: #1c1916;
  color: #f4efe8;
}

.sh-cookie__btn--ghost {
  background: transparent;
  color: #1c1916;
  box-shadow: inset 0 0 0 1px rgba(28, 25, 22, 0.22);
}

@media (max-width: 560px) {
  .sh-cookie__actions {
    flex-direction: column;
  }
  .sh-cookie__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-cookie__inner,
  .sh-cookie__btn {
    transition: none;
  }
}
