@import url('https://fonts.googleapis.com/css2?family=Marhey:wght@300..700&display=swap');

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


:root {
  --font-family: 'Marhey', sans-serif;
  --g-one: #ef7f7d;
  --g-two: #ff807e;
  --h: #154f67;
  --f: #21647f;
  --logo: url("https://cdn.salla.sa/mQAGmo/4BbuNLtiNb6mtVY2tQdI4FNnhyXq9bNdNe9ADFcn.png");
  --filter: brightness(0) invert(1);
  --img-back: url("https://f.top4top.io/p_3525djmgt1.png");
  --col-back: #fff;
  --pr-back: #fff;
  --pr-color: var(--col-back);
  --linear-title: linear-gradient(-225deg,#ef7f7d 0,var(--color-primary) 29%,#154f67 67%,#2b6780 100%
  );
  --linear-2: linear-gradient(90deg, #ef7f7d, #154f67);
}

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

/*  في الانجليزي*/
  .translated-ltr .store-features-bar {
      margin-top: -38px !important;
  }
/* ------- شريط البحث ------- */ 
 .top-navbar {
 display:none;
 }
header .sicon-search {
  color: var(--g-one);
}
 
.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: rgba(255, 255, 255, 0.3);
  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: var(--col-back);
}
.s-cart-summary-total {
color:white;
}

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

.s-cart-summary-total {
    color: var(--h);
}
@media only screen and (min-width: 1024px) {
  .main-menu #offers a {
    color: var(--h) !important;
  }
}

@media(max-width:991px) {
.store-header .container .items-stretch .flex.items-center.justify-end {
  left: 12%;
}
.bg-inherit .container .items-stretch {
  align-items: center;
}
} 
@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----------- */ 
/* ============================= */



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 {max-height: max-content;}

.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: #dda2a0;
}
.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: #dda2a038;
    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
}


/* ============================= */ 
/* ---------- 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: #6B839D;
  }
}
    
.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----------- */ 
/* ============================= */ 

/* ------- جعل أول بانر أسفل الـ هيدر ------- */ 
.s-block:first-of-type {
  margin-top: -65px;
}

@media(max-width:991px) {
.s-block:first-of-type {
  margin-top: 0;
}

}

.s-block .container {
  max-width: 100vw;
  padding-right: 0;
  padding-left: 0;
}

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

.footer-is-light .store-footer .store-footer__inner::before {
  text-align: center;
  content: "";
  display: block;
  height: 150px;
  width: 150px;
  
   
  margin: auto auto 20px;
  background-image: var(--logo);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color:transparent;


animation: footerLogo 2s ease-in-out infinite;
 
}

@keyframes footerLogo {
  0% {
    transform: scale(1.0); 
  }
  50% {
    transform: scale(1.1); 
  }
  100% {
    transform: scale(1.0);
  }
}



.footer-is-light .store-footer .store-footer__inner {
    --tw-border-opacity: 1;
    border-bottom-color: #e5e7eb;
    border-bottom-color: rgba(229,231,235,var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: #cbadb4;
    background-color: rgba(243,244,246,var(--tw-bg-opacity));
    background: var(--background-gradient);
    color: #154f67;
    border-radius: 15px;
    box-shadow: 0px 0px 10px var(--color-primary);
    font-weight: 500;
    margin: 0px 1.2rem;
    padding:1rem 2rem;
    animation-name: shadow;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes shadow {
    0% {
        
        box-shadow: 0px 0px 10px;    
    }

    10% {
       
        box-shadow: 0px 0px 10px var(--color-secondary);
    }
    20% {
       
        box-shadow: 0px 0px 10px;
    }
    30% {
       
        box-shadow: 0px 0px 10px var(--color-secondary);
    }
    40% {
       
        box-shadow: 0px 0px 10px;
    }
    50% {
       
        box-shadow: 0px 0px 10px var(--color-secondary);
    }
    60% {
       
        box-shadow: 0px 0px 10px;
    }
    70% {
       
        box-shadow: 0px 0px 10px var(--color-secondary);
    }
      80% {
       
        box-shadow: 0px 0px 10px;
    }
      90% {
       
        box-shadow: 0px 0px 10px var(--color-secondary);
    }

  
    100% {
        
        box-shadow: 0px 0px 10px;
    }
}


.store-footer h3 {
    margin-bottom: .75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    padding: 10px;
    border-radius: 25px;
    text-align: center;
    margin:auto;
  
    font-size: 25px;
    text-align:center;
   
    
}
.s-contacts-icon svg {
    height: 0.875rem;
    width: 0.875rem;
    fill: rgb(255 255 255);

}
.s-contacts-icon:where([dir="rtl"], [dir="rtl"] *) {
    margin-left: 0.625rem;
    background-color: #000000 !important;
}
.s-menu-footer-item:hover {
    display: block;
    font-size: .875rem;
    line-height: 1.25rem;
    line-height: 1;
    color: var(--color-secondary);
}
contact-slot{    background-color: #bcb7c400;}

.s-contacts-item:hover 
    display: flex;
    align-items: center;
    font-size: .875rem;
    line-height: 1.25rem;
    line-height: 1;
    color: var(--color-secondary);
}

.copyright-text p {
    --tw-text-opacity: 1;
    color: var(--color-primary);
    padding-top: 20px;
   
}

.store-footer__inner {
    border-bottom-width: 1px;
    border-style: none;
    border-bottom-color: rgba(255,255,255,.1);
    --tw-bg-opacity: 1;
    background-color: #1d1f1f;
    background-color: transparent;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border: none;
    justify-content: center;
         text-align: center;

 
}

.footer-is-light .store-footer {
    --tw-bg-opacity: 1;
    background-color: transparent!important;
 
}

.s-social-link a:hover {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    font-size: .875rem;
    line-height: 1.25rem;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: 300ms;
    color:  var(--color-secondary);
}