/* 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: 16px;
}

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





/* Add custom Js code below */ 
section.s-block.s-block--fixed-banner.wide-placeholder {
  margin-top: 0; /* إزالة أي مسافات علوية */
}

section.s-block.s-block--fixed-banner.wide-placeholder .container {
  max-width: 100%; /* تمديد العرض ليكون بكامل الشاشة */
  padding: 0; /* إزالة الهوامش الداخلية */
}

section.s-block.s-block--fixed-banner.wide-placeholder .container img {
  width: 100%; /* تمديد الصورة لتكون بعرض الشاشة */
  height: auto; /* الحفاظ على النسبة بين العرض والارتفاع */
  border-radius: 0; /* إزالة الزوايا المستديرة */
  background-color: transparent; /* جعل الخلفية شفافة */
}




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


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