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

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

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




/* زر واتساب ثابت */
#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); }
}







.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;
}


@keyframes pulse-red-orange {
    0% { color: #e11d48; text-shadow: 0 0 6px #e11d48; }
    50% { color: #f97316; text-shadow: 0 0 8px #f97316; }
    100% { color: #e11d48; text-shadow: 0 0 6px #e11d48; }
}

.s-add-product-button-mini-checkout-content {
    animation: pulse-red-orange 4s infinite;
    font-weight: bold !important;
    position: relative;
}

@keyframes float-emoji-side {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.floating-emoji-inline {
    display: inline-block;
    margin-left: 5px;
    animation: float-emoji-side 2.5s infinite ease-in-out;
    font-size: 18px;
    vertical-align: middle;
}








/* تغيير لون السعر إلى الأحمر */
div.price.my-1 {
    color: red !important;
}
/* تغيير لون السعر في الصفحة الرئيسية */
.s-product-card-price {
    color: red !important;
}







/* ===== Salla Discount Countdown ===== */
:root{
  --sc-bg:#fff;
  --sc-border:#e5e7eb;
  --sc-radius:12px;
  --sc-shadow:0 8px 22px rgba(0,0,0,.08);
  --sc-accent:#ef4444;    /* لون الأرقام */
  --sc-accent-2:#10b981;  /* لون شريط التقدم */
  --sc-text:#111827;
  --sc-muted:#6b7280;
  --sc-box-bg:#f9fafb;
}

.salla-countdown{
  direction:rtl;
  font-family:inherit;
  background:var(--sc-bg);
  border:1px solid var(--sc-border);
  border-radius:var(--sc-radius);
  box-shadow:var(--sc-shadow);
  padding:14px;
  width:100%;
  max-width:640px;
  margin:12px auto;
  display:grid;
  gap:10px;
}

.sc-heading{
  font-weight:700;
  text-align:center;
  color:var(--sc-text);
  font-size:1rem;
}

.sc-time{
  display:flex;
  justify-content:center;
  gap:10px;
  align-items:stretch;
  flex-wrap:wrap;
}

.sc-box{
  background:var(--sc-box-bg);
  border:1px solid var(--sc-border);
  border-radius:10px;
  padding:10px 12px;
  min-width:92px;
  display:grid;
  gap:4px;
  place-items:center;
}

.sc-num{
  font-size:1.85rem;
  line-height:1;
  font-weight:800;
  color:var(--sc-accent);
}

.sc-label{
  font-size:.85rem;
  color:var(--sc-muted);
}

.sc-progress-wrap{
  height:8px;
  background:#f3f4f6;
  border-radius:999px;
  overflow:hidden;
}
.sc-progress-bar{
  height:100%;
  width:0%;
  background:var(--sc-accent-2);
  transition:width .25s linear;
}

.sc-footer{
  text-align:center;
  font-size:.85rem;
  color:var(--sc-muted);
}

/* وميض آخر 5 دقائق */
.salla-countdown.sc-flash .sc-num{
  animation:sc-flash 1s linear infinite;
}
@keyframes sc-flash{
  0%,100%{color:var(--sc-accent);transform:scale(1)}
  50%{color:#b91c1c;transform:scale(1.06)}
}

/* تقليل الحركة لمفضّلي ذلك */
@media (prefers-reduced-motion:reduce){
  .sc-num,.sc-progress-bar{animation:none!important;transition:none!important}
}

/* موبايل */
@media (max-width:420px){
  .sc-box{min-width:82px}
  .sc-num{font-size:1.6rem}
}



.sicon-star2.before\:text-orange-300::before {
    color: #FFC107 !important; /* اللون الطبيعي للنجمة (أصفر ذهبي) */
    animation: starRedGlow 1.8s infinite ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* وميض باللون الأحمر مع توهج ناعم */
@keyframes starRedGlow {
    0% {
        text-shadow: 0 0 4px rgba(255, 60, 60, 0.2),
                     0 0 8px rgba(255, 60, 60, 0.15);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 10px rgba(255, 50, 50, 0.6),
                     0 0 20px rgba(255, 70, 70, 0.4),
                     0 0 30px rgba(255, 100, 100, 0.25);
        transform: scale(1.15);
    }
    100% {
        text-shadow: 0 0 4px rgba(255, 60, 60, 0.2),
                     0 0 8px rgba(255, 60, 60, 0.15);
        transform: scale(1);
    }
}