/* ==== كرت كوبون مطفي أنيق من اليسار ==== */
.custom-announcement {
  position: fixed !important;
  top: 25px !important;
  left: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  background: #ff8c42 !important; /* 🟧 لون مطفي ثابت */
  color: #fff !important;
  font-family: "Cairo", sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 14px 22px !important;
  border-radius: 0 50px 50px 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; /* ظل ناعم */
  transform: translateX(-120%) !important;
  animation: slideInLeft 0.8s ease-out forwards;
  cursor: pointer !important;
  overflow: visible !important;
  line-height: 1.3 !important;
  opacity: 0.95 !important; /* تأثير مطفي */
}

/* رأس السهم */
.custom-announcement::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 18px solid #ff8c42;
}

/* حركة دخول من اليسار */
@keyframes slideInLeft {
  0% { transform: translateX(-120%); opacity: 0; }
  100% { transform: translateX(0); opacity: 0.95; }
}

/* تأثير عند المرور */
.custom-announcement:hover {
  opacity: 1 !important; /* يظهر أوضح عند المرور */
  transform: translateX(0) scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* للجوال */
@media (max-width: 480px) {
  .custom-announcement {
    font-size: 14px !important;
    padding: 12px 16px !important;
    border-radius: 0 40px 40px 0 !important;
  }
  .custom-announcement::after {
    right: -14px;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #ff8c42;
  }
}