/* Add custom CSS styles below */ 

/* ✅ تعديلات الأيقونات وتسجيل الدخول والبحث
   تعمل فقط على الشاشات من 992px وأكبر (لابتوب/ديسكتوب) */
@media (min-width: 992px) {

  /* 🎯 زر تسجيل الدخول -> أيقونة user فقط */
  button[aria-label="user-icon"] {
    font-size: 0 !important;              /* يخفي النص */
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* أيقونة مستخدم من مكتبة سلة */
  button[aria-label="user-icon"]::before {
    content: "\e911"; /* كود أيقونة user */
    font-family: "sallaicons" !important;
    font-size: 20px;
    color: var(#ffb6c1);
  }

  /* 🎯 مربع البحث الكبير -> أيقونة عدسة فقط */
  .header-search,
  .header-search .s-search-input,
  .header-search .s-search-container {
    display: none !important; /* يخفي الحقل الطويل */
  }

  /* زر البحث (الموبايل موجود بالفعل) نخليه يظهر دائم */
  .search-btn {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
  }

  /* 🎯 أيقونة المفضلة والسلة: صغّرهم شوي ليصيروا متناسقين */
  .whishlist-icon svg,
  #cart-button svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* خفف المسافات بين الأيقونات */
  .side-account {
    gap: 8px !important;
  }
}

/* Add custom CSS styles below */ 
/* يطبق فقط على الشاشات ابتداءً من 992px (لابتوب وأكبر) */
@media (min-width: 992px) {
  ul.main-menu,
  ul.main-menu.mm-spn--open {
    display: flex !important;
    justify-content: center !important;   /* توسيط القائمة */
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px 20px !important;
    margin: 0 auto !important;
    padding: 6px 0 !important;
  }

  /* الروابط داخل البنود */
  ul.main-menu > li > a {
    font-size: 13px !important;    /* 🔹 تصغير الخط */
    font-weight: 600 !important;
    padding: 4px 8px !important;   /* تقليل الحشوة */
    white-space: nowrap !important;
    color: #111 !important;
    text-decoration: none !important;
  }

  ul.main-menu > li > a:hover {
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
  }
}

/* التحكم في حجم أيقونات الدفع */
.s-payments-list-item img {
  width: 50px !important;   /* عرض ثابت */
  height: 30px !important;  /* طول ثابت */
  object-fit: contain;      /* يحافظ على النسبة بدون تشويه */
  display: block;
  margin: 0 auto;           /* توسيط الأيقونة */
}