/* Add custom CSS styles below */ 
/* ============================= */
/* إظهار اسم المنتج كامل */
/* ============================= */

.s-product-card-content-title {
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  line-clamp: unset !important;
  -webkit-line-clamp: unset !important;
  height: auto !important;
  max-width: 100% !important;
}

/* الرابط نفسه (اسم المنتج) */
.s-product-card-content-title a {
  display: block;
  white-space: normal !important;
  line-height: 1.5;
}

/* ============================= */
/* ترتيب المحتوى: الاسم فوق والسعر تحته */
/* ============================= */

.s-product-card-content-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
}

/* السعر */
.s-product-card-content-sub {
  width: 100% !important;
  justify-content: flex-start !important;
  margin-top: 2px;
}

/* ============================= */
/* منع أي قص من عناصر الأب */
/* ============================= */

.s-product-card-content,
.s-product-card-content-main {
  overflow: visible !important;
}

/* ============================= */
/* دعم الموبايل */
/* ============================= */

@media (max-width: 768px) {
  .s-product-card-content-title a {
    font-size: 14px;
    line-height: 1.6;
  }
}
/* ============================= */
/* إخفاء التصنيف من كارت المنتج */
/* ============================= */

.s-product-card-content-main > .flex.justify-start.mt-2 {
  display: none !important;
}