* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #333;
}
.hero h1,p{
    color:black;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2874f0; /* Flipkart blue */
  color: white;
  padding: 10px 20px;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.search-bar {
  flex: 1;
  display: flex;
  margin: 0 20px;
}

.search-bar input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.search-bar button {
  padding: 8px 12px;
  border: none;
  background: #ff9f00;
  color: white;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px;
  background: url("https://via.placeholder.com/1200x300?text=Big+Sale+Banner") no-repeat center;
  background-size: cover;
  color: white;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff9f00;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

/* Categories */
.categories {
  padding: 20px;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.category-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.category-card:hover {
  transform: scale(1.05);
}

/* Products */
main {
  padding: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
}

.product h4 {
  margin: 10px 0;
}

.product button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: #2874f0;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
}

/* Cart */
.cart {
  position: fixed;
  right: 20px;
  top: 80px;
  width: 260px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  display: none;
}

/* Order Form */
.order-form {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  width: 300px;
}

.order-form textarea {
  width: 100%;
  padding: 8px;
}

.order-form button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: #2874f0;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* Notification */
.notification {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
}
