/* Add custom CSS styles below */ 
#whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px; /* غيّرها إلى left: 20px; لو تبغى باليسار */
    z-index: 99999;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pop-up 1s ease-in-out, float-effect 3s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

/* أيقونة الواتساب */
#whatsapp-btn img {
    width: 30px;
    height: 30px;
}

/* النقطة الحمراء النابضة */
#whatsapp-btn::after {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: #ff2d2d;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(255,45,45,.6);
    animation: pulse-badge 1.5s ease-out infinite;
}

/* تأثير عند مرور الماوس */
#whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    background-color: #20B25B;
}

/* أنيميشنات */
@keyframes pop-up {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float-effect {
    0% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}

@keyframes pulse-badge {
    0% { box-shadow: 0 0 0 0 rgba(255,45,45,.6); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(255,45,45,0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(255,45,45,0); transform: scale(1); }
}


/* استيراد خط Cairo من Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700&display=swap');

/* تعيين الخط لجميع عناصر الصفحة */
* {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

/* تخصيص للجسم */
body {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    line-height: 1.7;
}





.custom-footer-text {
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 16px;
  color: #333;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.custom-footer-text a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.custom-footer-text a:hover {
  color: #cc5200;
  text-decoration: underline;
}



/* تصميم وادارة شوكفات */
/* نص الفوتر */
.custom-footer-text {
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 16px;
  color: #333;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}
.custom-footer-text a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}
.custom-footer-text a:hover {
  color: #cc5200;
  text-decoration: underline;
}

/* منع التمرير عند فتح المودال */
.shokvat-no-scroll {
  overflow: hidden !important;
}

/* المودال */
#shokvatModal {
  display: none;               /* بيتفتح بالـJS */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 999999;             /* عالي عشان يغطي مكونات سلة */
}

/* محتوى المودال */
.shokvat-modal-content {
  background: #fff;
  width: min(92vw, 420px);
  padding: 22px 24px;
  border-radius: 14px;
  text-align: center;
  font-family: 'Tahoma', 'Arial', sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  direction: rtl;
}
.shokvat-modal-content h3 {
  margin: 0 0 16px;
  color: #333;
  font-size: 20px;
}

.shokvat-modal-buttons a {
  display: inline-block;
  margin: 8px 6px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}
.shokvat-modal-buttons a:hover {
  transform: translateY(-1px);
}
.shokvat-modal-buttons a:active {
  transform: translateY(0);
  opacity: 0.9;
}

.shokvat-modal-buttons a.wa {
  background: #25d366;
  color: #fff;
}
.shokvat-modal-buttons a.wa:hover {
  background: #1ebe5d;
}
.shokvat-modal-buttons a.site {
  background: #ff6600;
  color: #fff;
}
.shokvat-modal-buttons a.site:hover {
  background: #cc5200;
}

/* زر الإغلاق */
.shokvat-close-btn {
  margin-top: 14px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  color: #666;
  transition: background 0.2s ease, color 0.2s ease;
}
.shokvat-close-btn:hover {
  background: #f5f5f5;
  color: #333;
}





/* --- MOC Badge & Modal --- */
.moc-badge {
  position: fixed;
  left: 16px;  /* يمين/يسار حسب اتجاه الموقع */
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.moc-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }

.moc-badge img {
  width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px;
}
.moc-badge .moc-text {
  font: 500 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0a0a0a;
  white-space: nowrap;
}
@media (max-width: 420px) { .moc-badge .moc-text { display: none; } }

/* Dark themes */
@media (prefers-color-scheme: dark) {
  .moc-badge { background: rgba(20,20,20,0.8); }
  .moc-badge .moc-text { color: #f5f5f5; }
}

/* Modal */
.moc-modal {
  position: fixed; inset: 0; z-index: 10000; display: none;
}
.moc-modal.is-open { display: block; }
.moc-modal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
}
.moc-modal__dialog {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 24px;
}
.moc-modal__card {
  position: relative;
  max-width: 92vw; max-height: 92vh;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
@media (prefers-color-scheme: dark) { .moc-modal__card { background: #111; } }

.moc-modal__img {
  display: block; max-width: 92vw; max-height: 88vh; width: auto; height: auto;
}

.moc-modal__close {
  position: absolute; top: 8px; inset-inline-end: 8px;
  border: 0; background: rgba(0,0,0,0.6); color: #fff;
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
  font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.moc-modal__close:hover { background: rgba(0,0,0,0.75); }