/* 1. تفعيل التحميل البطيء لكل الصور */
img {
    loading: lazy;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. تفعيل التحميل البطيء للفيديوهات */
video {
    loading: lazy;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. إخفاء العناصر الثقيلة في الجوال (مثل بانرات كبيرة أو صور غير ضرورية) */
@media (max-width: 768px) {
    /* استبدل .banner-class باسم البانر أو العنصر الثقيل */
    .banner-class {
        display: none !important;
    }
}

/* 4. تحسين عرض النصوص بسرعة (إظهار خط بديل فوراً) */
body {
    font-display: swap;
}

/* 5. تحسين الأزرار لتكون أوضح وأسهل ضغطاً في الجوال */
button, .btn {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 6px;
}

/* 6. تقليل المسافات الفارغة لتقريب العناصر المهمة */
.section, .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* 7. التأكد من أن الصور داخل السلة وصفحة الدفع مناسبة للشاشة */
.cart img, .checkout img {
    max-width: 80px;
    height: auto;
}

/* 8. تسريع ظهور الأيقونات والخطوط */
@font-face {
    font-display: swap;
}

/* تكبير أيقونات التواصل */
.footer-social-icons a {
    font-size: 36px !important;
    margin: 0 15px;
    color: #00bfff !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* تأثير عند المرور بالماوس */
.footer-social-icons a:hover {
    transform: scale(1.4);
    color: #ff6600 !important;
    animation: none;
}

/* وضع الأيقونات بالمنتصف أسفل الصفحة */
.footer-social-icons {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row;
    gap: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* حركة النبض */
@keyframes pulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* حركة الوميض */
@keyframes glow {
    0% { text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff, 0 0 15px #00bfff; }
    100% { text-shadow: 0 0 15px #ff6600, 0 0 25px #ff6600, 0 0 35px #ff6600; }
}

/* تشغيل التأثيرات فقط عند القرب من أسفل الصفحة */
body.scrolled-bottom .footer-social-icons a {
    animation: pulse 1s infinite, glow 1.5s infinite alternate;
}
.s-block--slider-with-bg .slider-bg:before {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    --tw-bg-opacity: 1;
    background-color: #fbfbfb00 !important;
    background-color: rgb(245 245 245);
    opacity: .6;}

.leading-12 {
    line-height: 3rem;
    color: #00a98f;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #00a98f;
}
.s-block--slider-with-bg .s-slider-block__display-all {
    background-color: transparent !important;
    --tw-text-opacity: 1 !important;
    color: #00a98f !important;
    color: .text-sm;
    flex-grow: 0 !important;
}
.s-block--slider-with-bg .s-slider-block__display-all{
  border-color: #00a98f;
}
.s-slider-nav-arrow svg {
    width: 22px;
    fill: #00a98f;
}
.s-slider-nav-arrow {
    align-items: center;
    border-radius: 9999px;
    border-width: 1px;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
    --tw-border-opacity: 1;
    border-color: #d1d5db;
    border-color: #00a98f;
   background: #fff;
}