.birthday-offer, .birthday-offer * { box-sizing: border-box; }

.birthday-offer {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #ffffff90;
  border-radius: 28px;
  background: #fff9f6;
  color: #17131c;
  box-shadow: 0 30px 100px #17131c50;
  font-family: var(--font-sans, system-ui, sans-serif);
  text-align: center;
}

.birthday-offer::backdrop {
  background: #17131c99;
  backdrop-filter: blur(5px);
}

html:has(.birthday-offer[open]) { overflow: hidden; }

.birthday-offer-content {
  position: relative;
  padding: 58px 40px 40px;
  background: radial-gradient(ellipse at top, #f9cce0, transparent 65%);
}

.birthday-offer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #17131c25;
  border-radius: 50%;
  background: #ffffffd9;
  color: #17131c;
  font: 28px/1 sans-serif;
  cursor: pointer;
}

.birthday-offer .birthday-offer-eyebrow {
  margin: 0 0 18px;
  color: #a91558;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.birthday-offer h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.1; }
.birthday-offer .birthday-offer-discount { margin: 20px 0 0; color: #c61d68; font-size: clamp(4.5rem, 17vw, 7rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.birthday-offer .birthday-offer-subtitle { margin: 8px 0 22px; color: #17131c; font-size: 1.4rem; font-weight: 700; }
.birthday-offer #birthday-offer-description { max-width: 340px; margin: 0 auto 28px; color: #59515c; font-size: 1.1rem; line-height: 1.6; }

.birthday-offer-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #c61d68;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.birthday-offer-cta:hover { background: #a91558; }
.birthday-offer :focus-visible { outline: 3px solid #17131c; outline-offset: 4px; }

@media (max-width: 480px) {
  .birthday-offer-content { padding: 62px 24px 30px; }
  .birthday-offer-cta { width: 100%; }
}
