/* Add custom CSS styles below */ 
/* Add custom CSS styles/* Add custom CSS styles below */ 
/* Global */



body {
  background-color: #2B2B2B !important;
}


/* All Variables */
:root {
    --primary-color: #DC5C2F;
    --secondary-color: #fff;
    --footer-img: url("https://i.ibb.co/SXFwR0tN/logo-Footer.png");
    --footer-color: #DC5C2F ;
}



div#mainnav{

  background: #dc5d2f;
}




/* ===========================nav====================== */
div#mainnav{
    background: var(--primary-color);
}

.main-nav-container {
    align-content: center;
}
/* nav links center */
custom-main-menu{
  position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media(min-width: 1024px) {
  .navbar-brand img {
    max-height: 4rem;
  }
}

@media only screen and (min-width: 1024px) {
    .main-menu li.root-level>a {
        color: var(--header-icons);
    }
}



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

.s-user-menu-trigger {
  background-color: transparent;
}



.banner--fixed img{
  background: transparent;
}




.top-navbar {
  background-color: var(--primary-color);
  color: #fff;
}

.top-navbar{
  display: none;
}


.top-navbar .s-search-input::placeholder {
    color: #fff;
}

.s-search-icon svg {
    fill: #fff;
}

/*    Products */
.s-product-card-entry{
  background: transparent;
}


/* ================banners========================== */
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) .container{
  padding-right: 0;
  padding-left: 0;
  max-width: 100%;
}

section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) .banner--fixed img {
  border-radius: 0;
  background-color: transparent;
}





/* =================main banner ====================== */
@media(min-width:992px){
:nth-child(1 of section.s-block.s-block--fixed-banner.wide-placeholder) {
  margin-top:-9rem;
}

}


@media(max-width:992px){
:nth-child(1 of section.s-block.s-block--fixed-banner.wide-placeholder) {
  margin-top:0;
}
}






/* ===============================Categories============================ */
.slide--cat-entry h2 {
  display: none;
}

@media(max-width:768px){
salla-slider[type]:not(.hydrated) > div:where([dir="rtl"], [dir="rtl"] *), salla-slider[type]:not(.hydrated) .swiper > div > div:where([dir="rtl"], [dir="rtl"] *), .carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
     padding-left: 0; 
}
}

.s-slider-controls-outer .s-slider-block__title-nav {
    display: none;
}

section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a {
  background-color: transparent;
  border-width: 0;
  height: 100%;
}


section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a > img {
  width: 100%;
  height: 100%;
  transition: .3s;
}

section.s-block.s-block--categories .rounded-full {
  border-radius: 0;
}

@media(min-width: 1024px) {
  section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container.swiper-initialized.swiper-horizontal .s-slider-swiper-wrapper .swiper-slide {
    width: 16.6666%;
  }
}

@media(max-width: 1024px) {
  section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container.swiper-initialized.swiper-horizontal .s-slider-swiper-wrapper .swiper-slide {
    width: 180px;
  }
}
@media(max-width: 798px) {
  section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container.swiper-initialized.swiper-horizontal .s-slider-swiper-wrapper .swiper-slide {
    width: 150px;
  }
}



section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a > img:hover {
  transform : translateY(10px);
  transform : scale(1.1);
}



/* ================================Tabs Products============================== */
.s-block--tabs-produtcs .tab-trigger.is-active button {
  color: #fff;
  border-color: unset;
}

section.s-block--tabs-produtcs {
  background-color: #fff;
}

@media(max-width: 1024px) {
  section.s-block--tabs-produtcs {
    margin-top: 0;
  }
}

@media (min-width: 640px) {
    .sm\:py-16 {
        padding-top: 0;
        padding-bottom: 0;
    }
}

section.s-block--tabs-produtcs .s-slider-block__title {
  display: none;
}




section.s-block.s-block--fixed-banner, section.s-block.s-block--best-offers {
  margin-bottom: 0 !important;
}


/* ==================================Products Section========================== */
.s-slider-block__title-left {
  display: none !important;
}

.s-slider-block__title {
    margin-bottom: .5rem;
}

.s-block__title{
  justify-content:center;
}

@media(min-width: 768px) {
  .s-slider-block__title h2 , 
  .s-block__title h2 , 
  .s-reviews-header-wrapper h1{
    font-size: 22px;
  }
}

.s-slider-block__title h2 , 
.s-block__title h2 ,
 .s-reviews-header-wrapper h1 {
    color: #fff;
}



.s-slider-block__title h2 , 
.s-block__title h2 {
  position:relative;
}



@media(max-width: 992px) {
  .s-slider-block__title h2:after , 
  .s-block__title h2:after {
    width: 150px;
    height: 25px;
  }
}

.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *), .s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
}

.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
  background-color: #fff;
}

.s-product-card-vertical {
    padding: 0.4rem;
    overflow: hidden;
     box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.06);
}

.swiper-wrapper.s-slider-swiper-wrapper {
  padding-top: .4rem;
  padding-bottom: .4rem;
  /* justify-content: center; */

}

.s-products-list-vertical-cards {
  padding: .1rem;
}

.s-product-card-content {
  padding: 1rem 0;
  border-radius: 0;
}

@media(max-width: 768px) {
  .s-products-slider-card.swiper-slide {
    width: 175px;
  }
}

.s-product-card-content-title {
  text-align: center;
  overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}

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

.s-product-card-content-title a {
 color: #fff;
}

.s-product-card-price, .s-product-card-sale-price h4 {
  color: #D80000 !important;
}

.s-button-wide {
    background-color: #dc5d2f ;
    color: #fff;
    border-radius:2px !important;
    padding: 8px;
  border: none !important;
}
.s-button-wide:hover{
   background-color: var(--primary-color);
    color: #fff;
}

.s-product-card-vertical img {
  transition: .5s;
  aspect-ratio: 1 / 1;
}

.s-product-card-vertical .s-product-card-image {
  border-radius: .75rem;
}

.s-product-card-vertical:hover img {
  transform : rotate(-30deg);
}



/* =================================Store Features =============================*/
:nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 .banner-entry {
    background-color: transparent;
}

@media (min-width: 768px) {
    :nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



@media (max-width: 992px) {
  :nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 .banner-entry {
    height: 120px;
  }
}

@media (min-width: 992px) {
  :nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 .banner-entry {
    height: 150px;
  }
}

.lazy__bg {
      background-size: contain;
    background-repeat: no-repeat;
}







@media (max-width: 768px) {
    :nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    
    :nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 .banner-entry , 
    a.banner-entry.square-photos{
      height:210px;
      background-size: contain;
  
     
    }
}


@media(max-width:768px){
.lazy__bg.loaded {
      background-size: contain !important;
      }
      
      a.banner-entry.square-photos{
        max-width: 400px;
        margin:0 auto;
        width:100%;
      }
      
      :nth-child(1 of section.s-block.s-block--banners.container) .md\:grid-cols-3 .banner-entry, a.banner-entry.square-photos{
      
                height: 150px;
      }
}



/* ===============================Footer ============================*/
.footer-is-light .store-footer {
  background: var(--footer-color);
  background-size: cover;
  /* background-image: url(https://i.ibb.co/zWn8zbV4/footter.png); */
}

footer > div.store-footer__inner {
  background-color: transparent !important;
  color: #fff;
    border-bottom: none;
}

.s-social-list.hydrated {
  place-content: center;
}



.store-footer__inner .container.grid>div:nth-of-type(1) h3 {
    display: none;
}


footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a::after {
     content: "";
    display: block;
    width: 88px;
    height: 73px;
    background-image: url(https://i.ibb.co/KxjB9xPg/logofinal.png);
    background-size: cover;
}

@media (min-width: 992px) {
    footer.store-footer .container.grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: center;
    }
}

.store-footer__inner .container.grid>div p {
    margin: 10px auto;
}

footer.store-footer * {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .store-footer__inner {
        padding-bottom: 1rem;
    }
}

.store-footer__inner .container.grid>div:nth-of-type(1) {
    padding-left: 0;
    grid-column: span 1 / span 2;
}

footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a {
  justify-content: center;
}

footer > div.store-footer__inner > div > div:nth-child(3) {
  justify-items: center;
}

.copyright-text p {
  color: #fff;
}

.copyright-text a:hover {
  color: #fff;
}


/*===========testimonial=================*/
.s-reviews-header-wrapper{
  justify-content: center;
}

@media (min-width: 480px) {
  .s-reviews-swiper-slide.swiper-slide{
    width: 400px !important;
}
}
.s-reviews-container .swiper-slide-prev .s-reviews-testimonial{
  justify-content: center;
}
.s-reviews-container .swiper-slide-next .s-reviews-testimonial{
  justify-content: center;
}

.s-reviews-container .swiper-slide:not(.swiper-slide-active) .s-reviews-testimonial__avatar {
     margin-bottom: 0; 
}

@media (min-width: 1024px) {
    .s-reviews-container .swiper-slide-active .s-reviews-testimonial:where([dir=rtl],[dir=rtl] *) {
        padding-left: 40px;
    }
}

 span.s-reviews-testimonial__icon svg{
   display: none;
 }
 
.s-rating-stars-wrapper {
    display: none;
} 

.s-reviews-testimonial__avatar{
  border-radius: 0;
}

.s-reviews-testimonial__inner{
  flex-direction: column;
}

.s-reviews-testimonial__text {
    display: flex
;
    flex-direction: column-reverse;
}
.s-reviews-testimonial__text p{
  display: block;
  text-align: center;
}
.s-reviews-testimonial__text p:before {
    content: " ” ";
}
.s-reviews-testimonial__text p:after{
    content: " “ ";
}

.s-reviews-testimonial__name_wrapper.items-center{
  justify-content: center;
}

.s-reviews-testimonial__avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0 !important;
}


.s-reviews-testimonial{
  box-shadow: 4px 4px 8.3px 0px #00000008;
  border:  solid 1px #00000010;
  border-radius: 15px;
}

/* =============img before, after title==================== */
.s-reviews-header-wrapper h1{
  position: relative;
}
.s-slider-block__title h2:before, .s-reviews-header-wrapper h1:before{
    content: '';
    position: absolute;
    top: 120%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #DC5C2F;
    background-size: contain;
}



/* زر تسجيل الدخول */
.header-btn[aria-label="user-icon"] {
  background: #fff !important;
  border: 1.5px solid #000;
  border-radius: 8px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-weight: 600;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* الأيقونة */
.header-btn[aria-label="user-icon"] i {
  color: #000;
  font-size: 18px;
  transition: transform 0.35s ease;
}

/* النص */
.header-btn .login-text {
  font-size: 14px;
  white-space: nowrap;
}

/* Hover Animation */
.header-btn:hover {
  background: #000 !important;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.header-btn:hover i,
.header-btn:hover .login-text {
  color: #fff;
}

.header-btn:hover i {
  transform: rotate(-8deg) scale(1.1);
}

/* Click animation */
.header-btn:active {
  transform: scale(0.95);
}

.header-btn[aria-label="user-icon"] i {
  display: none !important;
}
















/* زر إضافة للسلة */
.s-button-wide {
  position: relative;
  overflow: hidden;
  background-color: #dc5d2f !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 15px;
  font-weight: 600;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.3s ease;
}

/* Hover */
.s-button-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(220, 93, 47, 0.45);
}

/* Click */
.s-button-wide:active {
  transform: scale(0.96);
}

/* أيقونة السلة */
.s-button-wide i {
  margin-inline-end: 6px;
  transition: transform 0.3s ease;
}

.s-button-wide:hover i {
  transform: translateX(-2px);
}

/* Ripple effect */
.s-button-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.45) 10%, transparent 11%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.s-button-wide:active::after {
  transform: scale(2);
  opacity: 1;
}

.s-button-wide.is-added {
  background-color: #1fa36b !important;
  box-shadow: 0 10px 22px rgba(31, 163, 107, 0.45);
}

.s-button-wide.is-added .s-button-text span {
  content: "✓ تمت الإضافة";
}






/* كرت المنتج */
.s-product-card-entry {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Hover الكرت */
.s-product-card-entry:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}


/* حاوية الصورة */
.s-product-card-image {
  overflow: hidden;
  position: relative;
}

/* الصورة */
.s-product-card-image img {
  transition: transform 0.6s ease;
}

/* Zoom عند hover */
.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.12);
}

/* Shine effect */
.s-product-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition: left 0.7s ease;
}

.s-product-card-entry:hover .s-product-card-image::after {
  left: 140%;
}


@media (min-width: 768px) {
    salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
        padding-left: 0;
    }
}


@media (min-width: 1024px) {
    salla-slider.photos-slider .swiper-slide {
        margin-left: 0rem;
        margin-right: 0rem;
        width: 100%;
    }
}





/* زر القلب */
.s-product-card-wishlist-btn {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.s-product-card-wishlist-btn:hover {
  transform: scale(1.15);
}







.s-slider-block__title h2,.main-content h1,.s-block__title h2,.feature-icon.mb-2 i  {
    text-transform: uppercase;
    background-image: linear-gradient(-225deg, #dc5c2f 0%, #fff 29%, #dc5c2f 67%, #fff 100%);    background-size: 200% auto;
    color: var(--3);
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: 4s linear infinite textclip;
    font-weight: 600;
    border-bottom: 3px;
    line-height: 1.5;
}

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








/* Dark Mode */
.s-breadcrumb-item{
  color: #fff;
}

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

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

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

  .s-comments.s-comments-product{
    background: transparent;
  }



select#product-filter{
      background: #303030;
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.6),
   -6px -6px 12px rgba(255, 255, 255, 0.04); 
}

.bg-white:not(header .bg-white) 
{

     background: #303030;
  border-radius: 18px;
  padding: 24px;

  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.6),
   -6px -6px 12px rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #f1f1f1;
 }

.main-content{
  color: #fff;
}
.s-quantity-input-input{
  background: transparent;
}
main#main-content section{
  margin-bottom: 0.5rem;
}



.navbar-brand img:not(.index .navbar-brand img){
    content: url("https://i.ibb.co/KxjB9xPg/logofinal.png"); 
}


@media(max-width:768px){
  .navbar-brand img{
        content: url("https://i.ibb.co/KxjB9xPg/logofinal.png"); 

  }
}






:root {
  --brand-dark: #2b2b2b;
  --brand-light: #ffffff;
}

/* ======================
   زر البحث
====================== */
.custom-search-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.custom-search-btn:hover {
  transform: scale(1.1);
}

/* ألوان حسب الصفحة */
.home .custom-search-btn,
.index .custom-search-btn {
  color: var(--brand-dark);
}

body:not(.home):not(.index) .custom-search-btn {
  color: var(--brand-light);
}

/* عند السكرول */
.header-scrolled .custom-search-btn {
  color: var(--brand-light) !important;
}

/* ======================
   Overlay Blur
====================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ======================
   صندوق البحث (أنيميشن قوي)
====================== */
.header-search {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translate(-50%, -40px) scale(0.95);
  width: 100%;
  max-width: 620px;
  background: var(--brand-dark);
  padding: 20px 20px 28px;
  border-radius: 18px;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: all 0.45s cubic-bezier(.4,0,.2,1);
}

.header-search.active {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* زر الإغلاق */
.search-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.search-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  opacity: 0.8;
}

/* ======================
   Fullscreen موبايل
====================== */
@media (max-width: 768px) {
  .header-search {
    top: 0;
    left: 0;
    transform: translateY(-40px) scale(1);
    width: 100%;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    padding-top: 80px;
  }

  .header-search.active {
    transform: translateY(0);
  }
}

/* ======================
   تغيير لون الهيدر
====================== */
.store-header.header-scrolled .main-nav-container {
  background: var(--brand-dark) !important;
  transition: background 0.3s ease;
}


/* ======================
   FIX Mobile Search
====================== */
@media (max-width: 768px) {

  .search-overlay {
    z-index: 9999;
  }

  .header-search {
    position: fixed !important;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    background: var(--brand-dark);
    border-radius: 0;
    padding: 90px 16px 16px;
    z-index: 10000;

    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  }

  .header-search.active {
    transform: translateY(0);
  }

  /* زر الإغلاق */
  .search-close-btn {
    top: 20px;
    right: 20px;
    font-size: 26px;
  }

  /* تكبير حقل البحث */
  .header-search input {
    height: 48px !important;
    font-size: 16px;
  }
}