/* Add custom CSS styles below */ 
/* نافذة منبثقة */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* محتوى النافذة */
.popup-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* تصميم العنوان */
.popup-content h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 20px;
}

/* تصميم كود الخصم */
#discount-code {
  font-size: 28px;
  font-weight: bold;
  color: #e74c3c;
  margin: 20px 0;
  text-transform: uppercase;
}

/* زر الإغلاق */
.close-btn {
  font-size: 30px;
  color: #aaa;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

.close-btn:hover {
  color: #333;
}

/* تخصيص الأزرار داخل النافذة المنبثقة */
.popup-content button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.popup-content button:hover {
  background-color: #c0392b;
}


/* تنسيق إشعارات المبيعات الوهمية */
.fake-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #323232;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  display: none;
  z-index: 10000;
  animation: fadeInOut 6s ease-in-out;
}

/* حركة ظهور واختفاء الإشعار */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}







.has-num,
.details__title {
  display: none !important;
}














/* ======== Popup Rating Style ======== */
#rating-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    width: 90%;
    max-width: 380px;
    padding: 25px;
    border-radius: 14px;
    z-index: 999999;
    opacity: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
    transition: 0.3s ease-in-out;
    display: none;
}

#rating-popup.active {
    opacity: 1;
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

#rating-popup h3 {
    text-align: center;
    margin-bottom: 15px;
}

.stars {
    text-align: center;
}

.stars i {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
    margin: 5px;
    transition: 0.2s;
}

.stars i.active {
    color: #FFD700;
}

#close-popup {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background: #444;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}