@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

[dir="rtl"] body *:not(i, em){
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
}

[dir="ltr"] body *:not(i, em){
  font-family: "Source Serif 4", serif !important;
}

:root{
  --bg-add-to-cart: #3F2D21!important;
}

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

.s-maintenance-alert-wrapper {
  display: none !important;
}

.bg_header {
  margin: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  padding-left: 40px;
  padding-right: 40px;
  background: transparent!important;
}

.fixed-pinned .bg_header {
  background: #fff!important;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding-left: 120px;
  padding-right: 120px;
}

#main-content {
  /* padding-top: 74px; */
}

#mainnav{
  padding-top: 20px;
}

.grid.grid-cols-\[auto\,1fr\,auto\] {
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  height: 60px;
}

#headertag {
  order: -1;
}

.navbar-brand {
  position: absolute;
  left: 50%;
  /* transform: translateX(-50%); */
}

.navbar-brand img {
  height: 50px;
}

.store-footer {
    padding-left: 130px;
    padding-right: 144px;
}

.store-footer a h3 { 
  position: relative; 
  color: transparent;
}

.store-footer a h3:after {
  content: '';
  background-image: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/YgOZEj/FmErZUfRHx1aejraWdg2R9HSSZa9WPBEqTL57oGU.png);
  height: 34px;
  width: 60px;
  position: absolute;
  top: 0;
  right: 0;
  background-size: contain;
  background-repeat: no-repeat;
}

section.item_title:nth-of-type(2) {
    text-align: right;
    max-width: 1194px;
    padding-top: 80px;
}

section.item_title:nth-of-type(2) h2 {
    font-size: 30px;
}

#featured-products-style2-2,
#featured-products-style2-6,
#featured-products-style2-7{
    max-width: 1194px;
    margin: auto;
    position: relative;
    padding-top: 3rem;
}

#featured-products-style2-2 .tabs,
#featured-products-style2-6 .tabs,
#featured-products-style2-7 .tabs {
    position: absolute;
    top: -25px;
    left: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

#featured-products-style2-2 .tab-trigger,
#featured-products-style2-6 .tab-trigger,
#featured-products-style2-7 .tab-trigger {
   padding: 0;
    background-color: transparent !important;
    margin: 0;
    border: none;
    color: #111;
    padding-bottom: 6px;
    opacity: 0.8;
}

#featured-products-style2-2 .tab-trigger.is-active button,
#featured-products-style2-6 .tab-trigger.is-active button,
#featured-products-style2-7 .tab-trigger.is-active button {
    color: #000 !important;
}

#featured-products-style2-2 .tab-trigger.is-active button,
#featured-products-style2-6 .tab-trigger.is-active button,
#featured-products-style2-7 .tab-trigger.is-active button {
    color: #000 !important;
    border-bottom: 1px solid;
    border-radius: 0;
    opacity: 1;
}

#featured-products-style2-2 .s-product-card-entry,
#featured-products-style2-6 .s-product-card-entry,
#featured-products-style2-7 .s-product-card-entry {
    background-color: transparent;
}

#featured-products-style2-2 .s-product-card-image,
#featured-products-style2-6 .s-product-card-image,
#featured-products-style2-7 .s-product-card-image {
    background-color: transparent;
    padding: 0;
    border-radius: 0 !important;
}

#featured-products-style2-2 .s-product-card-image img.loaded,
#featured-products-style2-6 .s-product-card-image img.loaded,
#featured-products-style2-7 .s-product-card-image img.loaded { 
    filter: none !important;
}

#featured-products-style2-2 .s-product-card-content,
#featured-products-style2-6 .s-product-card-content,
#featured-products-style2-7 .s-product-card-content {
    padding: 0;
    padding-top: 1rem;
}

#featured-products-style2-2 .s-product-card-content-footer button,
#featured-products-style2-6 .s-product-card-content-footer button,
#featured-products-style2-7 .s-product-card-content-footer button {
    display: none;
}

#featured-products-style2-2 .s-product-card-wishlist-btn,
#featured-products-style2-6 .s-product-card-wishlist-btn,
#featured-products-style2-7 .s-product-card-wishlist-btn {
    display: none;
}

#featured-products-style2-2 .s-slider-block__title-nav,
#featured-products-style2-6 .s-slider-block__title-nav,
#featured-products-style2-7 .s-slider-block__title-nav {
    display: none !important;
}

section.item_title:nth-of-type(4) {
    padding-top: 100px;
}

section.item_title:nth-of-type(4) h2,
section.item_title:nth-of-type(4) p {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 5px;
}

section.s-block.s-block--fixed-banner:nth-of-type(5) {
    margin-top: 80px;
    max-width: 1200px;
    max-width: 1194px;
    margin: 80px auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 100px;
}

section.item_title:nth-of-type(6) h2 {
    font-size: 30px;
}

section.s-block.s-block--fixed-banner:nth-of-type(9) {
    margin-top: 100px;
}

.container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body:not(.index) #main-content{
    padding-top: 100px;
    padding-left: 70px;
    padding-right: 70px;
}

#mainnav #headertag .main-menu {
    gap: 0px !important; 
}

ul.s-payments-list li:last-child {
    display: none;
}

.s-modal-close svg{
  fill:var(--color-primary)
}

.s-cart-summary-count{
  background-color: var(--color-primary)
}

@media (max-width: 1199.98px) {
    .navbar-brand { 
        transform: translateX(50%);
    }
    
   .fixed-pinned .bg_header,
   section.item_title:nth-of-type(2),
    #featured-products-style2-2, #featured-products-style2-6, #featured-products-style2-7{
        padding-left: 40px!important;
        padding-right: 40px!important;
    }
    
    #featured-products-style2-2 .tabs, #featured-products-style2-6 .tabs, #featured-products-style2-7 .tabs{
        left: 40px!important;
    }

      .store-footer {
        padding-left: 70px;
        padding-right: 70px;
    }

    #mainnav #headertag .main-menu {
      gap: 0px !important;
      display: flex;
      flex-wrap: wrap;
      max-width: 75%;
    }
}
 
@media (max-width: 575.98px) {
    .bg_header{
        padding: 0 20px;
    }

      body:not(.index) #main-content{
        padding-top: 80px!important;
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
    
    .grid.grid-cols-\[auto\,1fr\,auto\]{
        height: auto!important;
    }
    
    #main-content {
        padding-top: 74px;
    }
    
    section.item_title:nth-of-type(2) h2 {
        font-size: 20px!important;
    }
    
    #featured-products-style2-2 .tab-trigger, #featured-products-style2-6 .tab-trigger, #featured-products-style2-7 .tab-trigger{
        font-size: 11px;
    }
    
    #featured-products-style2-2 .tabs, #featured-products-style2-6 .tabs, #featured-products-style2-7 .tabs{
        top: -35px!important;
    }
    
    .fixed-pinned .bg_header,
   section.item_title:nth-of-type(2),
    #featured-products-style2-2, #featured-products-style2-6, #featured-products-style2-7{
        padding-left: 20px!important;
        padding-right: 20px!important;
    
        padding-top: 2rem!important;
    }
    
    #featured-products-style2-2 .tabs, #featured-products-style2-6 .tabs, #featured-products-style2-7 .tabs {
        left: 20px !important;
    }
    
    section.item_title:nth-of-type(4) h2, section.item_title:nth-of-type(4) p {
        font-size: 18px!important; 
    }
    
    section.s-block.s-block--fixed-banner:nth-of-type(5){
        margin-top: 40px!important;
        padding-bottom: 40px!important;
        margin-bottom: 40px!important;
    }
    
    section.item_title:nth-of-type(6) h2 {
        font-size: 24px;
    }

    section.s-block.s-block--fixed-banner:nth-of-type(9){
        margin-top: 40px!important;
    } 

    .navbar-brand {
        transform: translateX(0);
    }

    .store-footer {
        padding-left: 30px!important;
        padding-right: 30px!important;
    }

      .flex.items-center.justify-end.gap-x-\[0\.3rem\] {
        gap: 0px;
        margin-left: -10px;
    }

    .s-cart-summary-wrapper i {
        padding: 0;
        margin: 0 !important;
    }
}