
.product-grid {
    display: grid;
    grid-template-columns:1fr 1fr 1fr 1fr ;
    gap: 1.5rem;
    padding: 1rem;
    background: #f8f8f8;
  }
  .container-fluid .row{
justify-content: center;
align-items: center;
  }
  .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
  }
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .image-wrap {
    position: relative;
  }
  .image-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
  }
 .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 12.8px;   
  padding: 4.8px 9.6px;  
  border-radius: 4px;
}

.actions {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;         
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .actions {
  opacity: 1;
}

.actions button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.info {
  padding: 16px;
  text-align: center;
}
.info h3 {
  font-size: 16px;         
  margin: 8px 0 4px;
  color: #333;
}
.brand {
  color: #777;
  font-size: 13.6px;      
}
.price {
  margin-top: 8px;    
}
.current {
  font-weight: bold;
  color: #2ecc71;
}
.original {
  font-size: 13.6px;      
  color: #aaa;
  text-decoration: line-through;
}

  
  @media (max-width: 520px) {
   
  
    .product-grid {
      grid-template-columns: 1fr;
      padding: 8px;
      gap: 16px;
    }
  
    .product-card {
      margin: 0 auto;
      width: 100%;
    }
  
    .info h3 {
      font-size: 15px;
    }
  
    .actions button {
      width: 28px;
      height: 28px;
    }
  }
  
  @media (max-width: 768px) {
  
    .product-card {
      width: 100%;
    }
  
    .info h3 {
      font-size: 1rem;
    }
  }
  
  
  
  