/* Products — extracted from MedichPlus style.css */

/* ========================================== Product Cards ========================================== */

.mplus-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.mplus-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.25s;
}

.mplus-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.mplus-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.mplus-product-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.mplus-product-badge {
  display: inline-block;
  background: #e8f7ed;
  color: #00a32a;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.mplus-product-card p {
  margin: 8px 0;
  color: #555;
}

/* ========================================== Product Details Panel ========================================== */

.mplus-product-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  animation: mplusFade 0.25s ease;
}

.mplus-product-details p {
  margin: 10px 0;
  line-height: 1.6;
}

.mplus-product-toggle {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2271b1;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.mplus-product-toggle:hover {
  background: #135e96;
}

.mplus-product-details strong {
  color: #222;
}

.mplus-add-product-wrapper .button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

.mplus-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.mplus-status.approved {
  background: #e7f7ed;
}

.mplus-status.pending {
  background: #fff6d8;
}

.mplus-status.rejected {
  background: #fde8e8;
}