/* تنسيق قائمة المنتجات: صورة يمين، عنوان ووصف وسعر، زر «إضافة» بعيد عن النص (RTL) */

div[class*="px-3"][class*="pt-4"] > div[class*="flex"][class*="gap-3"] {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f5f5f5;
}

div[class*="px-3"][class*="pt-4"] > div[class*="flex"][class*="gap-3"] > div:first-child {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
}

div[class*="px-3"][class*="pt-4"] > div[class*="flex"][class*="gap-3"] > div:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

div[class*="px-3"][class*="pt-4"] > div[class*="flex"][class*="gap-3"] > div.flex-1 {
  flex: 1;
  min-width: 0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}

div[class*="px-3"][class*="pt-4"] > div[class*="flex"][class*="gap-3"] > div.flex-1 > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0.5rem;
  width: 100%;
}

div[class*="px-3"][class*="pt-4"] > div[class*="flex"][class*="gap-3"] > div.flex-1 > div:last-child button {
  flex-shrink: 0;
}
