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

.zs-cookie-panel {
  position: fixed;
  z-index: 2147483000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  width: min(calc(100% - 2rem), 72rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(212, 227, 214, 0.42);
  border-radius: clamp(1.1rem, 2vw, 1.65rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 227, 214, 0.14), transparent 34%),
    #0b3d36;
  box-shadow: 0 24px 70px rgba(4, 35, 31, 0.3);
  color: #fffaf0;
  font: inherit;
}

.zs-cookie-panel__copy {
  min-width: 0;
}

.zs-cookie-panel__label {
  margin: 0 0 0.55rem;
  color: #d4e3d6;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.zs-cookie-panel h2 {
  max-width: 32rem;
  margin: 0;
  color: #fffaf0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.zs-cookie-panel__description {
  max-width: 48rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.95rem;
  line-height: 1.62;
}

.zs-cookie-panel__description a {
  color: #fffaf0;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(212, 227, 214, 0.68);
  text-underline-offset: 0.2em;
}

.zs-cookie-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(8.25rem, 1fr));
  gap: 0.7rem;
}

.zs-cookie-panel__actions button {
  min-height: 3.15rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: 999px;
  background: #f6f0e6;
  color: #0b3d36;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.zs-cookie-panel__actions button[data-zs-choice="granted"] {
  background: #d4e3d6;
}

.zs-cookie-panel__actions button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(4, 35, 31, 0.22);
}

.zs-cookie-panel__actions button:focus-visible,
.zs-cookie-settings:focus-visible {
  outline: 3px solid #fffaf0;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #21675a;
}

.zs-cookie-settings {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 160ms ease;
}

.zs-cookie-settings:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 760px) {
  .zs-cookie-panel {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: stretch;
  }

  .zs-cookie-panel__actions {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .zs-cookie-panel {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    width: calc(100% - 1.3rem);
    padding: 1.05rem;
  }

  .zs-cookie-panel__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zs-cookie-panel__actions button {
    transition: none;
  }
}
