/* Podziękowanie po wydarzeniu — wspólne kolory i krój pisma strony. */
html.thank-you-open { overflow: hidden; }
.catalog-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.thank-you-dialog {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(30px, 5vw, 52px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, .2);
  border-top: 3px solid var(--orange);
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0%, rgba(255, 92, 27, .12), transparent 58%), var(--ink);
  color: var(--white);
  text-align: center;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55);
}
.thank-you-dialog::backdrop {
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(7px);
}
.thank-you-dialog[open] { animation: thankYouIn .3s var(--ease) both; }
.thank-you-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.thank-you-close:hover { background: rgba(255, 255, 255, .12); }
.thank-you-mark {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: rgba(255, 92, 27, .1);
  border: 1px solid rgba(255, 92, 27, .24);
}
.thank-you-eyebrow {
  max-width: 340px;
  margin: 0 auto 20px;
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.thank-you-dialog h2 {
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: -.055em;
  margin: 0;
}
.thank-you-description {
  max-width: 420px;
  margin: 24px auto 28px;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  line-height: 1.75;
}
.thank-you-catalog { width: 100%; max-width: 360px; }
.thank-you-file {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  line-height: 1.5;
}
.thank-you-continue {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.thank-you-continue span { margin-left: 10px; }
.thank-you-continue:hover { color: var(--orange); }
.thank-you-dialog :focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
@keyframes thankYouIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 420px) {
  .thank-you-dialog { padding: 32px 22px 24px; border-radius: 20px; }
  .thank-you-mark { width: 64px; height: 64px; margin-bottom: 20px; }
  .thank-you-mark img { width: 44px; height: 44px; }
  .thank-you-description { font-size: 14px; margin-block: 20px 24px; }
  .thank-you-catalog { padding-inline: 16px; gap: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .thank-you-dialog[open] { animation: none; }
}
