/* elegance css*/
/* Add custom CSS styles below */ 



        @import url(https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap);
        @import url(https://site-assets.fontawesome.com/releases/v6.4.2/css/all.css);
        body :not(i) {
            font-family: Cairo, sans-serif
        }

        :root {
            --main-color: #024c77;
            --second-color: #dadada;
            --third-color: #0349a9;
            --white-color: #fff;
            --black-color: #000;
            --back-color: #f9ecd7;
        }

       
        .bg-inherit
         {
            background-color: #E3E3E3;
            border-radius: 0 0 22px 22px;
        }
        [dir=rtl] .s-cart-summary-count{
        background-color: #515151;
}

#mainnav{
border-radius: 0 0 22px 22px;
}
        .top-navbar {
        display:;
            background-image: radial-gradient(circle, #ffffff, #979fa4);
        }

        .leading-\[1\.2\],
        .main-menu li.root-level>a span,
        .mm-spn li a span,
        .s-block__title h2,
        [dir=rtl] .s-slider-block__title h2,
        h1.font-bold.text-xl.rtl\:pl-3.ltr\:pr-3 {
            color: var(--main-color);
           
            display: inline-block;
            font-size: 1.1rem!important;
        }

        @keyframes textclip {
            to {
                background-position: 100% center
            }
        }

        i.header-btn__icon {
            background-color:  #9bc2d6;
            color: var(--third-color);
            border: 2px solid var(--third-color)
        }

        .s-cart-summary-total {
            color: var(--third-color);
            font-weight: 800
        }

  
/*
        section.s-block.s-block--fixed-banner.wide-placeholder .container {
            width: 100%;
            max-width: 100%;
            padding: 0
        }
*/



section.s-block.s-block--fixed-banner.wide-placeholder:first-child {
            width: 100%;
            max-width: 100%;
            padding: 0!important;
        }
        .index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(3) {
            
        }

        .leading-\[1\.2\],
        .s-block__title h2,
        [dir=rtl] .s-slider-block__title h2 {

        }


        .leading-\[1\.2\],
        .s-block__title h2,
        [dir=rtl] .s-slider-block__title h2 {
            display: flex !important;
            align-items: center;
            font-size: 1.2rem!important;
        }

        .s-product-card-content-footer .s-button-primary-outline {
            width: 100%;
            margin-left: auto;
            border-radius: 0 20px;
            text-align: center;
            background: var(--main-color);
            justify-content: center;
            display: flex;
            align-items: center
        }

        .s-product-card-content-footer .s-button-primary-outline .sicon-shopping-bag:before {
            content: "";
            background-image: url("https://i.ibb.co/LgDHYLn/system-regular-64-shopping-bag.gif");
            width: 25px;
            margin-left: 5px;
            height: 25px;
            background-size: contain;
            display: inline-block
        }

        .s-product-card-content-footer .s-button-text {
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 3px;
           
        }
        
        
        .s-product-card-content-footer .s-button-disabled .s-button-text {
            color: var(--main-color);
            
           
        }

        .s-product-card-content-title a,
        .s-product-card-sale-price span,
        .s-product-card-wishlist-btn .s-button-text {
            color: var(--main-color) !important
        }

        .s-product-card-entry {
            border: 0px solid transparent;
            border-image-slice: 1;
            background: linear-gradient(to bottom, #b7b7b7, #fff) !important;
            overflow: hidden
        }

        .s-product-card-content-title a {
            white-space: nowrap;
            color: var(--main-color);
            display: block;
            overflow: hidden;
            text-overflow: ellipsis
        }

        .s-product-card-content-subtitle {
            color: var(--third-color) !important;
            display:none;
        }

        .s-product-card-rating {
            color: #ff9300 !important
        }

        .s-block--features__item {
            background: 0 0
        }

        .s-block--features__item p {
            display: none
        }

        .sicon-check-circle2:before {
            background: url("https://i.ibb.co/0KVQ65C/wired-outline-237-star-rating-morph11.gif") 0 0/contain;
            width: 50px;
            height: 50px;
            display: block;
            content: ""
        }

        .sicon-shipping-fast:before {
            background: url("https://i.ibb.co/NmXrq6W/wired-outline-497-truck-delivery.gif") 0 0/contain;
            width: 50px;
            height: 50px;
            display: block;
            content: ""
        }

        .sicon-chat-person:before {
            background: url("https://i.ibb.co/2MWVWxH/system-outline-8-account.gif") 0 0/contain;
            width: 50px;
            height: 50px;
            display: block;
            content: ""
        }

        .footer-is-light .store-footer .social-link {
            animation: 2s ease-in-out infinite both heartbeat
        }

        @keyframes heartbeat {
            from {
                -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
            }
        }

        .store-footer a,
        .store-footer h3,
        .store-footer p.max-w-sm.leading-6.mb-6 {
            color: var(--third-color);
            text-align: center !important
        }

        .store-footer a.flex.items-center.m-0,
        .store-footer a.mb-4.last\:mb-0.flex.items-center.text-sm.leading-none {
            justify-content: center;
            color: var(--second-color);
        }

        .store-footer .contact-social ul,
        .store-footer__inner .flex {
            justify-content: center
        }




        .footer-is-light .store-footer .store-footer__inner .text-sm {
            color: var(--second-color);
        }

        @media(max-width:992px) {
            .mm-spn.mm-spn--navbar ul {
                background: #f2f2f2;
            }
            .mm-ocd--open .mm-ocd__content {
                background: var(--second-color)
            }
            .mm-ocd--open .mm-ocd__content::before {
background: #e3e3e3 url("https://cdn.files.salla.network/homepage/1298238405/83cb9edf-75c6-4ea0-96d3-ebcbca14c6d5-original.webp");
                font-size: 18px;
                content: "";
                width: 100%;
                background-repeat: no-repeat;
                background-size: 60%;
                background-position: center;
                margin: auto;
                height: 30%;
                justify-content: center;
                display: flex
            }
            :is([dir=rtl] .mm-spn.mm-spn--navbar.mm-spn--main):after {
                border: none !important;
                background: var(--main-color);
                color: white;
                text-align: right
            }
            .mm-spn li {
                background: 0 0 !important
            }
            .mm-spn li a,
            .mm-spn li span {
                color: var(--main-color)!important
            }
            /*
            .mm-spn li span:before {
                background: url("https://i.ibb.co/tpPYkHB/wired-lineal-2239-star-of-bethlehem.gif") 0 0/contain;
                width: 35px;
                height: 35px;
                display: inline-block;
                content: "";
                margin-left: 5px
            }*/
            .sicon-menu:before {
                content: "\ed7f";
                border-radius: 50%;
                padding: 7px;
                background-color: #9bc2d6;
                color: #000;
                border: 2px solid var(--third-color)
            }
            .mm-spn.mm-spn--navbar:after {
                opacity: 1
            }
            .mm-spn ul.main-menu li:before {
                color: var(--third-color) !important
            }
            .main-menu li.root-level>a span,
            .mm-spn li a span {
                display: flex !important;
                justify-content: center;
                align-items: center
            }
            .footer-is-light .store-footer .store-footer__inner .lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 {
                width: 100%;
                text-align: center;
                justify-content: center;
                display: flex;
                flex-direction: column;
                align-items: center
            }
            .footer-list.store-links-items {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                grid-template-rows: auto !important
            }
        }

        footer.store-footer {
            background-color: #f3f4f6 !important
        }

        .product-index h1.font-bold.text-xl.rtl\:pl-3.ltr\:pr-3 {
        }




/* logo animation */
.navbar-brand img{

max-height: 4rem!important;


}

.navbar-brand {
margin-top: 0.9rem;
margin-bottom: 0.9rem;
}

.undefined{
    animation: signal 1200mfs infinite;
}

@keyframes signal {
    0% {
        box-shadow: 0 0 0 0 #92b5d0
    }

    100% {
        box-shadow: 0 0 0 10px #fff

    }
}
@keyframes wiggle {
0%, 7% {
    transform: rotateZ(0);
}
15% {
    transform: rotateZ(-10deg);
}
20% {
    transform: rotateZ(5deg);
}
25% {
    transform: rotateZ(-5deg);
}
30% {
    transform: rotateZ(6deg);
}
35% {
    transform: rotateZ(-4deg);
}
40%, 100% {
    transform: rotateZ(0);
}}





/* صورة المنتج */
.s-product-card-fit-height .s-product-card-image {
    height: 12rem;
    max-height: 31rem;
}

/* لون الخلفية 

body {
    background-color: var(--back-color);
}
*/


/* الشعار */
.justify-between {
    padding-top: 3px;
}
.navbar-brand img {
    max-width: 160px;
}


/* الفوتر */
.store-footer a, .store-footer h3, .store-footer p.max-w-sm.leading-6.mb-6 {
    color: var(--third-color);
    text-align: center !important;
}

.footer-is-light .store-footer .store-footer__inner .text-sm {
    color: #e9a145;
    
}

.footer-is-light .store-footer .store-footer__inner{
background-color: ;
}

/* الرأسية */

@media (max-width: 992px){
.sicon-menu:before {
  
    background-color:  #9bc2d6;
}}

i.header-btn__icon{
    background-color: #9bc2d6;
}


/* الأقسام جديدة*/
 
 .lazy__bg.loaded{
 background-size: contain;
    background-repeat: no-repeat;
 }
 
 .md\:grid-cols-2{
 display:flex;
 gap: 6rem;
 justify-content:center;
 }
.banner-entry{
 background-color:#ffffff00!important;
 width: 452px;
 }
 
 @media (max-width: 800px)
 {
 .md\:grid-cols-2{
 gap: 1rem;
 flex-direction: row;
 flex-wrap: wrap;
 }
 .banner-entry{
min-height: 130px;
 width: 47%;
 }

 }
@media (min-width: 1024px){
.banner-entry {
    height: 377px;
}
}

/* زر السللة */

.s-button-btn {
    padding-left: 1.1rem;
    padding-right: 1.2rem;
    padding-bottom: .4rem;
    padding-top: .4rem;
}

.store-footer  .bg-white{
background-color: #e8c75166;}

.banner--fixed img {
  border-radius: 0;
  margin-top: 0;
  background: none;
}
.index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(3){
background:#f9ecd700;
}

@media only screen and (min-width: 1024px){
.main-menu .has-children.root-level>a:after {
    color: white;
    opacity: 1;
}}


body, section.section {

 background-image: url(https://cdn.salla.sa/form-builder/xU6SzEgnjzVIogwVenYeHQKZA1RiA88tDTAflJVd.png)!important;
 background: #ffffff;


    background-size: 50%!important;
}

@media only screen and (max-width: 1024px){
.main-menu .has-children.root-level>a:after {
    color: white;
    opacity: 1;
}

body, section.section {

 background-image: url(https://cdn.salla.sa/form-builder/evXAiIN19bFJ5divp8XYIgmSDRgTxYVG6DMeN4YI.png) !important;
background: #ffffff;

    background-size: 90%!important;
    
}

}

/*تخصيصات جديدة*/

.s-product-card-content-footer .s-button-primary-outline {
    display: block;
     border: 1px solid var(--color-main) !important; 
    background: linear-gradient(45deg, var(--main-color) 50%, #8babd6);
    padding-bottom: 8px;
    padding-top: 0;
    margin: auto;
    margin-bottom: 10px;
    font-weight: 700;
    border-radius: 10px !important;
    text-align: center;
    color: #fff !important;
    border: transparent solid 1px;
    height: 35px !important;
    width: 100%;
}

.section-products .container {
    background: #ffffff7a!important;
    border: 1px solid #fff!important;
}



.topnav-is-dark .top-navbar{
display:;
}

.store-header{

}

/* حجم المنتجات*/
.carousel-slider .swiper-wrapper> div {
    width: 23%!important;
    box-shadow: 0 2px 10px -3px #c8c8c8;
    border-radius: 20px;
    }
    
    
   @media (max-width: 480px){
   
   .carousel-slider .swiper-wrapper> div {
    width: 57%!important;

    }
   }

.swiper-wrapper{
margin-bottom: 10px;

}
.section-products .container {
    background: #ffffff7a!important;
    border: 1px solid #fff!important;
}    
    
#best-offers-1-slider, #best-offers-2-slider, #best-offers-3-slider, #best-offers-4-slider, #best-offers-5-slider, #best-offers-6-slider,#best-offers-7-slider, #best-offers-8-slider, #best-offers-9-slider{
    background: #ffffff7a!important;
    border: 1px solid #fff!important;
    padding-top: 1rem;
    border-radius: 10px;
    padding-bottom: 5px;
}
@media (min-width: 1280px){
.container {
    max-width: 1250px;
} }

.header-btn__icon{
font-size: 1rem;
}


i.header-btn__icon{
border:0px;
background-color:  #9bc2d6;

}

.s-cart-summary-total {
    display: none;
}

@media (max-width: 992px){
.sicon-menu:before {
background-color:  #fff;
border:none;
}}
/*end of cart and header icons*/






/* whatsapp*/
.sicon-whatsapp2::after {
    content: "\E916";
    content: "\e917";
    text-align: center;
    cursor: pointer;
    background: #46a51e;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0px;
    color: #fff;
    box-shadow: #00000022 1.5px 1.5px 5px;
    width: 0px;
    height: 0px;
    border-radius: 27.5px;
    position: fixed;
    bottom: 19px;
    right: 17px;
    transform: rotate(360);
    transition: all .2s ease-in-out;
}

body[style] .sicon-whatsapp2::after, body[cz-shortcut-listen="true"] .sicon-whatsapp2::after,i.sicon-whatsapp2::after {
    width: 50px;
    height: 50px;
    border-radius: 32.5px;
    font-size: 32px;
    box-shadow: #0000006b 2px 2px 8px;
}

.sicon-whatsapp2:after:hover {
    border-radius: 0;
    border: 0;
    width: 180px;
    height: 60px;
}
#wa-widget-send-button{
display:none;
}



/* الأقسام جديدة*/
 
 .lazy__bg.loaded{
 background-size: contain;
    background-repeat: no-repeat;
 }
 
 .md\:grid-cols-3{
 display:flex;
 gap: 2rem;
 justify-content:center;
flex-wrap: wrap;
 }
.banner-entry{
 width: 70px;
 height: 133px;
 }
 
 
 @media (max-width: 767px)
 {
 .md\:grid-cols-3{
 gap: 0.31rem;
 flex-direction: row;
 flex-wrap: wrap;
 }
 
 .banner-entry{
min-height: 43px;
 width:32%;
 }

 }
@media (min-width: 1024px){
.banner-entry {
    height: 212px !important;
        width: 178px;
}
}

 .s-block--banners+.s-block--banners {
    margin-top: 0em;
}
 
 
 
 
 /* Feachure items*/
.s-block--features__item:first-child {
    grid-column: 1;
}

.s-block--features__item p {
    display: block;
}

@media (max-width: 744px){
.grid-cols-\[repeat\(2\2c minmax\(0\2c 1fr\)\)\] {
    grid-template-columns: repeat(1,minmax(0,1fr));
    }
    
}
.s-block--features div{
    width:100%!important;
    background:#fff0 !important;
     gap:0!important;
    color: #1f1f1f!important;
    margin-bottom:0!important;
}

.s-block--features__item h4, .s-block--features__item p {
    visibility: visible!important;
    color: #8a8a8a!important;
    margin-bottom: 0!important;
    }
    .s-block--features__item h4{
    font-size:1.4rem;
    font-weight: 300;
    padding-top: 0!important;
    padding-bottom: 1rem!important;
    }
    .s-block--features__item p{
    font-size:1rem;
    background: linear-gradient(to left,#fff,#e2e2e2)!important;
    padding-bottom: 10px!important;
    align-self: stretch;
    min-height: 50px;
    border-radius: 0 5rem!important;
   
    }

.s-block--features__item .feature-icon i{
color:var(--third-color)!important;
animation: float 4s ease-in-out infinite;
transition: all .4s ease;
}

.s-block--features div {
border-radius: 20px;
}

.s-block--features__item {
    padding: 0.5em;
}
/* icons movement */


.s-block--features__item:hover .feature-icon i{
    animation: none;
    }
     .feature-icon i{
    animation: float 3s ease-in-out infinite!important;
    }

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(18px);
    }

    100% {
        transform: translatey(0px);
    }
}

.brand-item {
    background-color: #cdd3d4;
    }




body.index:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #E3E3E3;
    position: fixed;
    z-index: 99999;
    transform: scale(0);
    animation-name: pupup;
    animation-duration: 2s;
    background-size: 95px;
    background-repeat: no-repeat;
    background-position: center 3rem
}

@keyframes pupup {
    0% {
        transform: scale(1)
    }

    18% {
        transform: scale(1)
    }

    80% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

body.index:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background:url("https://cdn.files.salla.network/homepage/1298238405/83cb9edf-75c6-4ea0-96d3-ebcbca14c6d5-original.webp");
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    animation-name: pupup_logo;
    animation-duration: 2s;
    transform: scale(0)rotate(0deg)
}


@media (max-width:480px){
body.index:after {
       background-size: 50%;
}
}
@keyframes pupup_logo {
   0% {
        transform: scale(0.9)rotate(0deg)
    }

    40% {
        transform: scale(1)rotate(0deg)
    }

    80% {
        transform: scale(0.9)rotate(0deg)
    }

    100% {
        transform: scale(0)rotate(0deg)
    }
}



/* footer */
@media (min-width: 1024px){
.lg\:gap-6 {
    gap: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-content: space-around;
}

.rtl\:lg\:pl-20:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
}

.store-footer a.flex.items-center.m-0, .store-footer a.mb-4.last\:mb-0.flex.items-center.text-sm.leading-none {
    justify-content: right;
}

.rtl\:lg\:pl-20 a h3 {
    padding-right: 9em!important;
}

}

/*
.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
    flex: 1 1 0%!important;
}*/

.s-product-card-image img.loaded{
background: white;
}


.s-slider-block__display-all{

color: var(--main-color);
    background: var(--second-color);
    padding: 7px 10px;
    border-radius: 30px;
}

.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 3rem;
    padding-top: 20px;
}

img[src='https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/zypXd/fw82ySMAjM6LiW1WqL3cECcidlPR839UxGTrNsz4.jpg'] {
content: url('https://cdn.files.salla.network/homepage/1298238405/83cb9edf-75c6-4ea0-96d3-ebcbca14c6d5-original.webp');
}
@media (max-width: 640px) {
  [data-testid="store-home-square-photos"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 8px 20px !important;
    margin: 0 !important;
  }

  [data-testid="store-home-square-photos"]
  .square-photos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  [data-testid="store-home-square-photos"]
  .banner-entry {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
  }



  [data-testid="store-home-square-photos"]
  .banner-entry span,
  [data-testid="store-home-square-photos"]
  .banner-entry p {
    display: block !important;
    width: 100% !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 99999;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 68px;
    padding: 7px 10px 5px;
    direction: rtl;
    background: #E3E3E3;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -3px 15px rgb(0 0 0 / 20%);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    color: #000;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-bottom-nav svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-nav .cart-count {
    position: absolute;
    top: 1px;
    right: calc(50% - 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    color: #000;
    background: #e50914;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
  }

  @media (min-width: 641px) {
    .mobile-bottom-nav {
      display: none;
    }
  }
}
a.wa-s-n{
  bottom: 80px !important;
}
@media (max-width: 768px) {
  /* تثبيت مساحة الهيدر */
  .store-header {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
  }

  /* إخفاء العناصر غير المطلوبة */
  .store-header .top-navbar,
  .store-header .header-search,
  .store-header salla-contacts,
  .store-header salla-bullet-delivery-tag,
  .store-header custom-main-menu,
  .store-header salla-cart-summary {
    display: none !important;
  }

  /* الهيدر الثابت */
  .store-header #mainnav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .store-header #mainnav .inner,
  .store-header #mainnav .container,
  .store-header #mainnav .inner > .container,
  .store-header #mainnav
  .flex.items-stretch.justify-between.relative {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  /* اللوجو في المنتصف */
  .store-header [data-testid="store-header-logo"] {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 150px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
  }

  .store-header [data-testid="store-header-logo"] img {
    display: block !important;
    width: auto !important;
    max-width: 145px !important;
    height: 52px !important;
    object-fit: contain !important;
  }

  /* زر القائمة في اليمين */
  .store-header [data-testid="store-header-mobile-toggle"] {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
  }

  .store-header [data-testid="store-header-mobile-toggle"] i {
    display: block !important;
    margin: 0 !important;
    font-size: 28px !important;
    line-height: 1 !important;
  }



  .store-header .s-user-menu-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .store-header .s-user-menu-login-btn svg {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
  }

  /* منع اختفاء الهيدر أو تحركه أثناء السكرول */
  .store-header,
  .store-header #mainnav,
  .store-header #mainnav .inner {
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* تعويض مساحة الهيدر الثابت */
  body {
    padding-top: 72px !important;
  }
}

@media (max-width: 768px) {
  .s-products-slider-card {
    position: relative !important;
    width: 270px !important;
    height: 326px !important;
    padding: 6px !important;
    overflow: visible !important;
  }

  .s-products-slider-card custom-salla-product-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
  }

  .s-products-slider-card .s-product-card-image {
    width: 100% !important;
    height: 270px !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  .s-products-slider-card .s-product-card-content {
    position: static !important;
    display: block !important;
    height: auto !important;
    min-height: 65px !important;
    padding: 10px 3px 0 !important;
  }

  .s-products-slider-card .s-product-card-content-title {
    display: -webkit-box !important;
    height: 42px !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  /* زر السلة فوق الصورة */
  .s-products-slider-card .s-product-card-content-footer {
    position: absolute !important;
    top: 218px !important;
    right: 50% !important;
    bottom: auto !important;
    z-index: 50 !important;
    display: block !important;
    width: 180px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(50%) !important;
  }

  .s-products-slider-card
  .s-product-card-content-footer
  salla-add-product-button,
  .s-products-slider-card
  .s-product-card-content-footer
  salla-button,
  .s-products-slider-card
  .s-product-card-content-footer
  salla-add-product-button > div {
    display: block !important;
    width: 100% !important;
  }

  .s-products-slider-card
  .s-product-card-content-footer
  salla-button > button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 180px !important;
    height: 38px !important;
    border-radius: 22px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* المفضلة أسفل يسار الصورة */
  .s-products-slider-card
  .s-product-card-image
  > salla-button.s-product-card-wishlist-btn {
    top: auto !important;
    right: auto !important;
    bottom: 14px !important;
    left: 14px !important;
    z-index: 60 !important;
  }

  .s-products-slider-card
  .s-product-card-image
  > salla-button.s-product-card-wishlist-btn
  > button {
    position: static !important;
  }

  /* السعر أعلى يمين الصورة */
  .s-products-slider-card .s-product-card-content-sub {
    position: absolute !important;
    top: 17px !important;
    right: 17px !important;
    z-index: 20 !important;
  }
}
@media (max-width: 768px) {
  /* زر السلة بدون تداخل */
  .s-products-slider-card .s-product-card-content-footer {
    position: absolute !important;
    top: 218px !important;
    right: 8px !important;
    left: 58px !important;
    bottom: auto !important;
    z-index: 100 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .s-products-slider-card
  .s-product-card-content-footer
  salla-add-product-button,
  .s-products-slider-card
  .s-product-card-content-footer
  salla-button,
  .s-products-slider-card
  .s-product-card-content-footer
  salla-add-product-button > div {
    display: block !important;
    width: 100% !important;
  }

  .s-products-slider-card
  .s-product-card-content-footer
  salla-button > button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 38px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #171717 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* زر المفضلة */
  .s-products-slider-card
  .s-product-card-image
  > salla-button.s-product-card-wishlist-btn {
    top: auto !important;
    right: auto !important;
    bottom: 14px !important;
    left: 14px !important;
    z-index: 200 !important;
    width: 38px !important;
    height: 38px !important;
  }

  .s-products-slider-card
  .s-product-card-image
  > salla-button.s-product-card-wishlist-btn
  > button {
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
  }
}
/* خلفية الهيدر */


body.dark-mode {
  --page-bg: #0f1115;
  --card-bg: #181b21;
  --text: #f9fafb;
  --muted: #a1a1aa;
  --border: #303640;
  --primary: #55b9e8;
}

body,
main,
section,
footer {
  background-color: var(--page-bg) !important;
  color: var(--text) !important;
}

body.dark-mode .bg-white,
body.dark-mode .bg-gray-50,
body.dark-mode .bg-gray-100,
body.dark-mode .card,
body.dark-mode [class*="product-card"],
body.dark-mode [class*="shadow"] {
  background-color: var(--card-bg) !important;
  color: var(--text) !important;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode label {
  color: var(--text);
}

body.dark-mode .text-gray-500,
body.dark-mode .text-gray-600,
body.dark-mode .text-gray-700 {
  color: var(--muted) !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .dropdown-menu,
body.dark-mode .modal-content {
  background-color: var(--card-bg) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

body.dark-mode a {
  color: var(--primary);
}

body.dark-mode hr,
body.dark-mode .border,
body.dark-mode [class*="border-"] {
  border-color: var(--border) !important;
}

/* الهيدر */
#mainnav {
  background-color: #000 !important;
}

#mainnav .s-user-menu-login-btn,
#mainnav .s-user-menu-login-btn svg,
#mainnav .sicon-menu,
#mainnav .sicon-shopping-bag,
#mainnav .s-cart-summary-content,
#mainnav .s-cart-summary-total {
  color: #006E96 !important;
  fill: #006E96 !important;
}
@media (min-width: 1024px) {
  [data-testid="store-home-square-photos"] .square-photos-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  [data-testid="store-home-square-photos"] .banner-entry {
    width: 100% !important;
  }

  [data-testid="store-home-square-photos"] .lazy__bg {
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: contain !important;
    background-position: center;
  }
}

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

#back-to-top {
  position: fixed;
  left: 20px;
  bottom: 80px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: #006b9e;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .3s ease;
  box-shadow: 0 4px 12px #0004;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: #004f76;
}

/* رفع الهيدر بالكامل */
.store-header,
#mainnav {
  position: relative !important;
  z-index: 999999 !important;
}

/* رفع قائمة المستخدم */
.store-header salla-user-menu,
#mainnav salla-user-menu {
  position: relative !important;
  z-index: 1000000 !important;
}

/* قائمة الحساب نفسها */
.store-header .s-user-menu-dropdown,
#mainnav .s-user-menu-dropdown {
  position: fixed !important;
  top: 70px !important;
  right: 15px !important;
  z-index: 1000001 !important;
}

/* رفع السلة وأيقونة الطلب */
salla-cart-summary,
.s-cart-summary-wrapper {
  position: relative !important;
  z-index: 1000000 !important;
}

/* جعل طبقة التعتيم خلف الهيدر والقائمة */
.s-user-menu-overlay,
.s-user-menu-backdrop,
.s-user-menu-dropdown-backdrop {
  z-index: 999990 !important;
}
وللجوال:
@media (max-width: 600px) {
  .store-header .s-user-menu-dropdown,
  #mainnav .s-user-menu-dropdown {
    top: 65px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
  }
}

/* شريط ملخص السلة في الجوال */
@media (max-width: 767px) {
  salla-cart-summary-card.s-cart-summary-card--mobile {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    background: #fff !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .18) !important;
    direction: rtl;
  }

  .s-cart-summary-card-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 4px 8px !important;
  }

  .s-cart-summary-card-bar-label,
  .s-cart-summary-card-bar-totals {
    color: #111 !important;
  }

  .s-cart-summary-card-bar-label-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  .s-cart-summary-card-bar-label-text,
  .s-cart-summary-card-bar-count,
  .s-cart-summary-card-bar-total {
    color: #111 !important;
  }

  .s-cart-summary-card-action {
    display: block !important;
    width: 100% !important;
  }

  #s-cart-summary-card-submit,
  #s-cart-summary-card-submit .s-button-element {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 8px !important;
    background: #006b9e !important;
    color: #fff !important;
  }

  #s-cart-summary-card-submit .s-button-text {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .s-cart-summary-card-sheet-wrap {
    z-index: 1000000 !important;
  }
}

/* الوضع الداكن */
body.dark-mode salla-cart-summary-card.s-cart-summary-card--mobile {
  background: #181b21 !important;
}

body.dark-mode .s-cart-summary-card-bar-label,
body.dark-mode .s-cart-summary-card-bar-totals,
body.dark-mode .s-cart-summary-card-bar-label-text,
body.dark-mode .s-cart-summary-card-bar-count,
body.dark-mode .s-cart-summary-card-bar-total {
  color: #fff !important;
}

/* منع إخفاء الزر خلف الشريط */
@media (max-width: 767px) {
  body {
    padding-bottom: 125px !important;
  }
}
ولو زر إتمام الطلب لا يستجيب بسبب طبقة أخرى، أضف:
salla-cart-summary-card,
.s-cart-summary-card-action,
#s-cart-summary-card-submit {
  pointer-events: auto !important;
}

a.brands-link ,li#brands{
  display: none;
}
@media (min-width: 1024px) {
  .mm-ocd--open .mm-ocd__content {
    display: none;
  }
  body.desktop-menu-open {
    overflow: hidden;
  }

  .store-header #mainnav {
    height: 120px !important;
  }

  .store-header #mainnav .flex.items-stretch.justify-between {
    position: relative;
    min-height: 120px;
  }

  /* اللوجو في المنتصف */
  .store-header .navbar-brand {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    z-index: 5;
  }

  .store-header .navbar-brand img {
    width: auto !important;
    max-height: 85px;
  }

  /* زر القائمة */
  .store-header [data-testid="store-header-mobile-toggle"] {
    display: flex !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    margin: 0 !important;
  }

  /* الخلفية الغامقة بدون طبقة بيضاء */
  body.desktop-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
  }

  /* القائمة الجانبية */
  .store-header #mobile-menu {
    position: fixed !important;
    top: 0;
    right: 0 !important;
    left: auto !important;
    width: 370px !important;
    max-width: 88vw !important;
    height: 100vh;
    background: #f7f7f7;
    z-index: 99999;
    overflow-y: auto;
    padding: 64px 0 25px;
    box-shadow: none !important;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  body.desktop-menu-open .store-header #mobile-menu {
    transform: translateX(0);
  }

  /* منع أي pseudo overlay من الثيم */
  body.desktop-menu-open .store-header custom-main-menu::before,
  body.desktop-menu-open .store-header custom-main-menu::after,
  body.desktop-menu-open .store-header #mobile-menu::before,
  body.desktop-menu-open .store-header #mobile-menu::after {
    display: none !important;
    content: none !important;
  }

  /* إخفاء قائمة الديسكتوب والقائمة الزائدة */
  .store-header #mobile-menu li[data-menu-item],
  .store-header #mobile-menu #more-menu-dropdown,
  .store-header #mobile-menu .sub-menu {
    display: none !important;
  }

  /* إظهار عناصر الموبايل فقط */
  .store-header #mobile-menu li.lg\:hidden {
    display: block !important;
  }

  .store-header #mobile-menu ul {
    display: block;
    margin: 0;
    padding: 0;
  }

  /* إخفاء الفروع افتراضيا */
  .store-header #mobile-menu li > ul {
    display: none !important;
  }

  .store-header #mobile-menu li.is-open > ul {
    display: block !important;
  }

  /* شكل الصفوف */
  .store-header #mobile-menu li {
    position: relative;
    border-bottom: 1px solid #dedede;
    background: #f7f7f7;
  }

  .store-header #mobile-menu a,
  .store-header #mobile-menu span {
    display: block;
    padding: 16px 20px 16px 58px !important;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    line-height: 1.4;
  }

  /* المستوى الثاني */
  .store-header #mobile-menu li li {
    background: #fff;
  }

  .store-header #mobile-menu li li a,
  .store-header #mobile-menu li li span {
    padding: 15px 20px 15px 58px !important;
    font-size: 14px;
    font-weight: 500;
  }

  /* المستوى الثالث */
  .store-header #mobile-menu li li li {
    background: #fafafa;
  }

  .store-header #mobile-menu li li li a,
  .store-header #mobile-menu li li li span {
    padding: 14px 20px 14px 58px !important;
    font-size: 13px;
    font-weight: 500;
  }

  /* السهم على الشمال */
  .store-header #mobile-menu .menu-arrow {
    position: absolute;
    left: 12px;
    right: auto !important;
    top: 0;
    width: 42px;
    height: 54px;
    border: 0;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    z-index: 2;
  }

  .store-header #mobile-menu .menu-arrow::before {
    content: "‹";
    transform: scaleX(-1);
    display: block;
    font-size: 28px;
    line-height: 54px;
    transition: transform 0.2s ease;
  }

  .store-header #mobile-menu li.is-open > .menu-arrow::before {
    transform: rotate(-90deg);
  }

  /* منع أي فتح بالهوفر */
  .store-header #mobile-menu li:hover > ul,
  .store-header #mobile-menu li:hover > .sub-menu {
    display: none !important;
  }

  .store-header #mobile-menu li.is-open:hover > ul {
    display: block !important;
  }

  /* زر الإغلاق */
  .store-header .close-mobile-menu {
    display: none !important;
  }

  body.desktop-menu-open .store-header .close-mobile-menu {
    display: flex !important;
    position: fixed;
    top: 18px;
    left: 18px;
    right: auto !important;
    z-index: 100000;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 18px;
  }
}
@media (min-width: 1024px) {
  .store-header #mobile-menu {
    padding-top: 185px !important;
  }

  .store-header #mobile-menu::before {
    content: "";
    position: absolute;
    top: 55px;
    right: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("https://cdn.files.salla.network/homepage/1298238405/83cb9edf-75c6-4ea0-96d3-ebcbca14c6d5-original.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    background-color: #e3e3e3;
  }
}
@media (min-width: 1024px) {
  .store-header #mobile-menu {
    padding-top: 64px !important;
  }

  .store-header #mobile-menu::before {
    display: none !important;
    content: none !important;
  }

  .store-header #mobile-menu .side-logo-item {
    display: block !important;
    background: #e3e3e3;
    border-bottom: 1px solid #dedede;
    padding: 20px 0;
    text-align: center;
  }

  .store-header #mobile-menu .side-logo-item img {
    display: block;
    max-width: 65%;
    max-height: 110px;
    width: auto;
    height: auto;
    margin: 0 auto;
  }

  .store-header #mobile-menu .side-home-link {
    display: block !important;
    background: #f7f7f7;
    border-bottom: 1px solid #dedede;
  }

  .store-header #mobile-menu .side-home-link a {
    display: block;
    padding: 16px 20px !important;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
  }
}
1024px) {
    body.desktop-menu-open .store-header #mobile-menu {
        background: #f7f7f7;}
}