.top-moving-bar {
  position: relative;
  overflow: hidden;
  height: 40px;
  background-color: #000;
  z-index: 9999;
}

/* الصورة المتحركة */
.top-moving-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;  
  /*background-image: url("https://cdn.files.salla.network/homepage/769210245/632d0c90-ba8c-4f20-aee3-fe172d0b200d.webp");*/
  background-image: url("https://cdn.files.salla.network/homepage/769210245/c5dc9828-bdbc-4fdd-8ae5-2cf7906701d3.webp");
  background-repeat: repeat-x;
  background-size: auto 100%;
  animation: moveBar 20s linear infinite;
}

@keyframes moveBar {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@media (max-width: 768px) {
  .top-moving-bar {
    height: 35px;
  }
}

/******/
:root {
    --color-primary: #000000;   
}
body {
    --tw-bg-opacity: 1;
    background-color: rgba(249, 250, 251, 1);
    background-color: rgb(255 255 255) !important;
}
.navbar-brand {
  background-image: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/zvmrxO/stores/logos/8v909GCUEnAfQhX4xtFYUOxN6ieDXArcX8luYtLY.png");
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  height: 90px;
  width: 18vw;
  display: block;
}
@media (min-width: 480px) {
    .navbar-brand img {
        max-width: 170px;
        display: none;
    }
}


@media only screen and (min-width: 1024px) {
    /* تعديل خاص إذا كانت القائمة داخل .main-menu-row */
    .main-menu-row .main-menu li.root-level > a {
        padding-bottom: 1rem;
    }
}
    /* إعدادات عامة للرابط داخل العناصر الجذرية */
    .main-menu li.root-level > a {
            color:#000000;

        padding-top: 0;
        padding-bottom: 2rem;
        font-weight: 700;
    }

    /* روابط القائمة بشكل عام */
    .main-menu li > a {
        display: flex;
        align-items: center;
        justify-content: space-between; /* يمكن تغييرها إلى flex-start حسب رغبتك */
        padding: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;

    }
.main-menu li.root-level > a:hover {
display: flex;
        align-items: center;
        justify-content: space-between; /* يمكن تغييرها إلى flex-start حسب رغبتك */
        padding: 0.75rem;

        color: #ffffff;
        background-color: #000000;
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 3px 3px 0 0;
    }
}

/* تخصيص إضافي خارج الميديا كويري */
.main-menu li > a {
    justify-content: flex-start;
}
.navbar-brand img {
    display: none;
    max-height: 3rem !important;
    width: auto;
    max-width: 100px;
}
.banner-entry h3.text-with-border {
    border-radius: 0rem;
    border-style: unset;
    --tw-border-opacity: 1;
    border-color: rgba(229, 231, 235, 1);
    border-color: rgb(16 30 59);
}



/* =============================
block__title 
============================= */
.s-slider-block__title h2 {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
    padding: 0.5rem 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    z-index: 1;
}
.s-slider-block__title-left {
    align-items: center;
    display: flex;
    display: none;
}
.s-slider-block__title {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 12px;
    background: url(https://cdn.files.salla.network/homepage/769210245/874ba138-a508-429f-a98b-9103aeb691d8.webp) no-repeat center / contain;
}

/* =============================
   Slider - Photos
============================= */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    width: 100%;
}

section.s-block.s-block--photos-slider .carousel-slider .swiper-wrapper > div {
    padding: 0 !important;
}

section:first-of-type.s-block.s-block--photos-slider {
    margin-top: 0;
}

[dir="rtl"] salla-slider.photos-slider .swiper {
    padding: 0;
}

section.s-block.s-block--photos-slider .s-slider-block__title-nav {
    display: none !important;
}

/* =============================
   Features Block
============================= */
@media (max-width: 768px) {
  .grid.grid-cols-\[repeat\(2\,minmax\(0\,1fr\)\)\].md\:grid-cols-\[repeat\(3\,minmax\(0\,1fr\)\)\].gap-4.sm\:gap-6.xl\:gap-8 {
    display: block;
  }
}


   .s-block--features__item {
  background-color: #ffffff;
  color: var(--color-primary);
  border-radius: 15px;
  font-weight: 500;
  margin: 0px; /* ويب */
  padding: 1rem 2rem;
  border: 2px dotted white;

  /* أنيميشن مزدوج */
  /*animation: borderPulse 2.5s ease-in-out infinite,
             floatMotion 4s ease-in-out infinite;|*/
}

/* موبايل */
@media (max-width: 768px) {
  .s-block--features__item {
    margin: 18px 1.2rem;
  }
}

 


.s-block--features__item .feature-icon {
    margin-bottom: 0.75rem;
    display: flex;
    height: 4rem;
    width: 4rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    background-color: #000000;
}

.s-block--features__item .feature-icon i {
    font-size: 1.875rem;
    color: #ffffff;
}

.s-block--features__item h2,
.s-block--features__item p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #ffffff;
}

.header-btn__icon {
    display: flex
;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgba(229, 231, 235, 1);
    border-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    font-size: 1.25rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, 1);
    color: rgb(255 255 255);
    background: #000000;
}
.s-cart-summary-total {
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgba(0, 0, 0, 1);
    color: rgb(34 72 98);
}
/* =============================
   Footer
============================= */




.store-footer {
    background: transparent!important;
    padding: 30px;
    font-size: 14px;
    text-align: center
}
.s-social-list {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
}
.s-block--features__item {
  background: transparent!important;
}
.s-block--features_item h2 , .s-block--features_item p {
  color:#000
}
.store-footer__inner {
    background: transparent !important; /* إزالة الخلفية */
    border: none !important; /* إزالة أي حدود أخرى */
    width: 85%; /* تقليل طول الخط */
    margin: 0 auto; /* توسيطه في المنتصف */
    border-top: 2px solid #000000!important; /* حد علوي باللون الأحمر */
    border-bottom: 2px solid #000000 !important; /* حد سفلي باللون الأحمر */
    position: relative; /* ضروري لعناصر before و after */
    justify-content: center; 

}

.store-footer__inner::before,
.store-footer__inner::after {
  content: "";
    position: absolute;
    width: 10px; /* حجم الدائرة */
    height: 10px; /* حجم الدائرة */
    background: #000000; /* لون الدائرة */
    border-radius: 50%;
   
}
.store-footer__inner::before {
    top: -6px; /* ضبط الموضع للأعلى قليلاً */
    left: -10px; /* وضع الدائرة في بداية الخط */
}

.store-footer__inner::after {
    top: -6px; /* ضبط الموضع للأعلى قليلاً */
    right: -10px; /* وضع الدائرة في نهاية الخط */
}




.store-footer__inner .flex {
    justify-content: center
    
}

.store-footer__inner .max-w-sm {
    margin: auto
}

.store-footer h3 {
    color: #000000;
    font-size: 1.3rem
}

.store-footer h3:hover {
    color: #000000;
    opacity: 1;
    cursor: pointer
}

.footer-list {
    color: #000000;
}

.store-footer__inner .max-w-sm {
    color: #000000;
    font-size:15px;
}

.store-footer a {
    color: #000000;
    font-size:15px;
}

.store-footer i {
    color: #000000;
    border-color: #000000;
}

.store-footer__inner {
    text-align: center!important;
}
@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.footer-is-light .store-footer {
    border-top-right-radius: 180px;
    border-top-left-radius: 180px;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
}
.s-contacts-list {
    display: flex
;
    gap: 1rem;
    align-content: center;
    align-items: center;
}
.s-social-list {
    display: flex
;
    gap: 0.625rem;
    justify-content: center;
}
.footer-logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 80px;
    height: auto;
    animation: footerLogoBounce 2s ease-in-out infinite;
}

@keyframes footerLogoBounce {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}


@media (min-width: 1024px) {
    .store-footer__inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}
/* =============================
   stats-section 
============================= */

@keyframes borderPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
}

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

.stats-section {
  text-align: center;
}

/* عنوان الإحصائيات */
.stats-section h2 {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.5rem 1rem;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  z-index: 1;
  margin-bottom: 1.5rem;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

/* عند الظهور */
.stats-section h2.in-view {
  opacity: 1;
  transform: translateY(0);
  animation: borderPulse 2.5s ease-in-out infinite,
             floatMotion 4s ease-in-out infinite;
}

/* الخلفية الزخرفية */
.stats-section h2::before {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1.8rem;
  background: #000000;
  z-index: -1;
  border-radius: 8px;
  transform: skewX(-10deg);
}

    .xl\:gap-8 {
        gap: 2rem;
        background-color: #000000;
        padding: 20px;
        border-radius: 16px;
    }
/******/
.grid-flow-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* grid-auto-flow: row; */
}

/* Web / Desktop */
.banner-entry {
    height: 330px;
    
}
.s-slider-block__title {
    display: flex;
    justify-content: center;
}
.s-slider-block__title-left {
    align-items: center;
    display: none;
    justify-content: flex-end;
}
/* Mobile */
@media (max-width: 768px) {
    .banner-entry {
        height: 105px;
    }
}
.banner--fixed img, .banner-entry {
    --tw-bg-opacity: 1;
    background-color: white !important;}
/* Add custom CSS styles below */
.s-product-card-entry {
    border: #000000;
    border-style: solid;
    border-width: 1px;
    border-radius: .75rem;
    display: flex;
    height: 100%;
    justify-content: space-between;
    position: relative;
    --tw-bg-opacity: 1;
    background-color: #fff;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
    transition-duration: .3s;
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.s-product-card-content {
    display: flex;
    flex-direction: column;
    padding: .75rem;
    position: relative;
    align-items: center;
}

.s-product-card-content-sub {
    gap: .75rem;
    justify-content: center;
}

.s-button-btn {
    color: white !important;
    background-color: black;
}


/*********/
@font-face {
  font-display: swap;
}

@media (max-width:768px){

  * {
    animation: none !important;
    transition: none !important;
  }

}