/* Promo popup – Back to School */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.promo-popup {
  position: relative;
  max-width: min(420px, 92vw);
  max-height: 90vh;
  line-height: 0;
  animation: promoPopupIn 0.35s ease;
}

.promo-popup img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.promo-popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #1a2744;
  color: #f5d76e;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.promo-popup-close:hover {
  background: #c9a227;
  color: #1a2744;
  transform: scale(1.05);
}

@keyframes promoPopupIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.promo-popup-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .promo-popup-close {
    top: -8px;
    right: -4px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}
