body.promo-popup-no-scroll {
  overflow: hidden;
}

#promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 999998;
  transition: opacity 0.6s ease;
}

#promo-popup-overlay.show {
  opacity: 0.4;
  pointer-events: auto;
}

#promo-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 430px;
  max-width: calc(100% - 48px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  padding: 22px 20px;
  z-index: 999999; /* deve restare sopra l'overlay (999998) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	display:none!important;
}

#promo-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;

}

#promo-popup .promo-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 4px;
}

#promo-popup .promo-close:hover {
  color: #333;
}

#promo-popup h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1a1a1a;
}

#promo-popup p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

#promo-popup .promo-code {
  display: inline-block;
  background: #f2f2f2;
  border: 1px dashed #bbb;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: #222;
  cursor: pointer;
  user-select: all;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

#promo-popup .promo-code:active {
  background: #e8e8e8;
}

#promo-popup .promo-hint {
  margin-top: 8px;
  font-size: 11px;
  color: #999;
  text-align: center;
}