.categories-box--leaf:has(a[href*="/categories/621892/"]) .categories-box__media {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.categories-box--leaf:has(a[href*="/categories/621892/"]) .categories-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
/* LORINDA - Category Images */

body[data-template="list_categories"]
.categories-box--leaf .categories-box__media {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body[data-template="list_categories"]
.categories-box--leaf .categories-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}
/* LORINDA - إصلاح صور التصنيفات الخمسة */

:is(
  a[href*="/categories/1346167"],
  a[href*="/categories/621894"],
  a[href*="/categories/635074"],
  a[href*="/categories/1414241"],
  a[href*="/categories/1773662"]
) {
  position: relative !important;
}

/* إخفاء رمز الحرف البديل إذا كان داخل الرابط */
:is(
  a[href*="/categories/1346167"],
  a[href*="/categories/621894"],
  a[href*="/categories/635074"],
  a[href*="/categories/1414241"],
  a[href*="/categories/1773662"]
) > :is(.category-icon, .category-placeholder) {
  display: none !important;
}

/* تنسيق الصورة الأصلية */
:is(
  a[href*="/categories/1346167"],
  a[href*="/categories/621894"],
  a[href*="/categories/635074"],
  a[href*="/categories/1414241"],
  a[href*="/categories/1773662"]
) img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 14px !important;
}