/* پاپ‌آپ پروموشن */
.ht-promo-popup {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  padding: 16px;
  max-width: 180px;         /* ⬅️ عرض کمتر برای ظاهر عمودی‌تر */
  max-height: 380px;        /* ⬅️ ارتفاع محدود برای کنترل اندازه */
  display: none;
  animation: fadeIn 0.5s ease;
  transition: all 0.3s ease;
  font-family: "Vazir", sans-serif;
  overflow-y: auto;         /* ⬅️ اسکرول داخلی در صورت نیاز */
}


.ht-promo-content {
  font-size: 15px;
  line-height: 1.6;
}

.ht-promo-content h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.ht-promo-content p {
  margin-bottom: 10px;
}

.ht-promo-code {
  margin-top: 10px;
  font-weight: bold;
  background: #f1f1f1;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

.ht-close-popup {
  margin-top: 15px;
  background-color: #ff4d4d;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.ht-close-popup:hover {
  background-color: #e63946;
}

.ht-wheel-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #ffd166;
  color: #000;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 9998;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.ht-wheel-button:hover {
  transform: scale(1.05);
}
/* حالت‌های استایل پاپ‌آپ */
.ht-style-dark {
  background-color: #1e1e1e;
  color: #ffd166;
  border: 1px solid #ffd166;
}

.ht-style-dark h3,
.ht-style-dark p,
.ht-style-dark .ht-promo-code {
  color: #ffd166;
}

.ht-style-dark .ht-promo-code {
  background-color: #2a2a2a;
}

.ht-style-light {
  background-color: #f9f9f9;
  color: #333;
  border: 1px solid #ccc;
}

.ht-style-light h3,
.ht-style-light p,
.ht-style-light .ht-promo-code {
  color: #0073aa;
}

.ht-style-light .ht-promo-code {
  background-color: #eaeaea;
}

.ht-style-slide {
  animation: slideUp 0.5s ease;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
