/* رفع زر الرابط فوق أي طبقة حجب */


.s-block-awesome-btn .s-button-text {
     white-space: normal;
 }



.mrfd-feat-btn {
  position: relative !important;
  z-index: 999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  display: inline-block !important;
}

/* منع أي طبقة خلفية في الكارت من اعتراض الماوس */
.s-block--features__item::before,
.s-block--features__item::after {
  pointer-events: none !important;
}









/* Add custom CSS styles below */ 
.salla-car-filter-container {
  max-width: 1200px;
  margin: 35px auto;
  padding: 0 15px;
  direction: rtl;
  box-sizing: border-box;
}


.filter-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.filter-header-title h3 {
  margin: 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.filter-header-title .line-divider {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background-color: #e5e5e5;
}

.filter-main-box {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  background: #ffffff;
  border: 1px solid #f2dede;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.filter-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-size: 13px;
  color: #333333;
  margin-bottom: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.filter-group .badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #888888;
  font-size: 11px;
  margin-left: 6px;
}

.filter-group select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background-color: #ffffff;
  color: #222222;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-group select:focus {
  border-color: #ba1919;
}

.filter-group select:disabled {
  background-color: #fafafa;
  color: #aaa;
  cursor: not-allowed;
}

.btn-group {
  flex: 0 0 140px;
}

#sallaSearchBtn {
  width: 100%;
  height: 46px;
  background-color: #b81414;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#sallaSearchBtn:hover {
  background-color: #960f0f;
}

@media (max-width: 820px) {
  .filter-main-box {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group {
    flex: auto;
    margin-top: 5px;
  }
}







@media (min-width: 768px) {
  /* ===== الصف الأول: لوجو + بحث + أيقونات ===== */
  .store-header .header-inner-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 24px;
    padding-top: 14px;
    padding-bottom: 0;
  }
  .store-header .header-innerRight { display: contents !important; }
  .store-header .header-innerRight-start-cluster { display: contents !important; }

  .store-header .header-logo-wrapper { order: 1; flex: 0 0 auto; }
  .store-header .mrfd-search         { order: 2; flex: 1 1 0; min-width: 0; }
  .store-header .header-innerLeft    { order: 3; flex: 0 0 auto; display: flex !important; align-items: center; gap: 16px; }
  .store-header .mrfd-nav            { order: 4; flex: 0 0 100%; }

  /* ===== إخفاء أيقونة القائمة جنب اللوجو + العناصر الزايدة ===== */
  .store-header .mburger,
  .store-header .header-mob-localization-btn,
  .store-header .user-menu-right,
  .store-header .dm-toggler,
  .store-header .search-btn,
  .store-header .top-navbar { display: none !important; }

  /* ===== ترتيب الأيقونات من اليمين: اللغة، الحساب، المفضلة، السلة ===== */
  .store-header .header-buttons {
    order: 1 !important; margin: 0 !important;
  }
  .store-header .header-buttons > button {
    display: inline-flex !important; align-items: center; gap: 6px;
    background: transparent !important; border: 0 !important;
    font-size: 13px; font-weight: 700; color: #222;
  }
  .store-header .header-buttons .cls-sa ~ * { display: none !important; }
  .store-header .user-menu-left      { order: 2 !important; display: inline-block !important; }
  .store-header .wishlist-container  { order: 3 !important; }
  .store-header salla-cart-summary   { order: 4 !important; }
  .store-header .wishlist-container p { display: none; }
  .store-header .s-cart-summary-content { display: none !important; }

  /* ===== البحث: الزر الأحمر في الشمال ===== */
  .store-header .mrfd-search { display: block !important; }
  .store-header .mrfd-search salla-search {
    display: block !important; width: 100%;
  }
  .store-header .mrfd-search .s-search-placeholder-wrapper,
  .store-header .mrfd-search .s-search-input-wrapper {
    position: relative !important;
    width: 100%;
    height: 48px;
    border: 1px solid #cfcfcf;
    background: #f1f1f1;
    border-radius: 2px;
    overflow: hidden;
    display: block !important;
  }
  .store-header .mrfd-search .s-search-input {
    width: 100%; height: 48px !important;
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    text-align: right; font-size: 14px;
    padding: 0 16px 0 64px !important;
  }
  .store-header .mrfd-search .s-search-icon-wrap {
    position: absolute !important;
    left: 0 !important; right: auto !important; top: 0 !important; bottom: 0 !important;
    width: 52px; height: 100%;
    background: #d4101a; color: #fff;
    display: flex !important; align-items: center; justify-content: center;
    z-index: 3; margin: 0 !important; padding: 0 !important; transform: none !important;
  }
  .store-header .mrfd-search .s-search-icon { display: flex; }
  .store-header .mrfd-search .s-search-icon svg { width: 20px; height: 20px; fill: #fff; }

  /* ===== شريط القائمة تحت ===== */
  .store-header .mrfd-nav {
    display: block !important;
    border-top: 1px solid #f0c9cc;
    border-bottom: 1px solid #f0c9cc;
    margin-top: 12px;
  }
  .store-header .mrfd-nav > ul {
    display: flex !important; flex-wrap: wrap; gap: 2px 28px;
    margin: 0; padding: 0; list-style: none;
  }
  .store-header .mrfd-nav > ul > li { display: block !important; position: relative; }
  .store-header .mrfd-nav > ul > li > a {
    display: block; padding: 12px 0; font-size: 13px; font-weight: 600;
    color: #222 !important; border-bottom: 2px solid transparent; transition: .2s;
  }
  .store-header .mrfd-nav > ul > li:hover > a,
  .store-header .mrfd-nav > ul > li.is-active > a {
    color: #d4101a !important; border-bottom-color: #d4101a;
  }

  /* ===== القوائم المنسدلة ===== */
    /* ===== القوائم المنسدلة ===== */
  .store-header .mrfd-nav .mrfd-sub {
    display: none; position: absolute; top: 100%; right: 0;
    min-width: 220px; z-index: 60; background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 6px 0;
    margin: 0; list-style: none;
  }
  .store-header .mrfd-nav li:hover > .mrfd-sub { display: block; }
  .store-header .mrfd-nav .mrfd-sub li { display: block !important; position: relative; }
  .store-header .mrfd-nav .mrfd-sub a {
    display: block; padding: 8px 16px; font-size: 13px; color: #222 !important;
    border: 0; white-space: nowrap;
  }
  .store-header .mrfd-nav .mrfd-sub a:hover { color: #d4101a !important; background: #f7f7f7; }
  .store-header .mrfd-nav .mrfd-sub .mrfd-sub { top: 0; right: 100%; }

}

@media (max-width: 768px) {
  .header-search{
    display: none;
  }
  .mrfd-nav{
    display: none;
  }
  .mrfd-news-form-wrap {
    flex: 1 !important;
  }
  
}

@media (min-width: 768px) {

  /* ===== اللوجو ===== */
  .store-header .header-logo-wrapper { margin: 0 !important; padding: 0 !important; }
  .store-header .header-logo-wrapper .navbar-brand {
    margin: 0 !important; transform: none !important;
    display: flex; align-items: center;
  }
  .store-header .header-logo-wrapper .main-logo {
    max-height: none !important; max-width: 115px !important;
    width: auto !important; height: auto !important;
  }

  /* ===== الصف الأول ===== */
  .store-header .header-inner-wrapper {
    gap: 0 22px !important;
    padding-top: 12px !important;
    align-items: center !important;
  }
  .store-header .mrfd-search { max-width: 760px; }

  /* ===== صندوق البحث ===== */
  .store-header .mrfd-search .s-search-placeholder-wrapper,
  .store-header .mrfd-search .s-search-input-wrapper {
    height: 42px !important;
    border: 1px solid #8c8c8c !important;
    background: #f2f2f2 !important;
    border-radius: 3px !important;
  }
  .store-header .mrfd-search .s-search-input {
    height: 40px !important;
    font-size: 13px !important;
    text-align: right !important;
    color: #333 !important;
    padding: 0 14px 0 52px !important;
  }
  .store-header .mrfd-search .s-search-input::placeholder {
    color: #8a8a8a !important; opacity: 1; font-weight: 400;
  }
  .store-header .mrfd-search .s-search-icon-wrap {
    left: 3px !important; top: 3px !important; bottom: 3px !important;
    width: 36px !important; height: auto !important;
    background: #d4101a !important;
    border-radius: 2px;
  }
  .store-header .mrfd-search .s-search-icon svg { width: 17px !important; height: 17px !important; }

  /* ===== الأيقونات ===== */
  .store-header .header-innerLeft { gap: 18px !important; }
  .store-header .header-innerLeft i,
  .store-header .header-innerLeft svg,
  .store-header .header-innerLeft .header-btn,
  .store-header .header-innerLeft a { color: #222 !important; }
  .store-header .header-innerLeft svg { fill: currentColor; }
  .store-header .header-innerLeft .sicon-user,
  .store-header .header-innerLeft .sicon-cart { font-size: 22px !important; }
  .store-header salla-wishlist-summary,
  .store-header .wishlist-container {
    display: inline-flex !important; order: 3 !important; align-items: center;
  }
  .store-header .user-menu-left { order: 2 !important; }
  .store-header salla-cart-summary { order: 4 !important; }
  .store-header .s-cart-summary-count {
    background: #d4101a !important; color: #fff !important;
  }
  /* إخفاء اسم المستخدم والسهم (لو عميل مسجل دخول) */
  .store-header .user-menu-left .s-user-menu-info,
  .store-header .user-menu-left .s-user-menu-trigger-info,
  .store-header .user-menu-left .sicon-keyboard_arrow_down { display: none !important; }

  /* ===== القائمة ===== */
  .store-header .mrfd-nav {
    margin-top: 12px !important;
    border-top: 1px solid #f3c6ca !important;
    border-bottom: 1px solid #f3c6ca !important;
  }
  .store-header .mrfd-nav > ul { gap: 0 15px !important; justify-content: center;}
  .store-header .mrfd-nav > ul > li > a {
    font-size: 12px !important; font-weight: 500 !important;
    color: #1a1a1a !important; padding: 11px 0 9px !important;
    border-bottom: 2px solid transparent;
  }
  .store-header .mrfd-nav > ul > li.is-active > a {
    color: #d4101a !important; font-weight: 700 !important;
    border-bottom-color: #d4101a !important;
  }
  .store-header .mrfd-nav > ul > li:hover > a { color: #d4101a !important; }
}



.store-header .mrfd-nav {
  max-height: 200px;
  transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
}

html.mrfd-scrolled .store-header .mrfd-nav {
  max-height: 0 !important;
  opacity: 0;
  overflow: hidden;
  margin-top: 0 !important;
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
  pointer-events: none;
}








/* ==========================================================================
   1. إلغاء خلفية العنوان الحمراء بقوة كاسحة (Overriding Theme Specificity)
   ========================================================================== */
#app.awesome-btn-gradient .tab-trigger.is-active,
#app.awesome-btn-gradient .tab-trigger.is-active > button,
#app.awesome-btn-gradient .tab-trigger.is-active button,
#app.btns-gradient .tab-trigger.is-active,
#app.btns-gradient .tab-trigger.is-active > button,
#app.btns-gradient .tab-trigger.is-active button,
#app .tab-trigger.is-active,
#app .tab-trigger.is-active > button,
#app .s-block--tabs-produtcs .tab-trigger.is-active,
#app .s-block--tabs-produtcs .tab-trigger.is-active button,
html body #app .tabs .tab-trigger.is-active,
html body #app .tabs button.tab-trigger.is-active {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border-width: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#app .tab-trigger .s-button-text,
#app .tab-trigger.is-active .s-button-text,
html body #app .tabs .s-button-text span {
  color: #1a1a1a !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* الخطين الرفيعين بجانب العنوان */
#app .tabs::before,
#app .tabs::after {
  content: "" !important;
  display: inline-block !important;
  width: 75px !important;
  height: 1px !important;
  background-color: #eed9db !important;
}

#app .tabs i {
  display: none !important;
}


/* ==========================================================================
   2. تقسيم الكروت: 4 في الصف للكمبيوتر
   ========================================================================== */
@media (min-width: 1024px) {
  .s-products-list-wrapper.s-products-list-vertical-cards,
  .aali-products-tabs .s-products-list-wrapper,
  .s-block--tabs-produtcs .s-products-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
  }
}
@media (max-width: 1023px) and (min-width: 640px) {
  .s-products-list-wrapper.s-products-list-vertical-cards,
  .aali-products-tabs .s-products-list-wrapper,
  .s-block--tabs-produtcs .s-products-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}


/* ==========================================================================
   3. هيكل ومحتوى كرت المنتج
   ========================================================================== */
custom-salla-product-card.product-block {
  background: #ffffff !important;
  border: 1px solid #eed9db !important;
  border-radius: 4px !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: none !important;
}

custom-salla-product-card .product-block__thumb {
  background-color: #f5f5f5 !important;
  border-radius: 2px !important;
  height: 200px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  position: relative !important;
  margin-bottom: 12px !important;
}

custom-salla-product-card .product-block__thumb .thumb-wrapper,
custom-salla-product-card .product-block__thumb a,
custom-salla-product-card .product-block__thumb img {
  background: transparent !important;
  border-radius: 0 !important;
  max-height: 165px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

custom-salla-product-card .showPreviewBtn {
  display: none !important;
}

custom-salla-product-card .product-block__info {
  text-align: center !important;
  padding: 0 !important;
}

custom-salla-product-card .product-title h3.title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  line-height: 1.5 !important;
  margin: 4px 0 2px 0 !important;
  min-height: 38px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

custom-salla-product-card .price-wrapper {
  border-top: 1px solid #eed9db !important;
  padding-top: 10px !important;
  margin-top: 8px !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #850005 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

custom-salla-product-card .price-wrapper span.pc-t {
  color: #850005 !important;
  font-weight: 800 !important;
}

custom-salla-product-card .btn--add-to-cart {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

custom-salla-product-card .btn--add-to-cart salla-button,
custom-salla-product-card .btn--add-to-cart button {
  width: 100% !important;
  background: #850005 !important;
  background-color: #850005 !important;
  border: none !important;
  border-radius: 3px !important;
  height: 36px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

custom-salla-product-card .btn--add-to-cart button:hover {
  background-color: #6e0004 !important;
}

custom-salla-product-card .btn--add-to-cart i,
custom-salla-product-card .btn--add-to-cart svg,
custom-salla-product-card .btn--add-to-cart [class*="sicon-cart"] {
  display: none !important;
}


/* ==========================================================================
   4. ضبط زر "عرض الكل" في الأسفل بإطار أحمر نظيف
   ========================================================================== */
#app .s-block__title salla-button,
#app .s-block__title a,
#app .tabs-wrapper a[href*="/offers"],
#app .tabs-wrapper a[href*="/latest-products"] {
  border: none !important;
  background: transparent !important;
  
  box-shadow: none !important;
  /* display: inline-flex !important; */
}

#app .s-block__title button,
#app .s-block__display-all,
#app a[href*="/offers"] button,
#app a[href*="/latest-products"] button {
  background: #ffffff !important;
  border: 1px solid #850005 !important;
  color: #850005 !important;
  border-radius: 3px !important;
  height: 36px !important;
  padding: 4px 34px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.aali-products-tabs .tabs {
    justify-content: center;
    align-items: center;
}
#app .s-block__display-all i,
#app .s-block__title i {
  display: none !important;
}




.s-slider-block__title{
  justify-content: center !important;
    align-items: center;
}
.s-slider-block__title::before, .s-slider-block__title::after {
    content: "" !important;
    display: inline-block !important;
    width: 75px !important;
    height: 1px !important;
    background-color: #eed9db !important;
      margin-left: 1.25rem;
    margin-right: 1.25rem;
}





/* ==========================================================================
   أقسام المميزات (enhanced-features) - بدون اعتماد على JS
   S1 = قسم الـ 3 كروت الحمراء ، S2 = قسم الـ 4 أيقونات
   ========================================================================== */
.s-block--features.enhanced-features .features--title-outer { display: none !important; }

.s-block--features.enhanced-features:has(> .grid.lg\:grid-cols-3),
.s-block--features.enhanced-features:has(> .grid.lg\:grid-cols-4) {
  position: relative !important;
}

/* خط وردي رفيع بعرض الشاشة أعلى كل قسم */
.s-block--features.enhanced-features:has(> .grid.lg\:grid-cols-3)::before,
.s-block--features.enhanced-features:has(> .grid.lg\:grid-cols-4)::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 100vw; height: 1px;
  transform: translateX(-50%);
  background: #f3c6ca;
}

/* ===================== القسم الأول: 3 كروت حمراء ===================== */
.s-block--features.enhanced-features:has(> .grid.lg\:grid-cols-3) {
  padding: 36px 0 !important;
  background: #f3f3f3 !important;
  box-shadow: 0 0 0 100vmax #f3f3f3;
  clip-path: inset(0 -100vmax);
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 {
  gap: 28px !important;
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 .s-block--features__item {
  background: #97000a !important;
  border-radius: 2px !important;
  padding: 26px 26px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  height: 100% !important;
  align-self: stretch !important;
  transform: none !important;
  animation: none !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18) !important;
  border: 0 !important;
  overflow: hidden;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 .s-block--features__item::before,
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 .s-block--features__item::after,
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 .s-block--features__item::before,
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 .s-block--features__item::after {
  display: none !important; content: none !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 .feature-icon {
  width: 50px !important; height: 50px !important; min-width: 50px !important;
  margin: 0 auto 14px !important;
  background: rgba(255, 255, 255, .2) !important;
  border-radius: 2px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 11px !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 .feature-icon img {
  width: 100% !important; height: 100% !important; object-fit: contain !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 h4,
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 h4 .injaz_count {
  color: #fff !important;
  font-size: 19px !important; font-weight: 800 !important;
  margin: 0 0 10px !important; text-align: center !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-3 .s-block--features__item p {
  color: #fff !important;
  font-size: 12.5px !important; line-height: 1.8 !important;
  margin: 0 0 18px !important; text-align: center !important;
  flex: 1 1 auto;
}
.mrfd-feat-btn {
  display: block; width: 100%;
  margin-top: auto;
  background: #f7f7f7; color: #222 !important;
  border-radius: 2px;
  padding: 11px 10px;
  font-size: 13px; font-weight: 800;
  text-align: center; text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}
.mrfd-feat-btn:hover { background: #fff; color: #97000a !important; }

/* ===================== القسم الثاني: 4 أيقونات ===================== */
.s-block--features.enhanced-features:has(> .grid.lg\:grid-cols-4) {
  padding: 32px 0 !important;
  background: #fff !important;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 { gap: 20px !important; }
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 .s-block--features__item {
  background: transparent !important;
  border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  padding: 6px !important;
  transform: none !important; animation: none !important;
  display: flex !important; flex-direction: column !important;
  align-items: center !important; text-align: center !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 .feature-icon {
  width: 48px !important; height: 48px !important; min-width: 48px !important;
  margin: 0 auto 12px !important;
  background: #97000a !important;
  border-radius: 8px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 11px !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 .feature-icon img {
  width: 100% !important; height: 100% !important; object-fit: contain !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 h4,
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 h4 .injaz_count {
  color: #111 !important;
  font-size: 13px !important; font-weight: 800 !important;
  margin: 0 0 6px !important;
}
.s-block--features.enhanced-features > .grid.lg\:grid-cols-4 .s-block--features__item p {
  color: #777 !important;
  font-size: 10.5px !important; margin: 0 !important;
}

/* موبايل */
@media (max-width: 1023px) {
  .s-block--features.enhanced-features > .grid.lg\:grid-cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .s-block--features.enhanced-features > .grid.lg\:grid-cols-3 { grid-template-columns: 1fr !important; }
}











/* ==========================================================================
   قسم آراء العملاء
   ========================================================================== */
section.s-block-special-testimonials {
  background: transparent !important;
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
}

/* العنوان بخطين جانبيين */
section.s-block-special-testimonials .block__title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}
section.s-block-special-testimonials .block__title::before,
section.s-block-special-testimonials .block__title::after {
  content: "" !important;
  display: block !important;
  width: 75px; height: 1px;
  background: #eed9db;
}
section.s-block-special-testimonials .block__title-right { text-align: center !important; }
section.s-block-special-testimonials .block__title h2 {
  font-size: 22px !important; font-weight: 800 !important;
  color: #1a1a1a !important; margin: 0 !important;
}

/* مساحة لظهور الأفاتار البارز أعلى الكارت */
section.s-block-special-testimonials .swiper {
  padding-top: 42px !important;
  padding-bottom: 34px !important;
  padding-left: 3px !important; padding-right: 3px !important;
}
section.s-block-special-testimonials .swiper-wrapper { align-items: stretch !important; }
section.s-block-special-testimonials .swiper-slide { height: auto !important; }

/* الكارت */
section.s-block-special-testimonials .special-testimonial {
  position: relative !important;
  height: 100% !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .18) !important;
  animation: none !important;
  transform: none !important;
}
section.s-block-special-testimonials .special-testimonial__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  padding: 44px 18px 20px !important;
  min-height: 170px !important;
}

/* الأفاتار الدائري (صورة افتراضية لما مفيش صورة عميل) */
section.s-block-special-testimonials .special-testimonial_avatar {
  position: absolute !important;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  width: 64px !important; height: 64px !important;
  border-radius: 50% !important;
  overflow: hidden;
  background-color: #566088;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect width='64' height='64' fill='%23566088'/><circle cx='32' cy='25' r='11' fill='%23e3e9eb'/><path d='M10 64c0-14 9-22 22-22s22 8 22 22z' fill='%23e3e9eb'/></svg>");
  background-size: cover;
  background-position: center;
  display: block !important;
}
section.s-block-special-testimonials .special-testimonial_avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

/* النصوص */
section.s-block-special-testimonials .special-testimonial__text {
  width: 100% !important; padding: 0 !important;
  align-items: center !important; text-align: center !important;
  flex-grow: 1 !important;
}
section.s-block-special-testimonials .special-testimonial__text_up {
  align-items: center !important; justify-content: center !important;
  width: 100%;
}
section.s-block-special-testimonials .special-testimonial__info {
  justify-content: center !important; flex-wrap: wrap;
}
section.s-block-special-testimonials .special-testimonial__info p {
  font-size: 15px !important; font-weight: 800 !important; color: #111 !important;
}
section.s-block-special-testimonials .special-testimonial__info .city {
  font-size: 11px; color: #888 !important;
}
section.s-block-special-testimonials .special-testimonial__rating {
  margin: 6px 0 10px !important;
  display: flex; justify-content: center;
}
section.s-block-special-testimonials .s-rating-stars-btn-star svg {
  width: 20px !important; height: 20px !important;
  fill: #f59e0b !important; color: #f59e0b !important;
}
section.s-block-special-testimonials .special-testimonial__text_down {
  font-size: 12.5px !important; line-height: 1.9 !important;
  color: #333 !important; text-align: center !important;
  margin: 0 !important;
}

/* نقاط الباجينيشن */
section.s-block-special-testimonials .swiper-pagination-bullet {
  background: #d9b5b8 !important; opacity: 1 !important;
}
section.s-block-special-testimonials .swiper-pagination-bullet-active {
  background: #850005 !important;
}













s-block h2.section-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* ==========================================================================
   قسم الفيديوهات التعريفية (موديول HTML)
   ========================================================================== */
.mrfd-videos-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* عنوان القسم بالخطين الجانبيين */
.s-block--bundle-video-gallery-grid h2 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 25px !important;
}
.s-block--bundle-video-gallery-grid h2::before,
.s-block--bundle-video-gallery-grid h2::after {
  content: "" !important;
  display: inline-block !important;
  width: 75px !important;
  height: 1px !important;
  background-color: #eed9db !important;
}


/* شبكة الفيديوهات (4 في الصف للشاشات الكبيرة) */
.mrfd-videos-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

/* التجاوب مع التابلت والموبايل */
@media (max-width: 1024px) {
  .mrfd-videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
@media (max-width: 640px) {
  .mrfd-videos-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* كرت الفيديو */
.mrfd-video-card {
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
}

/* إطار وغلاف الفيديو */
.mrfd-video-thumb {
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background-color: #1a1a1a !important;
  border: 1px solid #e5d2d4 !important;
  margin-bottom: 10px !important;
}
.mrfd-video-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}
.mrfd-video-card:hover .mrfd-video-thumb img {
  transform: scale(1.05) !important;
}

/* شارة مدة الفيديو أسفل يسار الغلاف */
.mrfd-video-duration {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  background: rgba(0, 0, 0, 0.75) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  font-family: monospace, sans-serif !important;
  line-height: 1.2 !important;
  z-index: 2 !important;
}

/* زر Play الشفاف عند الـ Hover */
.mrfd-play-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
  color: #ffffff !important;
  z-index: 1 !important;
}
.mrfd-play-overlay svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) !important;
}
.mrfd-video-card:hover .mrfd-play-overlay {
  opacity: 1 !important;
}

/* نصوص وعناوين الفيديو */
.mrfd-video-info {
  text-align: right !important;
}
.mrfd-video-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease !important;
}
.mrfd-video-card:hover .mrfd-video-title {
  color: #850005 !important;
}
.mrfd-video-desc {
  font-size: 11.5px !important;
  color: #777777 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}












/* ==========================================================================
   قسم الفروع (العنوان والتابات - مطابق للتصميم)
   ========================================================================== */
.s-block.aali-map,
#map-10 {
  padding-top: 2.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* 1. عنوان "الفروع" بالخطين الجانبيين */
.s-block.aali-map .map-title-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 25px !important;
}
.s-block.aali-map .map-title-wrapper::before,
.s-block.aali-map .map-title-wrapper::after {
  content: "" !important;
  display: inline-block !important;
  width: 75px !important;
  height: 1px !important;
  background-color: #eed9db !important;
}
.s-block.aali-map .map-title-wrapper h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.s-block.aali-map .map-title-wrapper p:empty {
  display: none !important;
}

/* 2. حاوية أزرار الفروع */
.map-branches__cities {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 25px !important;
}

/* 3. شكل أزرار الفروع الجديدة */
.map-branches__city-btn {
  background-color: #c1272d !important; /* اللون الأحمر المطابق للتصميم */
  color: #ffffff !important;
  border: none !important;
  border-radius: 2px !important;
  min-width: 180px !important;
  height: 48px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease !important;
}

/* تفاعل الضغط والـ Hover */
.map-branches__city-btn:hover {
  background-color: #a81f24 !important;
  transform: translateY(-1px) !important;
}
.map-branches__city-btn.is-active {
  background-color: #ba2328 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

/* 4. إضافة كلمة "فرع " تلقائياً قبل اسم المدينة */
.map-branches__city-btn::before {
  content: "فرع " !important;
}

/* 5. إضافة أيقونة الموقع (Pin) البيضاء على يسار النص */
.map-branches__city-btn::after {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/></svg>") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* تجاوب الشاشات الصغيرة للموبايل */
@media (max-width: 480px) {
  .map-branches__city-btn {
    min-width: 140px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    height: 42px !important;
  }
}












/* ========================================================
   MRFD STORE - NEW MODERN FOOTER STYLING
   ======================================================== */

/* 1. ضبط خلفية وهوية الفوتر باللون الأسود */
footer.store-footer,
footer.store-footer.icons-rounded-xl {
    background-color: #E7E7E7 !important;
    background-image: none !important;
    color: #3b3b3c  !important;
    --footer-bg-color: #E7E7E7 !important;
    --footer-text-color: #ffffff !important;
    border-top: 1px solid #1f1f1f !important;
    padding: 0 !important;
    position: relative;
}

/* إخفاء العناصر غير المطلوبة في التصميم الجديد */
footer.store-footer .line,
footer.store-footer salla-apps-icons,
footer.store-footer salla-trust-badges,
footer.store-footer .footer-cookie-prefs-host,
footer.store-footer .newsletter-title {
    display: none !important;
}

/* حاوية الفوتر الرئيسية */
.mrfd-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --------------------------------------------------------
   الشريط العلوي: النشرة البريدية والسوشيال ميديا
   -------------------------------------------------------- */
.mrfd-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid #222222;
}

/* عنوان النشرة البريدية */
.mrfd-news-heading {
    flex: 0 0 auto;
    min-width: 220px;
}
.mrfd-news-heading h4 {
    color: #be272c !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2;
}
.mrfd-news-heading p {
    color: #3b3b3c  !important;
    font-size: 13.5px !important;
    margin: 0 !important;
    font-weight: 500;
}

/* حقل النشرة البريدية والزر */
.mrfd-news-form-wrap {
    flex: 1 1 380px;
    max-width: 500px;
}
.mrfd-news-form-wrap form {
    width: 100%;
    margin: 0 !important;
}
.mrfd-news-form-wrap .ewsletter-wrapper {
    display: flex;
    flex-direction: row-reverse; /* في الـ RTL: الزر يسار والحقل يمين */
    align-items: stretch;
    height: 44px;
    width: 100%;
    gap: 0 !important;
}
.mrfd-news-form-wrap .mc-field-group {
    flex: 1;
    height: 44px;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.mrfd-news-form-wrap input[type="email"] {
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    text-align: right !important;
    outline: none !important;
    box-shadow: none !important;
}
.mrfd-news-form-wrap input[type="email"]::placeholder {
    color: #71717a !important;
    font-size: 13.5px !important;
}
.mrfd-news-form-wrap .newsletter-btn-wrapper {
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mrfd-news-form-wrap button[type="submit"] {
    background-color: #be272c !important;
    color: #ffffff !important;
    border: 1px solid #be272c !important;
    border-radius: 4px 0 0 4px !important;
    padding: 0 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    height: 100% !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}
.mrfd-news-form-wrap button[type="submit"]:hover {
    background-color: #97000a !important;
    border-color: #97000a !important;
}

/* أيقونات السوشيال ميديا الدائرية */
.mrfd-socials-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.mrfd-socials-wrap .s-social-list {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.mrfd-socials-wrap .s-social-link a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: #212121 !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}
.mrfd-socials-wrap .s-social-link a:hover {
    background-color: #be272c !important;
    border-color: #be272c !important;
    transform: translateY(-2px);
}
.mrfd-socials-wrap .s-social-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
}

/* --------------------------------------------------------
   القسم الأوسط: الـ 4 أعمدة
   -------------------------------------------------------- */
.mrfd-footer-middle {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 46px 0;
    border-bottom: 1px solid #222222;
}

/* عناوين الأعمدة الموحدة بالأحمر */
.mrfd-col-title {
    color: #be272c !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
}

/* العمود 1: الشعار والنبذة */
.mrfd-col-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mrfd-col-about .footer_logo {
    margin-bottom: 18px !important;
    max-width: 190px !important;
    display: block;
}
.mrfd-col-about .footer_logo img {
    max-width: 100%;
    height: auto;
}
.mrfd-col-about p {
    color: #3b3b3c  !important;
    font-size: 13.5px !important;
    line-height: 1.85 !important;
    margin: 0 !important;
    max-width: 380px;
}

/* العمود 2: روابط تهمك */
.mrfd-col-links {
    display: flex;
    flex-direction: column;
}
.mrfd-col-links .footer-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mrfd-col-links .footer-list__item {
    margin: 0 !important;
    padding: 0 !important;
}
.mrfd-col-links a {
    color: #3b3b3c  !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block;
}
.mrfd-col-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* العمود 3: خدمة العملاء (أزرار أيقونات مربعة داكنة) */
.mrfd-col-contact {
    display: flex;
    flex-direction: column;
}
.mrfd-contact-cards {
    display: flex;
    gap: 14px;
    align-items: center;
}
.mrfd-contact-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background-color: #212121 !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}
.mrfd-contact-btn:hover {
    background-color: #be272c !important;
    border-color: #be272c !important;
    transform: translateY(-2px);
}
.mrfd-contact-btn svg {
    width: 24px !important;
    height: 24px !important;
    fill: #ffffff !important;
}

/* العمود 4: الرقم الضريبي وشعار القيمة المضافة */
.mrfd-col-tax {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mrfd-tax-img-wrap img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: contain;
}
.mrfd-tax-details {
    display: flex;
    flex-direction: column;
}
.mrfd-tax-details span {
    color: #3b3b3c ;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.mrfd-tax-details b {
    color: #000;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* --------------------------------------------------------
   الشريط السفلي: منصة الأعمال، بوابات الدفع، الحقوق
   -------------------------------------------------------- */
.mrfd-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 0;
}

/* يمين: موثق في منصة الأعمال */
.mrfd-sbc-side {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mrfd-sbc-side p {
    color: #3b3b3c  !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}
.mrfd-sbc-badge {
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
}
.mrfd-sbc-badge img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* وسط: بوابات الدفع */
.mrfd-payments-side .s-payments-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap;
    justify-content: center;
}
.mrfd-payments-side .s-payments-list-item {
    background: #ffffff !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    min-width: 44px !important;
}
.mrfd-payments-side .s-payments-list-item img {
    max-height: 18px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* يسار: الحقوق محفوظة */
.mrfd-copy-side {
    color: #3b3b3c  !important;
    font-size: 13.5px !important;
    font-weight: 500;
}
.mrfd-copy-side p {
    margin: 0 !important;
}

/* --------------------------------------------------------
   تجاوب الموبايل والشاشات الصغيرة
   -------------------------------------------------------- */
@media (max-width: 1024px) {
    .mrfd-footer-middle {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 768px) {
    .mrfd-footer-top {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .mrfd-news-heading {
        text-align: center;
    }
    .mrfd-socials-wrap {
        justify-content: center;
    }
    .mrfd-footer-middle {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    .mrfd-col-about {
        align-items: center;
    }
    .mrfd-col-about p {
        text-align: center;
    }
    .mrfd-contact-cards {
        justify-content: center;
    }
    .mrfd-col-tax {
        justify-content: center;
    }
    .mrfd-footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 18px;
    }
    .mrfd-sbc-side {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .store-header .mrfd-nav > ul {
        gap: 0 20px !important;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .store-header .mrfd-nav > ul > li > a {
        font-size: 18px !important;
        font-weight: 800 !important;
          }
}