/* Basic full-screen overlay */
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.promo-modal-overlay.is-visible {
  display: flex;
}

/* Modal box */
.promo-modal {
  background: #770006;
  color: white;
  max-width: 600px;
  width: 90%;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Close (X) button */
.promo-modal-close {
  position: absolute;
  top: -2rem;
  right: 0.25rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
  color: white;
}

.promo-modal-content {
  display: flex;
}

.modal-content-left {
  flex: 1 1 50%;
  background-image: url(https://falcettipianos.com/images/headphones/HPH-150B_Web.jpg);
  background-size: cover;
  background-position: bottom;
}

.modal-content-right {
  padding: 2rem 2.5rem;
  flex: 1 1 50%;
}

/* Mobile */
@media (max-width: 768px) {
  .promo-modal-content {
    flex-wrap: wrap;
  }
  .modal-content-left {
    height: 300px;
  }
  .modal-content-left,
  .modal-content-right {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Text */
.modal-content-right h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: white!important;
}

.modal-content-right p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Decline button */
.promo-modal-decline {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  color: white;
  position: absolute;
  bottom: -2rem;
  right: 0;
  left: 0;
}