/* ریست پایه برای کارت‌های محصول در این کامپوننت */
.product_parent {
   font-family: popm;
  display: flex;
  flex-direction: column;   /* کارت‌ها زیر هم */
  align-items: center;
  gap: 14px;
  padding: 4px 16px 16px;
}

/* کانتینر اصلی کارت */
.mobile-card {
font-family: popm;
  position: relative;
  width: 100%;           /* کل عرض در موبایل */
  max-width: 400px;      /* حداکثر عرض در نمایش‌های بزرگ‌تر */
  background-color: #ffffff;
  border: 1px solid #eef1ee;
  border-radius: 18px;
  padding: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 14px -8px rgba(10, 30, 20, 0.14);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(10, 30, 20, 0.2);
}

/* بخش تصویر */
.card-img-wrapper {
  margin: 0;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eef6f0;
  border-radius: 14px;
}

.card-img-wrapper img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

/* بخش متنی کارت */
.card-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  height: 100%;
  min-height: 84px;
  padding-left: 12px;
  min-width: 0;
}

.text-group {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.title {
  margin: 0 0 3px 0;
  font-family: pops;
  color: #16281f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desc {
  margin: 0;
  font-family: popr;
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;       /* حداکثر 2 خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ردیف قیمت و دکمه */
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}

.price {
    font-family: popb;
  font-size: 13px;
  font-weight: 600;
  color: #00643c;
  padding-top: 5px;
}

/* دکمه add */
.btn-add {
  font-family: pops;
  background: #00643c;
  border: none;
  color: #ffffff;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(0, 100, 60, 0.45);
}

.btn-add:active {
  background-color: #005330;
  transform: scale(0.96);
}

/* متن خالی وقتی محصولی نیست */
.pg-empty {
    font-family: popm;
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
  margin: 24px 0;
}
