.zanet-cookie-notice {
  position: fixed;
  z-index: 40;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  inset-block-end: max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(384px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #505155;
  border-radius: 14px;
  background: #191a1c;
  color: #f3f1ec;
  box-shadow: 0 10px 24px #0005;
  font-family: inherit;
  text-align: start;
}

.zanet-cookie-notice h2 {
  margin: 0 0 4px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  color: inherit;
}

.zanet-cookie-notice p {
  margin: 0;
  color: #cdcbd0;
  font-size: .875rem;
  line-height: 1.5;
}

.zanet-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 8px;
}

.zanet-cookie-actions a, .zanet-cookie-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: inherit;
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.25;
}

.zanet-cookie-actions a {
  color: #f3f1ec;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.zanet-cookie-actions button {
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #ff4f58;
  color: #151516;
  cursor: pointer;
}

.zanet-cookie-actions button:hover { background: #ff727a; }

.zanet-cookie-actions :focus-visible {
  outline: 2px solid #f3f1ec;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .zanet-cookie-notice {
    inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    inset-block-end: max(12px, env(safe-area-inset-bottom));
    width: auto;
  }
}
