#promo-overlay {
	display: none; /* popup domyślnie ukryty */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  align-items: flex-start;
padding-top: 40px;
}

#promo-popup {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 480px;  /* zwiększona szerokość */
  width: 90vw;
  font-family: 'Poppins', sans-serif;
  position: relative;
  box-sizing: border-box;

  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;

  /* ukrycie paska przewijania */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE i Edge */
}
#promo-popup::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

#promo-popup h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #c62828; /* czerwony */
}

#promo-popup img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

#promo-popup p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}

.promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: #c62828; /* czerwony */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.promo-button:hover {
  background: #8e0000;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #000;
}
#promo-minimized {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  cursor: pointer;
}

.promo-mini-box {
  background: #c62828;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.promo-mini-box:hover {
  background: #8e0000;
}
@media (max-width: 768px) {
  #promo-popup {
    width: 90%;
    padding: 20px;
  }

  #promo-popup h2 {
    font-size: 1.2rem;
  }

  #promo-popup p {
    font-size: 0.95rem;
  }

  .promo-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
