.medicine-section {
  padding: 50px 20px;
  background-color: #eef7f9;
  text-align: center;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2b2d42;
}

.medicine-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.medicine-card {
  background-color: #fff;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.medicine-card:hover {
  transform: translateY(-6px);
}

.medicine-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.medicine-info {
  padding: 16px;
  text-align: left;
}

.medicine-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #1d3557;
}

.medicine-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.price {
  font-size: 16px;
  font-weight: bold;
  color: #e63946;
  display: block;
  margin-bottom: 10px;
}

.buy-btn {
  display: inline-block;
  background-color: #0077b6;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
}

.buy-btn:hover {
  background-color: #0096c7;
}
