.latest-products {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 20px;
  margin: 0;
}
.latest-products .product-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.latest-products .product-buttons a {
  flex: 1;
  font-size: 14px;
  border-radius: 5px;
  margin: 0;
}
.latest-products .product-item {
  border-radius: 10px;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}
.latest-products .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.latest-products .product-title {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 5px;
  min-height: 50px;
}
.latest-products .product-title a {
  color: #00796b;
  text-decoration: none;
  text-transform: uppercase;
}
.latest-products .product-desc {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  min-height: 40px;
}
.latest-products .product-price {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #00796b;
}
.latest-products .product-price span {
  font-size: 16px;
  color: #fbc02d;
  font-weight: bold;
}
.latest-products .view-detail {
  display: inline-block;
  padding: 0px 15px;
  font-weight: 400;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  width: 100%;
  margin: 0;
  text-transform: none;
  transition: background 0.3s ease;
}
.latest-products .product-item-bottom {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 255.5px);
  text-align: left;
}
.latest-products .view-detail {
  margin-top: auto;
}
.latest-products .product-image img {
  width: 100%;
  height: 255.5px;
  max-height: 100%;
  object-fit: cover;
}
.latest-products .product-item-top {
  height: 255.5px;
}