/* تعديل الهيدر */ 
header,
header * , 
.header, 
.header * ,
.top-header, 
.top-header *,
.navbar, 
.navbar *,
.nav-bar, 
.nav-bar *,
.site-header, 
.site-header *,
.header-section, 
.header-section * {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/*تعديل البنر للديسكتوب و الجوال*/
@media (min-width: 769px) {
    .swiper-slide[data-swiper-slide-index="1"] {
        display: none !important;
    }
}


@media (max-width: 768px) {

    .swiper-slide[data-swiper-slide-index="0"] {
        display: none !important;
    }
    
    .swiper-slide[data-swiper-slide-index="1"] {
        display: block !important;
        height: 550px !important; 
    }

  

    .swiper-slide[data-swiper-slide-index="1"] .swiper-lazy {
        background-size: cover !important; 
        background-position: center !important; 
        height: 100% !important;
        width: 100% !important;
    }
  .swiper-slide[data-swiper-slide-index="1"] div[data-swiper-parallax] {
        transform: translate3d(6px, 118px, 0px) !important;
}


@media (max-width: 768px) {
    .product-entry__image, 
    .s-product-card-entry img, 
    .product-block .product-entry__image img {
        object-fit: contain !important; 
        
      
        max-height: 180px !important; 
        

        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background-color: transparent !important;
    }

    .product-entry {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;

      
    }
 
}


/* --- تصحيح حركة البطاقات (ظهور النص والخلفية السوداء) للجوال --- */
@media (max-width: 768px) {

    /* 1. تعريف حركة "النبض" (ظهور - ثبات - اختفاء) */
 @keyframes pulseEffect {
        0%   { opacity: 0; }
        15%  { opacity: 1; }
        40%  { opacity: 1; }
       50% { opacity: 0; }
    }

    @keyframes moveUpEffect {
        0%   { opacity: 0; transform: translateY(10px); }
        5%  { opacity: 1; transform: translateY(0); }
        40%  { opacity: 1; transform: translateY(0); }
        42% { opacity: 0; transform: translateY(10px); }
    }

    /* 2. إظهار الخلفية السوداء (الطبقة الشفافة) */
    .banner-entry a::before {
        content: "" !important;       /* ضمان وجود العنصر */
        display: block !important;    /* إجبار المتصفح يظهره */
        opacity: 0;                   /* يبدأ مخفي */
            
        animation: pulseEffect 9s infinite ease-in-out !important; /* تشغيل الحركة */
      animation-delay: 5s !important;
    }

    /* 3. إظهار النص (العنوان) مع حركة صعود خفيفة */
    .banner-entry h3 {
        display: block !important;
        visibility: visible !important;
        opacity: 0; /* يبدأ مخفي */
        animation: moveUpEffect 9s infinite ease-in-out !important;
      animation-delay: 6s !important;
        position: relative; /* عشان يجي فوق الخلفية السوداء */
        z-index: 10;        /* ضمان إنه فوق كل شيء */
    }
}