/* General start */

@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 {
    --main-color: #6c3428; 
    --font-family: "Rubik", sans-serif; 
     --col-back:#f7f0ee;
    --cat-control: rgba(39,63,69,.5);
    --linear: linear-gradient(-225deg, #000 0, var(--main-color) 29%, #000 67%, #68111b 100%);
    --bg-color: #f7f0ee;
    --second-color: #000000;
    --third-color: #ffffff;
    --logo : url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/DGrAjv/6ZVZG6PsIZLAFkJZycKsBNheuj8PhAsetGnY12yt.png) ;   
 }
 
  body ,
 .banner--fixed img{
 background-color: var(--col-back);
 };





    section:first-of-type.s-block--fixed-banner{
    margin: 5px !important ;
}



   section:nth-of-type(10).s-block--fixed-banner img,
   section:nth-of-type(17).s-block--fixed-banner img {
    position: relative;
    right: 3%;
}

@media (min-width: 1024px) {
  body.cart  .lg\:pb-20 {
        
        justify-content: center;
    }
}

    





/* General End */

/* Body */

/*start background image section*/
.store-header ,
.s-block--features , 
.store-footer {
background-image: none !important ;

 }
 
 .s-contacts-topnav-link:last-child:where([dir="rtl"], [dir="rtl"] *){
 display:none;
 }
 
/* body {
  background-color : var(--col-back) ;
  background-size : cover ;
  background-position: center; 
  background-repeat: repeat;
 }*/


/*end background image section*/

body.index:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background:  #fff var(--logo);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 220px;
    animation: fade-out 2.25s ease-in-out forwards;
    transition: opacity .4s ease-in-out;
    pointer-events: none;
    border: none;
}



@keyframes fade-out {
    0% {
        opacity: 1;
        
    }

    100% {
        opacity: 0;
       
    }
}

/* header.store-header:before {
    content: '';
    background: url(https://iili.io/395rdT7.png);
    background-repeat-y: no-repeat;
    background-position-x: 0;
    animation: scrollBrands 2000s linear alternate both infinite;
    background-size: contain;
    height: 50px;
    display: block;
    background-color: var(--main-color);
    background-position: center;
    margin-bottom: 16px;
    z-index: 9999999999999999;
}

@keyframes scrollBrands{
0% {
    background-position-x: 0;
}

50% {
    background-position-x: 35000px;
}
100% {
    background-position-x: 0;
}
}

@media (max-width: 767px) {
    header.store-header:before {
        background-size: 180%;
        height: 36px;
        background-position: center;
        margin-bottom: -2px;
    }
}*/




/* NavBar start */

#mainnav {
    background-color: var(--third-color);
}

.main-menu {
    color: var(--main-color);
}

.sicon-user-circle {
    transition: .3s;
}

 .sicon-shopping-bag:before {
     content: "\e901";
    text-align: center;
}



.sicon-user-circle:before {
    content: "\f077";
    text-align: center
} 

.sicon-user-circle:hover::before {
    color: var(--second-color);
}

.header-btn__icon {
    border: none;
    color: var(--main-color);
}

.sicon-menu:before {
    content: "\ed7f";
    color: var(--main-color);
}

.s-cart-summary-total {
    color: var(--main-color);
    padding-left:7px;
}

@media only screen and (max-width: 1024px) {
    .mm-spn.mm-spn--light {
        color: var(--main-color);
        background: var(--third-color);
    }
}



@media (min-width: 760px) {
   #social-fab {
        bottom:100px;
    }
}


/* NavBar End */

/* Sections Strat */
.swiper-pagination {
    display: none;
}

.slide--cat-entry i {
    content: "\ec0b";
    color: var(--main-color);
}

.s-block--categories .swiper-wrapper a {
    background-color: var(--third-color);
}

.slide--cat-entry h4 {
    color: var(--second-color);
}

.s-slider-block__title {
    color: var(--main-color);
}

.s-block__title {
    color: var(--main-color);
}

  .top-navbar {
    color : black !important ;
    
    } 
    .s-search-modal input, 
    .s-search-modal input::placeholder {
    color : black !important ;
    padding-right : 20px ;
    } 
    .s-block__title {
    color : black !important ;
    } 

    .s-slider-block__title h2 {
    color: #fff !important;
    background-color: var(--main-color);
    padding: 10px 15px;
    margin-right: 10px;
    border-radius: 25px;
}

       .s-slider-block__display-all {
           color : #1692c4 !important;
           padding-left:13px;
        }

  /* للتحكم في عنوان المنتج في صفحة المنتج*/

  /* For Dark background-Color */

  

 /*  .breadcrumbs ol li {
      color : #fff
      }

   .s-breadcrumb-arrow svg {
     background-color: #fff ;
   }

   .main-content h1.font-bold {
     color: #fff
     }

    .gap-4.flex>h2.font-bold:not(.total-price) {
    color: #fff;
       }
 
       .product__description {
    color: #fff;
       }

    .flex.items-center > label:first-child {
      color : #fff

     } */

   

/* Sections End */

/* Product start */

.mm-spn li {
    transition: .3s;
}

.mm-spn li:hover {
    color: #333;
    
}

@media (min-width:1024px){

.main-menu li.root-level>a span {
    transition:.4s
}

.main-menu li.root-level>a span:hover {
    transform:translateY(-5px);
    opacity:.7;
}

}

.s-block__title {
color : black;
margin-right :  15px;
margin-left :  15px;
 }





 .s-block--fixed-banner {
 transition : .3s ;
 margin :  10px;

 

 }





 .s-block--fixed-banner img {
     transition: .5s;
    
 }
 
  section:nth-of-type(8).s-block--fixed-banner img:hover ,
  section:nth-of-type(10).s-block--fixed-banner img:hover ,
  section:nth-of-type(12).s-block--fixed-banner img:hover ,
  section:nth-of-type(15).s-block--fixed-banner img:hover ,
  section:nth-of-type(17).s-block--fixed-banner img:hover ,
  section:nth-of-type(19).s-block--fixed-banner img:hover  {
    opacity : .6 ;
   transform : translateY(-15px);
    } 
   
    .banner--fixed img  {
        background: inherit;
    }
  /*  start 3 banners background color*/
   .swiper-slide.swiper-slide-active img ,
  .salla-slider.photos-slider .swiper-slide{
    background: inherit;
    

  } 
  /*  end 3 banners background color*/

 
  
  
  @media (min-width : 992px) {
   
   section:nth-of-type(8) .banner--fixed img ,
   section:nth-of-type(10) .banner--fixed img ,
   section:nth-of-type(12) .banner--fixed img ,
   section:nth-of-type(15) .banner--fixed img ,
   section:nth-of-type(17) .banner--fixed img ,
   section:nth-of-type(19) .banner--fixed img {
      width: 100% ;
    margin-left:  auto;
    margin-right:  auto;
    
    
    }
    
     } 

 
   
.container {
padding-left : 0 !important ;
padding-right : 0 !important ;
}




/* Footer Start */
 


 .store-footer{
    background: transparent !important;
    padding: 30px;
    font-size: 14px;
    text-align: center;
    
}

.store-footer__inner {
    background: var(--third-color) !important;
    border-radius: 16px;
    box-shadow: 0 2px 15px var(--main-color) !important;
    border: 1px solid rgba(255, 255, 255, .29) !important;
    text-align: center;
}

.store-footer a {
    color: var(--main-color) !important;
}

.store-footer .container > div:first-child p:nth-of-type(2){
padding: 0 10px;
}

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

.store-footer a h3:nth-child(1) {
    font-size: 1rem;
    color: transparent;
    background-image: var(--logo);
    background-size: 100%;
    background-repeat: no-repeat;
    line-height: 5;
    scale: 2.5;
    background-position: center;
    margin-top: 0;
    margin-bottom: 20px;
    animation: pulse 5s ease-in-out infinite;
    transition: scale .4s;
}

@keyframes pulse{

0%, 100% {
    transform: scale(1);
}

50% {
    transform: scale(1.3);
}

}

.store-footer__inner .max-w-sm {
    color: var(--second-color);
    margin: auto;
}

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

.store-footer a {
    color: var(--second-color) !important;
    transition:.3s;
}

.store-footer a:hover {
    color: var(--main-color) !important;
    
}

#contact-slot a {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#contact-slot a {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

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

.store-footer {
    @media (max-width: 480px) {
        .text-center::before {
            margin-bottom: 10px;
        }
    }
}

.copyright-text p {
    background: #fff;
    color: var(--second-color);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.s-payments-list {
    
    flex-wrap: nowrap !important;
    
}

@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
}




 /* Footer end */
       /* start product card */

  .s-products-slider-card {
    padding: 0.625rem;
}

.s-product-card-image {
  position: relative;
}



  





.s-product-card-image img {
    border-radius: 10px 50px 10px 50px;
    
}

.s-product-card-entry {
    background-color: inherit !important;
    border-radius: 10px 50px 10px 50px;
    transition:.4s;
}

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

.s-product-card-vertical .s-product-card-wishlist-btn button {
    background-color: rgba(11, 22, 73, 0.5) !important;
    color: var(--main-color);
}

.s-product-card-vertical .s-product-card-image {
    border-radius: 10px 50px 10px 50px;
   
    
}

.s-product-card-vertical 
 {
     
transition : .3s ;
 margin-right : 10px;
 margin-bottom: 20px !important;
 

 }

.s-product-card-vertical:hover {
    border: 2px solid var(--main-color);
    
}


 .s-product-card-vertical img {
     transition: .3s;
 }

.s-product-card-content-title a {
  display: -webkit-box; 
  background-size: 200% auto;
  background-image: var(--linear);        
  -webkit-box-orient: vertical; 
  -webkit-line-clamp: 1;        
  overflow: hidden;            
  text-overflow: ellipsis;      
  width: 100%; 
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  animation: textclip 4s linear infinite;                 
}

@keyframes textclip {
0% {
    background-position: 0% center;
}

100% {
    background-position: 200% center;
}
}

.sicon-shopping-bag:before {
    content: "\e901";
}




  /* لتصغير حجم صورة المنتج في الصفحة الرئيسية*/
  
      .s-block--best-offers .s-product-card-vertical img {
     height:180px;
 }
 
.s-block--best-offers .swiper-backface-hidden .swiper-slide {
   height:70% !important ;
}


 
 .s-product-card-vertical:hover img
{
opacity : .5 ;
transform : scale(1.2);
}


.s-product-card-content-main {
    text-align: center;
}

.s-product-card-content-title a {
    color: var(--main-color);
}

.s-product-card-content-sub {
    justify-content: center;
}

.s-product-card-content {
    padding: .75rem .75rem;
    justify-content: center;
    align-items: center;
}

.s-product-card-entry .s-button-outline {
    border-radius: 50px;
    border-color: var(--second-color);
}

 .s-button-outline {
    border-radius: 50px;
    
}

.s-product-card-entry {
    background-color: transparent;
}

.s-product-card-entry .s-button-primary-outline {
    color: var(--main-color);
    transition : .3s ;
    border-color: var(--main-color);
    animation: pulse22 2.25s infinite ease-in-out;
    transition : all .4s;
}

@keyframes pulse22 {
0% {
    transform: scale(1);
    opacity: 1;
}

50% {
    transform: scale(1.04);
    opacity: 0.7;
}
100% {
    transform: scale(1);
    opacity: 1;
}
}

.s-button-primary-outline:hover {
    background-color: var(--main-color);
    color: var(--third-color);
}

.s-product-card-vertical .s-product-card-wishlist-btn {
    opacity: 1 !important;
}

 
 salla-products-list  {
 margin-left:10px;
 }
 
 @media (max-width:500px) {
  salla-products-list .s-product-card-vertical img {
    margin-bottom: -25px;
    height: 140px;
   
}
}

 @media (min-width:992px) {
  salla-products-list .s-product-card-vertical img {
    margin-bottom: -25px;
    height: 200px;
   
}
 
 }

.product-single .carousel-slider .swiper-wrapper > div {
    height:350px !important;
}


.product-single .carousel-slider .swiper-wrapper > div:first-child {
    margin-right:10px !important;
}
 
 /* end product card */

 .s-comments-product {
    background-color: transparent !important;
    
    
}

.product-single .whatsapp-float ,
.product-single #scroll-icon ,
.product-single #social-fab {
display : none !important;
 
 }








@media (min-width: 1280px) {
 section.s-block--fixed-banner:first-of-type .container ,
  section.s-block--fixed-banner:nth-of-type(4)
  .container ,
  section.s-block--fixed-banner:nth-of-type(5)
  .container ,
  section.s-block--fixed-banner:nth-of-type(7)
  .container ,
  section.s-block--fixed-banner:nth-of-type(9)
  .container,
  section.s-block--fixed-banner:nth-of-type(16)
  .container{
    max-width:200%!important;
  }
}


[dir="rtl"] .mm-spn.mm-spn--navbar.mm-spn--main::after {
    padding-right: .75rem;
    content: "";
    text-align: center !important;
    display: block;
    height: 120px !important;
    width:160px;
    background-image: var(--logo);
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 0;
    background-color: #fff;
    border-radius: 0;
}

.mm-spn.mm-spn--navbar ul ,
.mm-spn.mm-spn--navbar ul:before{
margin-top:80px;
}

/* start Features Section*/

 .mainDiv {
        width: 100%;
    max-width: 1200px; 
    margin:20px auto;
    
    }



.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    place-items: center;
}

@media  (max-width:370px){
    .features-container {
        
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
        
    }
}

@media (min-width:371px) and (max-width:700px){
    .features-container {
        
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        
    }
}

.featHeading {
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    background-color: var(--main-color) ;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 15px;
    border-radius: 25px;
}
.feature-item {
   aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
    padding: 15px;
    border-radius: 10px;
    box-shadow:  var(--main-color) 2px 2px 2px 2px;
    transition: transform 0.3s;
    background: #fff;
}

@media (min-width:700px){
.feature-item {
   height:210px;
}
}
.feature-item:hover {
    transform: translateY(-5px);
}
.feature-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.feature-item h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
    color: var(--main-color);
}
.feature-item p {
    font-size: 0.9em;
    color: #555;
    margin-top: 3px;
}

/*end features section*/

/****** start customers reviews ****/

section.customers-reviews {
    background-color: transparent;
}
.customers-reviews .container {
    max-width: 1200px;
    width: 90%;
    position: relative;
    margin: 50px auto -60px auto;
}

.customers-reviews .container > h2 {
    width: fit-content;
background-color: var(--main-color);
color: #fff;
padding: 10px 15px;
border-radius: 25px;
margin-left: auto;
margin-right: auto;
}
.customers-reviews .mySwiper {
    max-width: 1100px;
    
    display: flex;
    align-items: center;
    height: 250px;
    
}




.customers-reviews .card {
    text-align: center;
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}
.customers-reviews .swiper-slide {
    display: flex;
    align-items: center;
}

.customers-reviews .card{
position:relative;
}
.customers-reviews .card img {
    width: 60px;
    border-radius: 50%;
    margin-top: -70px;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    top:24%;
    
}

.customers-reviews .stars{
    margin-top:25px ;
    color:orange;
}




.customers-reviews h3 {
    font-size: 16px;
}
.customers-reviews p {
    font-size: 15px;
    line-height: 20px;
    color: #222222;
    
}
.customers-reviews .swiper-button-next,
.customers-reviews .swiper-rtl .swiper-button-prev {
    color: var(--main-color);
}
.customers-reviews .swiper-button-next:after,
.customers-reviews .swiper-button-prev:after {
    font-size: 32px;
}
.customers-reviews .review i {
    color: orange;
}


/****** end customers reviews ****/
/* .navbar-brand img {
    
    max-height: 5rem;
    max-width:200px;
    height: auto;
    width: 60px;
}

.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 5rem;
} */
/**************************/
body.product-single:not(.menu-opened)  {
box-sizing: border-box;
overflow-x: hidden;
 max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
    
}

body.product-single:not(.menu-opened) *:not(.s-products-slider-card *){
    max-width:100%;
   
}


/*.product-single .carousel-slider .swiper-wrapper > div {
    max-width:75% !important;
}*/

/*****************/
/* @media (max-width: 5000px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}

 .lazy__bg.loaded {
    background-color: var(--col-back);
  }

 .grid.one-row .banner-entry{
  transition:.4s;
   }

 .grid.one-row .banner-entry:hover{
  
  transform:scale(1.04);
  opacity:.5;
  }
  
    @media (max-width:767px) {
      .grid.one-row a.banner-entry 
    {
        height:185px;
    }

}
  
   @media (min-width:768px) {
      .grid.one-row a.banner-entry 
    {
        height:360px;
    }

}

.grid.one-row a.banner-entry .lazy__bg {
background-size: inherit !important;
} */

/***********************/
#faq-section{
background-color:var(--main-color) !important;
margin-top: 20px !important;
margin-bottom: 0 !important;
}

#faq-section > div:nth-of-type(3){
border: none !important;
margin-bottom:-10px !important;
}
/************************/
.features-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    background: var(--main-color);
    border-radius: 9rem 0rem 8rem 2rem;
    font-size: 20px !important;
    font-weight: 700;
    color: #fff !important;
    padding: 15px 10px;
    text-align: center;
    border-radius: 25px;
    width: fit-content;
    margin: 0 auto 10px auto;
}



/******************/
  .slider-container {
    position: relative;
    margin: 20px auto;
    width: 98%;
    max-width: 800px; 
    height: auto;
  }
  .category-slider h2.cat-title {
    color: #fff !important;
    background-color: var(--main-color);
    padding: 10px 15px;
    border-radius: 25px;
    width: fit-content;
    display: block;
    text-align: center;
    margin: 15px auto;
}
  .slider-container img {
    width: 100%;
    height: auto;
    display: none;
    transition: display 1s;
    transition: hover .4s;
    transition: transform .4s;
    cursor: pointer;
  }
  .slider-container img.active {
    display: block;
  }
  .slider-container img:hover{
    opacity: .6 ;
    transform : scale(1.025);
  }
  .slider-container .slide-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 5px;
  }
  .slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 10px auto 0;
    padding: 10px;
  }
  .slider-controls .prev,
  .slider-controls .next {
    background-color: var(--main-color);
    color: white;
    font-size: 16px;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
  }
  .slider-controls .prev.disabled,
  .slider-controls .next.disabled {
    background-color:var(--cat-control) ;
    cursor: not-allowed;
  }
  .slider-controls .indicators {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-grow: 1;
  }
  .slider-controls .indicators li {
    list-style: none;
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    margin-right: 7px ;
  }

  
  .slider-controls .indicators li.active {
    background-color: var(--main-color);
    color: white;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .slider-container {
      max-width: 100%;
    }
    .slider-controls .prev,
    .slider-controls .next {
      font-size: 14px;
      padding: 8px;
    }
    .slider-controls .indicators li {
      width: 20px;
      height: 20px;
      line-height: 20px;
    }
  }
  
  @media (max-width: 480px) {
    .slider-controls .prev,
    .slider-controls .next {
      font-size: 12px;
      padding: 6px;
    }
    .slider-controls .indicators li {
      width: 18px;
      height: 18px;
      line-height: 18px;
    }
  }
  
  /*********************/
  .sicon-menu:before {
    content: "\ed7f";
    color: var(--main-color);
}

/**************************/

  @media (max-width: 380px) {
    .shareOptions {
      position: relative;
    left: -10px;
    margin-right: -10px;
    } 
    }
    
 

/******************/
.s-product-card-entry .s-button-primary-outline {
    
    border-radius:10px 50px 10px 50px; 
    }
    
    /*******************/
    .s-product-card-vertical .s-product-card-wishlist-btn button {
    background-color: var(--main-color) !important;
    color: #fff;
}

body.product-single h1.text-xl {
text-align: center;
    color: var(--main-color);
    background-color: white;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 30px;
    border-radius: 25px;
}

body.product-single h2.font-bold.text-xl {
margin-right: 20px;
    padding: 10px 20px;
    background-color: #fff;
    display: block;
    width: fit-content;
    border-radius: 25Px;
    color: var(--main-color) !important;
}

#settings-panel > div:nth-child(5){
display:none!important ;
}

/*********************/
/******************************************/
.countdown-section {
  background-color: var(--col-back);
  color: var(--main-color);
  padding: 20px;
  text-align: center;
  font-family: inherit;
  border-radius: 12px;
  margin: 20px 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
  border: 1px solid var(--main-color);
  
}

.countdown-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}

/* التايمر */
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.countdown-box {
  background-color: var(--main-color);
  color: #fff;
  padding: 15px 10px;
  border-radius: 8px;
  min-width: 70px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease-in-out;
}

.countdown-box span {
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  animation: numberChange 0.5s ease-in-out;
}

.countdown-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* خط التقدم */
.countdown-progress {
  height: 8px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 15px;
}

.sales-div {
background-color: var(--main-color);
  color: white;
  font-weight: bold;
  width: fit-content;
  margin: 15px auto 0 auto;
  padding: 10px 15px;
  border-radius: 6px;
  transition:.5s;
}

.sales-div:hover{
transform:scale(1.075)
}



.countdown-progress-bar {
  height: 100%;
  background-color: var(--main-color);
  width: 100%;
  transition: width 1s linear;
}

/* أنيميشن */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes numberChange {
  from {transform: scale(1.3); opacity: 0.5;}
  to {transform: scale(1); opacity: 1;}
}

/* responsive */
@media (max-width: 600px) {
  .countdown-section h2 {
    font-size: 1.4rem;
  }
  .countdown-box {
    min-width: 60px;
    padding: 10px 5px;
  }
  .countdown-box span {
    font-size: 1.3rem;
  }
}

/********************************************/
/****************************/

.banner-swap {
    width: 100%;
    background:  var(--main-color);
    color: white;
    overflow: hidden;
    padding: 5px 0;
    position: relative;
}

.bannt {
    display: flex;
    width: 100%;
    animation: banSwiperScroll 10s linear infinite;
    will-change: transform;
}

.bannt:hover {
    animation-play-state: paused;
    /* Pause scroll on hover */
}

.banrerr {
    white-space: nowrap;
    padding: 0 50px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.banrerr:hover {
    color: var(--third-color);
    text-shadow: 0 0 8px var(--third-color), 0 0 12px var(--third-color);
    /* Glowing effect */
}

.banrerr i {
    margin-left: 10px;
    margin-right: 10px;
    animation: bounceIcon 1.5s infinite ease-in-out;
    /* Icon bounce */
}

/* Bouncing icon effect */
@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Smooth scrolling renamed from tickerScroll to banSwiperScroll */
@keyframes banSwiperScroll {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(170%);
    }
}

/**********************************/



/******************************************************/
/******************************************************/
/******************************************************/

/************** المقارنة******/

#custom-compare-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

#custom-compare-button:hover {
  animation-play-state: paused;
  transform: scale(1.1);
  background-color: grey;
}

.compare-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  
}

.compare-modal-overlay.active {
  display: flex;
  overflow-y: auto;
}

.compare-modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--main-color);
  animation: slideInUp 0.5s forwards;
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.compare-close-button {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--main-color);
  transition: transform 0.3s ease;
}

.compare-close-button:hover {
  transform: scale(1.2) rotate(90deg);
  color: red
}

.compare-search-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.compare-search-box {
  position: relative;
}

.compare-search-input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  font-size: 16px;
  background-color: white;
  color: var(--main-color);
  transition: border-color 0.3s;
}

.compare-results-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
}

.compare-result-item {
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--main-color);
  transition: background-color 0.3s;
}

.compare-result-item:hover {
  background-color: var(--main-color);
}

.compare-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  margin-left: 15px;
}

.compare-products-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.selected-product-card {
  border: 1px solid var(--main-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-out;
}

.selected-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.selected-product-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
}

.selected-product-card h4 {
  margin-top: 15px;
  font-size: 20px;
  color: var(--main-color);
}

.selected-product-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}

.selected-product-card a {

    color: white;
    background-color: var(--main-color);
    padding: 10px 15px;
    border-radius: 6px;
    display: block;
    width: fit-content;
    margin: 15px auto 0 auto;
    transition:.3s;

}

.selected-product-card a:hover {

    color:#5d5da0 ;
    background-color: white;
    

}

/* ✅ Responsive */
@media (max-width: 768px) {
  #custom-compare-button {
    width: 55px;
    height: 55px;
    font-size: 14px;
    bottom: 20px;
    left: 15px;
  }
  .compare-modal-content {
    width: 95%;
    padding: 20px;
    height: auto;
    margin-top: 500px;
    margin-bottom: 50px;
  }
  .compare-search-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .compare-products-display {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .compare-modal-header h2 {
    font-size: 20px;
  }
  .selected-product-card h4 {
    font-size: 16px;
  }
  .selected-product-card .product-price {
    font-size: 18px;
  }
}

/******************************************************/
/******************************************************/
/******************************************************/
/***************************************************************/

/*iframe*/

/* أيقونة العين */
.eye-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--main-color);
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 18px;
  color: #333;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eye-icon i {
color: #fff;
}

/* البوب أب */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  height: 90%;
  margin: auto;
  margin-top: 2%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: var(--main-color, #007bff);
  color: #fff;
  padding: 10px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.modal-body {
  flex: 1;
  overflow: hidden;
}

.modal-body iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/**************************************************************/

body.product-single #custom-compare-button ,
body.product-single .banner-swap {
display:none!important; 

}

#settings-btn {
display:none!important;
}