/* Add custom CSS styles below */ 
/* إلغاء المسافات (margin + padding) لسكشن الأقسام */
.s-block.s-block--circle-links.section-categories.circle-links-1,
.s-block.s-block--circle-links.section-categories.circle-links-1 .container {
    margin: 0 !important;
    padding: 0 !important;
    }
/* أول سكشن منتجات بعد الأقسام فقط */
.s-block.s-block--circle-links.section-categories.circle-links-1
  + section[id^="featured-products-style2"] > .container {
    margin-top: -70px !important;
}
/* شريط الروابط في الجوال: يبدأ من اليمين، بدون خلفية، وفواصل | بين الروابط */
@media (max-width: 768px) {
  /* أظهر الشريط */
  header.store-header .top-navbar {
    display: flex !important;
    width: 100%;
    background: transparent !important;
    padding: 0 !important;
  }

  /* ألغِ أي hidden محتمل */
  header.store-header .top-navbar [class*="hidden"] { display: flex !important; }

  /* صفّ الروابط من اليمين مثل الدسكتوب */
  header.store-header .top-navbar .container {
    display: flex !important;
    direction: rtl;
    justify-content: flex-start !important;   /* بدل التوسيط */
    align-items: center !important;
    gap: 0 !important;                        /* سنستخدم الفاصل بدل الـ gap */
    padding: 8px 12px !important;
    overflow: visible !important;
  }
  /* لو الـ container عليه justify-between من الثيم */
  header.store-header .top-navbar .container.justify-between {
    justify-content: flex-start !important;
  }

  /* ألغِ أي space-x من Tailwind على العناصر المباشرة */
  header.store-header .top-navbar .container > * {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  /* الروابط نفسها: بدون خلفية/كبسولات */
  header.store-header .top-navbar a,
  header.store-header .top-navbar .link {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
    color: #2C4D25; /* أخضر البراند (اختياري) */
  }

  /* فاصل | بين الروابط */
  header.store-header .top-navbar a:not(:last-child)::after,
  header.store-header .top-navbar .link:not(:last-child)::after {
    content: "|";
    opacity: 0.45;
    margin-inline: 12px;
  }
}