@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
  transition: 0.5s;
  font-family: var(--font-family) ;  
}


:root {
  --font-family: "Rubik", sans-serif;
  --g-one: #b7b0a0;
  --g-two: #b7b0a0;
  --h: #6e6e6e;
  --f: #b3b3b3;
  --logo: url("https://cdn.salla.sa/mQORVN/nGivfgonp0NT4XmAYr2DI77ZSg4g3wjxeoxdJNct.png");
  --filter: brightness(0) invert(1);
  --img-back: url("");
  --col-back:#fff;
  --pr-back: #fff;
  --pr-color: var(--col-back);
  --linear-title: linear-gradient(-225deg,#b7b0a0 0,var(--color-primary) 29%,#adadad 67%,#909090 100%
  );
  --linear-2: linear-gradient(90deg, #b7b0a0, #9c9992); 
}

/* ------- looding animation ------- */ 


/* ============================= */ 
/* ---------- Header ----------- */ 
/* ============================= */ 

/* ------- الشريط المتحرك ------- */ 
  .store-features-bar {
    width: 100%;
background: var(--linear-2); 
    color: var(--h);
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    direction: ltr;
    position: relative;
    z-index: 9999;
    padding-inline: 20px;
  }

  .store-features-wrapper {
    display: inline-block;
    white-space: nowrap;
    animation: scrollFeatures 120s linear infinite;
    will-change: transform;
  }

  .store-features-bar:hover .store-features-wrapper {
    animation-play-state: paused;
  }

  .store-feature-item {
    display: inline-block;
    margin-right: 25px;
    font-size: 16px;
    font-weight: bold;
    color: var(--h);
  }

  @keyframes scrollFeatures {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0%);
    }
  }

@media (max-width: 767px) {
    .store-features-bar {
      height: 39px;
    }

    .store-feature-item {
      font-size: 14px;
      margin-right: 20px;
    }
}

@media (min-width: 1024px) {
  .navbar-brand {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 20px;
    transform: scale(1.3);
  }
}

.topnav-link-item:where([dir="rtl"], [dir="rtl"] *) {
    border-left-width: 1px;
    display: none;
}

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

/*  في الانجليزي*/
  .translated-ltr .store-features-bar {
      margin-top: -38px !important;
  }
/* ------- شريط البحث ------- */ 

/* ------- header ------- */ 


/* ============================= */ 
/* ---------- mobile header----------- */ 
/* ============================= */

.lg\:col-span-2.lg\:pe-20,#app>div.app-inner.flex.flex-col.min-h-full>footer>div.store-footer__inner>div>div {
    align-content: center;
    text-align: center
}

a.mb-4.last\:mb-0.flex.items-center.text-sm.leading-none {
    justify-content: center
}

ul.flex.mb-6 {
    justify-content: center
}

a.flex.items-center.m-0 {
    justify-content: center
}

.main-nav-container.shadow-default.bg-white {
    /* --tw-bg-opacity: 1; */
    /* background-color: var(--col-back); */
}

.navbar-brand img {
}

.header-btn__icon,i.sicon-menu.text-primary.text-2xl.me-2\.5 {
    color: #fff
}

@media only screen and (min-width: 1024px) {
    .main-menu #offers a {
        --tw-text-opacity: 1;
        color: #fff
    }
}

@media only screen and (max-width: 1024px) {
    .mm-ocd--right .mm-ocd__content {
        right:0;
        right: 0!important;
        left: 0!important;
        top: -67px;
        bottom: 0;
        margin: auto;
        width: 86%;
        border-radius: 20px;
        height: 83%
    }
.mm-spn ul.mm-spn--open {
  left: 0;
    background-color: var(--g-one);
}
.mm-spn ul.mm-spn--open li {
    color:#fff;
    font-size: 17px;
    font-weight: 800;
    
}

  .main-menu > .has-children:hover > a {
    color: #414042;
    color: #FFF;
}
}
@media only screen and (min-width: 1024px) {
  .main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: var(--var(--g-two));
  }
}
@media only screen and (min-width: 1024px) {
  .main-menu > .has-children:hover > a {
    color: #414042;
    color: #FFF;
  }
}

#salla-modal>div.s-modal-wrapper>div>div.s-modal-header>div>span {
    visibility: hidden;
    display: none
}

#salla-modal > div.s-modal-wrapper > div > div.s-modal-header::before, nav#mobile-menu::before, #app > div.mm-ocd.mm-ocd--right.mm-ocd--open > div.mm-ocd__content::before {
    display: block!important;
    content: '';
    background-image: var(--logo);
    background-color:#eee;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 105px;
    border-radius: 15px;

}

#salla-modal>div.s-modal-wrapper>div>div.s-modal-header:before {
    margin: -27px 0 32px
}

@media(min-width: 767px) {
    nav#mobile-menu:before {
        display:none!important
    }
}

@media(max-width: 767px) {
    salla-slider .slide--one-fourth {
        height:auto;
        width: 100%;
        max-width: 141px
    }
}



#app>div.app-inner.flex.flex-col.min-h-full>footer>div.md\:flex.items-center.justify-between.py-4.container.text-center>ul>li:nth-child(n) {
    width: 4rem;
    height: 3rem
}

#app>div.app-inner.flex.flex-col.min-h-full>footer>div.md\:flex.items-center.justify-between.py-4.container.text-center>span>p {
    display: none
}

#app>div.app-inner.flex.flex-col.min-h-full>footer>div.md\:flex.items-center.justify-between.py-4.container.text-center::before {
    content: var(--con);
    font-size: 16px;
    display: block;
    visibility: visible;
    position: relative
}

#app>div.app-inner.flex.flex-col.min-h-full>footer>div.md\:flex.items-center.justify-between.py-4.container.text-center::after {
    color: #fff;
    font-size: 10px;
    display: block
}

.brand-item {
    border: 2px solid #000;
    border-radius: 17px
}
@media(min-width:991px) {
.navbar-brand {/* filter:var(--filter); */}
}

/* ============================= */ 
/* ---------- Body----------- */ 
/* ============================= */ 

/* loading animation*/
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
 .loading-logo {
      width: 120px;
      height: 120px;
      background-image: var(--logo);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      margin-bottom: 20px;
    }

.loading-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #0099cc;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  font-size: 18px;
  color: #555;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* to change background color*/
.flex-col {
  background: var(--img-back);
  background-color: var(--col-back);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner-entry {
  background-color: var(--col-back) !important;
}
.banner--fixed img {
  background-color: var(--col-back) !important;
}

/* ---------- dark mood----------- */ 


body.dark{
@media (max-width: 991px) {
  .bg-inherit .container .items-stretch *{
    color:#fff;
  }
}
.s-slider-block__title h2, .main-content h1, .s-block__title h2 {

  }
@media (min-width: 991px) {
  .store-header .container .items-stretch .flex.items-center.justify-end {
    border-radius: 60px 60px 60px 60px;
    background-color: var(--h);
  }
}
    
.gap-3 {

}


    footer.store-footer * {
  color: #fff;
  text-align: center;
} 


p.text-gray-400.mb-2\.5.md\:mb-0 {
  color: #fff !important;
}


@media only screen and (max-width: 1024px) {
  .mm-spn.mm-spn--light {
    color: #fff;

  }
    .mm-spn.mm-spn--light * {
        color: #fff;
    }

.mm-spn ul.mm-spn--open li {
    color:#fff;
    font-size: 17px;
    font-weight: 800; 
}
}

.s-menu-topnav-item {

  color: #fff !important;
}
.breadcrumbs * {
color:#fff
}
#page-main-title {
color:#fff
}

.s-comments {
color:#fff;
  background-color: transparent !important;
}
/* to change background color*/
.flex-col {
 
}

 .store-footer__inner {

    background-blend-mode: multiply; /* المزج */
    background-size: cover;
 }

.banner--fixed img {
    background-color: transparent ;
}
salla-slider:not(.hydrated), .carousel-slider {
    background-color: transparent ;
}



.s-button-primary {
  border-width: 1px;
  border-color: #414042;
  border-color: var(--color-primary);

  background-color: var(--color-primary);
  color: #ff6767;
  color: #fff;
}
.total-price {
color:#000
}
.main-content .flex.items-center{
color:#fff
}
.text-unicode{
color:#fff
}


.features-section h2 {
font-size: 2em;
  margin-bottom: 20px;
  color: black;

  border-radius: 9rem 0rem 8rem 2rem;
  font-size: 20px !important;
  font-weight: 700;
  color: #fff;
  padding-right: 30px;
  text-align: center;
  padding-bottom: 10px;
  width: fit-content;
  margin: 0 auto 20px auto;
  padding-left: 30px;
}
.review {
  background: var(--color-primary);
  }
  .slider-title {
  color: #fff;
  }
  #faq-section {
    background-color: var(--g-one) !important;
  }
    #faq-section h2 {
  color: #fff!important;
  }
 
  .s-contacts-icon {
  background-color: var(--color-primary) !important;
}

.stats-section h2 {
  color: #fff;
}



.product-index .main-content {
  background-color: var(--col-back);
}
}



/* ============================= */ 
/* ---------- Banners----------- */ 
/* ============================= */ 

/* ------- جعل أول بانر أسفل الـ هيدر ------- */ 


/* ============================= */ 
/* ---------- banner entry ----------- */ 
/* ============================= */ 

.s-block--banners .md\:grid-cols-3{
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-entry {
  flex-grow: 1 ;
  overflow: inherit;
}
.lazy__bg {
  background-size: cover !important;
}
.banner-entry {
  height: 260px;
  }
@media (max-width: 768px) {
.lazy__bg {
  background-size: 100% !important;
}
.banner-entry {
  height: 150px;
}
}
@media (min-width: 1200px) {
.banner-entry {
  height: 350px;
  }
}

.lazy__bg:hover {
  transform: scale(1.1) rotate(5deg);
  transition: 0.5s;
}


/* ============================= */ 
/* ---------- products ----------- */ 
/* ============================= */
.s-slider-block__title h2 {
  color: #000;
}
.s-product-card-content {
  padding: 7px;
  border: none;
  border-radius: 0 0 20px 20px;
}
.s-slider-block__title h2 {
  color: var(--h);
}
.s-products-slider-card {
  width: 209px !important;
  height: 300px !important;
}
.s-product-card-vertical {
  width: 100%;
}
.s-product-card-image-cover {
  -o-object-fit: fill!important;
  object-fit: fill!important;
}
.s-product-card-image-contain {
  -o-object-fit: fill!important;
  object-fit: fill!important;
}
.s-product-card-vertical .s-product-card-image {
  overflow: inherit;
  height: 150px !important;
}
.s-product-card-image img.loaded {
  position: relative;
  opacity: 1;
  border-radius: 11px 11px 0px 0px;
}
.s-product-card-content-title a {
  display: -webkit-box;         
  -webkit-box-orient: vertical; 
  -webkit-line-clamp: 1;        
  overflow: hidden;            
  text-overflow: ellipsis;      
  width: 100%;  
  text-align: center;                
}

.s-product-card-content-sub {
  justify-content: center;
}
.s-product-card-content {
  padding: 7px;
  border: 1px solid var(--h);
  border-radius: 0 0 20px 20px;
}
.s-product-card-content-footer {
  width: 20%;
}
.s-product-card-vertical .s-product-card-wishlist-btn button {
  margin: 0px;
  border: 2px solid #eee;
}
.s-product-card-content-footer .s-button-text span{
display:none;
}
.s-product-card-content-footer salla-add-product-button .s-button-element:not(:disabled):not([loading]) {
  pointer-events: auto;
  width: auto;
  padding: 6px 15px;
}
.s-product-card-vertical .s-button-outline {
  border-width: 1px;
  border-color: #eee;
  padding-inline: 15px !important;
  padding-block: 4px !important;
}
.s-product-card-vertical [class^="sicon-"], [class*=" sicon-"] {
  color: var(--g-one);
}

.s-product-card-vertical .s-product-card-wishlist-btn button {
   padding-inline: 10px !important;
   height: 32px;
}

.product-index .s-product-card-vertical .s-product-card-wishlist-btn {
  top: 133px !important;
}
@media(max-width:768px) {
.product-index .s-product-card-vertical .s-product-card-wishlist-btn {
  top: 112px !important;
}
}
/* product image hover effect */
.s-product-card-image-cover {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.s-product-card-image-cover::after {
  content: "عرض سريع";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  border-radius: 10px;
}

.s-product-card-image-cover:hover::after {
  opacity: 1;
}



/* ---- صفحة المنتج ---- */ 



/* ---------- quick view ----------- */ 
.quick-view-modal .article--main * {
  color: #000 !important;
}
  
   .quick-view-modal .s-button-element:not(:disabled):not([loading]) {
  pointer-events: auto;
  border-color: var(--col-back);
  color: #fff;
  width: 100%;
  padding: 5px 10px;
}

.btn-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* وضع افتراضي: عمودين */
  gap: 20px;
}

@media (max-width: 768px) {
  .btn-container {
    grid-template-columns: 1fr; /* شاشة الهاتف: عمود واحد */
    gap: 10px; /* تقليل المسافة بين العناصر إذا رغبت */
  }
}

@media (max-width: 640px) {
  .is-sticky-product-bar .sticky-product-bar {

    bottom: -320px;
  
  }
}
   .quick-view-modal  .py-4 {
  padding-top: 0rem;
  padding-bottom: 0rem;
}
   .quick-view-modal  .p-5 {
  padding: 0.25rem;
}
/* ---------- صفحة التصنيف----------- */ 
.product-index .main-content {
    background-color: transparent;
  }
.product-index .s-product-card-image {
  height: 11rem;
  max-height: 12rem;
}
.s-breadcrumb-wrapper {
  line-height: 2.2rem;
}
/* ---------- صفحة المنتج----------- */ 
@media (max-width: 640px) {
.is-sticky-product-bar .sticky-product-bar {
    position: revert;
}
#product-filter {
  color: #000 !important;

}
}
/* ============================= */ 
/* ---------- javascript----------- */ 
/* ============================= */
@media (max-width: 991px) {
.stats-container {
    gap: 15px;
}
.stat-item.visible {
  width: 30%;
}
}


/* ============================= */ 
/* ---------- footer----------- */ 
/* ============================= */
 .s-block__title h2 {
    font-size: 40px!important
}

.store-footer {

    background: linear-gradient(to bottom,rgba(116, 156, 132,0)30%,rgba(255, 255, 255,1)70%)!important;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 14px;
    text-align: center;
    margin-top:0px!important;
   margin-right:0px!important;
    margin-left:0px!important;
    
}
.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
}.footer-is-light .store-footer .store-footer__inner {
    background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 1))!important;
     padding-top:70px;
}

.store-footer__inner {
  background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 1))!important;
  border-top-left-radius: 40% !important;
  border-top-right-radius: 40% !important;
  /*box-shadow: 0 2px 15px rgba(200, 161, 224,.9) !important;*/
  padding: 30px;
  padding-top:50px;
  border: 1px solid rgba(255,255,255,.29) !important;
}

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

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

.store-footer h3 {
    color: var(--main-color);
    font-size: 1.3rem
}

.store-footer h3:hover {
    color: var(--third-color);
    opacity: 1;
    cursor: pointer
}

.footer-list {
    color: var(--main-color)
}

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

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

.store-footer i {
    color: var(--third-color);
    border-color: var(--main-color)
}

.store-footer__inner {
    text-align: center!important;
}

.md\:flex.items-center.justify-between.py-4.container.text-center::before {
    content: " برمجة وتطوير | ADFAZ";
    font-size: 14px;
    font-weight: 600;
    color: #fff!important;
    padding: 6px !important; 
    border-radius: 5px;
    display: flex;
    align-items: center;
    background:var(--main-color);
    justify-content:center;
    margin-left:30px; 
    margin-right:30px;
}

.s-block--features__item h2 , .s-block--features__item p {
  color:#000
}.footer-is-light .store-footer .store-footer__inner {
    background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 1))!important;
     padding-top:70px;
}

.store-footer__inner {
  background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 1))!important;
  border-top-left-radius: 40% !important;
  border-top-right-radius: 40% !important;
  /*box-shadow: 0 2px 15px rgba(200, 161, 224,.9) !important;*/
  padding: 30px;
  padding-top:50px;
  border: 1px solid rgba(255,255,255,.29) !important;
}

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

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

.store-footer h3 {
    color: var(--main-color);
    font-size: 1.3rem
}

.store-footer h3:hover {
    color: var(--third-color);
    opacity: 1;
    cursor: pointer
}

.footer-list {
    color: var(--main-color)
}

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

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