/* Add custom CSS styles below */ 

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

body {
    font-family: almarai,sans-serif;
}


/* ====== Header ====== */
.main-nav-container{
  position: relative;
  margin: 0.5rem 1rem;
  min-height: auto;
  height: auto;
  border-radius: 8px;
  z-index: 999;
}
/*
#best-offers-1-slider .product-card__image {
    background-color: transparent!important;
    margin-bottom: -6rem;
    z-index: 10;
    padding-left: 6px;
    padding-right: 6px
}


#best-offers-1-slider .product-card__image {
    height: 15rem;
    max-height: 15rem
}
*/
.product-card__content .product-card__normal-cart salla-button .s-button-btn , .product-card__addToCart salla-button .s-button-btn {
    background-color: #85B874;
    color: #fff!important;
    border: none;
    line-height: 1.6rem!important;
    padding: 4px 0;
    border-radius: 8px;
}
.product-single .sticky-product-bar salla-add-product-button salla-button .s-button-btn{    background-color: #85B874;
border:none;
color:#fff !important
}
/*
#best-offers-1-slider .product-card__content .product-card__normal-cart salla-button .s-button-btn  {
    background-color: #000;
}
#best-offers-1-slider .product-card__content .product-card__normal-cart salla-button .s-button-btn{
      border-radius: 16px;

}
.index.mobile_small_blocks_titles h2.text-3xl+p.text-lg, .s-block.s-block--best-offers .lg\:mx-0.text-center.mb-8 h2:after {
    font-size: 1.2rem;
    color:#000
}
.product-card__content .product-card__normal-cart{
    display: block !important;
}
#best-offers-1-slider .product-card__addToCart, .product-index .product-card__addToCart, .brands-single .product-card__addToCart, .fit-slider-products .product-card__addToCart{
  display: none !important
}*/
.products-index .product-card__normal-cart  salla-button .s-button-btn,  .fit-slider-products .product-card__normal-cart  salla-button .s-button-btn, .brands-single .product-card__content .product-card__normal-cart salla-button .s-button-btn{
    padding: 0 !important;
}
.s-block.s-block--best-offers .lg\:mx-0.text-center.mb-8 h2:after {
    display: block;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: -0.22px;
}
#best-offers-1-slider .lg\:mx-0.text-center.mb-8 h2:after{
  content:"تصفح البكجات الجاهزة التي تمنحك فرصة لاكتشاف منتجات جديدة ورائعة"
}
.my-2.mx-auto.w-28.h-0.border-2.border-primary {
    border: none;
    margin: 0;
}
.product-card__normal-cart salla-button .s-button-btn .s-button-text i, .product-card__addToCart__btn salla-button .s-button-btn .s-button-text i {
    font-size: 0
}
.product-card__addToCart__btn salla-button {
    background:transparent
}
.product-card__normal-cart salla-button .s-button-btn:before {
    content: url(https://media.zid.store/eeebe6f0-dc0e-46e7-a4fb-56c7c4f3196f/56b27667-da80-4592-a543-bbd1c8fb3e8f.svg);
    margin: 5px 5px 0 0;
}

/* ====== End Packages Section ====== */

/* ====== Fixed Products ====== */
.s-block.container[class*="fixed-products--"] .s-products-list-horizontal-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
}
.s-block.container[class*="fixed-products--"] .s-products-list-horizontal-cards .product-card {
    flex-direction: column;
}
.s-block.container[class*="fixed-products--"] .product-card--horizontal .product-card__image {
    width: 100%;
}
.s-block.container[class*="fixed-products--"] .product-card--horizontal .product-card__content{
  text-align: center;
    padding-bottom: 3rem;
}
.product-card__addToCart__btn salla-button button{
    margin-inline: 10px;
    transform: scale(0.95);
    transition: all .5s ease;
}
.product-card__addToCart__btn salla-button button:hover {
  background-color: #85B874 !important;
  transform: scale(1);
  opacity:1 !important;
}
.product-card__addToCart__btn salla-button:after{
  display:none
}
.s-block.container[class*="fixed-products--"] .product-card__addToCart__btn salla-button button:before {
      content: "";
    background: url(https://media.zid.store/eeebe6f0-dc0e-46e7-a4fb-56c7c4f3196f/56b27667-da80-4592-a543-bbd1c8fb3e8f.svg) no-repeat center / cover;
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 5px;
}
.product-card__addToCart__btn salla-button{
  height: auto;
}
.product-card__addToCart__btn salla-button button:hover, .product-card__addToCart__btn:hover {
    background-color: #000;
    opacity: 0.8;
}
.s-block.container[class*="fixed-products--"] .product-card__addToCart__btn salla-button:after, .product-card__content .product-card__normal-cart salla-button:after{
  display:none
}
.product-card__addToCart salla-button .s-button-btn, .product-card__content .product-card__normal-cart{
      border-radius: 8px!important;
}
/* ====== End Fixed Products ====== */

/* ====== Category Section ====== */
.s-block.s-block--square-links img.lazy.loaded{
      aspect-ratio: auto
}

.s-block.s-block--square-links .container{
    margin-top: 2rem;
}
.s-block.s-block--square-links.square-links-16 img.lazy.loaded{
    border-radius: 8px;
}
.s-block.s-block--square-links.square-links-16 .grid li:hover{
  transform:none;
  opacity:0.6
}
.s-block.s-block--square-links h3.mt-4.text-base.font-semibold.leading-7.tracking-tight.text-store-text-primary {
    margin: 0;
}
.s-block.s-block--fixed-banner:nth-of-type(5), .s-block.s-block--testimonials{
  margin:3rem 0
}
section.s-block.s-block--fixed-banner .banner--fixed img {
    border-radius: 16px;
}
.product-card__price {
    height: 1rem;
}
section.s-block.s-block--fixed-banner .container {
    padding-inline: 15px;
}
.s-block.container[class*="fixed-products--"] .product-card__title a {
        min-height: 2.5rem;
        max-height: 2.5rem;
    }
/* ====== End Category Section ====== */

/* ====== Animated Features ====== */

.page-content-section {
    max-width: 1200px!important;
    margin: 2rem auto 0;
    overflow: hidden
}

.item img {
    display: inline-block;
    max-width: 350px;
    width: max-content
}

.scrolling-container {
    white-space: nowrap;
    overflow: hidden;
    direction: rtl
}

.scrolling-content {
    display: inline-block;
    animation: scroll-rtl 15s linear infinite
}

.item {
    display: inline-block;
    margin-left: 0
}

.item img {
    vertical-align: middle;
    margin: 0 5px;
    display: inline-block
}


@keyframes scroll-rtl {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(50%)
    }
}
/* ====== End Animated Features ====== */
/* ====== Testimonials ====== */
.s-block.s-block--testimonials .review > div.flex{
    justify-content: center;
    height: max-content;
    box-shadow: none !important;
    text-align: center;
    background: rgba(238, 241, 244, 0.43);
    border-radius: 8px;
    flex-direction: column-reverse;
}
.s-block.s-block--testimonials .review > div.flex .flex.items-center.mt-6.-mx-2{
      margin: 0 !important;
}
#mobile-menu img.w-12.h-12.object-cover.rounded-full.pointer-events-none{
  border-radius: 0 !important;
}
.single-faq.w-full.rounded-lg.border.border-store-text-secondary.bg-store-bg-secondary.py-3.px-5{
      background-color: #FAFAFA;
    border-radius: 16px;

}
/* ====== End Testimonials ====== */

/* ====== Footer ====== */
.footer-is-custom .store-footer .social-link, .footer-is-custom .store-footer .contact-social, .footer-is-custom .store-footer .contact-icon {
    border-color: transparent;
}
.footer-is-custom .store-footer .social-link i{
font-size: 1.3rem;
}
.s-slider-block__title h2 {

    color: #000 !important;
}
.product-index span.text-sm.mt-2.text-store-text-primary{
    font-weight: 700;
}
.product-index .s-slider-wrapper .overflow-hidden.rounded-full.w-fit.mx-auto, .product-index  .s-slider-wrapper .overflow-hidden.rounded-full.w-fit.mx-auto img{
      border-radius: 0 !important;
}
/* ====== End Footer ====== */

.accordion-header {
    background-color: #FAFAFA; 
    padding: 10px 20px;
}

.accordion-button {
    background: none;
    border: none;
    font-size: 16px;
    width: 100%;
    color: #000;
    outline: none;
    display: flex; 
    align-items: center; 
    transition: background-color 0.3s ease;
    font-weight: 400;
    justify-content: space-between;
}

.accordion-icon {
    margin-right: 10px;
    transition: transform 0.3s ease;
}
.product-more-info .more-tab-container .more-info-tabs__nav-link.active:after {
    content: "";
    transform: rotate(180deg);
}
.accordion-content {
    padding: 20px 15px 30px;
    display: none; 
}
.accordion-button:after {
        content: "\e90c";
        font-family: sallaicons;
        display: inline-block;
        transition: all .3s ease;
    }
.accordion-button.active:after {
    content: "\e98a";
    transform: rotate(180deg);
}
.product-more-info .more-tab-container .more-info-tabs__nav-link {

        background: #FAFAFA;

        color: #000;}
      .product-more-info .more-tab-container .more-info-tabs__nav-link.active {
        color: #000;
        opacity: 0.8;
    }
/* ====== Media Queries ====== */
.s-block.s-block--square-links.square-links-6 .grid{
    display:grid;
    grid-auto-flow: column;
    gap: 1rem;
    overflow: auto;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: auto;
    padding:0 0 1rem;
    grid-auto-columns: auto;
}
    .s-block.s-block--square-links.square-links-6 .grid li img{
  height: 12rem;
  width:100%;
  border-radius:6px;
}
.s-block.s-block--square-links.square-links-6 .grid li{
      width: 11rem;
      border-radius:6px;
      height: 12rem;
}
.s-block.s-block--square-links.square-links-6 .grid li div{
  border-radius:6px;
}
.s-block.s-block--square-links.square-links-6::-webkit-scrollbar {
  height: 6px;
}
.s-block.s-block--square-links.square-links-6::-webkit-scrollbar-track {
  background: #D5D6D7;
  border-radius: 16px
}
s-block.s-block--square-links.square-links-6::-webkit-scrollbar-thumb {
  background: #DE754C;
}
@media(max-width: 640px) {

.s-block.s-block--square-links .grid{
   grid-auto-flow: column;
    grid-auto-columns: 110px;
    grid-gap: 5px;
    overflow: auto;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: auto;
     scrollbar-width: none;
}
.s-block.s-block--square-links.square-links-16 .grid{
    grid-auto-flow: column;
    grid-auto-columns: 165px;
    grid-gap: 15px;
    scrollbar-width: none;
}
.s-block.s-block--square-links.square-links-16 .grid li{
      width: 165px;
}
.s-block.s-block--square-links .grid li{
      width: 110px;
}
.s-block.container[class*="fixed-products--"] .s-products-list-horizontal-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
   row-gap: 1rem;
}
}
@media(max-width: 991px) {
.s-search-container{top:4rem}

        section.s-block--dynamic-banner.s-block--fixed-banner:first-of-type {
        top: -100px; 
}
}
@media(max-width: 768px) {
.s-block.s-block--square-links h3.mt-4.text-base.font-semibold.leading-7.tracking-tight.text-store-text-primary {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}
    .mm-spn li a, .mm-spn li span {
        padding: 10px 18px;
    }
        section.s-block--dynamic-banner.s-block--fixed-banner:first-of-type {
        top: -68px;
        margin-bottom: -2rem;
        background: linear-gradient(139deg, #BCBCBC 23.36%, #B0B0B0 42.85%)
}
.smt-app-whatsapp .sm-button {
    bottom: 110px !important;
}
.s-block.container[class*="fixed-products--"] .product-card__price {
    padding: 0 !important;
}
.s-block.container[class*="fixed-products--"] .product-card__addToCart__btn salla-button button .s-button-text {
    font-size: 0.7rem;
}
.s-block.container[class*="fixed-products--"] .product-card__addToCart__btn salla-button button:before {
    width: 18px;
    height: 18px;
  }
.products-index .product-card__normal-cart__btn salla-button button:before{
  margin: 5px 5px 0 0;
}
.s-block.container[class*="fixed-products--"] .product-card__title a {
        margin: 0;
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.5rem;
    }
    .s-block.container[class*="fixed-products--"] .product-card__price h4, .s-block.container[class*="fixed-products--"] .product-card__price span, .s-block.container[class*=fixed-products--] .product-card__price{
          font-size: 0.7rem !important;
    }
.product-index .s-slider-wrapper span.text-sm.mt-2.text-store-text-primary{
      font-size: 0.7rem;
}
a.flex.items-center.justify-center.m-0 img{
  height: 50px !important;
}
p.mt-2.text-3xl.font-bold.tracking-tight.text-store-text-primary.sm\:text-4xl, h2.text-center.text-store-text-primary.text-2xl.lg\:text-3xl.font-bold.leading-tight, .s-slider-block__title h2{
  font-size:1.2rem
}
   .navbar-brand img {
    max-height: 2rem;
    }

        #best-offers-1-slider .s-products-slider-card {
        max-width: 280px;
    }
        .index.mobile_small_blocks_titles h2.text-3xl+p.text-lg, .s-block.s-block--best-offers .lg\:mx-0.text-center.mb-8 h2:after, .products-index  .product-card__normal-cart__btn .s-button-text {
        font-size: .875rem;
        
    }
    .index.mobile_small_blocks_titles h2.text-3xl+p.text-lg{
            padding: 0 5px;
}

.s-block.s-block--square-links .mx-auto.max-w-7xl.px-6.lg\:px-8{
      padding: 0 5px;
}
    .item img {
        max-width: 270px
    }
}
@media(min-width: 768px) {
 .s-block.s-block--square-links.square-links-6 .grid li {
    width: 13rem !important;
    height:14rem !important
    }
    .s-block.s-block--square-links.square-links-6 .grid li img {
    height: 14rem !important;
    }
    .s-block.s-block--square-links.square-links-6 ul {
    grid-template-rows: repeat(1, 1fr) !important;
}
.s-search-container{top:7rem}
.s-block.container[class*="fixed-products--"] .product-card--fit-height.product-card--horizontal .product-card__image {
    min-height: 15rem;
}

.s-block.container[class*="fixed-products--"] .s-products-list-horizontal-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
   row-gap: 1rem;
}
.s-block.container[class*="fixed-products--"] .product-card__addToCart.mobile {
   display: block;
}
#best-offers-1-slider .swiper-wrapper{
  justify-content: center;
}
.s-block.s-block--square-links .grid{
    grid-template-columns:  repeat(5, 1fr);
    scrollbar-width: none;
}
   .navbar-brand img {
    max-height: 2.5rem;
    margin-right:10px
    }

   .main-nav-container .inner .container{
         max-width: 100% !important;
   }
   .main-nav-container .main-menu li.root-level>a {
        font-size:0.75rem !important;
        padding-bottom: 1.5rem;

    }
    .main-nav-container.fixed-header .inner {
    width: 97%;
    }
    .main-menu {
        padding-top: 1.5rem;
      }

}