@import url("header.css");
@import url("footer.css");

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, calc(25% - 1rem)));
  gap: 1rem;
  padding: 1rem;
}

.product-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.product-item:hover {
  transform: scale(1.05);
}

.product-item img {
  width: 100%;
  height: auto;
}

.info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.product-item:hover .info {
  transform: translateY(0);
}

.name,
.price {
  margin: 0;
}

.padding-left {
  padding-left: 200px !important;
}

@media (max-width: 991px) {
  .padding-left {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
