.epd600-promo {
  position: fixed;
  inset: 0;
  width: min(600px, calc(100vw - 32px), calc(100vh - 48px));
  width: min(600px, calc(100vw - 32px), calc(100svh - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  background: #22272a;
  color: #fff;
  font-family: Arial, sans-serif;
  letter-spacing: normal;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .35);
  overflow: visible;
}

.epd600-promo:not([open]) {
  display: none;
}

.epd600-promo::backdrop {
  background: rgba(18, 23, 29, .62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.epd600-promo__card {
  position: relative;
  aspect-ratio: 1;
  border-radius: inherit;
  overflow: hidden;
}

.epd600-promo__image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}

.epd600-promo__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 21, .86), rgba(8, 15, 21, .36) 24%, transparent 45%);
  pointer-events: none;
}

.epd600-promo__heading {
  position: relative;
  z-index: 1;
  padding: 6%;
  pointer-events: none;
}

.epd600-promo__badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 5px;
  background: #e52a27;
  font-size: clamp(10px, min(2.4vw, 2.4vh), 12px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
}

.epd600-promo__heading h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(26px, min(7.7vw, 7.7vh), 50px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.055em;
}

.epd600-promo__heading p {
  max-width: 40%;
  margin: 0;
  color: #fff;
  font-size: clamp(12px, min(3.3vw, 3.3vh), 18px);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
  line-height: 1.4;
  letter-spacing: normal;
}

.epd600-promo__link {
  position: absolute;
  z-index: 1;
  bottom: calc(6% + 20px);
  left: 6%;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-radius: 16px;
  background: #fff;
  color: #171c20;
  font-size: clamp(11px, min(2.8vw, 2.8vh), 14px);
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
}

.epd600-promo__link:hover {
  background: #e52a27;
  color: #fff;
}

.epd600-promo__progress {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 6%;
  right: 6%;
  height: 3px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, .25);
  pointer-events: none;
}

.epd600-promo__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(105, 111, 117, .5);
  transform: scaleX(0);
  transform-origin: left center;
}

.epd600-promo[open] .epd600-promo__progress-fill {
  animation: epd600-promo-countdown var(--epd600-promo-duration) linear forwards;
}

@keyframes epd600-promo-countdown {
  to { transform: scaleX(1); }
}

.epd600-promo__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.epd600-promo__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(23, 29, 35, .5);
  color: #fff;
  cursor: pointer;
}

.epd600-promo__close:hover {
  background: #fff;
  color: #171c20;
}

.epd600-promo__close:focus-visible,
.epd600-promo__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #171c20;
}

@media (max-width: 480px), (max-height: 480px) {
  .epd600-promo {
    border-radius: 14px;
  }

  .epd600-promo__heading h2 {
    margin-top: 8px;
  }

  .epd600-promo__close {
    top: 10px;
    right: 10px;
  }

  .epd600-promo__link {
    padding: 11px 14px;
    gap: 10px;
  }
}
