/* overlay */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity .25s ease, visibility .25s ease;
}

.promo-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* popup modal */
.promo-popup {
  display: none !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) scale(0.96) !important;
  width: min(960px, calc(100% - 24px)) !important;
  max-width: 960px !important;
  max-height: calc(100vh - 24px) !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  visibility: hidden;
  z-index: 9999 !important;
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  isolation: isolate;
}

.promo-popup.is-open {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1) !important;
}

.promo-popup .gb-block-image {
  margin: 0;
}

.promo-popup-inner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.promo-popup-inner > .gb-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.promo-popup-inner .gb-headline,
.promo-popup-inner p,
.promo-popup-inner h2,
.promo-popup-inner .promo-button {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.promo-popup-inner .gb-container-cc573fcc {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* all decorative SVGs */
.promo-shape-left-1,
.promo-shape-left-2,
.promo-shape-left-3,
.promo-shape-right-1,
.promo-shape-right-2,
.promo-shape-right-3 {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  pointer-events: none;
}

/* bottom-left stack */
.promo-shape-left-1 {
  left: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
}

.promo-shape-left-2 {
  left: 0;
  bottom: 0;
  width: 245px;
  z-index: 3;
}

.promo-shape-left-3 {
  left: 0;
  bottom: 0;
  z-index: 4;
  height: 100%;
}

/* top-right stack */
.promo-shape-right-1 {
  right: 0;
  top: 0;
  width: 345px;
  z-index: 2;
}

.promo-shape-right-2 {
  right: 0;
  top: 0;
  width: 545px;
  z-index: 3;
}

.promo-shape-right-3 {
  right: 0;
  top: 0;
  z-index: 4;
}

.promo-button {
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
}

/* close icon */
.promo-popup .gb-block-image-e410c6c1 {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 50;
  cursor: pointer;
}

.promo-popup .gb-image-e410c6c1 {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .promo-popup-inner {
    margin: 24px 24px;
    padding: 44px 22px 34px;
    min-height: auto;
  }

  .promo-shape-left-1,
  .promo-shape-right-1 {
    width: 378px;
  }

  .promo-shape-left-2,
  .promo-shape-right-2 {
    width: 295px;
  }

  .promo-shape-left-3,
  .promo-shape-right-3 {
    height: 100% !important;
  }
}