/* Product Grid Layout - Always 3 in a Row */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

/* Product Card Styling */
.product-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 6px;
  text-align: center;
  padding: 15px;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h4 {
  margin: 10px 0 5px;
  font-size: 15px;
  color: #111;
}

.product-card span {
  font-weight: bold;
  color: #000;
}

.product-card .button {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
}

/* Force 3 per row on all screens */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    padding: 10px;
  }

  .product-card h4 {
    font-size: 13px;
  }

  .product-card .button {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .product-card img {
    height: 130px;
  }

  .product-card h4 {
    font-size: 12px;
  }

  .product-card span {
    font-size: 12px;
  }

  .product-card .button {
    font-size: 11px;
    padding: 4px 8px;
  }
}