/* Add custom CSS styles below */ 

:root {
  --color-primary: #7fc34f !important; 
}



body {
    background-color: rgb(255 255 255) ;
}

.navbar-brand {
  background-image: url("https://cdn.salla.sa/pdADq/1O93gEqvcqtx6XYPIjJxDmS1RTq7ujZJG00BBDc2.png");
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-repeat: no-repeat no-repeat;
  background-size: contain;
  height: 80px;
  width: 4vw;
  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: 9rem;
    }
}
@media (min-width: 1024px) {
    .top-navbar {
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
        background: #e2dcce;
    }
}
@media (min-width: 1024px) {
    .s-menu-topnav-list {
        display: flex;
       color: #659856;
    }
}
@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:#659856;
        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: #7fc34f;
        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:  #7fc34f;
    /*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: #7fc34f;
    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: #659856;
    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 #7fc34f, 0 0 10px #7fc34f;
  }
  50% {
    box-shadow: 0 0 20px #e2dcce, 0 0 30px #e2dcce;
  }
  100% {
    box-shadow: 0 0 5px #7fc34f, 0 0 10px #7fc34f;
  }
}
.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: #7fc34f;
        border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}
.s-button-wide {
    width: 100%;
    color: #7fc34f;
    border-radius: 4px;
    background: #7fc34f;
    border: solid 2px;
    box-shadow: 5px 5px 1px #f5e5d3;
    border-color: #7fc34f;
}
.s-button-wide:hover {
    width: 100%;
    color: #7fc34f;
    border-radius: 4px;
    background: #7fc34f;
    border: solid 2px;
    box-shadow: 5px 5px 1px #ffe6c9;
    border-color: #7fc34f;
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.1);

    /* رفع العنصر عند 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;*/
   
}

/* =============================
   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: #7fc34f;
  z-index: -1;
  border-radius: 8px;
  transform: skewX(-10deg);
}
@media (min-width: 1280px) {
    .xl\:gap-8 {
        gap: 2rem;
        padding: 20px;
        border-radius: 16px;
    }
}

/* =============================
   Features Block
============================= */

.s-block--features__item h2, .s-block--features__item p {
     
    color: #374151 !important;
}



    .s-block--features__item {
        background-color: #edf7e6;
        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: #7fc34f;
}

.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: #7fc34f;
}
/*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: rgb(127 195 79);
    font-size: 1.25rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, 1);
    color: rgb(255 255 255);
    background: #7fc34f;
}
.s-cart-summary-total {
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgba(0, 0, 0, 1);
    color: rgb(34 72 98);
}
























.top-navbar {
        background: #eef1e5;
    }

.top-navbar .s-search-input:hover {
    background-color: rgb(255 255 255 / 60%);
}

.s-product-card-fit-height .s-product-card-image {
    height: 14.4rem;
    max-height: 19rem;
 }
 
 .s-product-card-content {
    padding: 1rem;
}


salla-slider.photos-slider .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
   
    background-color: rgb(255 255 255);
}























@media (max-width: 480px) {

.navbar-brand {
    width: 11.5vw;
    }
    
    .s-block--features__item {
    margin: 0px 0.5rem;
    }
    
    .gap-8 {
    margin-bottom: -3.6rem;
}
.s-slider-block__title h2 {
   padding: 0.7rem 1rem;
    font-size: 1rem;
}
.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
  
    font-size: 1.2rem;
    padding: 0.7rem 1rem;
    }

}









.s-contacts-topnav-link:last-child:where([dir="rtl"], [dir="rtl"] *) {
    display: none;
    }
    
  .s-contacts-topnav-link:where([dir="rtl"], [dir="rtl"] *) {
   
    display: none;  
}


[dir="rtl"] salla-slider.photos-slider .swiper {
    background: white;
    }
    
    
    
    
    body, html {
  overflow-x: hidden;
  max-width: 100%;
}



/*footer*/

.footer-is-light .store-footer .contact-social {
    
    border-color: rgb(216 229 184);
    margin: 20px auto;
    width: fit-content;
}


.footer-is-light .store-footer {
  background: #7fc34f;
  
  }
  
  .footer-is-light .store-footer .store-footer__inner {
  
  background: linear-gradient(to top, #7fc34f, #ffffff); /* تدرج من بني إلى بيج */
  display: flex;
  justify-content: center;   /* توسيط أفقي */
  align-items: center;       /* توسيط عمودي */
  text-align: center;        /* توسيط النص */
  min-height: 100px;
      border-bottom-color: rgb(173 211 88);
  
  
}



    
    
    .s-contacts-list-vertical {
    align-items: center;
}

  .rtl\:lg\:pl-20:where([dir="rtl"], [dir="rtl"] *) {
    margin: auto;
}


        

.s-social-list {
    display: flex;
    gap: 0.625rem;
    justify-content: center ;
    }
    
    
        .store-footer h3 {
        margin: auto;
        margin-bottom: 1.25rem;
    }
    
    
@media (min-width: 1024px) {
    .lg\:gap-6 {
            margin-top: 2rem;
    }


   
    
    
    .s-payments-list {
    padding-left: 40px;
}

.lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
      .footer-is-light .store-footer .store-footer__inner {
  padding: 40px;
  }
    
}


.s-payments-list{

margin-right: 23px;
    margin-left: 23px;
}


.max-w-sm {
    max-width: 19rem;
}

.s-contacts-icon svg{
    
        fill: rgb(71 60 60);

}




.s-social-link a ,.s-contacts-icon {
    border: 1px solid #646363;
    }
    
    
.s-social-link a svg {
    
        fill: rgb(71 60 60);

}

.copyright-text p {
    
    color: rgb(250 252 255);
}


.hover\:text-primary:hover {
    color: #dfd7d2;
}



salla-slider .swiper-pagination-bullet-active {
   
    background-color: #f59524;
}


/* صفحة من نحن وهذه التفاصيل */
.p-6 {
    background: #fafcf8;
}






    .main-menu .has-children li a:hover, .main-menu .has-children .has-children:hover>a
 {
       
        background-color: rgba(229, 231, 235, 0.2);
    }
    
    
    
    .swiper-wrapper {
    margin-bottom: 0.3rem;
    }
    
    
    .sicon-menu:before {
    
    color: #586047;
}






.btn--outline-primary {
  
    border-color: #78953b !important ;
    color: #78953b !important;
}

.p-5 {
   
    background: #f7fbf4;
}

.sm\:py-16 {
        background: #ffffff;
        }
        
        
      
      
      
      


.s-comments-product {
 
    background-color: rgb(255 255 255);
    }
    
    
    
    
.btn--primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}