* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-image: linear-gradient(#dfe0e2 #b8bcc3 #787a84);
    font-family: Arial, sans-serif;
}

main {
    margin-top: 68px;
}

/* Filter & Sort Bar */
.filter-sort-bar {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px;
  background: white;
  border-bottom: 1px solid #ddd;
}

.filter-sort-bar button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.filter-sort-bar button:hover {
  background: #f0f0f0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 16px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
}

.product-info {
  padding: 10px;
}

.brand {
  font-size: 13px;
  font-weight: bold;
  color: #555;
  margin: 0;
}

.name {
  font-size: 14px;
  color: #333;
  margin: 3px 0;
}

.price {
  font-weight: bold;
  color: red;
  margin: 5px 0 0;
}

.mrp {
  text-decoration: line-through;
  color: #888;
  font-size: 12px;
  margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
