html.kaszanka-dialog-open {
  overflow: hidden;
}

.kaszanka-dialog {
  background: #fff;
  border: 0;
  border-radius: 24px;
  color: var(--ink, #101827);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  max-width: 680px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  position: fixed;
  width: calc(100% - 32px);
}

.kaszanka-dialog::backdrop {
  background: rgba(16, 24, 39, 0.7);
}

.kaszanka-header {
  align-items: center;
  background: #fff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.kaszanka-dismiss {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 50%;
  color: #101827;
  cursor: pointer;
  display: flex;
  flex: 0 0 44px;
  font: 28px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.kaszanka-artwork {
  background: #fff6f0;
  width: 100%;
}

.kaszanka-artwork img {
  height: auto;
  max-height: 300px;
  object-fit: contain;
  width: 100%;
}

.kaszanka-copy {
  padding: 20px 28px 24px;
}

.kaszanka-eyebrow {
  color: var(--red-dark, #b9000b);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kaszanka-copy h2 {
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.kaszanka-copy p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.kaszanka-copy .kaszanka-details {
  color: var(--soft, #5f6d83);
  font-size: 13px;
}

.kaszanka-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.kaszanka-actions a,
.kaszanka-actions button {
  align-items: center;
  border: 1px solid var(--line, #e1e8f1);
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
}

.kaszanka-actions a {
  background: var(--red, #e30613);
  border-color: var(--red, #e30613);
  color: #fff;
}

.kaszanka-actions a:hover {
  background: var(--red-dark, #b9000b);
}

.kaszanka-actions button {
  background: #fff;
  color: var(--ink, #101827);
}

.kaszanka-actions :focus-visible,
.kaszanka-dismiss:focus-visible {
  outline: 3px solid var(--blue, #2867f4);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .kaszanka-copy {
    padding: 20px;
  }

  .kaszanka-actions > * {
    width: 100%;
  }
}

.kaszanka-sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
