/* Add custom CSS styles below */ 
/* تنسيق القسم الخارجي */

#checkout-products-section .s-products-list-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* افتراضيًا: جوال */
  gap: 1rem;
  padding: 0.5 rem;
  direction: rtl;
}

/* ✅ 2. على الشاشات الكبيرة: 4 منتجات في صف */
@media (min-width: 1024px) {
  #checkout-products-section .s-products-list-wrapper {
    grid-template-columns: repeat(4, 1fr); /* ديسكتوب */
  }
}

/* ✅ 3. تحسين عرض البطاقات داخل القائمة */
#checkout-products-section .s-products-list-wrapper > * {
  width: 100%;
  box-sizing: border-box;
}

/* ✅ 4. إذا كانت البطاقات داخل .s-product-card */
#checkout-products-section .s-product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ✅ تكبير حجم عنوان القسم */
#checkout-products-section h2.anime-item {
  font-size: 1.4 rem; /* تكبير الحجم */
  font-weight: 800;   /* خط عريض */
  text-align: center;
  margin-bottom: 0 rem;
}

@media (min-width: 1024px) {
  #checkout-products-section h2.anime-item {
    font-size:  1.4 rem; /* أكبر على الشاشات الكبيرة */
  }
}