<style>
/* ===== PRODUCT GRID ===== */
.products_grid_container,
.grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ===== PRODUCT CARD ===== */
.products_grid_card,
.grid__item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

/* Hover effect (desktop only) */
@media (min-width: 1024px) {
  .products_grid_card:hover,
  .grid__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  }
}

/* ===== IMAGE ===== */
.products_grid_card img,
.grid__item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f6f6f6;
}

/* ===== CONTENT ===== */
.products_grid_card h3,
.grid__item h3 {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px 6px;
  color: #111;
  min-height: 44px;
}

/* ===== PRICE ===== */
.products_grid_card span,
.grid__item span {
  padding: 0 14px 14px;
  font-size: 16px;
  font-weight: bold;
  color: #007E60;
  margin-top: auto;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 767px) {
  .products_grid_card img,
  .grid__item img {
    height: 180px;
  }

  .products_grid_card h3,
  .grid__item h3 {
    font-size: 14px;
  }
}
</style>
