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

* {
  transition: 0.5s;
  font-family: "Noto Kufi Arabic", sans-serif !important;  
}

:root {
  --g-one: #8E705B;
  --g-two: #8E705B;
  --h: #8E705B;
  --f: #8E705B;
  --filter: brightness(0) invert(1);
  --logo: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/XeVqoz/nZ57hecTYg18BemsfwSfB3ApEmCVnKj7Yds5NqA3.png");
  --img-back: url("");
  --col-back: #8E705B;
  --pr-back: #fff;
  --pr-color: var(--col-back);
  --linear-title: linear-gradient(-225deg,#000 0,var(--color-primary) 29%,#000 67%,#68111b 100%
  );
  --linear-2: linear-gradient(90deg, #8E705B, #8E705B); 
}

/* ------- 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;
    }
}
  
/* ------- شريط البحث ------- */ 
 .top-navbar {
 display:none;
 }
 header .sicon-search {
  color: var(--g-one);
}

@media(max-width:991px) {
header .sicon-search {
  color: #fff;
}
}
 
.bg-white.p-6.rounded.shadow.w-full.max-w-md.relative {
  top: -170px;
  background: var(--linear-2);
  color: aliceblue;
  border: 2px solid white;
  border-radius: 46px;
}
.bg-white.p-6.rounded.shadow.w-full.max-w-md.relative button {
  color: aliceblue;
}
.header-btn {
  color: aliceblue;
  margin: 0 10px 0 0;
}
.header-search {
  margin: 0 20px;
}

@media(max-width:768px) {
.bg-white.p-6.rounded.shadow.w-full.max-w-md.relative {
  top: -240px;
  }
}

/* ------- header ------- */ 
header {
  z-index: 10;
}

@media(min-width:991px) {
.store-header {
  background-color: transparent;
}
.store-header .container {
background-color: var(--col-back)
}
.store-header .container .items-stretch {
 margin: 7px 10px;
  border: 1px solid aliceblue;
  border-radius: 50px;
  inset: 0;
  top: 0px;
  background: var(--h);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  position: fixed;
  height: 100px;
  top: 50px;
}
.store-header .container .items-stretch .flex.items-center.justify-end {
border: 2px solid var(--h);
  border-radius: 60px 60px 60px 60px;
  height: 60%;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 9%;
  position: absolute;
  padding: 0 10px;
  background-color: #fff;
}
.s-cart-summary-total {
color:white;
}

.store-header .fixed-pinned .items-stretch {
    top: 5px;
}
}
/*---------*/
.main-menu li.root-level > a {
    color: #fff;
}
.main-nav-container {
  background-color: var(--col-back)
}
header .text-primary {
  color: #fff;
}

.s-cart-summary-total {
    color: var(--h);
}


@media(max-width:991px) {
.store-header .container .items-stretch .flex.items-center.justify-end {
  left: 12%;
}
} 
@media(max-width:768px) {
.store-header .container .items-stretch .flex.items-center.justify-end {
  left: 24%;
}
} 

/* تغيير ايقونات الهيدر */ 
.sicon-shopping-bag:before {
    content: "\e901";
    text-align: center
}
.sicon-user-circle:before {
    content: "\f077";
    text-align: center
}
.header-btn__icon {
  border: none;
  color:var(--h);
}

/* ============================= */ 
/* ---------- 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(--h)
}

.navbar-brand img {
  filter: var(--filter);
}

.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-two);
}
.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:var(--g-two);
    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
    }
    .s-cart-summary-total {
  color: #f4f4f4;
}
    
}

@media(max-width: 991px) { 
.header-btn__icon, i.sicon-menu.text-primary.text-2xl.me-2\.5 {
  color: #fff !important;
}
}

#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
}


/* ============================= */ 
/* ---------- Body----------- */ 
/* ============================= */ 
/* 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: transparent !important;
}
.banner--fixed img {
  background-color: transparent !important;
}

/* ---------- dark mood----------- */ 
body.dark{

.flex-col {
  background-image: none;

}
.s-slider-block__title h2, .main-content h1, .s-block__title h2 {
  background-image: var(--linear);
  }
.stats-title {
  color: #fff;
}
.stats-subtitle {
  color: #fff;
  }
  .testimonial-title {
  color: #fff;
  margin-bottom: 0px !important;
}
 .s-contacts-icon {
    background-color: var(--f) !important;
  }

    
.gap-3 {
  background-color: var(col-back);
}


    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;
    background: #000;
  }
    .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: #414042;
  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: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--g-one), var(--g-two));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 15px;
  text-align: center;
  font-weight: 700;
  color: var(--g-one);
  text-shadow: 0px 3px 8px var(--g-one);
  margin-bottom: 10px;
}
.review {
  background: var(--color-primary);
  }
  .slider-title {
  color: #fff;
  }
  #faq-section {
    background-color: var(--f) !important;
  }
    #faq-section h2 {
  color: #fff!important;
  }
 
  .s-contacts-icon {
  background-color: var(--color-primary) !important;
}

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



.main-content {
  background-color: #fff;
}
}



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

/* ---------- slider----------- */ 
  salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
    padding-right: 0;
    padding-left: 0;
  }
  salla-slider.photos-slider .swiper-slide {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 0;
  }
  
/* ------- جعل أول بانر أسفل الـ هيدر ------- */ 
.s-block:first-of-type {
  margin-top: -15px;
}
.s-block .container {
  max-width: 100vw;
  padding-right: 0;
  padding-left: 0;
}

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

.s-block--banners .grid.one-row {
    display: flex;
  align-items: center;
  justify-content: center;
}


@media(max-width:768px) {
.s-block--banners {
  margin-top: 0;
}
.lazy__bg {
  background-size: 100% !important;
}
.banner-entry {
    height: 280px;
}
.two-row .banner-entry:first-child {
  padding: 0.75rem !important;
}

.s-block--banners .md\:grid-cols-3{
  display: flex;
  justify-content: center;
  align-items: center;
}



.banner-entry {
    height: 280px;
}
}
.banner-entry {
  flex-grow: 1;
  overflow: inherit;
}

.lazy__bg:hover {
  transform: scale(1.1) rotate(5deg);
  transition: 0.5s;
 filter: drop-shadow(1px 1px 10px var(--g-one));	
}
.sm\:gap-8 {
    gap: 0rem;
}



/* ============================= */ 
/* ---------- products ----------- */ 
/* ============================= */
  .s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
    flex: 1 1 0%;
    width: 100%;
    height: 100%;
    background-image: url("https://cdn.salla.sa/form-builder/gUICVKxoZzCKHiJmeHQputZwK9ch666yQsBCAa4R.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition:0.5s
  }
    .s-product-card-fit-height.s-product-card-vertical:hover .s-product-card-image {
      background:white;
}
 .carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-bottom: 15px;
}
.s-product-card-vertical {
  flex-direction: column;
  border: 4px solid white;
}
.s-products-slider-card {
  width: 209px !important;
  height: 300px !important;
  filter: drop-shadow(1px 1px 5px var(--g-one));
}
.s-products-slider-card:hover {
  filter: drop-shadow(1px 1px 5px var(--g-one));
}
.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-title a {
  text-align: center;
}
.s-product-card-content-sub {
  justify-content: center;
}
.s-product-card-content {
  padding: 7px;
}
.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;
}

/* ---- نفذت الكمية ---- */ 
.s-product-card-content-footer salla-add-product-button .s-button-disabled  {
  position: relative;
  width:50px;
}
.s-product-card-content-footer salla-add-product-button .s-button-disabled::after  {
  position: absolute;
  content: "نفذت الكمية";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: black;
}

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



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

/* ============================= */ 
/* ---------- footer----------- */ 
/* ============================= */
 .s-block--categories .s-slider-block__title h2, .main-content h1, .s-block__title h2 {
  text-transform: uppercase;
  background-image: var(--linear);
  }
  .slide--cat-entry {
  height: 7rem;}
  .slide--cat-entry h2 {
  color: white;
}
.s-slider-block__title .s-slider-block__title-left {
  justify-content: center;
  flex-direction: column;
}


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

} 
.footer-is-light .store-footer .store-footer__inner {
  background-color: var(--f);
}
.store-footer__inner::before {
  content: "";
  background: linear-gradient(180deg ,transparent 100%,#ffffff 94%), url(https://i.postimg.cc/jCV95d3P/1704084060680.png);
    background-repeat: repeat, repeat;
    background-size: auto, auto;
  color: #ffffff !important;
  background-size: 418%;
  display: block;
  background-repeat: round;
  transform: rotate(180deg);
  height: 104px;
  margin: -40px -32px 1px 1px;
}

.store-footer__inner .container::before{
text-align: center;
  content: "";
  display: block;
  height: 90px;
  width: 100px;
  margin-left: auto;
  margin-right: auto;
  background-image: var(--logo);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
    filter: brightness(0) invert(1);

  transition: 0.6s;
  position: relative;
  z-index: 1;
  background-color: transparent;
  border-radius: 10%;
}

@media(min-width:1020px) {
.store-footer__inner .container::before {
  height: 90px;
  width: 80px;
  top: -65px;
  left: -281px;
}
}
p.text-gray-400.mb-2\.5.md\:mb-0 {
  color: #fff !important;
}
.hover\:text-primary {
  color: #414042;
  color: #fff;
}
.store-footer h3 {

  padding-right: 10px;
  padding-bottom: 10px;
  font-size: 2em;
  margin-bottom: 20px;
  color: black;
  background: var(--g-one);
  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;
}
.s-contacts-item {

  justify-content: center;
}
.s-payments-list-item {
  background: white !important;
}
.s-payments-list-item img {
  background: white !important;
}
.store-footer::after {
	content: "برمجة وتطوير ADFAZ";
	top: 0;
	color: #000 !important;
	font-size: 16px;
	opacity: 0.8;
	text-align: center;
	font-weight: 700;
	width: 100%;
	display: inline-block;
}
.store-footer__inner a h3 {
  display: none;
}

@media (max-width: 768px) {
  .banner-entry {
    height: 190px;
  }
}

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