.content-popup {
  position: fixed;
  inset: 0;
  margin: auto !important;
  transform: scale(0);
  opacity: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
  overflow: visible;
  display: flex;
  max-height: 85vh;
  min-height: 400px !important;
  height: -moz-fit-content !important;
  height: fit-content !important;
  width: 95%;
}
.content-popup[open] {
  opacity: 1;
  transform: scale(1);
}
.content-popup::backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.content-popup__header {
  padding: 30px 0;
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.content-popup__close {
  outline: none !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.content-popup__close img {
  width: 16px;
  height: 16px;
}
.content-popup__close:hover {
  transform: translateY(-50%) scale(1.1);
}
.content-popup__timer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 0;
  z-index: 2;
}
.content-popup__container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}
.content-popup__body {
  flex: 1;
  overflow-y: auto;
}
@media (max-width: 480px) {
  .content-popup {
    max-height: 97vh;
  }
  .content-popup__header {
    padding: 22px 0;
  }
}

.content-popup {
  border: 3px solid var(--border-color, transparent);
  background: var(--popup-bg, #ffffff);
}
.content-popup[data-style=rounded] {
  max-width: 466px !important;
}
.content-popup[data-style=classic], .content-popup[data-style=timer_top] {
  max-width: 575px !important;
}
.content-popup[data-style=fire] {
  max-width: 424px !important;
}
.content-popup[data-style=rounded], .content-popup[data-style=timer_top] {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.content-popup[data-style=classic] {
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.content-popup[data-style=fire] {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.content-popup[data-style=classic] .content-popup__header {
  margin: 0 -3px;
  border-top: 8px solid var(--accent-color, #e94e35);
}
.content-popup::backdrop {
  background-color: var(--popup-backdrop, rgba(0, 0, 0, 0.7));
}
.content-popup__timer {
  width: 72px;
  height: 72px;
}
.content-popup__timer img,
.content-popup__timer svg {
  max-height: 100%;
  max-width: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.content-popup__timer svg {
  fill: var(--accent-color, #e94e35) !important;
}
.content-popup__container {
  min-height: inherit;
}
.content-popup[data-style=rounded] .content-popup__banner {
  max-width: 238px;
  max-height: 238px;
}
.content-popup[data-style=rounded] .content-popup__banner img {
  max-width: 238px;
  max-height: 238px;
}
.content-popup[data-style=classic] .content-popup__banner {
  max-width: 300px;
  max-height: 300px;
}
.content-popup[data-style=classic] .content-popup__banner img {
  max-width: 300px;
  max-height: 300px;
}
.content-popup[data-style=timer_top] .content-popup__banner {
  max-width: 250px;
  max-height: 280px;
}
.content-popup[data-style=timer_top] .content-popup__banner img {
  max-width: 250px;
  max-height: 280px;
}
.content-popup[data-style=fire] .content-popup__banner {
  max-width: 270px;
  max-height: 270px;
}
.content-popup[data-style=fire] .content-popup__banner img {
  max-width: 270px;
  max-height: 270px;
}
.content-popup__banner {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.content-popup__banner img {
  -o-object-fit: cover;
  object-fit: cover;
}
.content-popup__body {
  padding: 0px 24px;
  transition: all 0.3s ease;
}
.content-popup__body::-webkit-scrollbar {
  width: 6px;
}
.content-popup__body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.content-popup__body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}
.content-popup__title {
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--title-color, #273561) !important;
}
.content-popup__text {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color, #727DA0) !important;
  margin: 0 auto;
}
.content-popup__text p {
  margin-bottom: 0;
}
.content-popup__text strong {
  color: var(--accent-color, #e94e35) !important;
}
.content-popup[data-style=rounded] .content-popup__text {
  max-width: 342px;
}
.content-popup[data-style=fire] .content-popup__text {
  max-width: 370px;
}
.content-popup[data-style=classic] .content-popup__text {
  max-width: 487px;
}
.content-popup[data-style=timer_top] .content-popup__text {
  max-width: 400px;
}
.content-popup[data-style=rounded] .content-popup__text strong, .content-popup[data-style=fire] .content-popup__text strong {
  font-size: 120%;
}
.content-popup__countdown {
  margin: 20px auto;
  text-align: center;
}
.content-popup__countdown-row {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--counter-color, #e94e35);
}
.content-popup__countdown-row .time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  height: 36px;
}
.content-popup__countdown-row .separator {
  font-weight: 400;
}
@media (max-width: 480px) {
  .content-popup__countdown-row {
    font-size: 24px;
  }
  .content-popup__countdown-row .time {
    min-width: 42px;
  }
  .content-popup__countdown-row .milliseconds {
    min-width: 35px;
  }
}
.content-popup[data-style=rounded] .content-popup__countdown-row, .content-popup[data-style=classic] .content-popup__countdown-row {
  gap: 10px;
}
.content-popup[data-style=rounded] .content-popup__countdown-row .time, .content-popup[data-style=classic] .content-popup__countdown-row .time {
  padding: 5px 7px;
  background: color-mix(in srgb, var(--counter-color, #e94e35) 3%, white);
  border-radius: 3px;
  width: 42px;
}
.content-popup[data-style=rounded] .content-popup__countdown-row .separator, .content-popup[data-style=classic] .content-popup__countdown-row .separator {
  color: color-mix(in srgb, var(--counter-color, #e94e35) 50%, white);
}
.content-popup[data-style=timer_top] .content-popup__countdown {
  margin: 0 auto;
  padding: 9px 24px;
  background: #FEEEE4;
  border-radius: 12px;
}
.content-popup[data-style=timer_top] .content-popup__countdown-row {
  gap: 5px;
}
.content-popup[data-style=timer_top] .content-popup__countdown-row::before {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url(../../assets/images/small_timer_icon.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 15px;
}
.content-popup[data-style=timer_top] .content-popup__countdown-row .time {
  color: var(--counter-color, #e94e35);
  width: 25px;
}
.content-popup[data-style=timer_top] .content-popup__countdown-row .separator {
  color: var(--counter-color, #e94e35);
}
.content-popup[data-style=fire] .content-popup__countdown-row {
  gap: 5px;
}
.content-popup[data-style=fire] .content-popup__countdown-row::before {
  content: "";
  width: 16px;
  height: 22px;
  background-image: url(../../assets/images/fire_icon.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 15px;
}
.content-popup[data-style=fire] .content-popup__countdown-row .time {
  color: var(--counter-color, #e94e35);
  width: 25px;
  height: 25px;
}
.content-popup[data-style=fire] .content-popup__countdown-row .separator {
  color: var(--counter-color, #e94e35);
}
.content-popup__footer {
  padding: 15px 0px 30px;
  text-align: center;
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
}
@media (max-width: 480px) {
  .content-popup__footer {
    padding: 8px 0 16px;
  }
}
.content-popup[data-style=classic] .content-popup__footer {
  padding: 30px 0;
}
.content-popup__cta {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 12px 40px;
  position: relative;
  z-index: 1;
  color: var(--cta-text-color, #ffffff);
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0px 3px 12px 0px color-mix(in srgb, var(--button-bg, var(--accent-color, #e94e35)) 32%, transparent);
  transition: box-shadow 0.15s ease-in-out;
  overflow: hidden;
}
.content-popup__cta::before, .content-popup__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transition: opacity 0.15s ease-in-out;
}
.content-popup__cta::before {
  background: linear-gradient(179deg, color-mix(in srgb, var(--button-bg, var(--accent-color, #e94e35)) 95%, white) 1.14%, color-mix(in srgb, var(--button-bg, var(--accent-color, #e94e35)) 100%, black 5%) 112.15%);
  opacity: 1;
}
.content-popup__cta::after {
  background: linear-gradient(179deg, color-mix(in srgb, var(--button-hover-bg, #8F7AF9) 95%, white) 1.14%, color-mix(in srgb, var(--button-hover-bg, #8F7AF9) 100%, black 5%) 112.15%);
  opacity: 0;
}
.content-popup__cta:hover {
  box-shadow: 0px 3px 12px 0px color-mix(in srgb, var(--button-hover-bg, #8F7AF9) 32%, transparent);
}
.content-popup__cta:hover::before {
  opacity: 0;
}
.content-popup__cta:hover::after {
  opacity: 1;
}
.content-popup[data-style=rounded] .content-popup__cta {
  max-width: 250px;
  border-radius: 32px;
}
.content-popup[data-style=classic] .content-popup__cta, .content-popup[data-style=fire] .content-popup__cta, .content-popup[data-style=timer_top] .content-popup__cta {
  max-width: 272px;
  border-radius: 8px;
}
@media (max-width: 480px) {
  .content-popup__timer {
    width: 60px;
    height: 60px;
  }
  .content-popup__content-wrapper {
    padding: 24px 16px;
  }
  .content-popup__banner {
    max-width: 254px;
    max-height: 254px;
  }
  .content-popup__banner img {
    max-width: 254px;
    max-height: 254px;
  }
  .content-popup__title {
    font-size: 24px;
  }
  .content-popup__text {
    font-size: 16px;
  }
  .content-popup__footer {
    padding: 16px;
  }
}