
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

header {
  background-color: #000;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 28px;
  font-weight: bold;
  background: #fff;
  color: #000;
  padding: 5px 12px;
  border-radius: 8px;
}
.logo span {
  color: #000;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color: #aaa;
}

.hero {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}
.btn {
  background: #000;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: #333;
}

.products {
  padding: 40px 20px;
}
.products h2 {
  text-align: center;
  margin-bottom: 30px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.product-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 300px;
  text-align: center;
  .button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #FF9800;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #e68100;
}
}
}
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #222;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.product-card {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin: 20px auto;
  max-width: 340px;
  font-family: sans-serif;
  .button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #FF9800;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #e68100;
}
}
.product-card h2 {
  font-size: 20px;
  margin: 12px 0 6px;
}
.product-card p {
  font-size: 14px;
  color: #333;
  .button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 10px 16px;
  margin-top: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.button:hover {
  background-color: #128C7E;
}
}
.cart-count {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #4CAF50;
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 1000;
}
.real-cart-btn {
  background-color: #ff5722;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
 .toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #222;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  z-index: 9999;
}
/* Toast Popup */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #222;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  z-index: 9999;
}
#mode-toggle {
  background: none;
  border: none;
  font-size: 28px;       /* Thoda bada */
  cursor: pointer;
  color: inherit;
  position: fixed;       /* Changed to fixed for exact placement */
  top: 20px;
  right: 20px;
  z-index: 9999;         /* So it stays on top */
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* Light/Dark Mode Toggle Button */
#mode-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: inherit;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Default Light Mode */
body.light-mode {
  background: #ffffff;
  color: #000000;
}

body.dark-mode {
  background: #121212;
  color: #ffffff;
}

.dark-mode header,
.dark-mode footer {
  background-color: #1e1e1e;
}

.light-mode header,
.light-mode footer {
  background-color: #f2f2f2;
}
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  margin-top: 10px;
}

.real-cart-btn:hover {
  background-color: #e64a19;
  transform: scale(1.05);
}