/* Add custom CSS styles below */ 

/* بطاقات التصنيفات الفرعية في ثيم ملاك */
#subcat-slider .sub-cat-icon > a.sub-categories {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-block-size: 76px;
  padding: 8px 6px;
  border: 1px solid #26352f18;
  border-radius: 10px;
  background-color: var(--phaedra-subcategory-bg, #edf4f1);
  color: #243630;
  text-align: center;
  text-decoration: none;
}

#subcat-slider .sub-cat-icon > a.sub-categories > .sub-title {
  color: inherit;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

#subcat-slider .sub-cat-icon > a.sub-categories:focus-visible {
  outline: 2px solid #285d50;
  outline-offset: -3px;
}

@media (hover: hover) {
  #subcat-slider .sub-cat-icon > a.sub-categories:hover {
    border-color: #285d5080;
    color: #243630;
  }
}

/* تتكرر الألوان حسب ترتيب بطاقات كل شريط */
#subcat-slider .sub-cat-icon:nth-child(14n + 1 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #e3f3ee;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 2 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #fff0e3;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 3 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #e8effb;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 4 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #ede8f8;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 5 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #fff4d8;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 6 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #e9f2e2;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 7 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #e0f2f7;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 8 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #f4e9df;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 9 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #f6e7ee;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 10 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #fbe9e2;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 11 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #e5edf3;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 12 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #f3e7f7;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 13 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #f8efd9;
}

#subcat-slider .sub-cat-icon:nth-child(14n + 14 of .sub-cat-icon) {
  --phaedra-subcategory-bg: #ecede7;
}
/*  نهاية بطاقات التصنيفات الفرعية في ثيم ملاك */


/*  لون نص عرض الكل للمنتج الماركة بسلايدر متحرك */
.s-block--slider-with-bg .s-slider-block__display-all {
  color: #fff !important;
}


/* خلي النقر يوصل للبانر بدل ما تلتقطه حاوية السلايدر */
#main-slider-0 .swiper-wrapper {
  pointer-events: none;
}

#main-slider-0 .swiper-wrapper > .swiper-slide {
  pointer-events: auto;
}

/* خلّي رابط بيدوفا يغطي مساحة السلايد بالكامل */
#main-slider-0 .swiper-slide > a[href$="/p559235905"] {
  position: absolute;
  inset: 0;
  display: block;
}

/* لون الهيدر الرئيسي*/
#mainnav > .header-inner {
  background: linear-gradient( to bottom, #eadcf782 35%, #FFFFFF 99% , #eadcf778 11%) !important
}