/* استهداف مباشر (غيّر .announcement-text بالمحدد الصحيح) */
.announcement-text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  direction: rtl;
  background: #111;
  color: #fff;
  padding: 10px 0;
  font-weight: 600;
}
/* نقّح داخل عنصر النص */
.announcement-text::after {
  content: attr(data-text); /* بديل: إذا ما في data-text انسخ النص هنا بين علامتي اقتباس */
  display: inline-block;
  padding-left: 60px;
  animation: simple-scroll 12s linear infinite;
}

@keyframes simple-scroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.announcement-text:hover::after { animation-play-state: paused; }






/* Add custom CSS styles below */ 
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/NKZOaa/D35Kd41lwDg1cgwwYUhZogNCwLZIypub7P7BMhvB.png");
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  height: 80px;
  width: 8vw;
  display: block;
  animation: heartbeat 2.5s ease-in-out infinite both;
}

@keyframes heartbeat {
  0% {
      -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-transform-origin: center center;
      transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out
  }

  10% {
      -webkit-transform: scale(.91);
      transform: scale(.91);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in
  }

  17% {
      -webkit-transform: scale(.98);
      transform: scale(.98);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out
  }

  33% {
      -webkit-transform: scale(.87);
      transform: scale(.87);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in
  }

  45% {
      -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out
  }
}
.top-navbar .s-search-input {
    border-style: none;
    background-color: rgb(255 255 255);
}
@media only screen and (min-width: 1024px) {
    .main-menu {
        margin-right: 14rem;
    }
}
@media (min-width: 1024px) {
    .top-navbar {
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
        background: #000000;
    }
}
@media (min-width: 1024px) {
    .s-menu-topnav-list {
        display: flex
;
        color: #ffffff;
    }
}
@media (min-width: 1024px) {
    .s-contacts-header {
        display: flex
;
        color: white;
    }
}
@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);
}
/* =============================
banner
============================= */
.banner--fixed img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.375rem;
  opacity: 0;  /* الصورة مخفية في البداية */
  transform: scale(1.1); /* التكبير */
  transition: opacity 0.5s ease, transform 0.5s ease; /* تأثير ناعم */
}

/* عند ظهور الصورة على الشاشة */
.banner--fixed img.visible {
  opacity: 1;
  transform: scale(1); /* تعود الصورة إلى الحجم الطبيعي */
}
/* عند الوقوف بالماوس */
.banner--fixed img.visible:hover {
  transform: scale(1.05); /* تكبير خفيف */
  transition: transform 0.3s ease-in-out;
  cursor: pointer; /* مؤشر يدوي */
}

/* =============================
block__title 
============================= */
@keyframes slideFadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.s-slider-block__title h2 {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    z-index: 1;

    /* Animation */
    opacity: 0;
    animation: slideFadeInRight 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

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

/* التحريك */
@keyframes slideFadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* العنصر المستهدف */
.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
    position: relative;
    display: inline-block;
    padding-left: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    z-index: 1;

    /* التحريك */
    opacity: 0;
    animation: slideFadeInRight 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

/* الخلفية الزخرفية أسفل النص */
.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *)::before {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 1.8rem;
    background: #000000;
    z-index: -1;
    border-radius: 8px;
    transform: skewX(-10deg);
}
.s-block__title {
    margin-bottom: 1rem;
    display: flex
;
    justify-content: center;
    align-content: center;
    align-items: center;
}
/* =============================
   General Styles
============================= */
.rounded-full {
    border-radius: 12px;
}

.s-button-text {
    color: #ffffff;
}

.s-button-icon .s-button-text {
    display: flex;
    color: black;
}
.font-bold {
    color: #000000;
    font-weight: 700;
}


/* =============================
   Button Styles
============================= */
@keyframes pulse-shake {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.03) rotate(-1deg); }
  50% { transform: scale(1.06) rotate(1deg); }
  75% { transform: scale(1.03) rotate(-1deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 5px #000000, 0 0 10px #000000;
  }
  50% {
    box-shadow: 0 0 20px #6b6b6b, 0 0 30px #6b6b6b;
  }
  100% {
    box-shadow: 0 0 5px #000000, 0 0 10px #000000;
  }
}
.s-button-btn {
    position: relative;
    display: inline-flex;
    flex: 1 1 0%;
    user-select: none;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.75rem;
    border-style: solid;
    padding: 0.5rem 1.5rem 0.625rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    background-color: #000000;
        border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}
.s-button-wide {
    width: 100%;
    color: #000000;
    border-radius: 4px;
    background: #000000;
    border: solid 2px;
    box-shadow: 5px 5px 1px #6b6b6b;
    border-color: #000000;
}
.s-button-wide:hover {
    width: 100%;
    color: #000000;
    border-radius: 4px;
    background: #000000;
    border: solid 2px;
    box-shadow: 5px 5px 1px #6b6b6b;
    border-color: #000000;
animation: pulse-shake 0.6s ease-in-out, glowing 1.5s infinite;
}

/* =============================
   Product Card
============================= */
.s-product-card-price {
    font-size: 1.1rem;
    color: #b12a6e;
}

.s-product-card-entry {
    position: relative;
    display: flex;
    height: 100%;
    justify-content: space-between;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;

    /* إضافة ظل خفيف للكارد */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* إضافة حركة عند التمرير */
    transition: all 0.3s ease;
}

/* عند التمرير على العنصر */
.s-product-card-entry:hover {
    /* زيادة الظل */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* رفع العنصر عند hover */
    transform: translateY(-5px);

    /* إضافة حركة ناعمة للحواف */
    border-radius: 1rem;  /* زيادتها عند hover لإعطاء تأثير مميز */
}

 
    salla-slider[type]:not(.hydrated) > div > div, salla-slider[type]:not(.hydrated) .swiper > div > div > div, .carousel-slider .swiper-wrapper > div {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
        padding-top: 10px;
        padding-bottom: 10px;
    }

   
/* =============================
   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;
}

/* =============================
   Dimensions
============================= */
.w-16 {
    width: 12rem;
}

.h-16 {
    height: 12rem;
}

/* =============================
   Responsive
============================= */
@media (min-width: 640px) {
    salla-slider .slide--one-sixth {
        width: 33%; /* Note: The earlier 20% is overwritten by 30% */
    }
}

/* =============================
   Category Entry
============================= */
    .slide--cat-entry {
        display: flex;
        height: 12rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        --tw-border-opacity: 0;
        background: transparent !important;
    }
.slide--cat-entry h2 {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
   /* display: none;*/
   
}
/* =============================
   Features Block
============================= */
    .s-block--features__item {
        background-color: #ffffff;
        color: var(--color-primary);
        border-radius: 15px;
        font-weight: 500;
        margin: 0 1.2rem;
        padding: 1rem 2rem;
        border: 2px dotted white;

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

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


.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;
}
/*element.style {
    background-size: cover;
    background-image: url(https://cdn.salla.sa/form-builder/xw2xTRJgaDc2YBjVMD2dvq38PkgGUCBlcD4P5cFt.png);
}*/
.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;
    }