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



body {
  background-color: #fff !important;
}


/* All Variables */
:root {
    --primary-color: #268D3C;
    --secondary-color: #fff;
    --font-family: "Alexandria", sans-serif;
    --header-icons: #fff;
    --footer-img: url("https://i.ibb.co/SXFwR0tN/logo-Footer.png");
    --footer-color: #268D3C ;
}







/* ================banners========================== */

section.s-block.s-block--fixed-banner.wide-placeholder .container{
   padding-right: 0;
  padding-left: 0;
  max-width:100%;
}

.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:-6rem;
  /* margin-top:0; */
}

}


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



/* =====================nav=========== */
.top-nav {
    display: none;
}

.main-nav-container .inner{
  background-color: #E8DECF;
}





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

@media(min-width: 798px){
section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper {
  justify-content: center;
}
}
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: 255px;
  }
}

@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;
  }
}




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);
  transform : scale(1.05);
}



/* ================================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 {
    /* justify-content: center; */
    margin-bottom: .5rem;
        margin-right: 3rem;
}

.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: var(--primary-color) !important;
}



.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: 0px 0px 6px -1px #707070;
    border-radius: 20px;
}

section.s-block.s-block--best-offers .swiper-wrapper.s-slider-swiper-wrapper {
  padding-top: .4rem;
  padding-bottom: .4rem;

}

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

.s-product-card-content {
  /* background-color: #fff; */
  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: var(--primary-color);
}

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

.s-button-wide {
    /* background-color: var(--primary-color); */
    color: var(--primary-color);
    border-radius:20px !important;
    padding: 8px;
}
.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);
} */

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




/* =================================new Store Features =============================*/
/* grid */
@media (min-width: 768px) {
    :nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        /* gap: 0 !important; */
    }
}
@media (max-width: 768px) {
    :nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        /* gap: 0 !important; */
    }
}

/* card */
:nth-child(14 section.s-block.s-block--banners) .md\:grid-cols-4 .banner-entry {
    background-color: transparent;
}
.has-4-photos .banner-entry:nth-child(n){
  grid-column: span 1;
  background-color: transparent;
}



@media (min-width: 992px) {
  :nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 .banner-entry {
    height: 150px;
    /* height: 255px; */
  }
}
@media (max-width: 992px) {
  :nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 .banner-entry {
    height: 120px;
  }
}

@media (max-width: 768px) {
    :nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 .banner-entry , 
    a.banner-entry.square-photos{
      height:210px;
      /* height:218px; */
      /* height:186px; */
    }
}

/* img */
:nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 .banner-entry{
  transition: .5s;
}
:nth-child(14 of section.s-block.s-block--banners) .md\:grid-cols-4 .banner-entry:hover{
  transform: scale(1.01);
}

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







/*===================testimonial=============  */
/* card */

/* inner card */

/* avatar */

/* text */

/* icon */
span.s-reviews-testimonial__icon svg{
  display: none;
}








/* ===============================Footer ============================*/
/* .footer-is-light .store-footer {
  background: var(--footer-color);
  background-size: cover;
}

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: 145px;
    height: 114px;
    background-image: url();
    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;
}
 */

/*================================== Reviews============================ */
.s-reviews-container{
  margin-top:3rem;
}
 .s-reviews-header-wrapper h1{
   position:relative;
 }
 .s-reviews-header-wrapper{
   justify-content:center;
 }
 
 .s-reviews-testimonial{
   border:1px solid #ddd;
   border-radius:8px;
   box-shadow:3p 3px 3px #ddd;
 }
  .s-reviews-testimonial__avatar{
   border-radius:0;
 }
 .s-reviews-testimonial__icon svg{
   fill: var(--primary-color);
 }
 
 div#contact-slot{
   margin:0 auto;
 }
 
 
 .footerImage {
    max-width: 75px;
    text-align: center;
    margin: 0 auto;
}
 
  .s-reviews-testimonial * {
  color:#30373F;
  }


/*====================مقالات==============  */
salla-slider#blog-17-slider .s-slider-block__title {
    justify-content: center;
}


/* swiper-wrapper */
  .s-block--blog .swiper-wrapper {
    justify-content: center;
}


/* card */
section#block-blog-17 .space-y-3.p-4.rounded.transition-all.duration-300.shadow-md.shadow-gray-100.hover\:shadow-lg.hover\:shadow-gray-200.h-full.border.border-gray-100 {
    box-shadow: 0 4px 16px 0 rgba(83, 144, 126, 0.2);
    /* padding: 0; */
}


section#block-blog-17 .h-\[120px\].rounded.bg-gray-50.overflow-hidden {
    height: 180px;
}








/* ====================cats============= */
/* section.s-block.s-block--banners:nth-of-type(1) .md\:grid-cols-4{
  grid-template-columns: repeat(3, minmax(0, 1fr));
} */

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

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



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

/* section.s-block.s-block--banners  */
section.s-block.s-block--banners:nth-of-type(2) .banner-entry:nth-child(5n+1){
  grid-column: span 1;
}

section.s-block.s-block--banners:nth-of-type(2) a.lazy__bg.lazy-background.bg-no-repeat.loaded {
    align-items: flex-end;
    padding-bottom: 4rem;
}

section.s-block.s-block--banners:nth-of-type(2) .banner-entry {
  background-color: transparent;
}
section.s-block.s-block--banners:nth-of-type(2) .banner-entry a:before{
  top: 162px;
  left: 14px;
  height: 30%;
  width: 94%;
  background-color: rgba(0, 0, 0, 0.3);
  
}

section.s-block.s-block--banners:nth-of-type(2) .banner-entry h3{
  line-height: 2.5rem;
}




/* =============img before, after title==================== */
.s-slider-block__title h2, .s-reviews-header-wrapper h1{
  /* margin-right: 31px; */
}
.s-slider-block__title h2:before, .s-reviews-header-wrapper h1:before{
  content: '';
    position: absolute;
    top: 28%;
    transform: translateY(-50%);
    width: 31px;
    height: 34px;
    background: url(https://i.ibb.co/j9bWvfdh/image-title.png) no-repeat;
    background-size: contain;
}




.s-slider-block__title h2:before, .s-reviews-header-wrapper h1:before{
    left: 109%;
    right: unset;
}



/* ================small title ========================== */
 section.s-block.s-block--banners:nth-of-type(15) .s-block__title h2:after{
   content: "منتجات خشب وحطب مستوردة عالية الجودة، توفر أداء ممتاز وتُعد بديلًا عمليًا\Aللتحطيب المحلي، مع أسعار منافسة وخدمة موثوقة داخل المملكة.";

    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 8px;
    line-height: 1.4;
    white-space: pre-line;
   color: #000;
}

/* .s-block__title .right-side{ */
 section.s-block.s-block--banners:nth-of-type(15) .right-side{
  text-align: center;
}

 section.s-block.s-block--banners:nth-of-type(15) .s-block__title h2:before{
  display: none;
}